/* Life OS Landing Page — Inspiring 3D Animated Experience
   Light, warm, energetic — like sunrise breaking through clouds
   ============================================================================ */

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

:root {
    /* Light, warm, inspiring palette */
    --bg:              #FDFBF7;
    --bg-subtle:       #F5F0E8;
    --surface:         #FFFFFF;
    --text:            #1A1A2E;
    --text-secondary:  #64647C;
    --text-tertiary:   #9494A8;

    /* Vibrant gradient accents */
    --accent-1:        #6366F1;
    --accent-2:        #8B5CF6;
    --accent-3:        #EC4899;
    --accent-4:        #F97316;
    --accent-5:        #10B981;

    /* Aurora colors */
    --aurora-1:        rgba(99, 102, 241, 0.12);
    --aurora-2:        rgba(236, 72, 153, 0.08);
    --aurora-3:        rgba(16, 185, 129, 0.08);
    --aurora-4:        rgba(249, 115, 22, 0.06);

    /* Glassmorphism */
    --glass-bg:        rgba(255, 255, 255, 0.6);
    --glass-border:    rgba(255, 255, 255, 0.8);
    --glass-shadow:    0 8px 32px rgba(31, 38, 135, 0.08);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

/* Focus states for keyboard accessibility */
:focus-visible {
    outline: 2px solid var(--accent-1);
    outline-offset: 2px;
    border-radius: 4px;
}

.landing-btn-primary:focus-visible,
.landing-btn-secondary:focus-visible,
.landing-nav-cta:focus-visible {
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.landing-menu-toggle:focus-visible {
    outline: 2px solid var(--accent-1);
    outline-offset: 2px;
    border-radius: 8px;
}

body.landing-page {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================================================
   Scroll Progress Bar
   ============================================================================ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
    z-index: 200;
    transition: width 0.1s linear;
}

/* ============================================================================
   Aurora Background — Animated Blobs
   ============================================================================ */
.aurora-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
}

.aurora-blob-1 {
    width: 600px; height: 600px;
    top: -10%; left: -5%;
    background: radial-gradient(circle, var(--aurora-1), transparent 70%);
    animation: aurora-drift-1 35s ease-in-out infinite alternate;
}

.aurora-blob-2 {
    width: 500px; height: 500px;
    top: 20%; right: -10%;
    background: radial-gradient(circle, var(--aurora-2), transparent 70%);
    animation: aurora-drift-2 30s ease-in-out infinite alternate;
}

.aurora-blob-3 {
    width: 450px; height: 450px;
    bottom: 10%; left: 20%;
    background: radial-gradient(circle, var(--aurora-3), transparent 70%);
    animation: aurora-drift-3 40s ease-in-out infinite alternate;
}

.aurora-blob-4 {
    width: 400px; height: 400px;
    bottom: -5%; right: 15%;
    background: radial-gradient(circle, var(--aurora-4), transparent 70%);
    animation: aurora-drift-4 32s ease-in-out infinite alternate;
}

@keyframes aurora-drift-1 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(80px, 60px) scale(1.1); }
    100% { transform: translate(-40px, 100px) scale(0.95); }
}

@keyframes aurora-drift-2 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-60px, 80px) scale(1.05); }
    100% { transform: translate(40px, -40px) scale(1.1); }
}

@keyframes aurora-drift-3 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(100px, -60px) scale(1.08); }
    100% { transform: translate(-60px, 40px) scale(0.95); }
}

@keyframes aurora-drift-4 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-80px, -40px) scale(1.1); }
    100% { transform: translate(60px, 80px) scale(1.05); }
}

/* ============================================================================
   Navigation — Glassmorphic
   ============================================================================ */
.landing-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease);
}

.landing-nav.scrolled {
    background: rgba(253, 251, 247, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.landing-nav-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.landing-logo-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.25);
}

.landing-logo span { color: var(--accent-1); }

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

.landing-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.landing-nav-links a:hover { color: var(--text); }

.landing-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transition: width 0.3s var(--ease);
    border-radius: 1px;
}

.landing-nav-links a:hover::after { width: 100%; }

.landing-nav-cta {
    padding: 9px 22px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s var(--ease);
    box-shadow: 0 2px 16px rgba(99, 102, 241, 0.25);
}

.landing-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35);
}

.landing-nav-cta::after { display: none !important; }

/* Nav light text when over dark hero (unscrolled) */
.landing-nav:not(.scrolled) .landing-logo {
    color: #e8e8f0;
}

.landing-nav:not(.scrolled) .landing-logo span {
    color: #a5b4fc;
}

.landing-nav:not(.scrolled) .landing-nav-links a {
    color: rgba(200, 200, 220, 0.75);
}

.landing-nav:not(.scrolled) .landing-nav-links a:hover {
    color: #e8e8f0;
}

.landing-nav:not(.scrolled) .landing-menu-toggle {
    color: #e8e8f0;
}

/* Mobile hamburger */
.landing-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}

/* ============================================================================
   Sticky Section Nav — Shopify Editions-style
   ============================================================================ */
.section-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
    pointer-events: none;
}

.section-nav.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.section-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 44px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.section-nav-inner::-webkit-scrollbar {
    display: none;
}

.section-nav-link {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 100px;
    white-space: nowrap;
    transition: all 0.25s var(--ease);
    flex-shrink: 0;
    position: relative;
}

.section-nav-link:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.04);
}

.section-nav-link.active {
    color: var(--accent-1);
    background: rgba(99, 102, 241, 0.08);
    font-weight: 600;
}

/* Active indicator dot */
.section-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-1);
}

/* Push main nav scrolled styles down to account for section nav */
body.section-nav-active .landing-nav.scrolled {
    box-shadow: none;
    border-bottom-color: transparent;
}

/* ============================================================================
   Hero Section — 3D Floating Universe
   ============================================================================ */
.landing-hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 24px 80px;
    text-align: left;
    perspective: 1000px;
    background: radial-gradient(ellipse at 30% 50%, #0a0a1a 0%, #050510 60%, #020208 100%);
    overflow: hidden;
}

/* Premium hero-to-content edge */
.landing-hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(5, 5, 16, 0.4) 30%,
        rgba(5, 5, 16, 0.85) 65%,
        #FDFBF7 100%
    );
    z-index: 3;
    pointer-events: none;
}

.landing-hero-content {
    max-width: 600px;
    position: relative;
    z-index: 5;
    margin-left: max(5vw, 40px);
}

/* Text readability backdrop removed — hero content stands clean against space */

/* Three.js Globe Canvas */
#globe-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: default;
    pointer-events: none;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

/* Globe loading shimmer (visible while textures load, canvas starts at opacity:0) */
.landing-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 15%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    animation: globe-shimmer 2s ease-in-out infinite alternate;
}

@keyframes globe-shimmer {
    0% { opacity: 0.4; transform: translateY(-50%) scale(0.95); }
    100% { opacity: 0.8; transform: translateY(-50%) scale(1.05); }
}

#globe-canvas.on-globe {
    cursor: grab;
    pointer-events: auto;
}

#globe-canvas.dragging {
    cursor: grabbing;
    pointer-events: auto;
}

/* On touch devices, enable pointer-events so touch drag works */
@media (hover: none) {
    #globe-canvas {
        pointer-events: auto;
        cursor: default;
    }
}

/* Announcement badge */
.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px 6px 10px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease) 0.2s forwards;
}

.landing-badge-dot {
    width: 8px; height: 8px;
    background: var(--accent-1);
    border-radius: 50%;
    animation: pulse-soft 2s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.landing-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    color: #e8e8f0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Word-by-word hero reveal (Shopify Editions style) */
.hero-headline .hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: heroWordReveal 0.9s var(--ease) forwards;
    animation-delay: calc(0.3s + var(--i) * 0.14s);
}

@keyframes heroWordReveal {
    to { opacity: 1; transform: translateY(0); }
}

.landing-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(200, 200, 220, 0.8);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 0 44px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease) 0.9s forwards;
    text-wrap: pretty;
}

.landing-hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease) 1.1s forwards;
}

/* Primary button — 3D press effect */
.landing-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3), 0 2px 6px rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
}

.landing-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.landing-btn-primary:hover::before { transform: translateX(100%); }

.landing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4), 0 4px 12px rgba(99, 102, 241, 0.2);
}

.landing-btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

/* Secondary button */
.landing-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: transparent;
    color: var(--text);
    border: 1.5px solid rgba(26, 26, 46, 0.15);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.landing-btn-secondary:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: var(--accent-1);
    color: var(--accent-1);
    transform: translateY(-1px);
}

/* Secondary button in hero (dark bg) */
.landing-hero .landing-btn-secondary {
    color: rgba(220, 220, 240, 0.9);
    border-color: rgba(220, 220, 240, 0.25);
}

.landing-hero .landing-btn-secondary:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: #a5b4fc;
    color: #a5b4fc;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease) 1.2s forwards;
}

.scroll-indicator svg {
    animation: bounce-down 2s ease-in-out infinite;
    color: rgba(200, 200, 220, 0.5);
}

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

/* ============================================================================
   Scroll Reveal — 3D
   ============================================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Reveals — Shopify Editions-inspired ──
   Blur-to-sharp + scale + translate with smooth easing */
.reveal-3d {
    opacity: 0;
    transform: translateY(48px) scale(0.96);
    filter: blur(6px);
    transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
}

.reveal-3d.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition: opacity 0.8s var(--ease), transform 1s var(--ease), filter 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Slide-in from left/right for alternating showcases */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px) scale(0.97);
    filter: blur(4px);
    transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.8s var(--ease);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px) scale(0.97);
    filter: blur(4px);
    transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.8s var(--ease);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

/* Scale-in reveal for showcase cards */
.reveal-scale {
    opacity: 0;
    transform: scale(0.88);
    filter: blur(8px);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 0.9s var(--ease);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Staggered grid reveal with blur */
.reveal-stagger-3d > * {
    opacity: 0;
    transform: translateY(36px) scale(0.96);
    filter: blur(5px);
    transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease);
}

.reveal-stagger-3d.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger-3d.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger-3d.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger-3d.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger-3d.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger-3d.visible > *:nth-child(6) { transition-delay: 0.40s; }

.reveal-stagger-3d.visible > * {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Scroll-progress driven reveal (JS sets --progress 0→1) */
.scroll-reveal {
    opacity: var(--reveal-opacity, 0);
    transform: translateY(var(--reveal-y, 40px));
    filter: blur(var(--reveal-blur, 4px));
    will-change: opacity, transform, filter;
}

/* Line-by-line narrative reveal */
.narrative-line-reveal {
    opacity: var(--line-opacity, 0);
    transform: translateY(var(--line-y, 24px));
    filter: blur(var(--line-blur, 3px));
    transition: none;
}

/* ============================================================================
   Section Layout
   ============================================================================ */
.landing-section {
    position: relative;
    z-index: 1;
    padding: 72px 24px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 128px;
}

.landing-game-section {
    scroll-margin-top: 128px;
}

.landing-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.landing-section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 16px;
}

.landing-section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text);
}

.landing-section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================================
   Features Grid — 3D Tilt Cards
   ============================================================================ */
.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.landing-feature-card {
    position: relative;
    padding: 36px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--card-accent, var(--accent-1));
    border-radius: 18px;
    box-shadow: var(--glass-shadow);
    transition: all 0.35s var(--ease);
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    cursor: default;
}

/* Glossy reflection overlay */
.landing-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.5) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    border-radius: inherit;
}

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

.landing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(31, 38, 135, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Animated gradient glow on hover */
.landing-feature-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent, rgba(99,102,241,0.08), rgba(236,72,153,0.06), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    z-index: -1;
    pointer-events: none;
}

.landing-feature-card:hover::after {
    opacity: 1;
}

/* Card accent colors */
.landing-feature-card:nth-child(1) { --card-accent: var(--accent-1); --icon-bg: rgba(99,102,241,0.15); --icon-color: #6366F1; }
.landing-feature-card:nth-child(2) { --card-accent: var(--accent-3); --icon-bg: rgba(236,72,153,0.15); --icon-color: #EC4899; }
.landing-feature-card:nth-child(3) { --card-accent: var(--accent-5); --icon-bg: rgba(16,185,129,0.15); --icon-color: #10B981; }
.landing-feature-card:nth-child(4) { --card-accent: var(--accent-4); --icon-bg: rgba(249,115,22,0.15); --icon-color: #F97316; }
.landing-feature-card:nth-child(5) { --card-accent: var(--accent-2); --icon-bg: rgba(139,92,246,0.15); --icon-color: #8B5CF6; }
.landing-feature-card:nth-child(6) { --card-accent: #3B82F6; --icon-bg: rgba(59,130,246,0.15); --icon-color: #3B82F6; }

.landing-feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    background: var(--icon-bg, rgba(99,102,241,0.1));
}

.landing-feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    color: var(--text);
}

.landing-feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================================================
   Domains — Floating Cloud
   ============================================================================ */
/* ============================================================================
   Domain Glass Cards — Fanned integration logos
   ============================================================================ */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.domain-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 24px 20px;
    padding-top: 130px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    overflow: visible;
    cursor: default;
}

.domain-glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Pause fan animation by default, play on card hover */
.domain-glass-card:hover .fan-card {
    animation-play-state: running;
}

/* Fan of logo cards */
.domain-fan {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 100px;
}

.fan-card {
    position: absolute;
    width: 54px;
    height: 70px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    bottom: 0;
    transform-origin: 50% 100%;
    transform: translateX(-50%) rotate(var(--rot));
    z-index: var(--z);
    animation: fan-sway 4s ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * -0.8s);
    will-change: transform;
}

.fan-card {
    transition: opacity 0.35s ease;
}

.fan-card img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* Subtle sway animation */
@keyframes fan-sway {
    0%   { transform: translateX(-50%) rotate(calc(var(--rot) - 2deg)) translateY(0); }
    33%  { transform: translateX(-50%) rotate(calc(var(--rot) + 1.5deg)) translateY(-3px); }
    66%  { transform: translateX(-50%) rotate(calc(var(--rot) - 0.5deg)) translateY(-5px); }
    100% { transform: translateX(-50%) rotate(calc(var(--rot) + 2deg)) translateY(-2px); }
}

/* Card hover spreads the fan wider */
.domain-glass-card:hover .fan-card:nth-child(1) { --rot: -18deg; }
.domain-glass-card:hover .fan-card:nth-child(2) { --rot: -7deg; }
.domain-glass-card:hover .fan-card:nth-child(3) { --rot: 6deg; }
.domain-glass-card:hover .fan-card:nth-child(4) { --rot: 17deg; }

.domain-glass-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    margin-bottom: 4px;
}

.domain-glass-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    background: rgba(0, 0, 0, 0.04);
    padding: 4px 14px;
    border-radius: 100px;
}

/* "Also tracks" footer */
.domains-also-tracks {
    text-align: center;
    font-size: 14px;
    color: var(--text-tertiary);
    max-width: 640px;
    margin: 32px auto 0;
    line-height: 1.7;
}

/* "Also covering" compact strip */
.domains-also {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 36px auto 0;
    max-width: 800px;
}

.domains-also-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.domains-also-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.domains-also-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.25s var(--ease);
}

.domains-also-item:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.domains-also-item small {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
}

/* ============================================================================
   Testimonials — Glass Cards
   ============================================================================ */
/* Archetype "Designed For" cards */
.archetype-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.archetype-card {
    padding: 28px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: all 0.35s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.archetype-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(31, 38, 135, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.archetype-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.archetype-card:nth-child(1) .archetype-icon { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4f46e5; }
.archetype-card:nth-child(2) .archetype-icon { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #16a34a; }
.archetype-card:nth-child(3) .archetype-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.archetype-card:nth-child(4) .archetype-icon { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #db2777; }
.archetype-card:nth-child(5) .archetype-icon { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; }
.archetype-card:nth-child(6) .archetype-icon { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #9333ea; }

.archetype-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    flex: 1;
}

.archetype-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 6px;
    padding: 4px 10px;
}

/* ============================================================================
   Final CTA — Gradient Spotlight
   ============================================================================ */
.landing-final-cta {
    text-align: center;
    padding: 64px 24px;
    position: relative;
    z-index: 1;
}

.landing-final-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 72px 48px;
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

/* Radial gradient spotlight */
.landing-final-cta-inner::before {
    content: '';
    position: absolute;
    top: -60%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.1) 0%, rgba(139,92,246,0.05) 40%, transparent 70%);
    pointer-events: none;
}

.landing-final-cta-inner::after {
    content: '';
    position: absolute;
    bottom: -40%; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(236,72,153,0.06) 0%, rgba(249,115,22,0.03) 40%, transparent 70%);
    pointer-events: none;
}

/* Floating particles around CTA */
.cta-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-particle-1 {
    width: 6px; height: 6px;
    top: 20%; left: 15%;
    background: var(--accent-1);
    opacity: 0.3;
    animation: particle-float 4s ease-in-out infinite alternate;
}

.cta-particle-2 {
    width: 4px; height: 4px;
    top: 30%; right: 12%;
    background: var(--accent-3);
    opacity: 0.25;
    animation: particle-float 5s ease-in-out infinite alternate-reverse;
}

.cta-particle-3 {
    width: 5px; height: 5px;
    bottom: 25%; left: 20%;
    background: var(--accent-5);
    opacity: 0.2;
    animation: particle-float 6s ease-in-out infinite alternate;
}

.cta-particle-4 {
    width: 3px; height: 3px;
    bottom: 35%; right: 18%;
    background: var(--accent-2);
    opacity: 0.3;
    animation: particle-float 4.5s ease-in-out infinite alternate-reverse;
}

@keyframes particle-float {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-12px) translateX(6px); }
}

.landing-final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    color: var(--text);
}

.landing-final-cta p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
    line-height: 1.6;
}

/* Animated gradient border CTA button */
.landing-final-cta .landing-btn-primary {
    padding: 18px 40px;
    font-size: 17px;
    position: relative;
}

/* ============================================================================
   Showcase Split Layout — Side-by-side visual + text
   ============================================================================ */
.showcase-section {
    overflow: visible;
}

.showcase-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.showcase-split-reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.showcase-split-reverse .showcase-text {
    order: -1;
}

.showcase-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 36px;
}

.showcase-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.showcase-step-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-1);
    background: rgba(99, 102, 241, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.showcase-step h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.showcase-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================================
   Dashboard Preview Mockup
   ============================================================================ */
.dashboard-preview {
    background: linear-gradient(135deg, #0c0c1f, #151530, #121228);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.dash-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-title {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.dash-body {
    display: flex;
    min-height: 260px;
}

/* Override for review/chart bodies that use padding (not sidebar layout) */
.dash-body[style*="padding"] {
    flex-direction: column;
}

/* Sidebar mock */
.dash-sidebar-mock {
    width: 130px;
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.dash-sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    cursor: default;
}

.dash-sidebar-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
}

/* Chat area in dashboard */
.dash-chat-area {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.dash-chat-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
    max-width: 85%;
    color: rgba(255, 255, 255, 0.85);
}

.dash-chat-msg.bot {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    align-self: flex-start;
}

.dash-chat-msg.user {
    background: linear-gradient(135deg, var(--accent-1), #7c3aed);
    color: #fff;
    align-self: flex-end;
}

.dash-chat-typing {
    display: flex;
    gap: 4px;
    align-self: flex-start;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.dash-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: typing-dot 1.4s ease-in-out infinite;
}

.dash-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.dash-chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

/* Chart area */
.dash-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dash-chart-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.dash-chart-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-5);
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 100px;
}

.dash-chart-area {
    position: relative;
}

.dash-chart-svg {
    width: 100%;
    height: auto;
}

/* Chart line draw animation */
.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible .chart-line,
.reveal-right.visible .chart-line {
    stroke-dashoffset: 0;
}

.chart-line-2 {
    transition-delay: 0.3s;
}

.dash-chart-legend {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* Review dashboard */
.dash-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.dash-review-score {
    color: var(--accent-1);
}

.dash-review-score strong {
    color: #a5b4fc;
}

.dash-domain-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.dash-domain-bar {
    display: grid;
    grid-template-columns: 70px 1fr 36px;
    gap: 10px;
    align-items: center;
}

.dash-domain-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.dash-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0 !important;
}

.visible .dash-bar-fill,
.reveal-scale.visible .dash-bar-fill {
    width: var(--bar-width, 0%) !important;
}

.dash-bar-val {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

.dash-review-insights {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-insight {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.dash-insight.win {
    background: rgba(16, 185, 129, 0.1);
    border-left: 2px solid var(--accent-5);
}

.dash-insight.focus {
    background: rgba(249, 115, 22, 0.1);
    border-left: 2px solid var(--accent-4);
}

/* Integration strip */
.integration-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.integration-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.integration-icons {
    display: flex;
    gap: 8px;
}

.integration-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    cursor: default;
}

.integration-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================================================
   Collect Your Domains Mini-Game
   ============================================================================ */
.landing-game-section {
    position: relative;
    z-index: 1;
    padding: 56px 24px 72px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0c0c1f, #151530, #121228);
    border: 1px solid rgba(99, 102, 241, 0.18);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Gradient fade edges for smoother integration with light page */
.game-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(12, 12, 31, 0.6), transparent);
    z-index: 2;
    pointer-events: none;
    border-radius: 24px 24px 0 0;
}

.game-container::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(12, 12, 31, 0.6), transparent);
    z-index: 2;
    pointer-events: none;
    border-radius: 0 0 24px 24px;
}

/* Mobile static visual — hidden; interactive game works on all screens */
.game-mobile-visual {
    display: none;
}

#game-canvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

.game-counter {
    position: absolute;
    top: 20px;
    right: 24px;
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 100px;
    color: #c7c7ff;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    letter-spacing: 0.02em;
}

.game-cta {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    pointer-events: none;
}

.game-cta.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.game-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
}

.game-cta-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-cta .landing-btn-primary {
    padding: 12px 28px;
    font-size: 14px;
}

.game-play-again-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.game-play-again-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================================================
   Footer
   ============================================================================ */
.landing-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 48px 24px;
    background: var(--bg-subtle);
}

.landing-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    align-items: start;
}

.landing-footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.landing-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.landing-footer-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-footer-tagline {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
    max-width: 260px;
}

.landing-footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.landing-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-footer-col-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.landing-footer-col a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.landing-footer-col a:hover { color: var(--text); }

/* ============================================================================
   Narrative — "Everything is connected"
   ============================================================================ */
.landing-narrative {
    text-align: center;
    padding: 56px 24px 64px;
}

.landing-narrative-content {
    max-width: 700px;
    margin: 0 auto;
}

.narrative-line {
    font-size: clamp(18px, 2.5vw, 26px);
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.narrative-break {
    height: 20px;
}

.narrative-line.narrative-emphasis {
    color: var(--text);
    font-weight: 500;
}

.narrative-punchline {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-top: 28px;
    line-height: 1.1;
}

.narrative-subline {
    font-size: clamp(18px, 2.5vw, 26px);
    color: var(--text-tertiary);
    font-weight: 400;
    margin-top: 8px;
}

/* ============================================================================
   Chat Mockup — Conversational Onboarding Showcase
   ============================================================================ */
.landing-chat-mockup {
    max-width: 560px;
    margin: 0 auto;
    padding: 28px 28px;
    background: linear-gradient(135deg, #0c0c1f, #151530, #121228);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.chat-mockup-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-bot-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.chat-bot-avatar {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent-1), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-bot-bubble {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px 14px 14px 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.55;
    max-width: 400px;
}

.chat-user-msg {
    display: flex;
    justify-content: flex-end;
}

.chat-user-bubble {
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--accent-1), #7c3aed);
    border-radius: 14px 2px 14px 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    max-width: 400px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

/* ============================================================================
   Pattern Card — Intelligence Showcase
   ============================================================================ */
.landing-pattern-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 24px 28px;
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.landing-pattern-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    background: var(--accent-1);
    border-radius: 0 3px 3px 0;
}

.pattern-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pattern-card-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-1);
}

.pattern-card-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-5);
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 100px;
    margin-left: auto;
}

.pattern-card-title-inline {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    width: 100%;
    order: 3;
    margin-top: 2px;
}

.pattern-card-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================================================
   Review Card — Weekly Synthesis Showcase
   ============================================================================ */
.landing-review-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 24px 28px;
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.review-card-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.review-section {
    margin-bottom: 16px;
}

.review-section:last-child {
    margin-bottom: 0;
}

.review-section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.review-section-title.review-wins { color: var(--accent-5); }
.review-section-title.review-focus { color: var(--accent-4); }

.review-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-section li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    padding-left: 16px;
    position: relative;
}

.review-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.review-wins li::before { background: var(--accent-5); }
.review-focus li::before { background: var(--accent-4); }

/* ============================================================================
   Section Divider
   ============================================================================ */
.landing-separator {
    display: none;
}

/* ============================================================================
   Floating Decorative Illustrations — Parallax depth elements
   ============================================================================ */
.section-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.decor-gradient-orb {
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
}

.decor-ring {
    border-radius: 50%;
    border: 1.5px solid;
    opacity: 0.12;
}

.decor-dots {
    display: grid;
    grid-template-columns: repeat(5, 6px);
    gap: 10px;
    opacity: 0.08;
}

.decor-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-1);
}

.decor-line {
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(99,102,241,0.15), transparent);
    opacity: 0.4;
}

/* Floating animation variants */
@keyframes decor-float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(12px, -18px) rotate(4deg); }
    66% { transform: translate(-8px, 10px) rotate(-2deg); }
}

@keyframes decor-float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-15px, 12px) rotate(-3deg); }
    66% { transform: translate(10px, -14px) rotate(5deg); }
}

@keyframes decor-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8px, -10px) scale(1.05); }
}

@keyframes decor-pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.08); }
}

/* Animated counter */
.counter-value {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* ============================================================================
   Flowing Section Backgrounds — Shopify Editions-inspired seamless flow
   ============================================================================ */

/* Subtle alternating tinted backgrounds so sections don't feel disconnected */
#features {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 40%, var(--bg-subtle) 60%, var(--bg) 100%);
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}
#features > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Showcase sections — subtle tints for visual rhythm */
#how-it-works {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(139,92,246,0.025) 40%, rgba(139,92,246,0.025) 60%, var(--bg) 100%);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
#how-it-works > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

#showcase-intelligence {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(16,185,129,0.025) 40%, rgba(16,185,129,0.025) 60%, var(--bg) 100%);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
#showcase-intelligence > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

#showcase-reviews {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(249,115,22,0.02) 40%, rgba(249,115,22,0.02) 60%, var(--bg) 100%);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
#showcase-reviews > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

#domains {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(99,102,241,0.03) 30%, rgba(139,92,246,0.03) 70%, var(--bg) 100%);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
#domains > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Archetypes section — warm tint */
.landing-section:has(.archetype-grid) {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 30%, var(--bg-subtle) 70%, var(--bg) 100%);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
.landing-section:has(.archetype-grid) > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ============================================================================
   Button Loading Spinner
   ============================================================================ */
.landing-btn-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* ============================================================================
   Responsive
   ============================================================================ */
/* ---------- 1024px – small desktop / large tablet ---------- */
@media (max-width: 1024px) {
    .landing-features-grid { grid-template-columns: repeat(2, 1fr); }
    .archetype-grid { grid-template-columns: repeat(2, 1fr); }
    .domains-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 768px – tablet ---------- */
@media (max-width: 768px) {
    /* Navigation: animated mobile dropdown */
    .landing-nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: rgba(253, 251, 247, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 0 24px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        border-bottom: 1px solid transparent;
        transition: max-height 0.4s var(--ease), opacity 0.3s ease, padding 0.3s ease, gap 0.3s ease;
    }
    .landing-menu-toggle { display: block; }

    .landing-nav-links.open {
        max-height: 320px;
        opacity: 1;
        padding: 24px;
        gap: 16px;
        border-bottom-color: rgba(0, 0, 0, 0.06);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    /* Mobile CTA button keeps its styling */
    .landing-nav-links .landing-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
        color: #fff !important;
        border-radius: 12px;
        font-weight: 600;
        font-size: 15px;
        box-shadow: 0 2px 16px rgba(99, 102, 241, 0.25);
        text-align: center;
    }
    .landing-nav-links .landing-nav-cta::after { display: none !important; }

    /* Mobile dropdown – dark (over hero / unscrolled) */
    .landing-nav:not(.scrolled) .landing-nav-links {
        background: rgba(10, 10, 26, 0.95);
    }
    .landing-nav:not(.scrolled) .landing-nav-links.open {
        border-bottom-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }
    .landing-nav:not(.scrolled) .landing-nav-links a {
        color: rgba(200, 200, 220, 0.8);
    }
    .landing-nav:not(.scrolled) .landing-nav-links a:hover {
        color: #e8e8f0;
    }
    .landing-nav:not(.scrolled) .landing-nav-links .landing-nav-cta {
        color: #fff !important;
    }

    /* Hero */
    .landing-hero {
        min-height: auto;
        padding: 100px 20px 60px;
        text-align: center;
        justify-content: center;
    }
    .landing-hero-content { margin-left: 0; max-width: 100%; }
    .landing-hero-subtitle { margin: 0 auto 36px; }
    .landing-hero-actions { justify-content: center; flex-direction: column; }

    /* Section nav */
    .section-nav { top: 56px; }
    .section-nav-inner { padding: 0 16px; gap: 2px; }
    .section-nav-link { padding: 6px 12px; font-size: 12px; }

    /* Sections */
    .landing-section { padding: 48px 16px; }

    /* Showcase */
    .showcase-split,
    .showcase-split-reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .showcase-split-reverse .showcase-text { order: 0; }
    .showcase-text { padding-top: 0; }

    /* Dashboard preview */
    .dash-sidebar-mock { display: none; }
    .dashboard-preview { font-size: 11px; }
    .dash-body { min-height: 200px; }

    /* Decorations */
    .section-decor { display: none; }

    /* Domain cards: 2-col on tablet */
    .domains-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .domains-also-list { gap: 8px; }
    .domains-also-item { padding: 6px 14px; font-size: 13px; }
    .domain-glass-card { padding-top: 110px; }
    .domain-fan { width: 150px; height: 85px; }
    .fan-card { width: 46px; height: 60px; }
    .fan-card img { width: 22px; height: 22px; }

    /* Final CTA */
    .landing-final-cta-inner { padding: 40px 20px; }

    /* Footer */
    .landing-footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .landing-footer-brand-col { align-items: center; }
    .landing-footer-tagline { max-width: 100%; }
    .landing-footer-columns {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }

    /* Scroll indicator */
    .scroll-indicator { display: none; }

    /* Narrative */
    .landing-narrative { padding: 40px 20px 48px; }
    .narrative-punchline { margin-top: 32px; }

    /* Chat mockup */
    .landing-chat-mockup { padding: 20px; }
    .chat-bot-bubble, .chat-user-bubble { font-size: 13px; }

    /* Pattern / review cards */
    .landing-pattern-card, .landing-review-card { padding: 20px; }

    /* Aurora – reduce blur & opacity for perf */
    .aurora-blob { filter: blur(40px); opacity: 0.4; }

    /* Globe dimmer for text readability */
    #globe-canvas { opacity: 0.6; }

    /* Disable 3D tilt on touch devices */
    .landing-feature-card { transform: none !important; }

    /* Grids to single column */
    .landing-features-grid,
    .archetype-grid {
        grid-template-columns: 1fr;
    }

    /* Game: keep interactive canvas on mobile, just reduce height */
    .game-container { height: 320px; }
    .game-mobile-visual { display: none; }
}

/* ---------- 480px – large phone ---------- */
@media (max-width: 480px) {
    /* Hero */
    .landing-hero h1 { font-size: 36px; }

    /* Section titles & descriptions */
    .landing-section-title { font-size: 24px; }
    .landing-section-description { font-size: 16px; }

    /* Buttons */
    .landing-btn-primary,
    .landing-btn-secondary { padding: 12px 24px; font-size: 14px; }

    /* Sections */
    .landing-section { padding: 36px 16px; }

    /* Feature cards */
    .landing-feature-card { padding: 24px 20px; }
    .landing-feature-icon { width: 40px; height: 40px; font-size: 40px; }
    .landing-feature-card h3 { font-size: 16px; }
    .landing-feature-card p { font-size: 14px; }

    /* Archetype cards */
    .archetype-card { padding: 20px 16px; }
    .archetype-icon { width: 36px; height: 36px; font-size: 36px; }
    .archetype-text { font-size: 14px; }
    .archetype-card p { font-size: 14px; }

    /* Game: smaller on phone */
    .game-container { height: 280px; }
    .game-counter { font-size: 11px; padding: 6px 14px; top: 12px; right: 12px; }
    .game-cta { bottom: 16px; gap: 8px; }
    .game-cta p { font-size: 13px; }
    .game-cta .landing-btn-primary { padding: 10px 20px; font-size: 13px; white-space: nowrap; }
    .game-play-again-btn { padding: 10px 16px; font-size: 13px; white-space: nowrap; }

    /* Domains: single column on phone, constrained width */
    .domains-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .domain-glass-card { padding: 16px; padding-top: 100px; }
    .domain-fan { width: 130px; height: 75px; }
    .fan-card { width: 40px; height: 52px; }
    .fan-card img { width: 18px; height: 18px; }
    .domain-title { font-size: 18px; }
    .domain-count { font-size: 11px; padding: 3px 10px; }

    /* CTA */
    .landing-final-cta-inner { padding: 32px 16px; }
    .landing-final-cta .landing-btn-primary { padding: 14px 28px; font-size: 15px; }

    /* Footer */
    .landing-footer { padding: 32px 16px; }
    .landing-footer-columns { grid-template-columns: 1fr 1fr; gap: 24px; }
    .landing-footer-col a { font-size: 13px; }

    /* Narrative */
    .narrative-punchline { font-size: 28px; }
    .landing-narrative { padding: 32px 16px 40px; }

    /* Aurora – hide completely for performance */
    .aurora-blob { display: none; }
}

/* ---------- 360px – small phone ---------- */
@media (max-width: 360px) {
    .landing-hero h1 { font-size: 30px; }
    .narrative-punchline { font-size: 24px; }
    .landing-section { padding: 28px 12px; }
}

/* ---------- Landscape on short viewports ---------- */
@media (max-height: 500px) and (orientation: landscape) {
    .landing-hero { min-height: auto; padding: 80px 20px 40px; }
    .game-container { height: 240px; }
}

/* Footer copyright */
.landing-footer-bottom {
    max-width: 1200px;
    margin: 16px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
}

/* Mobile static game visual — kept hidden, interactive game used everywhere */
.game-mobile-visual {
    text-align: center;
    padding: 40px 20px;
}


.game-mobile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto 20px;
}

.game-mobile-orb {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orb-color);
    background: color-mix(in srgb, var(--orb-color) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--orb-color) 20%, transparent);
    transition: transform 0.3s var(--ease);
}

.game-mobile-orb:hover {
    transform: translateY(-2px);
}

.game-mobile-caption {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================================================
   Reduced Motion
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-3d, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; filter: none; }
    .reveal-stagger-3d > * { opacity: 1; transform: none; filter: none; }
    .narrative-line-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
    .hero-headline .hero-word { opacity: 1; transform: none; animation: none; }
    .aurora-blob { animation: none !important; }
    .fan-card { animation: none !important; }
    .scroll-progress { display: none; }
    #globe-canvas { opacity: 0.4; }
}
