:root {
    --bg-color: #0a1128;
    --surface-color: #141f3d;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --gold: #d4af37;
    --gold-dim: rgba(212, 175, 55, 0.2);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(-45deg, #0a1128, #101835, #080d20, #0c152d);
    background-size: 400% 400%;
    animation: slowWave 15s ease infinite;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .hero-quote {
    font-family: var(--font-heading);
    font-weight: 400;
}

h1 {
    font-size: clamp(2rem, 8vw, 6rem);
    letter-spacing: clamp(2px, 1vw, 4px);
    margin-bottom: 0.5rem;
    color: #fff;
    text-transform: uppercase;
    word-wrap: break-word;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: var(--gold);
    position: relative;
    display: inline-block;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

.text-center h2.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #fff;
}

em {
    color: var(--gold);
    font-style: italic;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.text-center {
    text-align: center;
}

.dark-bg {
    background-color: var(--surface-color);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.8));
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212,175,55,0.05) 0%, transparent 70%);
    z-index: -1;
}

.author {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    letter-spacing: clamp(2px, 1vw, 5px);
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 4rem;
    font-weight: 300;
}

.hero-quote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
    line-height: 1.4;
}

.hero-quote::before, .hero-quote::after {
    content: '"';
    color: var(--gold-dim);
    font-size: 5rem;
    position: absolute;
    font-family: var(--font-heading);
}

.hero-quote::before {
    top: -20px;
    left: 0;
}

.hero-quote::after {
    bottom: -40px;
    right: 0;
}

.hero-quote footer {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 2rem;
    letter-spacing: 1px;
}

/* Sections */
.intro-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.8;
}

.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

/* Key Points */
.key-points {
    counter-reset: point;
}

.point {
    position: relative;
    padding-left: 4rem;
}

.point-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold-dim);
    line-height: 1;
}

.point h3 {
    margin-bottom: 1rem;
    transition: var(--transition);
}

.point:hover h3 {
    color: var(--gold);
}

/* Structure List */
.structure-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.structure-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.structure-item:last-child {
    border-bottom: none;
}

.structure-item:hover {
    padding-left: 1rem;
    border-bottom-color: var(--gold);
}

/* Footer */
.footer {
    padding: 8rem 0 4rem;
    background: linear-gradient(to top, rgba(212,175,55,0.05), transparent);
}

.final-invitation {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.final-invitation strong {
    color: #fff;
    font-weight: 400;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1.5s ease-out forwards;
}

.slide-up {
    animation: slideUp 1s ease-out forwards;
    opacity: 0;
}

/* Animation Delays */
.section:nth-child(1) .slide-up { animation-delay: 0.2s; }
.section:nth-child(2) .slide-up { animation-delay: 0.4s; }
.section:nth-child(3) .slide-up { animation-delay: 0.6s; }

/* In a real app we would use Intersection Observer to trigger slide-up animations on scroll, 
   but for a simple static demo, we'll just let them play or we can add a tiny script */

/* Button */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--gold);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover {
    color: var(--bg-color);
}

.btn:hover::before {
    width: 100%;
}

/* Dreamy Breeze / Floating Effects */
.card, .point, .structure-item {
    animation: gentleBreeze 8s ease-in-out infinite;
}

.card:nth-child(even), .point:nth-child(even), .structure-item:nth-child(even) {
    animation-delay: -4s;
}

.card:hover, .point:hover, .structure-item:hover {
    animation-play-state: paused;
}

@keyframes gentleBreeze {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

@keyframes slowWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Footer Contact */
.footer-contact {
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.footer-contact a {
    color: var(--text-muted);
}

.footer-contact a:hover {
    color: var(--gold);
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20b858;
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
