:root {
    /* Vibrant Modern Palette (Contrast Optimized) - placeholder label */
    --clr-primary: #2E7D6B;    /* Darkened Teal for WCAG AA */
    --clr-secondary: #c52269;  /* Deep Berry */
    --clr-accent: #2a4e9c;     /* Royal Blue */
    --clr-cream: #FFFBF0;      /* Keeping background for now */
    --clr-coal: #1A1A1A;
    --clr-white: #FFFFFF;

    /* Legacy Mappings for compatibility */
    --clr-sage: var(--clr-primary);
    --clr-terracotta: var(--clr-secondary);
    --clr-golden: var(--clr-accent);
    --clr-sky: var(--clr-accent);


    /* Semantic Colors */
    --bg-primary: var(--clr-cream);
    --text-primary: var(--clr-coal);
    --text-muted: rgba(26, 26, 26, 0.6);
    --accent-primary: var(--clr-terracotta);

    /* Spacing */
    --sp-xs: 8px;
    --sp-sm: 16px;
    --sp-md: 24px;
    --sp-lg: 32px;
    --sp-xl: 48px;
    --sp-xxl: 64px;
    --sp-huge: 100px;

    /* Typography Scale */
    --fs-h1: clamp(2.8rem, 6vw, 5.5rem);
    --fs-h2: clamp(2rem, 4.5vw, 3.2rem);
    --fs-h3: clamp(1.4rem, 3vw, 2rem);
    --fs-body: 1.05rem;

    /* Motion Tokens */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ========== RESET ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ========== BASE ========== */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--clr-coal);
}

p {
    font-size: var(--fs-body);
    line-height: 1.6;
    max-width: 75ch;
}

.cursive {
    font-family: 'Caveat', cursive;
    text-transform: none;
    letter-spacing: 0;
    color: var(--clr-terracotta);
    font-size: 1.3em;
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

/* ========== BUTTON ========== */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--clr-coal);
    color: white;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: transform 0.35s var(--ease-spring), background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    will-change: transform;
}

.btn-premium:hover {
    background: var(--clr-terracotta);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1100px;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.logo img {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-coal);
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--clr-terracotta);
}

.header-cta .btn-premium {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 12px;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--sp-xl);
    padding-top: 140px;
    padding-bottom: var(--sp-xxl);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: var(--fs-h1);
    margin-bottom: var(--sp-md);
    line-height: 1.05;
}

.hero h1 span {
    display: block;
    color: var(--clr-sage);
}

.hero p {
    font-size: 1.15rem;
    max-width: 480px;
    margin-bottom: var(--sp-lg);
    color: var(--text-muted);
    line-height: 1.7;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(85, 203, 179, 0.12);
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 700;
    color: var(--clr-sage);
    font-size: 0.85rem;
    margin-bottom: var(--sp-md);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-actions .urgency {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--clr-terracotta);
}

/* Hero Image */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.organic-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: var(--clr-sage);
    border-radius: 42% 58% 62% 38% / 45% 52% 48% 55%;
    overflow: hidden;
    animation: floatingFrame 8s ease-in-out infinite alternate;
}

.organic-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.organic-frame:hover img {
    transform: scale(1.08);
}

@keyframes floatingFrame {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-14px) rotate(1.5deg); }
}

/* ========== STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
    text-align: center;
}

.stat-item {
    padding: var(--sp-lg) var(--sp-md);
}

.stat-item h3 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: 0.3rem 0;
    letter-spacing: -2px;
}

.stat-item .cursive {
    font-size: 1.1em;
}

.stat-item p {
    font-weight: 600;
    opacity: 0.7;
    font-size: 0.95rem;
}

/* ========== SECTIONS ========== */
.section {
    padding: var(--sp-huge) 0;
}

.section-alt {
    background: var(--clr-white);
}

/* ========== ABOUT GRID ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
}

.about-content .section-label {
    margin-bottom: 0.5rem;
}

.about-content h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--sp-md);
}

.about-content > p {
    margin-bottom: var(--sp-lg);
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Feature Items */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.feature-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-coal);
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.85rem;
    opacity: 0.65;
    line-height: 1.4;
}

/* About Visual */
.about-visual {
    display: flex;
    justify-content: center;
}

.about-visual .organic-frame {
    max-width: 420px;
    border-radius: 55% 45% 50% 50% / 50% 60% 40% 50%;
}

/* ========== EXPERIENCE ========== */
.experience-header {
    text-align: center;
    margin-bottom: var(--sp-xl);
}

.experience-header h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--sp-sm);
}

.experience-header p {
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto;
    opacity: 0.8;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
}

.event-card {
    padding: var(--sp-xl);
    border-radius: 24px;
    background: white;
    border: 2px solid rgba(0,0,0,0.06);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.event-card h3 {
    margin-bottom: 0.75rem;
    font-size: var(--fs-h3);
}

.event-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== CTA FINAL ========== */
.cta-final {
    background: var(--clr-sage);
    color: var(--clr-coal);
    text-align: center;
    padding: var(--sp-huge) 0;
}

.cta-final h2 {
    color: var(--clr-coal);
    font-size: var(--fs-h2);
    margin-bottom: var(--sp-md);
}

.cta-final p {
    font-size: 1.15rem;
    max-width: 520px;
    margin: 0 auto var(--sp-lg);
    opacity: 0.9;
}

.cta-final .btn-premium {
    background: white;
    color: var(--clr-coal);
}

.cta-final .btn-premium:hover {
    background: var(--clr-golden);
    color: var(--clr-coal);
}

/* ========== FOOTER ========== */
.footer {
    padding: var(--sp-lg) 0;
    background: var(--clr-coal);
    color: rgba(255,255,255,0.6);
    text-align: center;
    font-size: 0.9rem;
}

/* ========== ANIMATIONS ========== */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* Float */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 5s ease-in-out infinite;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
        gap: var(--sp-lg);
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        align-items: center;
    }

    .trust-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .organic-frame {
        max-width: 320px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-lg);
    }

    .about-visual {
        order: -1;
    }

    .about-visual .organic-frame {
        max-width: 300px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        top: 0;
        width: 100%;
        left: 0;
        transform: none;
        max-width: 100%;
    }

    .header-container {
        border-radius: 0;
        padding: 8px 16px;
    }

    .nav-links {
        display: none;
    }

    .header-cta {
        display: block;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: var(--sp-xl);
    }

    .organic-frame {
        max-width: 260px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-md);
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--sp-xxl) 0;
    }

    .cta-final {
        padding: var(--sp-xxl) 0;
    }

    .btn-premium {
        padding: 16px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    :root {
        --sp-md: 16px;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .header-container {
        padding: 8px 12px;
    }

    .header-cta .btn-premium {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
