/* ================================================
   NUUKO LANDING PAGE STYLES
   A cozy, warm landing experience
   ================================================ */

/* === CSS VARIABLES === */
:root {
    /* Nuuko Color Palette */
    --nuuko-green: #6B8F71;
    --nuuko-green-light: #A6C3A7;
    --nuuko-green-dark: #5A7A60;
    --nuuko-clay: #9A6B51;
    --nuuko-clay-light: #CFA88D;
    --nuuko-espresso: #3D342C;
    --nuuko-cream: #F3EFE5;
    --nuuko-cream-light: #FDFCF9;
    --nuuko-cream-dark: #EDE7DB;
    --nuuko-stone: #8D877E;
    --nuuko-stone-light: #A69B93;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Crimson Pro', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-pill: 50px;
    
    /* Shadows */
    --shadow-soft: 0 2px 8px rgba(61, 52, 44, 0.08), 0 1px 3px rgba(61, 52, 44, 0.06);
    --shadow-medium: 0 8px 25px rgba(61, 52, 44, 0.12), 0 3px 10px rgba(61, 52, 44, 0.08);
    --shadow-large: 0 20px 50px rgba(61, 52, 44, 0.15), 0 8px 25px rgba(61, 52, 44, 0.1);
    --shadow-warm: 0 8px 32px rgba(154, 107, 81, 0.15);
    --shadow-glow: 0 0 40px rgba(107, 143, 113, 0.2);
    
    /* Transitions */
    --ease-gentle: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--nuuko-espresso);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    background-color: var(--nuuko-cream);
    overflow-x: hidden;
    background-image:
        /* Paper grain texture */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"),
        /* Color gradients */
        radial-gradient(circle at 20% 20%, rgba(107, 143, 113, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(154, 107, 81, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--nuuko-cream-light) 0%, var(--nuuko-cream) 50%, var(--nuuko-cream-dark) 100%);
    background-blend-mode: overlay, normal, normal, normal;
    background-attachment: fixed;
}

/* Remove grainy texture on iOS devices - they render it poorly */
@supports (-webkit-touch-callout: none) {
    body {
        background-image:
            /* No texture, just gradients */
            radial-gradient(circle at 20% 20%, rgba(107, 143, 113, 0.04) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(154, 107, 81, 0.04) 0%, transparent 50%),
            linear-gradient(180deg, var(--nuuko-cream-light) 0%, var(--nuuko-cream) 50%, var(--nuuko-cream-dark) 100%);
        background-blend-mode: normal, normal, normal;
    }
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* === CONTAINER === */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .landing-container {
        padding: 0 var(--space-lg);
    }
}

/* === NAVIGATION === */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 252, 249, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(141, 135, 126, 0.12);
    transition: all 0.3s var(--ease-gentle);
}

.landing-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: opacity 0.2s var(--ease-gentle);
}

.landing-logo:hover {
    opacity: 0.8;
}

.landing-feather {
    width: 28px;
    height: 28px;
    animation: float 4s ease-in-out infinite;
}

.landing-brand {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--nuuko-espresso);
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.landing-nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--nuuko-stone);
    transition: all 0.2s var(--ease-gentle);
    position: relative;
}

.landing-nav-link:hover {
    color: var(--nuuko-espresso);
}

.landing-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--nuuko-green);
    transform: scaleX(0);
    transition: transform 0.2s var(--ease-gentle);
}

.landing-nav-link:hover::after {
    transform: scaleX(1);
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-left: var(--space-lg);
}

.landing-nav-actions .landing-btn {
    padding: 0.65rem 1.4rem;
}

.landing-nav-link.active {
    color: var(--nuuko-espresso);
    font-weight: 600;
}

.landing-nav-link.active::after {
    transform: scaleX(1);
}

.landing-nav-link--accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nuuko-green-dark);
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.01em;
    background: rgba(107, 143, 113, 0.1);
    border: 1px solid rgba(107, 143, 113, 0.2);
    box-shadow: 0 2px 8px rgba(107, 143, 113, 0.1);
    transition: all 0.25s var(--ease-gentle);
}

.landing-nav-link--accent::after {
    display: none;
}

.landing-nav-link--accent:hover {
    color: var(--nuuko-green-dark);
    background: rgba(107, 143, 113, 0.15);
    border-color: rgba(107, 143, 113, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 143, 113, 0.2);
}

.landing-nav-link--accent.active {
    color: white;
    background: linear-gradient(135deg, var(--nuuko-green) 0%, var(--nuuko-green-dark) 100%);
    border-color: var(--nuuko-green-dark);
    box-shadow: 0 4px 16px rgba(107, 143, 113, 0.35);
    font-weight: 700;
}

/* Mobile Menu Toggle */
.landing-nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--space-sm);
    cursor: pointer;
    color: var(--nuuko-espresso);
    border-radius: var(--radius-sm);
    transition: background 0.2s var(--ease-gentle);
}

.landing-nav-toggle:hover {
    background: rgba(107, 143, 113, 0.1);
}

@media (max-width: 600px) {
    .landing-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .landing-nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 252, 249, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid rgba(141, 135, 126, 0.15);
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s var(--ease-gentle);
    }
    
    .landing-nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .landing-nav-link {
        display: block;
        padding: var(--space-sm) 0;
        font-size: 1rem;
    }

    .landing-nav-actions {
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        gap: var(--space-md);
        align-items: stretch;
    }

    /* Reset accent link to regular style on mobile */
    .landing-nav-link--accent {
        background: none;
        border: none;
        box-shadow: none;
        padding: var(--space-sm) 0;
        border-radius: 0;
        font-weight: 500;
        color: var(--nuuko-green-dark);
        position: relative;
    }

    .landing-nav-link--accent::after {
        display: block;
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--nuuko-green);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s var(--ease-gentle);
    }

    .landing-nav-link--accent:hover {
        background: none;
        border: none;
        box-shadow: none;
        transform: none;
        color: var(--nuuko-green-dark);
    }

    .landing-nav-link--accent:hover::after {
        transform: scaleX(1);
    }

    .landing-nav-link--accent.active {
        background: none;
        border: none;
        box-shadow: none;
        color: var(--nuuko-green-dark);
        font-weight: 600;
    }

    .landing-nav-link--accent.active::after {
        transform: scaleX(1);
    }

    .landing-nav-links .landing-btn,
    .landing-nav-links .landing-btn-signup {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-sm);
    }
}

/* === BUTTONS === */
.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-gentle);
    text-decoration: none;
}

.landing-btn-primary {
    background: linear-gradient(135deg, var(--nuuko-green) 0%, var(--nuuko-green-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 143, 113, 0.3), 0 2px 6px rgba(107, 143, 113, 0.2);
}

.landing-btn-primary:hover {
    background: linear-gradient(135deg, var(--nuuko-green-dark) 0%, var(--nuuko-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 143, 113, 0.4), 0 4px 12px rgba(107, 143, 113, 0.25);
}

.landing-btn-primary:active {
    transform: translateY(0);
}

.landing-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--nuuko-espresso);
    border: 1px solid rgba(141, 135, 126, 0.25);
    box-shadow: var(--shadow-soft);
}

.landing-btn-secondary:hover {
    background: white;
    border-color: rgba(107, 143, 113, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.landing-btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* === HERO SECTION === */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(72px + var(--space-3xl)) var(--space-xl) var(--space-4xl);
    overflow: hidden;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(107, 143, 113, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(154, 107, 81, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

/* Hero floating decorations */
.hero-deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.4;
    color: var(--nuuko-green);
}

.hero-deco-star-1 {
    top: 18%;
    left: 12%;
    animation: twinkle 3s ease-in-out infinite, float 6s ease-in-out infinite;
}

.hero-deco-star-2 {
    top: 28%;
    right: 15%;
    animation: twinkle 4s ease-in-out infinite 1s, float 7s ease-in-out infinite 0.5s;
    color: var(--nuuko-clay);
    opacity: 0.35;
}

.hero-deco-heart {
    bottom: 30%;
    left: 8%;
    animation: float 5s ease-in-out infinite 0.3s;
    color: var(--nuuko-clay);
    opacity: 0.3;
}

.hero-deco-leaf-1 {
    top: 35%;
    right: 8%;
    animation: sway 4s ease-in-out infinite;
    transform-origin: bottom center;
}

.hero-deco-leaf-2 {
    bottom: 25%;
    right: 12%;
    animation: sway 5s ease-in-out infinite 1s;
    transform-origin: bottom center;
    opacity: 0.35;
}

.hero-deco-sparkle {
    top: 22%;
    right: 22%;
    animation: sparkle 2s ease-in-out infinite;
    color: var(--nuuko-green-light);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .hero-deco {
        display: none;
    }
}

/* Title underline decoration */
.title-underline {
    display: block;
    margin: 0.5rem auto 0;
    color: var(--nuuko-green);
    opacity: 0.5;
}

.landing-section-title {
    position: relative;
}

.landing-section-title .title-underline {
    margin-top: 0.25rem;
}

.landing-hero-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.landing-hero-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--space-2xl);
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.12) 0%, rgba(154, 107, 81, 0.12) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        var(--shadow-large),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
    animation: pulse 4s ease-in-out infinite;
}

.landing-hero-feather {
    width: 70px;
    height: 70px;
    animation: float 4s ease-in-out infinite;
}

.landing-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-lg);
}

.landing-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 1.7;
    color: var(--nuuko-stone);
    max-width: 560px;
    margin: 0 auto var(--space-2xl);
}

.landing-hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 500px) {
    .landing-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .landing-hero-buttons .landing-btn {
        width: 100%;
    }
}

/* Scroll Indicator */
.landing-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nuuko-stone);
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
    transition: opacity 0.2s var(--ease-gentle);
}

.landing-scroll-indicator:hover {
    opacity: 1;
    color: var(--nuuko-green);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
    .landing-scroll-indicator {
        display: none;
    }
}

/* === SECTIONS === */
.landing-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.landing-section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--nuuko-espresso);
    text-align: center;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.landing-section-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--nuuko-stone);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* === WHAT MAKES NUUKO SPECIAL === */
.landing-special {
    background:
        /* Paper texture noise overlay */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"),
        /* Soft cream gradient */
        linear-gradient(180deg,
            var(--nuuko-cream) 0%,
            rgba(237, 231, 219, 0.95) 30%,
            rgba(243, 239, 229, 0.98) 70%,
            var(--nuuko-cream) 100%
        );
    background-blend-mode: soft-light, normal;
    position: relative;
    overflow: hidden;
}

.landing-special::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Subtle fiber texture */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(141, 135, 126, 0.02) 2px,
            rgba(141, 135, 126, 0.02) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(141, 135, 126, 0.015) 2px,
            rgba(141, 135, 126, 0.015) 4px
        );
    pointer-events: none;
}

/* Remove texture on iOS */
@supports (-webkit-touch-callout: none) {
    .landing-special {
        background:
            linear-gradient(180deg,
                var(--nuuko-cream) 0%,
                rgba(237, 231, 219, 0.95) 30%,
                rgba(243, 239, 229, 0.98) 70%,
                var(--nuuko-cream) 100%
            );
    }

    .landing-special::before {
        display: none;
    }
}

.landing-special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

/* 5-card grid: 3 on top, 2 centered below */
.landing-special-grid-5 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* First row: 3 cards spanning 2 columns each */
.landing-special-grid-5 .landing-special-card:nth-child(1),
.landing-special-grid-5 .landing-special-card:nth-child(2),
.landing-special-grid-5 .landing-special-card:nth-child(3) {
    grid-column: span 2;
}

/* Second row: 2 cards centered */
.landing-special-grid-5 .landing-special-card:nth-child(4) {
    grid-column: 2 / 4;
}

.landing-special-grid-5 .landing-special-card:nth-child(5) {
    grid-column: 4 / 6;
}

@media (max-width: 900px) {
    .landing-special-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .landing-special-grid-5 {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .landing-special-grid-5 .landing-special-card:nth-child(1),
    .landing-special-grid-5 .landing-special-card:nth-child(2),
    .landing-special-grid-5 .landing-special-card:nth-child(3),
    .landing-special-grid-5 .landing-special-card:nth-child(4),
    .landing-special-grid-5 .landing-special-card:nth-child(5) {
        grid-column: 1;
    }
}

.landing-special-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    border: 1px solid rgba(141, 135, 126, 0.12);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s var(--ease-gentle);
}

.landing-special-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(107, 143, 113, 0.25);
}

.landing-special-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.15) 0%, rgba(154, 107, 81, 0.15) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nuuko-green);
}

.landing-special-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-sm);
}

.landing-special-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--nuuko-stone);
    margin: 0;
}

/* === AI FEATURES SECTION === */
.landing-ai-section {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl) var(--space-xl);
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.06) 0%, rgba(154, 107, 81, 0.04) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(107, 143, 113, 0.15);
}

.landing-ai-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.landing-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nuuko-green);
    margin-bottom: var(--space-md);
    border: 1px solid rgba(107, 143, 113, 0.2);
    box-shadow: 0 2px 8px rgba(107, 143, 113, 0.1);
}

.landing-ai-badge svg {
    flex-shrink: 0;
}

.landing-ai-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--nuuko-stone);
    max-width: 480px;
    margin: 0 auto;
}

/* 3 on top, 2 on bottom grid layout */
.landing-ai-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 960px;
    margin: 0 auto;
}

.landing-ai-grid-2x2 .landing-ai-card:nth-child(4),
.landing-ai-grid-2x2 .landing-ai-card:nth-child(5) {
    grid-column: span 1;
}

/* Center the bottom 2 cards */
.landing-ai-grid-2x2 .landing-ai-card:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: auto;
    width: calc(100% + 50%);
    max-width: 100%;
}

.landing-ai-grid-2x2 .landing-ai-card:nth-child(5) {
    grid-column: 3 / 4;
    margin-right: auto;
    width: calc(100% + 50%);
    max-width: 100%;
}

/* Wrapper for centering bottom row */
.landing-ai-grid-2x2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.landing-ai-grid-2x2 .landing-ai-card {
    flex: 0 1 calc(33.333% - var(--space-lg));
    min-width: 280px;
}

@media (max-width: 900px) {
    .landing-ai-grid-2x2 {
        flex-direction: column;
        align-items: center;
    }

    .landing-ai-grid-2x2 .landing-ai-card {
        flex: 0 1 100%;
        max-width: 400px;
        width: 100%;
    }
}

.landing-ai-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid rgba(141, 135, 126, 0.12);
    transition: all 0.3s var(--ease-gentle);
    box-shadow: 0 2px 8px rgba(61, 52, 44, 0.04);
}

.landing-ai-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(107, 143, 113, 0.25);
}

.landing-ai-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.15) 0%, rgba(154, 107, 81, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nuuko-green);
}

.landing-ai-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-sm);
}

.landing-ai-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--nuuko-stone);
    margin: 0;
}

/* === PREVIEW SECTION === */
.landing-preview {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(107, 143, 113, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(154, 107, 81, 0.06) 0%, transparent 50%);
}

.landing-preview-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.landing-preview-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

@media (max-width: 900px) {
    .landing-preview-showcase {
        grid-template-columns: 1fr;
    }
}

.landing-preview-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(141, 135, 126, 0.15);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.landing-preview-main {
    padding: var(--space-2xl);
    position: relative;
}

/* Paper texture effect */
.landing-preview-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(61, 52, 44, 0.02) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
}

.landing-preview-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    position: relative;
}

.landing-preview-date {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
}

.landing-preview-mood {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    background: rgba(107, 143, 113, 0.12);
    color: var(--nuuko-green);
    border-radius: var(--radius-pill);
    font-weight: 500;
}

.landing-preview-prompt {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.08) 0%, rgba(154, 107, 81, 0.08) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border-left: 3px solid rgba(107, 143, 113, 0.4);
    position: relative;
}

.landing-preview-prompt-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-preview-prompt-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--nuuko-stone);
    margin: 0;
}

.landing-preview-textarea {
    min-height: 120px;
    padding: var(--space-lg);
    background: rgba(253, 252, 249, 0.6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(141, 135, 126, 0.1);
    margin-bottom: var(--space-md);
    position: relative;
}

.landing-preview-writing {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--nuuko-espresso);
    margin: 0;
}

.landing-preview-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--nuuko-green);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

.landing-preview-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--nuuko-stone);
}

.landing-preview-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.landing-preview-small {
    padding: var(--space-lg);
}

.landing-preview-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-md);
}

.landing-preview-mood-chart {
    height: 60px;
    margin-bottom: var(--space-sm);
}

.landing-mood-svg {
    width: 100%;
    height: 100%;
}

.landing-preview-mood-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--nuuko-stone);
}

/* Wrapped Preview Card */
.landing-preview-wrapped {
    background: linear-gradient(135deg, #faf6f0 0%, #f5efe6 100%);
    border: 1px solid rgba(154, 107, 81, 0.2);
}

.landing-preview-wrapped-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.landing-preview-wrapped-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--nuuko-stone);
}

.landing-preview-wrapped-month {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.landing-preview-wrapped-stat {
    margin-bottom: var(--space-md);
}

.landing-preview-wrapped-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    line-height: 1;
    display: block;
}

.landing-preview-wrapped-label {
    font-size: 0.9rem;
    color: var(--nuuko-stone);
}

.landing-preview-wrapped-insight {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--nuuko-clay);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
}

/* === DEVICE MOCKUP SHOWCASE === */
.landing-device-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-3xl);
    padding: var(--space-2xl) 0;
}

.landing-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.landing-device-frame {
    position: relative;
    background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.25),
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.landing-device-main .landing-device-frame {
    width: 320px;
    height: 640px;
}

.landing-device-secondary .landing-device-frame {
    width: 280px;
    height: 560px;
    transform: translateY(40px);
}

.landing-device-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.landing-device-screen {
    width: 100%;
    height: 100%;
    background: var(--nuuko-cream);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.landing-device-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--nuuko-stone);
    text-align: center;
    margin: 1.25rem 0 0;
}

/* App Preview Styles */
.landing-app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--nuuko-cream);
}

.preview-nav {
    padding: 12px 16px;
    padding-top: 40px;
    background: rgba(253, 252, 249, 0.95);
    border-bottom: 1px solid rgba(141, 135, 126, 0.1);
}

.preview-nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
}

.preview-nav-logo img {
    width: 16px;
    height: 16px;
}

/* Write Preview Styles */
.preview-write-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.preview-write-header {
    text-align: center;
}

.preview-entry-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin: 0 0 4px;
}

.preview-entry-date {
    font-size: 0.75rem;
    color: var(--nuuko-stone);
    margin: 0;
}

.preview-prompt-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border-left: 3px solid rgba(107, 143, 113, 0.4);
}

.preview-prompt-icon {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle, rgba(107, 143, 113, 0.2) 0%, rgba(107, 143, 113, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-prompt-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preview-prompt-label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(61, 52, 44, 0.5);
}

.preview-prompt-question {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-style: italic;
    color: var(--nuuko-stone);
}

.preview-notebook {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 16px;
    padding-left: 32px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(61, 52, 44, 0.06);
}

.preview-notebook-lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        transparent,
        transparent 22px,
        rgba(141, 135, 126, 0.08) 22px,
        rgba(141, 135, 126, 0.08) 23px
    );
    pointer-events: none;
}

.preview-notebook-margin {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: rgba(154, 107, 81, 0.15);
}

.preview-notebook-text {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    line-height: 23px;
    color: var(--nuuko-espresso);
    margin: 0;
    position: relative;
    z-index: 1;
}

.preview-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--nuuko-green);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

.preview-write-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
}

.preview-mood-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(107, 143, 113, 0.12);
    color: var(--nuuko-green);
    border-radius: 20px;
    font-weight: 500;
}

.preview-word-count {
    font-size: 0.7rem;
    color: var(--nuuko-stone);
}

/* Patterns Preview Styles */
.preview-patterns-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.preview-patterns-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    text-align: center;
    margin: 0 0 4px;
}

.preview-stats-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(61, 52, 44, 0.04);
}

.preview-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.preview-stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
}

.preview-stat-value.preview-stat-green {
    color: var(--nuuko-green);
}

.preview-stat-label {
    font-size: 0.6rem;
    color: var(--nuuko-stone);
    text-transform: lowercase;
}

.preview-stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(141, 135, 126, 0.2);
}

.preview-mood-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(61, 52, 44, 0.04);
}

.preview-mood-header {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin-bottom: 8px;
}

.preview-mood-heatmap {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.preview-mood-day {
    aspect-ratio: 1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.preview-mood-today {
    box-shadow: 0 0 0 2px var(--nuuko-espresso);
}

.preview-mood-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.55rem;
    color: var(--nuuko-stone);
}

.preview-wrapped-card {
    background: linear-gradient(135deg, #faf6f0 0%, #f5efe6 100%);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(154, 107, 81, 0.15);
}

.preview-wrapped-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.preview-wrapped-kicker {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nuuko-stone);
}

.preview-wrapped-month {
    font-family: var(--font-serif);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-wrapped-stat {
    margin-bottom: 8px;
}

.preview-wrapped-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    line-height: 1;
    display: block;
}

.preview-wrapped-label {
    font-size: 0.7rem;
    color: var(--nuuko-stone);
}

.preview-wrapped-insight {
    font-size: 0.65rem;
    color: var(--nuuko-clay);
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
}

/* Device Responsive */
@media (max-width: 900px) {
    .landing-device-showcase {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2xl);
    }

    .landing-device-secondary .landing-device-frame {
        transform: none;
    }

    .landing-device-main .landing-device-frame {
        width: 280px;
        height: 560px;
    }

    .landing-device-secondary .landing-device-frame {
        width: 260px;
        height: 520px;
    }
}

@media (max-width: 400px) {
    .landing-device-main .landing-device-frame,
    .landing-device-secondary .landing-device-frame {
        width: 240px;
        height: 480px;
    }

    .landing-device-frame {
        border-radius: 32px;
        padding: 10px;
    }

    .landing-device-screen {
        border-radius: 24px;
    }

    .landing-device-notch {
        width: 80px;
        height: 22px;
    }
}

/* === EXPERIENCE HIGHLIGHTS === */
.landing-experience-section {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(141, 135, 126, 0.1);
}

.landing-experience-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.landing-experience-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 900px) {
    .landing-experience-highlights {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

.landing-experience-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(141, 135, 126, 0.12);
    transition: all 0.3s var(--ease-gentle);
    box-shadow: 0 2px 8px rgba(61, 52, 44, 0.04);
}

.landing-experience-card:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(107, 143, 113, 0.2);
}

.landing-experience-visual {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.12) 0%, rgba(154, 107, 81, 0.08) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nuuko-green);
}

.landing-experience-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.landing-experience-content h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin: 0;
}

.landing-experience-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--nuuko-stone);
    margin: 0;
}

/* === AUDIENCE SECTION === */
.landing-audience {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
}

.landing-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

@media (max-width: 900px) {
    .landing-audience-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

.landing-audience-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid rgba(141, 135, 126, 0.1);
    transition: all 0.3s var(--ease-gentle);
}

.landing-audience-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.landing-audience-emoji {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.landing-audience-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.landing-audience-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--nuuko-stone);
    margin: 0;
}

/* === FEATURES ROW === */
.landing-features {
    background: 
        linear-gradient(180deg, transparent 0%, rgba(107, 143, 113, 0.04) 50%, transparent 100%);
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 900px) {
    .landing-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .landing-features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.landing-feature {
    text-align: center;
    padding: var(--space-lg);
}

.landing-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(141, 135, 126, 0.1);
}

.landing-feature-icon img {
    width: 24px;
    height: 24px;
    opacity: 0.85;
}

.landing-feature-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-xs);
}

.landing-feature-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--nuuko-stone);
    margin: 0;
}

/* === DISCOVER YOUR STORY SECTION === */
.landing-discover {
    background: linear-gradient(180deg, rgba(107, 143, 113, 0.04) 0%, rgba(154, 107, 81, 0.04) 50%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.landing-discover::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107, 143, 113, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.landing-discover::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(154, 107, 81, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.landing-discover-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.landing-discover-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nuuko-green);
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(107, 143, 113, 0.2);
    box-shadow: 0 4px 15px rgba(107, 143, 113, 0.12);
}

.landing-discover-badge svg {
    animation: twinkle 2s ease-in-out infinite;
}

.landing-discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .landing-discover-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.landing-discover-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid rgba(141, 135, 126, 0.12);
    box-shadow: 0 8px 32px rgba(61, 52, 44, 0.06);
    transition: all 0.4s var(--ease-gentle);
    position: relative;
    overflow: hidden;
}

.landing-discover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--nuuko-green) 0%, var(--nuuko-clay) 50%, var(--nuuko-green) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.landing-discover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(61, 52, 44, 0.12);
    border-color: rgba(107, 143, 113, 0.25);
}

.landing-discover-card:hover::before {
    opacity: 1;
}

.landing-discover-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.landing-discover-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-discover-icon--badges {
    background: linear-gradient(135deg, rgba(197, 165, 114, 0.2) 0%, rgba(154, 107, 81, 0.15) 100%);
    color: var(--nuuko-clay);
}

.landing-discover-icon--archetype {
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.2) 0%, rgba(107, 143, 113, 0.1) 100%);
    color: var(--nuuko-green);
}

.landing-discover-icon--challenges {
    background: linear-gradient(135deg, rgba(168, 128, 156, 0.2) 0%, rgba(168, 128, 156, 0.1) 100%);
    color: #A8809C;
}

.landing-discover-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin: 0;
}

.landing-discover-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--nuuko-stone);
    margin: 0 0 var(--space-lg);
}

/* Badge Showcase */
.landing-badge-showcase {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.landing-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: var(--space-sm);
    background: rgba(253, 252, 249, 0.8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(197, 165, 114, 0.15);
    transition: all 0.3s ease;
    min-width: 70px;
}

.landing-badge-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(154, 107, 81, 0.15);
}

.landing-badge-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.landing-badge-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--nuuko-stone);
    text-align: center;
}

.landing-badge-more {
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.12) 0%, rgba(154, 107, 81, 0.12) 100%);
    border-color: rgba(107, 143, 113, 0.2);
}

.landing-badge-count {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nuuko-green);
    line-height: 44px;
}

/* Archetype Showcase */
.landing-archetype-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.landing-archetype-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 0.75rem;
    background: rgba(253, 252, 249, 0.8);
    border-radius: var(--radius-md);
    border: 1px solid rgba(107, 143, 113, 0.1);
    transition: all 0.25s ease;
}

.landing-archetype-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(107, 143, 113, 0.25);
    transform: translateX(4px);
}

.landing-archetype-emoji {
    font-size: 1.25rem;
    line-height: 1;
}

.landing-archetype-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.landing-archetype-name {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
}

.landing-archetype-desc {
    font-size: 0.7rem;
    color: var(--nuuko-stone);
}

/* Challenge Showcase */
.landing-challenge-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.landing-challenge-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.75rem 1rem;
    background: rgba(253, 252, 249, 0.8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(141, 135, 126, 0.1);
    transition: all 0.25s ease;
}

.landing-challenge-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(168, 128, 156, 0.3);
    transform: translateX(4px);
}

.landing-challenge-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-challenge-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.landing-challenge-name {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
}

.landing-challenge-meta {
    font-size: 0.75rem;
    color: var(--nuuko-stone);
}

/* Discover Footer */
.landing-discover-footer {
    margin-top: var(--space-3xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.landing-discover-deco {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    border: 1px dashed rgba(107, 143, 113, 0.3);
}

.landing-discover-sparkle {
    font-size: 1rem;
    animation: twinkle 2s ease-in-out infinite;
}

.landing-discover-sparkle:nth-child(3) {
    animation-delay: 1s;
}

.landing-discover-message {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--nuuko-stone);
}

/* === TESTIMONIALS === */
.landing-testimonials {
    background: linear-gradient(180deg, transparent 0%, rgba(154, 107, 81, 0.04) 50%, transparent 100%);
}

.landing-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

@media (max-width: 900px) {
    .landing-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

.landing-testimonial {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid rgba(141, 135, 126, 0.12);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.landing-testimonial::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    left: var(--space-lg);
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: rgba(107, 143, 113, 0.15);
}

.landing-testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--nuuko-espresso);
    margin: 0 0 var(--space-lg);
    position: relative;
}

.landing-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.landing-testimonial-avatar {
    font-size: 1.25rem;
}

.landing-testimonial-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--nuuko-stone);
}

/* === WAITLIST SECTION === */
.landing-waitlist-section {
    background: linear-gradient(180deg, rgba(107, 143, 113, 0.08) 0%, rgba(107, 143, 113, 0.03) 100%);
    padding: var(--space-3xl) 0;
}

.landing-waitlist-card {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    border: 2px solid rgba(107, 143, 113, 0.2);
    box-shadow:
        var(--shadow-large),
        0 0 60px rgba(107, 143, 113, 0.1);
}

.landing-waitlist-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, var(--nuuko-green) 0%, var(--nuuko-green-dark) 100%);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-waitlist-badge svg {
    flex-shrink: 0;
}

.landing-waitlist-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.landing-waitlist-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--nuuko-stone);
    max-width: 520px;
    margin: 0 auto var(--space-xl);
}

.landing-waitlist-features-row {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.landing-waitlist-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(107, 143, 113, 0.1);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--nuuko-green-dark);
}

.landing-waitlist-feature-chip svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* Waitlist Form */
.landing-waitlist-form {
    padding-top: var(--space-lg);
}

.landing-waitlist-cta {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-md);
}

.landing-waitlist-input-group {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    max-width: 480px;
    margin: 0 auto var(--space-md);
}

.landing-waitlist-input {
    flex: 1;
    min-width: 220px;
    padding: 1rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--nuuko-espresso);
    background: var(--nuuko-cream-light);
    border: 2px solid rgba(141, 135, 126, 0.2);
    border-radius: var(--radius-pill);
    outline: none;
    transition: all 0.2s var(--ease-gentle);
}

.landing-waitlist-input:focus {
    border-color: var(--nuuko-green);
    box-shadow: 0 0 0 4px rgba(107, 143, 113, 0.15);
    background: white;
}

.landing-waitlist-input::placeholder {
    color: var(--nuuko-stone);
    opacity: 0.6;
}

.landing-waitlist-privacy {
    font-size: 0.8rem;
    color: var(--nuuko-stone);
    margin: 0;
    opacity: 0.8;
}

.landing-waitlist-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(141, 135, 126, 0.1);
    font-size: 0.85rem;
    color: var(--nuuko-stone);
}

.landing-waitlist-note svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Waitlist Success State */
.landing-waitlist-success {
    padding: var(--space-xl);
    animation: fadeInUp 0.4s var(--ease-gentle);
}

.landing-waitlist-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.15) 0%, rgba(107, 143, 113, 0.25) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nuuko-green);
}

.landing-waitlist-success h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-xs);
}

.landing-waitlist-success p {
    font-size: 0.95rem;
    color: var(--nuuko-stone);
    margin: 0;
}

@media (max-width: 500px) {
    .landing-waitlist-card {
        padding: var(--space-2xl) var(--space-lg);
    }

    .landing-waitlist-features-row {
        flex-direction: column;
        align-items: center;
    }

    .landing-waitlist-note {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    .landing-waitlist-input-group {
        flex-direction: column;
    }

    .landing-waitlist-input {
        min-width: 100%;
    }

    .landing-waitlist-input-group .landing-btn {
        width: 100%;
    }
}

/* === FINAL CTA === */
.landing-cta {
    padding: var(--space-4xl) 0;
}

.landing-cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 239, 229, 0.98) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl) var(--space-2xl);
    text-align: center;
    border: 1px solid rgba(141, 135, 126, 0.15);
    box-shadow: 
        var(--shadow-large),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.landing-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(107, 143, 113, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(154, 107, 81, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.landing-cta-feather {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
    background: linear-gradient(135deg, rgba(107, 143, 113, 0.15) 0%, rgba(154, 107, 81, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 4s ease-in-out infinite;
}

.landing-cta-feather img {
    animation: float 4s ease-in-out infinite;
}

.landing-cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    color: var(--nuuko-espresso);
    margin-bottom: var(--space-md);
    position: relative;
}

.landing-cta-text {
    font-size: 1.125rem;
    color: var(--nuuko-stone);
    margin-bottom: var(--space-xl);
    position: relative;
}

.landing-cta .landing-btn {
    position: relative;
}

/* === FOOTER === */
.landing-footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(141, 135, 126, 0.15);
    background: linear-gradient(180deg, transparent 0%, rgba(237, 231, 219, 0.5) 100%);
}

.landing-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    text-align: center;
}

.landing-footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--nuuko-espresso);
}

.landing-footer-brand img {
    opacity: 0.7;
}

.landing-footer-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.landing-footer-links a {
    font-size: 0.9rem;
    color: var(--nuuko-stone);
    transition: color 0.2s var(--ease-gentle);
}

.landing-footer-links a:hover {
    color: var(--nuuko-green);
}

.landing-footer-tagline {
    font-size: 0.85rem;
    color: var(--nuuko-stone);
    font-style: italic;
    margin: 0;
}

/* === SECTION DIVIDERS === */
.section-divider {
    position: relative;
    height: 60px;
    margin-top: -30px;
    margin-bottom: -30px;
    z-index: 1;
    pointer-events: none;
}

.section-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* === SECTION DECORATIONS === */
.section-feather {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    animation: peekIn 0.6s ease-out forwards, float 4s ease-in-out infinite 0.6s;
}

.section-feather-left {
    left: -10px;
    top: 80px;
    transform: rotate(-15deg);
}

.section-feather-right {
    right: -10px;
    top: 100px;
    transform: rotate(15deg) scaleX(-1);
}

@media (max-width: 900px) {
    .section-feather {
        display: none;
    }
}

.section-deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.3;
    color: var(--nuuko-green);
}

.section-deco-star {
    top: 60px;
    right: 15%;
    animation: twinkle 3s ease-in-out infinite;
}

.section-deco-leaf {
    bottom: 80px;
    left: 10%;
    animation: sway 4s ease-in-out infinite;
    transform-origin: bottom center;
}

.landing-section {
    position: relative;
}

/* === ANIMATIONS === */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) rotate(1deg);
    }
    50% {
        transform: translateY(-8px) rotate(0deg);
    }
    75% {
        transform: translateY(-4px) rotate(-1deg);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(107, 143, 113, 0.2);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(107, 143, 113, 0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes sway {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.9) rotate(0deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes peekIn {
    from {
        opacity: 0;
        transform: translateX(-20px) rotate(-15deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(-15deg);
    }
}

/* === SCROLL ANIMATIONS === */
/* Disabled animations to prevent layout glitches on page load */
.landing-hero-content,
.landing-special-card,
.landing-preview-card,
.landing-audience-card,
.landing-feature,
.landing-testimonial {
    opacity: 1;
}

/* === UTILITY === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === RESPONSIVE FINE-TUNING === */
@media (max-width: 768px) {
    .landing-hero {
        min-height: auto;
        padding-top: calc(72px + var(--space-2xl));
        padding-bottom: var(--space-3xl);
    }
    
    .landing-hero-avatar {
        width: 120px;
        height: 120px;
    }
    
    .landing-hero-feather {
        width: 56px;
        height: 56px;
    }
    
    .landing-section {
        padding: var(--space-3xl) 0;
    }
    
    .landing-preview-main {
        padding: var(--space-lg);
    }
    
    .landing-cta-card {
        padding: var(--space-2xl) var(--space-lg);
    }
}

/* === PRINT STYLES === */
@media print {
    .landing-nav,
    .landing-btn,
    .landing-cta {
        display: none;
    }

    body {
        background: white;
    }

    .landing-section {
        padding: 1rem 0;
    }
}

/* ============================================
   DARK MODE STYLES FOR LANDING PAGE
   Cozy, warm dark theme
   ============================================ */

/* System preference detection */
@media (prefers-color-scheme: dark) {
    html:not(.light) {
        --nuuko-green: #7DA383;
        --nuuko-green-light: #8FB896;
        --nuuko-green-dark: #6B9471;
        --nuuko-clay: #B07D5E;
        --nuuko-clay-light: #C4927A;
        --nuuko-espresso: #E8E4DE;
        --nuuko-cream: #1A1A1A;
        --nuuko-cream-light: #1E1E1E;
        --nuuko-cream-dark: #141414;
        --nuuko-stone: #9A958E;
        --nuuko-stone-light: #706B65;

        --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.4);
        --shadow-large: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    html:not(.light) body {
        background-color: #1A1A1A;
        background-image:
            radial-gradient(circle at 20% 20%, rgba(125, 163, 131, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(176, 125, 94, 0.05) 0%, transparent 50%),
            linear-gradient(180deg, #1E1E1E 0%, #1A1A1A 50%, #141414 100%);
    }

    @supports (-webkit-touch-callout: none) {
        html:not(.light) body {
            background-image:
                radial-gradient(circle at 20% 20%, rgba(125, 163, 131, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(176, 125, 94, 0.05) 0%, transparent 50%),
                linear-gradient(180deg, #1E1E1E 0%, #1A1A1A 50%, #141414 100%);
        }
    }

    html:not(.light) .landing-nav {
        background: rgba(26, 26, 26, 0.98);
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    html:not(.light) .landing-card,
    html:not(.light) .landing-preview-main,
    html:not(.light) .landing-cta-card {
        background: rgba(38, 38, 38, 0.9);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    html:not(.light) .landing-preview-sidebar {
        background: rgba(42, 42, 42, 0.95);
    }

    html:not(.light) .landing-feature-card {
        background: rgba(38, 38, 38, 0.85);
        border-color: rgba(255, 255, 255, 0.08);
    }

    html:not(.light) .landing-testimonial-card {
        background: rgba(38, 38, 38, 0.9);
        border-color: rgba(255, 255, 255, 0.08);
    }

    html:not(.light) .landing-nav-link {
        color: #9A958E;
    }

    html:not(.light) .landing-nav-link:hover {
        color: #E8E4DE;
    }

    html:not(.light) .landing-footer {
        background: #141414;
        border-top-color: rgba(255, 255, 255, 0.08);
    }
}

/* ============================================
   LANDING PAGE DARK MODE
   Warm, cozy dark theme for the landing page
   ============================================ */

html.dark {
    /* Nuuko accent colors - vibrant in dark mode */
    --nuuko-green: #8FB896;
    --nuuko-green-light: #A8CBA8;
    --nuuko-green-dark: #6B9471;
    --nuuko-clay: #D4A088;
    --nuuko-clay-light: #E4B8A0;

    /* Text colors - warm cream tones */
    --nuuko-espresso: #F5F0E8;
    --nuuko-cream: #F5F0E8;
    --nuuko-cream-light: #FAF8F4;
    --nuuko-cream-dark: #E8E2D9;
    --nuuko-stone: #C4BCB0;
    --nuuko-stone-light: #918A80;

    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.4);
    --shadow-large: 0 20px 50px rgba(0, 0, 0, 0.5);
}

html.dark body {
    background-color: #1C1917;
    background-image:
        /* Subtle sage glow top-left */
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(143, 184, 150, 0.08) 0%, transparent 50%),
        /* Subtle clay glow bottom-right */
        radial-gradient(ellipse 70% 60% at 80% 75%, rgba(212, 160, 136, 0.06) 0%, transparent 50%),
        /* Base warm gradient */
        linear-gradient(180deg, #201D1A 0%, #1C1917 50%, #141211 100%);
    background-attachment: fixed;
}

@supports (-webkit-touch-callout: none) {
    html.dark body {
        background-image:
            radial-gradient(ellipse 80% 50% at 20% 20%, rgba(143, 184, 150, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse 70% 60% at 80% 75%, rgba(212, 160, 136, 0.06) 0%, transparent 50%),
            linear-gradient(180deg, #201D1A 0%, #1C1917 50%, #141211 100%);
    }
}

/* Navigation */
html.dark .landing-nav {
    background: rgba(28, 25, 23, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

/* Cards and containers */
html.dark .landing-card,
html.dark .landing-preview-main,
html.dark .landing-cta-card {
    background: #2A2523;
    border: 1px solid rgba(245, 240, 232, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

html.dark .landing-preview-sidebar {
    background: #252120;
    border-left: 1px solid rgba(245, 240, 232, 0.06);
}

/* Feature cards */
html.dark .landing-feature-card {
    background: #2A2523;
    border: 1px solid rgba(245, 240, 232, 0.07);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

html.dark .landing-feature-card:hover {
    background: #302A27;
    border-color: rgba(143, 184, 150, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

html.dark .landing-feature-icon {
    background: rgba(143, 184, 150, 0.15);
}

html.dark .landing-feature-title {
    color: var(--nuuko-cream);
}

html.dark .landing-feature-desc {
    color: var(--nuuko-stone);
}

/* Testimonial cards */
html.dark .landing-testimonial-card {
    background: #2A2523;
    border: 1px solid rgba(245, 240, 232, 0.07);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

html.dark .landing-testimonial-text {
    color: var(--nuuko-stone);
}

html.dark .landing-testimonial-author {
    color: var(--nuuko-cream);
}

/* Navigation links */
html.dark .landing-nav-link {
    color: var(--nuuko-stone);
}

html.dark .landing-nav-link:hover {
    color: var(--nuuko-cream);
}

html.dark .landing-nav-link::after {
    background: var(--nuuko-green);
}

/* Brand */
html.dark .landing-brand {
    color: var(--nuuko-cream);
}

/* Hero section */
html.dark .landing-hero-title {
    color: var(--nuuko-cream);
}

html.dark .landing-hero-subtitle {
    color: var(--nuuko-stone);
}

html.dark .landing-hero-tagline {
    color: var(--nuuko-stone);
}

/* Hero character glow */
html.dark .landing-hero-character img,
html.dark .landing-feather-hero img {
    filter: drop-shadow(0 0 30px rgba(143, 184, 150, 0.2));
}

/* CTA buttons */
html.dark .landing-btn-primary {
    background: linear-gradient(145deg, var(--nuuko-green) 0%, var(--nuuko-green-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(143, 184, 150, 0.3);
}

html.dark .landing-btn-primary:hover {
    background: linear-gradient(145deg, var(--nuuko-green-light) 0%, var(--nuuko-green) 100%);
    box-shadow: 0 6px 24px rgba(143, 184, 150, 0.4);
}

html.dark .landing-btn-secondary {
    background: rgba(42, 37, 35, 0.8);
    border: 1px solid rgba(245, 240, 232, 0.15);
    color: var(--nuuko-cream);
}

html.dark .landing-btn-secondary:hover {
    background: rgba(48, 42, 39, 0.9);
    border-color: rgba(143, 184, 150, 0.3);
}

/* Section titles */
html.dark .landing-section-title {
    color: var(--nuuko-cream);
}

html.dark .landing-section-subtitle {
    color: var(--nuuko-stone);
}

/* Preview/mockup section */
html.dark .landing-preview-card {
    background: #2A2523;
    border: 1px solid rgba(245, 240, 232, 0.08);
}

html.dark .landing-preview-header {
    background: rgba(37, 33, 32, 0.8);
    border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

html.dark .landing-preview-dot {
    background: rgba(245, 240, 232, 0.3);
}

/* Pricing cards */
html.dark .landing-pricing-card {
    background: #2A2523;
    border: 1px solid rgba(245, 240, 232, 0.08);
}

html.dark .landing-pricing-card:hover {
    border-color: rgba(143, 184, 150, 0.2);
}

html.dark .landing-pricing-title {
    color: var(--nuuko-cream);
}

html.dark .landing-pricing-price {
    color: var(--nuuko-green);
}

html.dark .landing-pricing-desc {
    color: var(--nuuko-stone);
}

/* FAQ section */
html.dark .landing-faq-item {
    background: #2A2523;
    border: 1px solid rgba(245, 240, 232, 0.07);
}

html.dark .landing-faq-question {
    color: var(--nuuko-cream);
}

html.dark .landing-faq-answer {
    color: var(--nuuko-stone);
}

/* Footer */
html.dark .landing-footer {
    background: #141211;
    border-top: 1px solid rgba(245, 240, 232, 0.06);
}

html.dark .landing-footer-link {
    color: var(--nuuko-stone);
}

html.dark .landing-footer-link:hover {
    color: var(--nuuko-cream);
}

html.dark .landing-footer-copyright {
    color: var(--nuuko-stone-light);
}

/* Decorative elements */
html.dark .landing-decoration {
    opacity: 0.15;
}

/* Pills/badges */
html.dark .landing-pill {
    background: rgba(143, 184, 150, 0.15);
    color: var(--nuuko-green-light);
    border: 1px solid rgba(143, 184, 150, 0.2);
}

/* Articles button */
html.dark .landing-articles-btn {
    background: rgba(42, 37, 35, 0.8);
    border: 1px solid rgba(245, 240, 232, 0.12);
    color: var(--nuuko-cream);
}

html.dark .landing-articles-btn:hover {
    background: rgba(48, 42, 39, 0.9);
    border-color: rgba(143, 184, 150, 0.25);
}

/* Sign in button */
html.dark .landing-signin-btn {
    background: linear-gradient(145deg, var(--nuuko-green) 0%, var(--nuuko-green-dark) 100%);
    color: white;
}

html.dark .landing-signin-btn:hover {
    background: linear-gradient(145deg, var(--nuuko-green-light) 0%, var(--nuuko-green) 100%);
}

/* ============================================
   WAITLIST SECTION - DARK MODE
   This section has white background that needs fixing
   ============================================ */

html.dark .landing-waitlist-section {
    background: linear-gradient(180deg, rgba(143, 184, 150, 0.08) 0%, rgba(28, 25, 23, 0) 100%);
}

html.dark .landing-waitlist-card {
    background: #2A2523;
    border: 2px solid rgba(143, 184, 150, 0.2);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(143, 184, 150, 0.08);
}

html.dark .landing-waitlist-title {
    color: var(--nuuko-cream);
}

html.dark .landing-waitlist-subtitle {
    color: var(--nuuko-stone);
}

html.dark .landing-waitlist-feature-chip {
    background: rgba(143, 184, 150, 0.15);
    color: var(--nuuko-green-light);
}

html.dark .landing-waitlist-cta {
    color: var(--nuuko-cream);
}

html.dark .landing-waitlist-input {
    background: #252120;
    border: 2px solid rgba(245, 240, 232, 0.12);
    color: var(--nuuko-cream);
}

html.dark .landing-waitlist-input:focus {
    border-color: var(--nuuko-green);
    box-shadow: 0 0 0 4px rgba(143, 184, 150, 0.15);
    background: #2A2523;
}

html.dark .landing-waitlist-input::placeholder {
    color: var(--nuuko-stone);
    opacity: 0.6;
}

html.dark .landing-waitlist-privacy {
    color: var(--nuuko-stone);
}

html.dark .landing-waitlist-note {
    border-top-color: rgba(245, 240, 232, 0.08);
    color: var(--nuuko-stone);
}

html.dark .landing-waitlist-success {
    background: rgba(143, 184, 150, 0.15);
}

html.dark .landing-waitlist-success h4 {
    color: var(--nuuko-cream);
}

html.dark .landing-waitlist-success p {
    color: var(--nuuko-stone);
}

/* Discover Section Dark Mode */
html.dark .landing-discover {
    background: linear-gradient(180deg, rgba(143, 184, 150, 0.06) 0%, rgba(176, 125, 94, 0.06) 50%, transparent 100%);
}

html.dark .landing-discover::before {
    background: radial-gradient(circle, rgba(143, 184, 150, 0.1) 0%, transparent 70%);
}

html.dark .landing-discover::after {
    background: radial-gradient(circle, rgba(176, 125, 94, 0.1) 0%, transparent 70%);
}

html.dark .landing-discover-badge {
    background: linear-gradient(135deg, rgba(42, 37, 35, 0.95) 0%, rgba(42, 37, 35, 0.8) 100%);
    border-color: rgba(143, 184, 150, 0.25);
    color: var(--nuuko-green);
}

html.dark .landing-discover-card {
    background: rgba(42, 37, 35, 0.85);
    border-color: rgba(245, 240, 232, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

html.dark .landing-discover-card:hover {
    border-color: rgba(143, 184, 150, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

html.dark .landing-discover-card-title {
    color: var(--nuuko-cream);
}

html.dark .landing-discover-card-text {
    color: var(--nuuko-stone);
}

html.dark .landing-badge-item {
    background: rgba(37, 33, 32, 0.8);
    border-color: rgba(176, 125, 94, 0.2);
}

html.dark .landing-badge-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

html.dark .landing-badge-label {
    color: var(--nuuko-stone);
}

html.dark .landing-badge-more {
    background: linear-gradient(135deg, rgba(143, 184, 150, 0.15) 0%, rgba(176, 125, 94, 0.15) 100%);
    border-color: rgba(143, 184, 150, 0.25);
}

html.dark .landing-badge-count {
    color: var(--nuuko-green);
}

html.dark .landing-archetype-item {
    background: rgba(37, 33, 32, 0.8);
    border-color: rgba(143, 184, 150, 0.12);
}

html.dark .landing-archetype-item:hover {
    background: rgba(42, 37, 35, 0.95);
    border-color: rgba(143, 184, 150, 0.3);
}

html.dark .landing-archetype-name {
    color: var(--nuuko-cream);
}

html.dark .landing-archetype-desc {
    color: var(--nuuko-stone);
}

html.dark .landing-challenge-item {
    background: rgba(37, 33, 32, 0.8);
    border-color: rgba(245, 240, 232, 0.08);
}

html.dark .landing-challenge-item:hover {
    background: rgba(42, 37, 35, 0.95);
    border-color: rgba(168, 128, 156, 0.35);
}

html.dark .landing-challenge-name {
    color: var(--nuuko-cream);
}

html.dark .landing-challenge-meta {
    color: var(--nuuko-stone);
}

html.dark .landing-discover-deco {
    background: rgba(42, 37, 35, 0.7);
    border-color: rgba(143, 184, 150, 0.3);
}

html.dark .landing-discover-message {
    color: var(--nuuko-stone);
}

/* ============================================
   GLOBAL DARK MODE OVERRIDES
   Catch-all for any remaining white backgrounds
   ============================================ */

/* Any element with white/light background */
html.dark [style*="background: white"],
html.dark [style*="background:white"],
html.dark [style*="background-color: white"],
html.dark [style*="background-color:white"],
html.dark [style*="background: #fff"],
html.dark [style*="background:#fff"],
html.dark [style*="background: #ffffff"],
html.dark [style*="background:#ffffff"] {
    background: #2A2523 !important;
}

/* Any element with cream background */
html.dark [style*="background: var(--nuuko-cream)"],
html.dark [style*="background:var(--nuuko-cream)"],
html.dark [style*="background-color: var(--nuuko-cream)"] {
    background: #2A2523 !important;
}

/* Forms and inputs */
html.dark form,
html.dark fieldset {
    background: transparent;
}

html.dark input[type="text"],
html.dark input[type="email"],
html.dark input[type="password"],
html.dark input[type="search"],
html.dark input[type="url"],
html.dark input[type="tel"],
html.dark input[type="number"],
html.dark select,
html.dark textarea {
    background: #252120 !important;
    border-color: rgba(245, 240, 232, 0.12) !important;
    color: var(--nuuko-cream) !important;
}

html.dark input::placeholder,
html.dark textarea::placeholder {
    color: var(--nuuko-stone) !important;
    opacity: 0.6;
}

html.dark input:focus,
html.dark textarea:focus,
html.dark select:focus {
    border-color: var(--nuuko-green) !important;
    box-shadow: 0 0 0 3px rgba(143, 184, 150, 0.15) !important;
    background: #2A2523 !important;
}

/* Buttons with light backgrounds */
html.dark button:not(.landing-btn-primary):not(.btn-primary):not(.theme-toggle) {
    background: rgba(42, 37, 35, 0.8);
    border-color: rgba(245, 240, 232, 0.12);
    color: var(--nuuko-cream);
}

/* Any remaining white cards */
html.dark .card,
html.dark .panel,
html.dark .box,
html.dark .container-card,
html.dark .content-card,
html.dark [class*="-card"]:not(.landing-btn):not(.nav-) {
    background: #2A2523 !important;
    border-color: rgba(245, 240, 232, 0.08) !important;
}

/* White overlays and backgrounds */
html.dark .overlay,
html.dark .backdrop {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* Tables */
html.dark table {
    background: transparent;
}

html.dark th,
html.dark td {
    background: transparent;
    border-color: rgba(245, 240, 232, 0.08);
}

html.dark tr:hover td {
    background: rgba(143, 184, 150, 0.08);
}

/* Code blocks */
html.dark pre,
html.dark code {
    background: #1C1917 !important;
    color: var(--nuuko-cream) !important;
}

/* Blockquotes */
html.dark blockquote {
    background: rgba(42, 37, 35, 0.5);
    border-left-color: var(--nuuko-green);
    color: var(--nuuko-stone);
}

/* HR/dividers */
html.dark hr {
    border-color: rgba(245, 240, 232, 0.1);
}

/* Any remaining rgba white backgrounds */
html.dark [style*="rgba(255,255,255"],
html.dark [style*="rgba(255, 255, 255"] {
    background: rgba(42, 37, 35, 0.8) !important;
}

/* Theme toggle button - base styles for landing pages */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(141, 135, 126, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

html.dark .theme-toggle {
    background: rgba(50, 45, 40, 0.8);
    border-color: rgba(243, 239, 229, 0.15);
}

.theme-toggle-icons {
    position: relative;
    width: 20px;
    height: 20px;
}

.theme-icon-sun,
.theme-icon-moon {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    transition: all 0.4s ease;
    color: var(--nuuko-espresso, #3D342C);
}

html.dark .theme-icon-sun,
html.dark .theme-icon-moon {
    color: #F0EBE3;
}

.theme-icon-sun svg,
.theme-icon-moon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Theme toggle icon visibility */
.theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* Dark mode - show sun */
html.dark .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

html.dark .theme-icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

@media (prefers-color-scheme: dark) {
    html:not(.light) .theme-icon-sun {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }

    html:not(.light) .theme-icon-moon {
        opacity: 0;
        transform: rotate(-90deg) scale(0.5);
    }
}

/* Reset for explicit light mode */
html.light .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

html.light .theme-icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.theme-toggle:hover {
    background: rgba(107, 143, 113, 0.1) !important;
    border-color: var(--nuuko-green) !important;
    transform: translateY(-1px);
}

html.dark .theme-toggle:hover {
    background: rgba(139, 174, 144, 0.18) !important;
}

/* ============================================
   PREMIUM DARK MODE - HERO SECTION
   Rich, cozy, intentional dark theme
   ============================================ */

/* Hero background with depth and warmth */
html.dark .landing-hero-bg {
    background:
        /* Larger, softer sage glow from top-left */
        radial-gradient(ellipse 100% 70% at 25% 15%, rgba(143, 184, 150, 0.12) 0%, transparent 60%),
        /* Warm clay glow from bottom-right */
        radial-gradient(ellipse 90% 60% at 75% 85%, rgba(212, 160, 136, 0.1) 0%, transparent 55%),
        /* Centered soft highlight */
        radial-gradient(circle at 50% 45%, rgba(245, 240, 232, 0.03) 0%, transparent 50%);
}

/* Hero avatar - rich glassmorphism effect */
html.dark .landing-hero-avatar {
    background: linear-gradient(145deg,
        rgba(58, 53, 48, 0.95) 0%,
        rgba(45, 41, 37, 0.9) 50%,
        rgba(40, 36, 32, 0.95) 100%);
    border: 2px solid rgba(143, 184, 150, 0.25);
    box-shadow:
        0 0 60px rgba(143, 184, 150, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(245, 240, 232, 0.06),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

/* Feather with warm glow */
html.dark .landing-hero-feather {
    filter: drop-shadow(0 0 25px rgba(143, 184, 150, 0.25))
            drop-shadow(0 0 50px rgba(143, 184, 150, 0.1));
}

/* Hero title with cream warmth */
html.dark .landing-hero-title {
    color: #FAF8F4;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Title underline - sage green */
html.dark .title-underline {
    color: var(--nuuko-green);
    opacity: 0.7;
}

/* Hero subtitle - warmer stone */
html.dark .landing-hero-subtitle {
    color: #C4BCB0;
}

/* Scroll indicator */
html.dark .landing-scroll-indicator {
    color: #918A80;
}

html.dark .landing-scroll-indicator:hover {
    color: var(--nuuko-green);
}

/* ============================================
   PREMIUM DARK MODE - SPECIAL/FEATURES SECTION
   ============================================ */

html.dark .landing-special {
    background:
        /* Subtle warm gradient */
        linear-gradient(180deg,
            rgba(28, 25, 23, 0) 0%,
            rgba(38, 34, 30, 0.5) 30%,
            rgba(38, 34, 30, 0.5) 70%,
            rgba(28, 25, 23, 0) 100%);
}

html.dark .landing-special::before {
    background: none;
}

/* Special feature cards */
html.dark .landing-special-card {
    background: linear-gradient(145deg,
        rgba(50, 45, 40, 0.9) 0%,
        rgba(42, 37, 35, 0.95) 100%);
    border: 1px solid rgba(245, 240, 232, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(245, 240, 232, 0.04);
}

html.dark .landing-special-card:hover {
    border-color: rgba(143, 184, 150, 0.25);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(143, 184, 150, 0.08),
        inset 0 1px 0 rgba(245, 240, 232, 0.06);
}

html.dark .landing-special-icon {
    background: linear-gradient(145deg,
        rgba(143, 184, 150, 0.2) 0%,
        rgba(143, 184, 150, 0.1) 100%);
    border: 1px solid rgba(143, 184, 150, 0.15);
    color: var(--nuuko-green-light);
}

html.dark .landing-special-title {
    color: #FAF8F4;
}

html.dark .landing-special-text {
    color: #A69B93;
}

/* ============================================
   PREMIUM DARK MODE - AUDIENCE SECTION
   ============================================ */

html.dark .landing-audience-card {
    background: linear-gradient(145deg,
        rgba(50, 45, 40, 0.9) 0%,
        rgba(42, 37, 35, 0.95) 100%);
    border: 1px solid rgba(245, 240, 232, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

html.dark .landing-audience-card:hover {
    border-color: rgba(212, 160, 136, 0.2);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(212, 160, 136, 0.06);
}

html.dark .landing-audience-emoji {
    background: linear-gradient(145deg,
        rgba(212, 160, 136, 0.15) 0%,
        rgba(212, 160, 136, 0.08) 100%);
    border: 1px solid rgba(212, 160, 136, 0.15);
}

html.dark .landing-audience-title {
    color: #FAF8F4;
}

html.dark .landing-audience-text {
    color: #A69B93;
}

/* ============================================
   PREMIUM DARK MODE - TESTIMONIALS
   ============================================ */

html.dark .landing-testimonial {
    background: linear-gradient(145deg,
        rgba(50, 45, 40, 0.9) 0%,
        rgba(42, 37, 35, 0.95) 100%);
    border: 1px solid rgba(245, 240, 232, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

html.dark .landing-testimonial-text {
    color: #C4BCB0;
}

html.dark .landing-testimonial-avatar {
    background: linear-gradient(145deg,
        rgba(143, 184, 150, 0.15) 0%,
        rgba(143, 184, 150, 0.08) 100%);
    border: 1px solid rgba(143, 184, 150, 0.15);
}

html.dark .landing-testimonial-name {
    color: #918A80;
}

/* ============================================
   PREMIUM DARK MODE - FEATURES ROW
   ============================================ */

html.dark .landing-feature {
    background: linear-gradient(145deg,
        rgba(50, 45, 40, 0.8) 0%,
        rgba(42, 37, 35, 0.85) 100%);
    border: 1px solid rgba(245, 240, 232, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

html.dark .landing-feature:hover {
    border-color: rgba(143, 184, 150, 0.2);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(143, 184, 150, 0.06);
}

html.dark .landing-feature-icon {
    background: rgba(143, 184, 150, 0.12);
    border: 1px solid rgba(143, 184, 150, 0.15);
}

html.dark .landing-feature-icon img {
    filter: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(400%) hue-rotate(80deg) brightness(95%) contrast(90%);
}

html.dark .landing-feature-title {
    color: #FAF8F4;
}

html.dark .landing-feature-text {
    color: #A69B93;
}

/* ============================================
   PREMIUM DARK MODE - FOUNDER CARD
   ============================================ */

html.dark .landing-founder-card,
html.dark [style*="background: rgba(255, 255, 255, 0.6)"] {
    background: linear-gradient(145deg,
        rgba(50, 45, 40, 0.95) 0%,
        rgba(42, 37, 35, 0.98) 100%) !important;
    border-color: rgba(143, 184, 150, 0.15) !important;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(143, 184, 150, 0.05),
        inset 0 1px 0 rgba(245, 240, 232, 0.04) !important;
}

html.dark .landing-founder-card [style*="color: var(--nuuko-espresso)"],
html.dark .landing-founder-card p {
    color: #C4BCB0 !important;
}

html.dark .landing-founder-card [style*="border-top"] {
    border-top-color: rgba(143, 184, 150, 0.15) !important;
}

html.dark .landing-founder-card a[style*="background: rgba(107, 143, 113"] {
    background: rgba(143, 184, 150, 0.15) !important;
    border: 1px solid rgba(143, 184, 150, 0.2) !important;
}

html.dark .landing-founder-card a[style*="background: rgba(107, 143, 113"]:hover {
    background: rgba(143, 184, 150, 0.25) !important;
}

/* ============================================
   PREMIUM DARK MODE - PRIVACY SECTION
   ============================================ */

html.dark .landing-privacy-card,
html.dark [style*="background: rgba(255, 255, 255, 0.7)"] {
    background: linear-gradient(145deg,
        rgba(50, 45, 40, 0.9) 0%,
        rgba(42, 37, 35, 0.95) 100%) !important;
    border-color: rgba(143, 184, 150, 0.12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
}

html.dark .landing-privacy-card h4,
html.dark .landing-privacy-card [style*="color: var(--nuuko-espresso)"] {
    color: #FAF8F4 !important;
}

html.dark .landing-privacy-card p,
html.dark .landing-privacy-card [style*="color: var(--nuuko-stone)"] {
    color: #A69B93 !important;
}

html.dark .landing-privacy-card [style*="background: rgba(107, 143, 113"] {
    background: rgba(143, 184, 150, 0.15) !important;
}

/* ============================================
   PREMIUM DARK MODE - CTA SECTION
   ============================================ */

html.dark .landing-cta-card {
    background: linear-gradient(145deg,
        rgba(58, 53, 48, 0.98) 0%,
        rgba(45, 41, 37, 0.98) 50%,
        rgba(40, 36, 32, 0.98) 100%) !important;
    border: 2px solid rgba(143, 184, 150, 0.2) !important;
    box-shadow:
        0 0 80px rgba(143, 184, 150, 0.1),
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 10px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(245, 240, 232, 0.06) !important;
}

html.dark .landing-cta-title {
    color: #FAF8F4 !important;
}

html.dark .landing-cta-text {
    color: #C4BCB0 !important;
}

html.dark .landing-cta-feather img {
    filter: drop-shadow(0 0 30px rgba(143, 184, 150, 0.3))
            drop-shadow(0 0 60px rgba(143, 184, 150, 0.15));
}

/* ============================================
   PREMIUM DARK MODE - DEVICE PREVIEWS
   ============================================ */

html.dark .landing-device-frame {
    background: linear-gradient(145deg,
        rgba(45, 41, 37, 0.98) 0%,
        rgba(35, 32, 28, 0.98) 100%);
    border: 1px solid rgba(245, 240, 232, 0.1);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(245, 240, 232, 0.05);
}

html.dark .landing-device-screen {
    background: #1C1917;
}

html.dark .landing-app-preview {
    background: #1C1917;
}

html.dark .preview-nav {
    background: rgba(28, 25, 23, 0.95);
    border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

html.dark .preview-nav-logo span {
    color: #FAF8F4;
}

html.dark .preview-prompt-card {
    background: rgba(42, 37, 35, 0.9);
    border: 1px solid rgba(245, 240, 232, 0.08);
}

html.dark .preview-notebook {
    background: rgba(35, 32, 28, 0.9);
    border: 1px solid rgba(245, 240, 232, 0.06);
}

html.dark .preview-notebook-text {
    color: #C4BCB0;
}

html.dark .preview-stats-card {
    background: rgba(42, 37, 35, 0.9);
    border: 1px solid rgba(245, 240, 232, 0.08);
}

html.dark .preview-wrapped-card {
    background: linear-gradient(145deg,
        rgba(143, 184, 150, 0.15) 0%,
        rgba(143, 184, 150, 0.08) 100%);
    border: 1px solid rgba(143, 184, 150, 0.2);
}

/* Device labels */
html.dark .landing-device-label {
    color: #918A80;
}

/* ============================================
   PREMIUM DARK MODE - FOOTER
   ============================================ */

html.dark .landing-footer {
    background: linear-gradient(180deg,
        rgba(20, 18, 17, 0.95) 0%,
        rgba(16, 14, 13, 0.98) 100%);
    border-top: 1px solid rgba(143, 184, 150, 0.08);
}

html.dark .landing-footer-brand span {
    color: #FAF8F4;
}

html.dark .landing-footer-brand img {
    filter: drop-shadow(0 0 10px rgba(143, 184, 150, 0.2));
}

html.dark .landing-footer-links a {
    color: #918A80;
}

html.dark .landing-footer-links a:hover {
    color: var(--nuuko-green-light);
}

html.dark .landing-footer-copyright {
    color: #5A544E;
}

/* ============================================
   PREMIUM DARK MODE - WAVY DIVIDER
   ============================================ */

html.dark .section-divider svg path {
    fill: rgba(38, 34, 30, 0.8);
}

/* ============================================
   PREMIUM DARK MODE - EXPERIENCE SECTION
   ============================================ */

html.dark .landing-experience-card {
    background: linear-gradient(145deg,
        rgba(50, 45, 40, 0.85) 0%,
        rgba(42, 37, 35, 0.9) 100%);
    border: 1px solid rgba(245, 240, 232, 0.06);
}

html.dark .landing-experience-card:hover {
    border-color: rgba(143, 184, 150, 0.15);
}

html.dark .landing-experience-visual {
    background: rgba(143, 184, 150, 0.12);
    color: var(--nuuko-green-light);
}

html.dark .landing-experience-content h4 {
    color: #FAF8F4;
}

html.dark .landing-experience-content p {
    color: #A69B93;
}

/* ============================================
   DARK MODE INLINE STYLE OVERRIDES
   ============================================ */

/* Override inline white/cream backgrounds */
html.dark [style*="color: var(--nuuko-espresso)"] {
    color: #FAF8F4 !important;
}

html.dark [style*="color: var(--nuuko-stone)"] {
    color: #A69B93 !important;
}

/* Nav link accent button dark mode */
html.dark .landing-nav-link--accent {
    background: rgba(143, 184, 150, 0.15) !important;
    border: 1px solid rgba(143, 184, 150, 0.25) !important;
    color: var(--nuuko-green-light) !important;
}

html.dark .landing-nav-link--accent:hover {
    background: rgba(143, 184, 150, 0.25) !important;
    border-color: rgba(143, 184, 150, 0.4) !important;
}

/* Sign-in button */
html.dark .landing-btn-signup {
    background: linear-gradient(145deg, var(--nuuko-green) 0%, var(--nuuko-green-dark) 100%);
    color: white !important;
    box-shadow: 0 4px 16px rgba(143, 184, 150, 0.25);
}

html.dark .landing-btn-signup:hover {
    box-shadow: 0 6px 24px rgba(143, 184, 150, 0.35);
}

/* Smooth theme transition */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease !important;
}
