/* Broc Landing Page - Matching brokerly-ai.com Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Dark theme (default) - Complementary Blue-Orange Strategy */
    
    /* Primary Complementary: Blue (stability, trust) */
    --color-primary: #2563eb;
    --color-primary-light: #3b82f6;
    --color-primary-dark: #1e40af;
    
    /* Complementary: Orange/Gold (energy, action) */
    --color-complement: #f97316;
    --color-complement-light: #fb923c;
    --color-complement-gold: #fbbf24;
    --color-complement-dark: #ea580c;
    
    /* Action/Energy - Always use complement colors */
    --accent: #f97316;
    --accent-light: #fb923c;
    --accent-dark: #ea580c;
    --accent-gold: #fbbf24;
    --accent-gold-light: #fcd34d;
    
    /* Purpose colors */
    --color-success: #10b981;
    --color-success-light: #34d399;
    --color-urgency: #fbbf24;
    --color-urgency-bright: #fcd34d;
    
    /* Backgrounds - Dark blue-black for energy and contrast */
    --bg-deep: #0f172a;
    --bg-elevated: #1e293b;
    --bg-section-alt: #1e3a5f;
    
    /* Text - High contrast white */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    
    /* Success states only (minimal use) */
    --color-green: #10b981;
    --color-green-light: #34d399;
    
    /* UI Elements */
    --card-border: #334155;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --particle-color: rgba(37, 99, 235, 0.25);
    --modal-bg: #0f172a;
    --modal-border: rgba(59, 130, 246, 0.15);
    --input-bg: #1e293b;
    --input-border: rgba(59, 130, 246, 0.3);
    --video-darkness: 0.5;
    
    /* Gradients - Complementary System */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-complement: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    --gradient-action: linear-gradient(135deg, #f97316 0%, #fbbf24 50%, #fcd34d 100%);
    --gradient-hero: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, transparent 100%);
    --gradient-warm: linear-gradient(135deg, #f97316 0%, #fbbf24 50%, #fcd34d 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    
    /* Shadows - Enhanced for energy */
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.16);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.24);
    --shadow-colored-orange: 0 4px 20px rgba(249, 115, 22, 0.4);
    --shadow-colored-gold: 0 4px 20px rgba(251, 191, 36, 0.4);
    --shadow-colored-blue: 0 4px 20px rgba(37, 99, 235, 0.4);
}

/* Light theme - Complementary Blue-Orange Strategy */
[data-theme="light"] {
    /* Primary Complementary: Blue (stability, trust) */
    --color-primary: #2563eb;
    --color-primary-light: #3b82f6;
    --color-primary-dark: #1e40af;
    
    /* Complementary: Orange/Gold (energy, action) */
    --color-complement: #f97316;
    --color-complement-light: #fb923c;
    --color-complement-gold: #fbbf24;
    --color-complement-dark: #ea580c;
    
    /* Action/Energy - Always use complement colors */
    --accent: #f97316;
    --accent-light: #fb923c;
    --accent-dark: #ea580c;
    --accent-gold: #fbbf24;
    --accent-gold-light: #fcd34d;
    
    /* Purpose colors */
    --color-success: #10b981;
    --color-success-light: #34d399;
    --color-urgency: #f97316;
    --color-urgency-bright: #fb923c;
    
    /* Backgrounds - Very light with subtle blue tint */
    --bg-deep: #f8fafc;
    --bg-elevated: #ffffff;
    --bg-section-alt: #eff6ff;
    
    /* Text - Very dark for contrast */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    /* Success states only (minimal use) */
    --color-green: #10b981;
    --color-green-light: #34d399;
    
    /* UI Elements */
    --card-border: #e2e8f0;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --particle-color: rgba(37, 99, 235, 0.15);
    --modal-bg: #ffffff;
    --modal-border: rgba(37, 99, 235, 0.1);
    --input-bg: #ffffff;
    --input-border: rgba(37, 99, 235, 0.2);
    --video-darkness: 0.7;
    
    /* Gradients - Same vibrant complementary system */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-complement: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    --gradient-action: linear-gradient(135deg, #f97316 0%, #fbbf24 50%, #fcd34d 100%);
    --gradient-hero: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, transparent 100%);
    --gradient-warm: linear-gradient(135deg, #f97316 0%, #fbbf24 50%, #fcd34d 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    
    /* Shadows (lighter for light mode) */
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-colored-orange: 0 4px 20px rgba(249, 115, 22, 0.25);
    --shadow-colored-gold: 0 4px 20px rgba(251, 191, 36, 0.25);
    --shadow-colored-blue: 0 4px 20px rgba(37, 99, 235, 0.25);
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-deep);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    /* Improve text rendering on mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Improve touch scrolling */
    -webkit-overflow-scrolling: touch;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 75px 75px, rgba(249, 115, 22, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] body::before {
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 75px 75px, rgba(249, 115, 22, 0.04) 1px, transparent 1px);
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Gradient Text */
.gradient-text {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Backgrounds */
.bg-gradient-warm {
    background: var(--gradient-warm);
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

/* Colored Shadow Utilities */
.shadow-gold {
    box-shadow: var(--shadow-colored-gold) !important;
}

.shadow-orange {
    box-shadow: var(--shadow-colored-orange) !important;
}

.shadow-blue {
    box-shadow: var(--shadow-colored-blue) !important;
}

/* Enhanced Card Styles */
.card-elevated {
    background: var(--bg-elevated);
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--card-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-elevated:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

/* Gradient Border */
.gradient-border {
    position: relative;
    background: var(--bg-elevated);
    border-radius: 20px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-warm);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-deep);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--particle-color);
    border-top: 3px solid #ff6f61;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main Content */
.main-content {
    opacity: 0;
    transition: opacity 0.8s ease-in 0.3s;
}

.main-content.loaded {
    opacity: 1;
}

/* Fade out transition for navigation */
.main-content.fade-out-transition {
    opacity: 0 !important;
    transition: opacity 0.5s ease-out !important;
}

/* Animated logo with brightness and glow */

/* Glow Particle Effect - Floating animated particles */
.glow-container {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(194, 196, 181, 0.15);
    animation: animate 25s linear infinite;
    bottom: -150px;
    border-radius: 50%;
    transition: filter 1.2s ease-in-out, opacity 1s ease-in-out; /* Extra smooth transition to warp speed */
}

.particles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    background: rgba(194, 196, 181, 0.28);
}

.particles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
    background: rgba(245, 158, 11, 0.3);
}

.particles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
    background: rgba(194, 196, 181, 0.32);
}

.particles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
    background: rgba(156, 163, 175, 0.26);
}

.particles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
    background: rgba(245, 158, 11, 0.28);
}

.particles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
    background: rgba(194, 196, 181, 0.25);
}

.particles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
    background: rgba(156, 163, 175, 0.24);
}

.particles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
    background: rgba(245, 158, 11, 0.29);
}

.particles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
    background: rgba(194, 196, 181, 0.3);
}

.particles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
    background: rgba(156, 163, 175, 0.24);
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* ===== WARP SPEED EFFECT ===== */

/* Warp speed effect - particles accelerate dramatically when button is hovered */
body.warp-speed .particles li {
    animation-duration: 0.6s !important; /* Full warp speed - ultra fast! */
    opacity: 1 !important;
    filter: blur(3px); /* More blur at higher speed */
}

/* Gradual ramp-up stages with more granular levels - extra gentle start */
body.warp-speed-1 .particles li {
    animation-duration: 22s !important; /* Very close to normal 25s */
    opacity: 0.82 !important;
    filter: blur(0.08px); /* Barely noticeable */
}

body.warp-speed-2 .particles li {
    animation-duration: 19s !important;
    opacity: 0.85 !important;
    filter: blur(0.18px);
}

body.warp-speed-3 .particles li {
    animation-duration: 15s !important;
    opacity: 0.88 !important;
    filter: blur(0.32px);
}

body.warp-speed-4 .particles li {
    animation-duration: 12s !important;
    opacity: 0.91 !important;
    filter: blur(0.5px);
}

body.warp-speed-5 .particles li {
    animation-duration: 9s !important;
    opacity: 0.94 !important;
    filter: blur(0.75px);
}

body.warp-speed-6 .particles li {
    animation-duration: 6s !important;
    opacity: 0.96 !important;
    filter: blur(1.0px);
}

body.warp-speed-7 .particles li {
    animation-duration: 4s !important;
    opacity: 0.98 !important;
    filter: blur(1.3px);
}

body.warp-speed-8 .particles li {
    animation-duration: 2.5s !important;
    opacity: 1 !important;
    filter: blur(1.6px);
}

body.warp-speed-9 .particles li {
    animation-duration: 1.5s !important;
    opacity: 1 !important;
    filter: blur(2.0px);
}

body.warp-speed-10 .particles li {
    animation-duration: 1.0s !important;
    opacity: 1 !important;
    filter: blur(2.5px);
}

/* Warp speed particles - dynamically spawned particles */
.warp-particle {
    position: absolute;
    display: block;
    list-style: none;
    background: rgba(194, 196, 181, 0.4);
    animation: warpParticleRise 2.5s linear forwards;
    bottom: -50px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(1px);
    will-change: transform, opacity; /* Optimize animation performance */
}

@keyframes warpParticleRise {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* Gravity fall animation - particles fall to earth at 9.8m/s² */
@keyframes particleFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    /* Using cubic-bezier to simulate gravitational acceleration */
    100% {
        transform: translateY(100vh) rotate(180deg);
        opacity: 0;
    }
}

.warp-particle.falling {
    animation: particleFall 1.8s cubic-bezier(0.55, 0, 0.9, 0.5) forwards !important;
    filter: blur(0.5px);
}


/* Background shapes from onboarding */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.28;
}

.shape-coral {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 111, 97, 0.4) 0%, rgba(230, 87, 77, 0.2) 70%);
    top: 30%;
    left: -50px;
    animation: floatCoral 6s ease-in-out infinite;
    animation-delay: 0s;
}

.shape-gold {
    width: 150px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.35) 0%, rgba(230, 194, 0, 0.25) 100%);
    border-radius: 40px;
    top: -40px;
    right: 25%;
    animation: floatGold 6s ease-in-out infinite;
    animation-delay: 1s;
}

.shape-emerald {
    width: 180px;
    height: 100px;
    background: linear-gradient(135deg, rgba(80, 200, 120, 0.35) 0%, rgba(71, 179, 107, 0.25) 100%);
    border-radius: 50%;
    top: 60%;
    right: -40px;
    animation: floatEmerald 6s ease-in-out infinite;
    animation-delay: 2s;
}

.shape-blue {
    width: 130px;
    height: 160px;
    background: radial-gradient(circle, rgba(0, 158, 217, 0.35) 0%, rgba(0, 139, 194, 0.2) 60%);
    border-radius: 30px;
    bottom: -50px;
    left: 40%;
    animation: floatBlue 6s ease-in-out infinite;
    animation-delay: 3s;
}

.shape-accent {
    width: 80px;
    height: 80px;
    background: rgba(255, 111, 97, 0.3);
    top: 50%;
    left: 50%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 4s;
}

.shape-clive {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 50%;
    top: 15%;
    right: 10%;
    animation: floatClive 6s ease-in-out infinite;
    animation-delay: 2.5s;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
}

.shape-clara {
    width: 95px;
    height: 75px;
    background: linear-gradient(135deg, rgba(102, 201, 186, 0.3) 0%, rgba(79, 175, 166, 0.2) 100%);
    border-radius: 45%;
    bottom: 20%;
    left: 15%;
    animation: floatClara 6s ease-in-out infinite;
    animation-delay: 1.5s;
    box-shadow: 0 4px 20px rgba(102, 201, 186, 0.08);
}

/* Shape animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    50% { 
        transform: translateY(-20px) rotate(5deg) scale(1.5); 
    }
}

@keyframes floatCoral {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    50% { 
        transform: translateY(-20px) rotate(5deg) scale(1.5); 
    }
}

@keyframes floatGold {
    0%, 100% { 
        transform: translateY(0px) rotate(15deg) scale(1); 
    }
    50% { 
        transform: translateY(-20px) rotate(20deg) scale(1.5); 
    }
}

@keyframes floatEmerald {
    0%, 100% { 
        transform: translateY(0px) rotate(-20deg) scale(1); 
    }
    50% { 
        transform: translateY(-20px) rotate(-15deg) scale(1.5); 
    }
}

@keyframes floatBlue {
    0%, 100% { 
        transform: translateY(0px) rotate(45deg) scale(1); 
    }
    50% { 
        transform: translateY(-20px) rotate(50deg) scale(1.5); 
    }
}

@keyframes floatClive {
    0%, 100% { 
        transform: translateY(0px) rotate(25deg) scale(1); 
    }
    50% { 
        transform: translateY(-20px) rotate(30deg) scale(1.5); 
    }
}

@keyframes floatClara {
    0%, 100% { 
        transform: translateY(0px) rotate(-15deg) scale(1); 
    }
    50% { 
        transform: translateY(-20px) rotate(-10deg) scale(1.5); 
    }
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0 80px 0;
    margin-top: -8vh;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.09) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-deep) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

[data-theme="light"] .hero-section::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 60%);
}

[data-theme="light"] .copy-section::before {
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
}

[data-theme="light"] .copy-section:nth-child(even)::before {
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.03) 0%, transparent 70%);
}

[data-theme="light"] .demo-section::before {
    background: 
        radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(251, 191, 36, 0.04) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
}

.logo-wrap {
    position: relative;
    display: inline-block;
    width: min(442px, 55vw);
    height: clamp(72px, 11vw, 119px);
    margin: 0 auto 0.75rem auto;
    filter: drop-shadow(0 8px 24px rgba(249, 115, 22, 0.15));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 32px rgba(249, 115, 22, 0.6);
        transform: scale(1.02);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 8px 24px rgba(249, 115, 22, 0.15));
    }
    50% {
        filter: drop-shadow(0 8px 32px rgba(249, 115, 22, 0.25));
    }
}

.hero-logo-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 44%;
    transition: opacity 0.3s ease;
}

/* Dark mode - show dark logo (scaled down to match light logo) */
.hero-logo-dark {
    opacity: 1;
    transform: scale(0.85);
}

.hero-logo-light {
    opacity: 0;
}

/* Light mode - show light logo */
[data-theme="light"] .hero-logo-dark {
    opacity: 0;
}

[data-theme="light"] .hero-logo-light {
    opacity: 1;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.02;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    white-space: normal;
}

/* Marketing Video */
.video-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    margin: 2.5rem auto 2.5rem auto;
    cursor: pointer;
    padding: 4px;
    background: var(--gradient-warm);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-colored-orange), 0 0 30px rgba(249, 115, 22, 0.4);
}

.marketing-video {
    width: 100%;
    border-radius: 16px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: var(--bg-deep);
    filter: brightness(var(--video-darkness));
    transition: filter 0.4s ease;
    display: block;
}

.marketing-video.playing {
    filter: brightness(1);
}

/* Light mode video adjustments */
[data-theme="light"] .marketing-video {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Custom Video Controls */
.video-play-overlay,
.video-pause-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.video-play-overlay {
    opacity: 1;
}

.video-container.playing .video-play-overlay {
    opacity: 0;
}

.video-pause-overlay {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.video-container.playing:hover .video-pause-overlay {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.video-play-button,
.video-pause-button {
    transition: transform 0.2s ease;
}

.video-play-button:hover,
.video-pause-button:hover {
    transform: scale(1.1);
}

.video-play-button svg,
.video-pause-button svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    width: 84px;
    height: 84px;
}

/* Light mode video controls */
[data-theme="light"] .video-play-button svg circle,
[data-theme="light"] .video-pause-button svg circle {
    fill: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .video-play-button svg path,
[data-theme="light"] .video-pause-button svg rect {
    fill: #2d2e30;
}

/* Progress Bar */
.video-progress-bar {
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, height 0.2s ease;
}

.video-container.playing .video-progress-bar {
    opacity: 1;
}

.video-container.playing:hover .video-progress-bar {
    height: 6px;
}

.video-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.1s linear;
}

.cta-buttons {
    margin-top: 32px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

#request-early-access-btn {
    padding: 18px 40px;
    height: auto;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--gradient-warm);
    animation: ctaPulse 3s ease-in-out infinite;
    box-shadow: var(--shadow-colored-orange);
    position: relative;
    overflow: hidden;
}

#request-early-access-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#request-early-access-btn:hover::before {
    left: 100%;
}

#request-early-access-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.4);
}

#request-early-access-btn:active {
    transform: translateY(-2px) scale(1);
}

#request-early-access-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

#request-early-access-btn:visited {
    color: #fff;
    text-decoration: none;
}

/* Final CTA Section */
.final-cta-section {
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #2563eb 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.final-cta-btn {
    padding: 18px 40px;
    font-size: 1.125rem;
    animation: ctaPulse 3s ease-in-out infinite 0.5s;
}

/* Footer */
.footer-quote {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1rem;
    color: var(--text-primary);
    opacity: 0;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
    font-weight: 400;
    font-style: italic;
    animation: fadeIn 1s ease-out forwards 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 0.8; transform: translateY(0); }
}

/* Sticky Bottom CTA Bar */
/* Sticky CTA Bar - REMOVED to free up screen space for demo
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-complement) 100%);
    padding: 16px 24px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1999;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-cta-text {
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

.sticky-cta-btn {
    padding: 12px 28px;
    background: white;
    color: var(--color-primary);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sticky-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.sticky-cta-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.sticky-cta-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
*/

/* Footer Recognition */
.footer-recognition {
    position: fixed;
    bottom: 14px;
    right: 20px;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-recognition:hover {
    opacity: 1;
}

.footer-recognition-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-recognition-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .footer-recognition-link {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .footer-recognition-link:hover {
    background: rgba(37, 99, 235, 0.12);
}

.footer-recognition-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.footer-recognition-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

[data-theme="dark"] .footer-recognition-text {
    color: #ffffff;
}

[data-theme="light"] .footer-recognition-text {
    color: #0f172a;
}

.footer-links {
    position: fixed;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-primary);
    opacity: 0.6;
    z-index: 2;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    margin: 0 0.6rem;
    transition: opacity 0.15s ease, text-shadow 0.15s ease;
}

.footer-links a:hover {
    opacity: 0.95;
    text-shadow: 0 0 6px rgba(194, 196, 181, 0.65);
}

.link-separator {
    color: var(--text-secondary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85); /* Very dark overlay for better modal focus */
}

.modal.active {
    display: flex;
}

.modal.fade-out-modal {
    animation: modalFadeOut 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.modal-content {
    position: relative;
    width: min(560px, 92%);
    background: var(--modal-bg);
    border-radius: 20px;
    border: 2px solid var(--modal-border);
    box-shadow: var(--shadow-strong), 0 0 0 1px rgba(37, 99, 235, 0.1);
    color: var(--text-primary);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.modal-content::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-warm);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
}

/* Demo Modal - Larger and styled differently */
.demo-modal-content {
    width: min(1200px, 95%) !important;
    max-width: 1200px !important;
    max-height: 95vh;
}

.demo-modal-body {
    padding: 0 !important;
    overflow: visible;
}

.demo-modal-body .journey-container {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 24px;
}

.demo-modal-body .journey-container::before {
    display: none;
}

/* Light mode modal adjustments */
[data-theme="light"] .modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .modal-title {
    color: #0f172a !important;
}

[data-theme="light"] .modal-subtitle {
    color: #475569 !important;
}

[data-theme="light"] .modal-body {
    color: #0f172a !important;
}

[data-theme="light"] .modal-body p {
    color: #475569 !important;
}

[data-theme="light"] .modal-body label {
    color: #0f172a !important;
}

[data-theme="light"] .benefit-item {
    color: #0f172a !important;
}

[data-theme="light"] .modal-header {
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .modal-benefits {
    background: rgba(37, 99, 235, 0.06) !important;
    border-color: rgba(37, 99, 235, 0.15) !important;
}

[data-theme="light"] .modal-trust-badge {
    background: rgba(16, 185, 129, 0.06) !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
}

/* Dark mode modal adjustments for consistency */
[data-theme="dark"] .modal-content {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

[data-theme="dark"] .modal-title {
    color: #ffffff !important;
}

[data-theme="dark"] .modal-subtitle {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .modal-body {
    color: #ffffff !important;
}

[data-theme="dark"] .modal-body p {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .modal-body label {
    color: #ffffff !important;
}

[data-theme="dark"] .benefit-item {
    color: #ffffff !important;
}

[data-theme="dark"] .modal-header {
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
    background: #1e293b !important;
    color: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder {
    color: #64748b !important;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

[data-theme="dark"] .modal-close {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .modal-close {
    color: rgba(15, 23, 42, 0.6);
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .modal-close:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .modal-close:hover {
    color: rgba(15, 23, 42, 0.95);
    background: rgba(15, 23, 42, 0.05);
}

.modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(194, 196, 181, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.modal-placeholder {
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
    padding: 2rem 0;
    font-style: italic;
}

[data-theme="dark"] .modal-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .modal-placeholder {
    color: rgba(15, 23, 42, 0.5);
}

/* About Modal Styles */
.about-modal {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.about-hero {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .about-hero {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.about-hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-complement) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 40px;
}

.about-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

[data-theme="dark"] .about-text {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .about-text {
    color: rgba(15, 23, 42, 0.85);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.about-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 0;
}

[data-theme="dark"] .about-list li {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .about-list li {
    color: rgba(15, 23, 42, 0.85);
}

.about-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.about-pillar {
    text-align: center;
    padding: 24px 16px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.about-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .about-pillar {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.about-pillar h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.about-pillar p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-ai-experts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.ai-expert-card {
    background: var(--bg-elevated);
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.ai-expert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.4);
}

[data-theme="dark"] .ai-expert-card {
    background: rgba(30, 41, 59, 0.6);
}

[data-theme="light"] .ai-expert-card {
    background: rgba(255, 255, 255, 0.9);
}

.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
    object-position: center;
    border: 3px solid var(--color-primary);
}

.expert-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.expert-role {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.clive-role {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: var(--color-primary);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.clara-role {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0.1) 100%);
    color: var(--color-complement);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.expert-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.about-value-prop {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.about-value-prop::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-complement) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.value-prop-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.value-prop-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-prop-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.about-founders-text {
    margin-top: 32px;
}

/* Founders Group Photo */
.founders-photo-container {
    margin: 32px 0;
    text-align: center;
}

.founders-group-photo {
    max-width: 100%;
    width: auto;
    max-height: 400px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

[data-theme="light"] .founders-group-photo {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.founders-group-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
}

.founder-profile {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-profile:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

[data-theme="light"] .founder-profile {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.founder-bio {
    flex: 1;
}

.founder-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.founder-title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.7;
}

.founder-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

[data-theme="dark"] .founder-description {
    color: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .founder-description {
    color: rgba(15, 23, 42, 0.75);
}

.founder-linkedin {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.founder-linkedin:hover {
    color: var(--color-complement);
    transform: translateX(2px);
}

/* Recognition Badge */
.about-recognition {
    text-align: center;
    margin: 48px 0;
}

.recognition-badge {
    display: inline-block;
}

.recognition-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 32px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(249, 115, 22, 0.08) 100%);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recognition-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(249, 115, 22, 0.12) 100%);
}

[data-theme="light"] .recognition-link {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(249, 115, 22, 0.12) 100%);
    border-color: rgba(37, 99, 235, 0.25);
}

.recognition-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
}

.recognition-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.recognition-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.recognition-cohort {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

[data-theme="dark"] .recognition-label {
    color: #ffffff;
}

[data-theme="light"] .recognition-label {
    color: #0f172a;
}

[data-theme="dark"] .recognition-cohort {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .recognition-cohort {
    color: rgba(15, 23, 42, 0.7);
}

.about-cta-section {
    text-align: center;
    padding: 32px 24px;
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(249, 115, 22, 0.08) 100%);
    border-radius: 20px;
}

.about-cta-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-complement) 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.about-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.about-cta-button:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-modal {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .about-hero-title {
        font-size: 1.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
    }
    
    .about-pillars {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-founders-text {
        margin-top: 24px;
    }
    
    .founders-photo-container {
        margin: 24px 0;
    }
    
    .founders-group-photo {
        max-height: 300px;
        border-radius: 12px;
    }
    
    .founder-profile {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    
    .about-value-prop {
        flex-direction: column;
        text-align: center;
    }
    
    .recognition-link {
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }
    
    .recognition-text {
        align-items: center;
        text-align: center;
    }
    
    .recognition-logo {
        height: 50px;
    }
}

/* Social Modal Styles */
.social-modal {
    max-width: 500px;
}

.social-links-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .social-link {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .social-link {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .social-link:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Platform-specific brand colors */
.social-link[href*="linkedin"] svg {
    color: #0A66C2;
}

.social-link[href*="tiktok"] svg {
    color: #FFFFFF;
}

[data-theme="light"] .social-link[href*="tiktok"] svg {
    color: #000000;
}

.social-link[href*="youtube"] svg {
    color: #FF0000;
}

.social-link[href*="bsky.app"] svg {
    color: #1185FE;
}

.social-link[href*="instagram"] svg {
    color: #E4405F;
}

/* Hover effects - brighten the brand color */
.social-link:hover svg {
    filter: brightness(1.15);
    transform: scale(1.05);
}

.social-link span {
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .social-links-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .social-link {
        padding: 14px 20px;
        justify-content: flex-start;
    }
}

.modal-body {
    padding: 1rem 1.25rem;
}

.modal-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
    padding: 16px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .modal-benefits {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .modal-benefits {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
}

.benefit-item {
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefit-item::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-success);
}

.modal-trust-badge {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 12px 0 16px 0;
    padding: 8px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .modal-trust-badge {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: rgba(52, 211, 153, 0.9);
}

[data-theme="light"] .modal-trust-badge {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.15);
    color: rgba(5, 150, 105, 0.9);
}

.modal-body label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    background-color: var(--input-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.4s ease;
    position: relative;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Light mode input adjustments */
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #0f172a !important;
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.12);
    border: 2px solid transparent;
    background-image: linear-gradient(rgba(28, 29, 31, 0.8), rgba(28, 29, 31, 0.8)),
                      linear-gradient(135deg, #667eea 0%, #66C9BA 50%, #764ba2 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    animation: inputShimmer 3s ease-in-out infinite;
}

@keyframes inputShimmer {
    0% {
        filter: brightness(1) drop-shadow(0 0 8px rgba(102, 126, 234, 0.3));
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 12px rgba(102, 201, 186, 0.4));
    }
    100% {
        filter: brightness(1) drop-shadow(0 0 8px rgba(102, 126, 234, 0.3));
    }
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.modal-actions {
    padding: 0 1.25rem 1.1rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 2px solid var(--card-border);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-deep);
    border-color: var(--color-primary);
}

[data-theme="light"] .btn-secondary {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

[data-theme="light"] .btn-secondary:hover {
    background: #e2e8f0;
    border-color: var(--color-primary);
}

[data-theme="dark"] .btn-secondary {
    background: #1e293b;
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .btn-secondary:hover {
    background: #0f172a;
    border-color: var(--color-primary);
}

.btn-block {
    width: 100%;
}

/* Primary Button (demo-btn) for CTAs in modals and landing */
.demo-btn {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-warm);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

.demo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.demo-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.demo-btn:hover::before {
    left: 100%;
}

.demo-btn:active {
    transform: translateY(0) scale(1);
}

.demo-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Ensure demo-btn always has white text in both themes */
[data-theme="dark"] .demo-btn,
[data-theme="light"] .demo-btn {
    color: #ffffff;
}

.modal-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--accent) 0%, #f97316 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1rem;
}

.modal-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #111;
}

.modal-success p {
    color: #666;
}

/* Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 32px;
    animation: fadeInUp 1s ease-out 1s both;
}

.scroll-indicator-hero:hover {
    opacity: 0.9;
    transform: translateY(-5px);
}

.scroll-indicator-hero.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

[data-theme="dark"] .scroll-text {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .scroll-text {
    color: rgba(15, 23, 42, 0.7);
}

.scroll-arrow {
    color: var(--color-complement);
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.5;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    * {
        max-width: 100%;
    }
    
    img, video {
        max-width: 100%;
        height: auto;
    }
    
    /* Ensure touch targets are at least 44x44px */
    button, a, .clickable {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve tap targets for theme toggle */
    .theme-toggle-button {
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
    }
    
    /* Mobile nav toggle */
    .mobile-nav-toggle {
        min-width: 48px;
        min-height: 48px;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: 2rem 1rem 120px 1rem;
    }

    .logo-wrap {
        width: min(1080px, 85.5vw);
        height: clamp(135px, 18vw, 270px);
    }

    .hero-title {
        font-size: 1.2rem;
        white-space: normal;
        margin-bottom: 1rem;
    }

    .video-container {
        max-width: 95%;
        margin: 2rem auto 2rem auto;
    }

    .marketing-video {
        border-radius: 12px;
    }

    .video-play-button svg,
    .video-pause-button svg {
        width: 60px;
        height: 60px;
    }

    /* Faster pause button fade on mobile/tablet */
    .video-pause-overlay {
        transition: opacity 0.08s ease;
    }

    .video-container.playing:hover .video-pause-overlay {
        transition: opacity 0.12s ease;
    }

    .cta-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        margin-top: 2rem;
    }

    #request-early-access-btn {
        font-size: 1rem;
        padding: 0 2rem;
        height: 56px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-quote {
        position: fixed;
        bottom: 45px;
        font-size: 0.95rem;
        padding: 0 1.5rem;
    }

    .scroll-indicator-hero {
        margin-top: 24px;
    }
    
    .scroll-text {
        font-size: 0.75rem;
    }
    
    .scroll-arrow {
        width: 20px;
        height: 20px;
    }
    
    .footer-recognition {
        bottom: 12px;
        right: 12px;
    }
    
    .footer-recognition-link {
        gap: 6px;
        padding: 6px 10px;
    }
    
    .footer-recognition-logo {
        height: 24px;
    }
    
    .footer-recognition-text {
        font-size: 0.65rem;
    }
    
    /* Shorten text on mobile */
    .footer-recognition-text::after {
        content: 'NDRC Graduate';
    }
    
    .footer-recognition-text {
        font-size: 0;
    }

    .footer-links {
        position: fixed;
        bottom: 12px;
        left: 0;
        right: 120px; /* Leave space for NDRC badge */
        font-size: 0.92rem;
        padding-right: 10px;
    }

    .modal-content {
        width: 95%;
        max-width: 95%;
        padding: 1.5rem;
    }
    
    /* Improve modal readability on mobile */
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-body {
        font-size: 1rem;
    }
    
    /* Form inputs need adequate touch targets */
    .form-input,
    .form-textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    /* Marketing sections */
    .copy-section,
    .demo-section {
        padding: 4rem 1.5rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .feature-item,
    .ai-agent-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    /* Reduce particles on mobile for performance */
    .particles li {
        display: none;
    }
    .particles li:nth-child(1),
    .particles li:nth-child(3),
    .particles li:nth-child(5) {
        display: block;
    }
}

@media (max-width: 480px) {
    /* Smaller screens need more generous spacing */
    .hero-section {
        padding: 2rem 1rem 110px 1rem;
    }

    .logo-wrap {
        width: min(810px, 85.5vw);
        height: clamp(108px, 16.2vw, 216px);
    }

    .hero-title {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* Ensure adequate spacing between interactive elements */
    .cta-buttons {
        gap: 1.25rem !important;
    }

    .video-container {
        max-width: 92%;
        margin: 1.5rem auto 1.5rem auto;
    }

    .marketing-video {
        border-radius: 10px;
    }

    .video-play-button svg,
    .video-pause-button svg {
        width: 50px;
        height: 50px;
    }

    /* Even faster pause button fade on small mobile */
    .video-pause-overlay {
        transition: opacity 0.05s ease;
    }

    .video-container.playing:hover .video-pause-overlay {
        transition: opacity 0.08s ease;
    }

    #request-early-access-btn {
        font-size: 0.95rem;
        height: 54px;
        padding: 0 1.8rem;
        margin: 0 auto;
    }
    
    .scroll-indicator-hero {
        margin-top: 20px;
    }

    .footer-quote {
        position: fixed;
        bottom: 40px;
        font-size: 0.875rem;
        padding: 0 1rem;
    }
    
    .footer-recognition {
        bottom: 10px;
        right: 10px;
    }
    
    .footer-recognition-link {
        padding: 5px 8px;
        gap: 5px;
    }
    
    .footer-recognition-logo {
        height: 20px;
    }
    
    /* Shorten text on small mobile */
    .footer-recognition-text::after {
        content: 'NDRC';
        font-size: 0.6rem;
    }
    
    .footer-recognition-text {
        font-size: 0;
    }

    .footer-links {
        position: fixed;
        bottom: 10px;
        left: 0;
        right: 100px; /* Leave space for NDRC badge */
        font-size: 0.75rem;
        padding: 0 0.5rem;
        text-align: left;
    }
    
    .footer-links a {
        margin: 0 0.3rem;
    }
    
    /* Modal improvements for small screens */
    .modal-content {
        padding: 1.25rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    /* Make sections more compact */
    .copy-section,
    .demo-section {
        padding: 3rem 1rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .feature-item,
    .ai-agent-card {
        padding: 1.5rem;
    }

    /* Show even fewer particles on small mobile */
    .particles li:nth-child(3) {
        display: none;
    }
}

/* Waitlist Submit Button - Match Main CTA Button */
#waitlist-submit {
    position: relative;
    padding: 0 2rem;
    height: 50px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Muted Clive & Clara gradient background (default state) */
    background: linear-gradient(135deg, #5a6ec4 0%, #58b0a4 50%, #654a8a 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    
    /* Soft shadow with gradient colors */
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.25),
        0 4px 12px rgba(102, 201, 186, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#waitlist-submit:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        transparent 35%,
        rgba(102, 126, 234, 0.3) 40%,
        rgba(102, 201, 186, 0.5) 50%,
        rgba(118, 75, 162, 0.3) 60%,
        transparent 65%,
        transparent 100%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
}

#waitlist-submit:hover {
    transform: translateY(-2px) scale(1.02);
    /* Vibrant full-color gradient on hover */
    background: linear-gradient(135deg, #667eea 0%, #66C9BA 50%, #764ba2 100%);
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.5),
        0 6px 16px rgba(102, 201, 186, 0.35),
        0 0 40px rgba(102, 126, 234, 0.25),
        0 0 60px rgba(102, 201, 186, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#waitlist-submit:hover:before {
    animation: shimmer 3s infinite;
}

#waitlist-submit:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 4px 16px rgba(102, 126, 234, 0.4),
        0 2px 8px rgba(102, 201, 186, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

#waitlist-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Business Inquiry Submit Button - Match Main CTA Button with Red Hues */
.business-btn {
    position: relative;
    padding: 0 2rem;
    height: 50px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Muted gradient with red tones (default state) */
    background: linear-gradient(135deg, #c45a6e 0%, #a45884 50%, #8a4a7a 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    
    /* Soft shadow with red gradient colors */
    box-shadow: 
        0 8px 24px rgba(196, 90, 110, 0.25),
        0 4px 12px rgba(164, 88, 132, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.business-btn:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        transparent 35%,
        rgba(234, 102, 102, 0.3) 40%,
        rgba(186, 102, 150, 0.5) 50%,
        rgba(162, 75, 118, 0.3) 60%,
        transparent 65%,
        transparent 100%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
}

.business-btn:hover {
    transform: translateY(-2px) scale(1.02);
    /* Vibrant full-color gradient with red on hover */
    background: linear-gradient(135deg, #ea6666 0%, #BA6696 50%, #a24b76 100%);
    box-shadow: 
        0 12px 32px rgba(234, 102, 102, 0.5),
        0 6px 16px rgba(186, 102, 150, 0.35),
        0 0 40px rgba(234, 102, 102, 0.25),
        0 0 60px rgba(186, 102, 150, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.business-btn:hover:before {
    animation: shimmer 3s infinite;
}

.business-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 4px 16px rgba(234, 102, 102, 0.4),
        0 2px 8px rgba(186, 102, 150, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Email-to-Particles Animation */
.email-flying {
    position: fixed;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    z-index: 3000;
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    letter-spacing: 0.05em;
}

@keyframes emailToParticles {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
        filter: blur(0px) brightness(1);
        color: var(--text-primary);
        text-shadow: 
            0 0 10px rgba(102, 126, 234, 0.5),
            0 0 20px rgba(102, 126, 234, 0.3);
    }
    15% {
        /* Scale up and brighten as it starts to fly */
        transform: translateY(-10vh) scale(1.3) rotate(3deg);
        opacity: 1;
        filter: blur(0.5px) brightness(1.3);
        color: #667eea; /* Clive color */
        text-shadow: 
            0 0 20px rgba(102, 126, 234, 0.8),
            0 0 40px rgba(102, 126, 234, 0.5),
            0 0 60px rgba(102, 126, 234, 0.3);
    }
    35% {
        /* Mid-flight - start morphing */
        transform: translateY(-35vh) scale(1.1) rotate(10deg);
        opacity: 0.95;
        filter: blur(2px) brightness(1.5);
        color: #66C9BA; /* Clara color */
        text-shadow: 
            0 0 30px rgba(102, 201, 186, 0.9),
            0 0 60px rgba(102, 201, 186, 0.6),
            0 0 90px rgba(102, 126, 234, 0.4);
    }
    55% {
        /* Accelerating and dispersing */
        transform: translateY(-60vh) scale(0.7) rotate(25deg);
        opacity: 0.75;
        filter: blur(5px) brightness(1.8);
        color: #764ba2; /* Purple gradient end */
        text-shadow: 
            0 0 40px rgba(118, 75, 162, 0.9),
            0 0 80px rgba(102, 201, 186, 0.7),
            0 0 120px rgba(102, 126, 234, 0.5);
    }
    75% {
        /* Breaking apart into particles */
        transform: translateY(-80vh) scale(0.4) rotate(45deg);
        opacity: 0.5;
        filter: blur(10px) brightness(2);
        color: #ffffff;
        text-shadow: 
            0 0 60px rgba(255, 255, 255, 0.9),
            0 0 100px rgba(102, 201, 186, 0.8),
            0 0 140px rgba(102, 126, 234, 0.6);
    }
    100% {
        /* Fully dispersed into warp stream */
        transform: translateY(-110vh) scale(0.1) rotate(90deg);
        opacity: 0;
        filter: blur(20px) brightness(2.5);
        color: #ffffff;
        text-shadow: 
            0 0 80px rgba(255, 255, 255, 0.8),
            0 0 120px rgba(102, 201, 186, 0.6),
            0 0 160px rgba(102, 126, 234, 0.4);
    }
}

.email-flying.animating {
    animation: emailToParticles 2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* Particle burst effect */
.email-particle {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #66C9BA);
    z-index: 3000;
    pointer-events: none;
    box-shadow: 
        0 0 15px rgba(102, 126, 234, 0.8),
        0 0 30px rgba(102, 201, 186, 0.5),
        0 0 45px rgba(102, 126, 234, 0.3);
}

@keyframes particleBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
        filter: brightness(1);
        box-shadow: 
            0 0 15px rgba(102, 126, 234, 0.8),
            0 0 30px rgba(102, 201, 186, 0.5);
    }
    30% {
        transform: translate(calc(var(--tx) * 0.5), calc(var(--ty) * 0.5)) scale(1.2);
        opacity: 1;
        filter: brightness(1.8);
        box-shadow: 
            0 0 25px rgba(102, 126, 234, 0.9),
            0 0 50px rgba(102, 201, 186, 0.7),
            0 0 75px rgba(118, 75, 162, 0.4);
    }
    70% {
        transform: translate(calc(var(--tx) * 0.9), calc(var(--ty) * 0.9)) scale(0.6);
        opacity: 0.6;
        filter: brightness(2.2);
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
        filter: brightness(2.5);
        box-shadow: 
            0 0 40px rgba(255, 255, 255, 0.6),
            0 0 80px rgba(102, 201, 186, 0.4);
    }
}

/* Toast Notification Styles */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    pointer-events: none;
}

.toast {
    background: var(--bg-elevated);
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

/* Light mode toast */
[data-theme="light"] .toast {
    border: 1px solid var(--modal-border);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    opacity: 0;
    transform: translateX(100%);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #66C9BA);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.toast-icon svg {
    width: 20px;
    height: 20px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin: 0 0 0.25rem 0;
}

.toast-message {
    font-size: 0.85rem;
    color: rgba(194, 196, 181, 0.9);
    margin: 0;
    line-height: 1.4;
}

/* Light mode toast text */
[data-theme="light"] .toast-title {
    color: #1c1d1f;
}

[data-theme="light"] .toast-message {
    color: rgba(45, 46, 48, 0.85);
}

@media (max-width: 768px) {
    #toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .toast {
        min-width: 0;
        width: 100%;
    }
}

/* ===================================
   PAGE NAVIGATION
   =================================== */

.page-nav {
    position: fixed;
    left: 32px;
    top: 120px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.page-nav.visible {
    opacity: 1;
}

.nav-item {
    position: relative;
    padding: 6px 12px 6px 16px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease-out;
    border-left: 2px solid transparent;
    opacity: 0.6;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    height: 100%;
    width: 2px;
    transform: scaleY(0);
    transition: transform 0.2s ease-out;
}

/* Individual colors for each nav item */
.nav-item:nth-child(1) {
    color: rgba(37, 99, 235, 0.7);
}

.nav-item:nth-child(1)::before {
    background: #2563eb;
}

.nav-item:nth-child(2) {
    color: rgba(249, 115, 22, 0.7);
}

.nav-item:nth-child(2)::before {
    background: #f97316;
}

.nav-item:nth-child(3) {
    color: rgba(59, 130, 246, 0.7);
}

.nav-item:nth-child(3)::before {
    background: #3b82f6;
}

.nav-item:nth-child(4) {
    color: rgba(251, 191, 36, 0.7);
}

.nav-item:nth-child(4)::before {
    background: #fbbf24;
}

.nav-item:nth-child(5) {
    color: rgba(30, 64, 175, 0.7);
}

.nav-item:nth-child(5)::before {
    background: #1e40af;
}

.nav-item:hover {
    opacity: 1;
}

.nav-item.active {
    opacity: 1;
    font-weight: 500;
}

.nav-item.active::before {
    transform: scaleY(1);
}

/* Light mode adjustments */
[data-theme="light"] .nav-item:nth-child(1) {
    color: rgba(37, 99, 235, 0.9);
}

[data-theme="light"] .nav-item:nth-child(2) {
    color: rgba(249, 115, 22, 0.9);
}

[data-theme="light"] .nav-item:nth-child(3) {
    color: rgba(59, 130, 246, 0.9);
}

[data-theme="light"] .nav-item:nth-child(4) {
    color: rgba(251, 191, 36, 0.9);
}

[data-theme="light"] .nav-item:nth-child(5) {
    color: rgba(30, 64, 175, 0.9);
}

/* Hide desktop navigation on tablet and mobile */
@media (max-width: 1024px) {
    .page-nav {
        display: none;
    }
}

/* ===================================
   MOBILE NAVIGATION
   =================================== */

.mobile-nav-toggle {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--modal-border);
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.mobile-nav-toggle:hover {
    transform: scale(1.05);
}

.mobile-nav-toggle .menu-icon {
    display: block;
}

.mobile-nav-toggle .close-icon {
    display: none;
}

.mobile-nav-toggle.active .menu-icon {
    display: none;
}

.mobile-nav-toggle.active .close-icon {
    display: block;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: var(--bg-elevated);
    border-right: 1px solid var(--modal-border);
    box-shadow: var(--shadow-strong);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 96px 24px 24px 24px;
    gap: 8px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-item {
    position: relative;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease-out;
    border-left: 3px solid transparent;
}

/* Individual colors for mobile nav items */
.mobile-nav-item:nth-child(1) {
    color: rgba(102, 126, 234, 0.9);
    border-left-color: #667eea;
}

.mobile-nav-item:nth-child(2) {
    color: rgba(102, 201, 186, 0.9);
    border-left-color: #66C9BA;
}

.mobile-nav-item:nth-child(3) {
    color: rgba(80, 200, 120, 0.9);
    border-left-color: #50C878;
}

.mobile-nav-item:nth-child(4) {
    color: rgba(255, 215, 0, 0.9);
    border-left-color: #FFD700;
}

.mobile-nav-item:nth-child(5) {
    color: rgba(255, 111, 97, 0.9);
    border-left-color: #FF6F61;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .mobile-nav-item:hover,
[data-theme="light"] .mobile-nav-item:active {
    background: rgba(0, 0, 0, 0.05);
}

/* Show mobile navigation elements on tablet and mobile */
@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: flex;
    }
}

/* ===================================
   THEME TOGGLE
   =================================== */

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--modal-border);
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle svg {
    position: absolute;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

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

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

[data-theme="light"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

[data-theme="light"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--accent);
    color: #fff;
}

/* ===================================
   MARKETING COPY SECTIONS WITH PARALLAX
   =================================== */

.copy-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 32px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.copy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.copy-section:nth-child(even)::before {
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.04) 0%, transparent 70%);
}

.copy-section.visible {
    opacity: 1;
    transform: translateY(0);
    animation: subtleFloat 6s ease-in-out infinite;
}

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

.copy-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.section-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 35%, #f97316 65%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
    line-height: 1.1;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.2));
}

.section-description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.feature-item {
    background: var(--bg-elevated);
    border: 1px solid var(--card-border);
    border-left: 5px solid var(--color-primary);
    border-radius: 20px;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
}

.feature-item:hover::before {
    height: 6px;
}

[data-theme="light"] .feature-item {
    box-shadow: var(--shadow-medium);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong), 0 0 30px rgba(37, 99, 235, 0.2);
    border-left-color: var(--color-complement);
}

[data-theme="light"] .feature-item:hover {
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 2px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border-color: var(--color-primary);
    transform: rotate(5deg) scale(1.1);
}

.feature-item > * {
    padding: 0 24px;
}

.feature-item > *:first-child {
    padding-top: 32px;
}

.feature-item > *:last-child {
    padding-bottom: 32px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    padding: 0 24px !important;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 0 24px 32px 24px !important;
}

/* AI Team Grid */
.ai-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ai-agent-card {
    background: var(--bg-elevated);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.ai-agent-card:first-child {
    border-color: rgba(37, 99, 235, 0.3);
}

.ai-agent-card:last-child {
    border-color: rgba(249, 115, 22, 0.3);
}

.ai-agent-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-warm);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-agent-card:hover::before {
    opacity: 1;
}

/* Clive - Gold/Orange Theme (action-oriented) */
.ai-agent-card:first-child::before {
    background: var(--gradient-action);
}

.ai-agent-card:first-child:hover {
    box-shadow: var(--shadow-colored-gold);
}

/* Clara - Blue Theme (analytical, trust) */
.ai-agent-card:nth-child(2)::before {
    background: var(--gradient-primary);
}

.ai-agent-card:nth-child(2):hover {
    box-shadow: var(--shadow-colored-blue);
}

[data-theme="light"] .ai-agent-card {
    box-shadow: var(--shadow-medium);
}

.ai-agent-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-strong);
}

.ai-agent-card:first-child:hover {
    box-shadow: var(--shadow-strong), 0 0 40px rgba(37, 99, 235, 0.3);
    border-color: var(--color-primary);
}

.ai-agent-card:last-child:hover {
    box-shadow: var(--shadow-strong), 0 0 40px rgba(249, 115, 22, 0.3);
    border-color: var(--color-complement);
}

[data-theme="light"] .ai-agent-card:hover {
    box-shadow: var(--shadow-strong);
}

.ai-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    padding: 4px;
    background: var(--gradient-warm);
    transition: all 0.3s ease;
    object-fit: cover;
    object-position: center;
}

/* Clive Avatar - Gold/Orange (action-oriented) */
.ai-agent-card:first-child .ai-avatar {
    background: var(--gradient-action);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}

/* Clara Avatar - Blue (analytical, trust) */
.ai-agent-card:nth-child(2) .ai-avatar {
    background: var(--gradient-primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.ai-agent-card:hover .ai-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.5);
}

.ai-agent-card:nth-child(2):hover .ai-avatar {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

.ai-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ai-role {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-complement);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-radius: 8px;
    display: inline-block;
}

.ai-agent-card:first-child .ai-role {
    color: var(--color-primary);
}

.ai-agent-card:last-child .ai-role {
    color: var(--color-complement);
}

.ai-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* AI Team Subtitle */
.ai-team-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: -8px;
    margin-bottom: 32px;
    opacity: 0.8;
}

/* Clickable Agent Cards */
.clickable-agent {
    cursor: pointer;
    user-select: none;
}

.clickable-agent.speaking {
    border-color: var(--color-primary);
}

.clickable-agent.speaking .ai-avatar {
    transform: scale(1.1);
    animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1.1);
        box-shadow: 0 8px 24px rgba(251, 191, 36, 0.5);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 8px 32px rgba(251, 191, 36, 0.7);
    }
}

.clickable-agent.speaking.clara-card .ai-avatar {
    animation: avatarPulseCara 2s ease-in-out infinite;
}

@keyframes avatarPulseCara {
    0%, 100% {
        transform: scale(1.1);
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 8px 32px rgba(37, 99, 235, 0.7);
    }
}

/* Avatar Wrapper for Speaking Indicator */
.ai-avatar-wrapper {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 0 auto 24px auto;
}

.ai-avatar-wrapper .ai-avatar {
    margin: 0;
}

/* Speaking Indicator */
.speaking-indicator {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.clickable-agent.speaking .speaking-indicator {
    opacity: 1;
}

.speaking-indicator .wave {
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.ai-agent-card:first-child .speaking-indicator .wave {
    background: var(--color-primary);
}

.ai-agent-card:last-child .speaking-indicator .wave {
    background: var(--color-complement);
}

.speaking-indicator .wave:nth-child(1) {
    animation-delay: 0s;
}

.speaking-indicator .wave:nth-child(2) {
    animation-delay: 0.1s;
}

.speaking-indicator .wave:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes wave {
    0%, 100% {
        transform: scaleY(0.3);
    }
    50% {
        transform: scaleY(1);
    }
}

/* Click Hint */
.click-hint {
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.ai-agent-card:first-child .click-hint {
    color: var(--color-primary);
}

.ai-agent-card:last-child .click-hint {
    color: var(--color-complement);
}

.clickable-agent:hover .click-hint {
    opacity: 1;
    transform: translateY(-2px);
}

.clickable-agent.speaking .click-hint {
    opacity: 0;
}

/* ===================================
   INTERACTIVE DEMO SECTION
   =================================== */

.demo-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 32px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.demo-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.demo-content {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.demo-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.6;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

/* Clive Demo Section */
.demo-clive-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.clive-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
}

.demo-clive-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: center;
}

.avatar-pulse-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: none;
}

.avatar-pulse-ring.active {
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.demo-play-button {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.demo-play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: var(--accent-dark);
}

.demo-play-button:active {
    transform: translateY(0);
}

.demo-play-button svg {
    width: 24px;
    height: 24px;
}

/* Waveform Visualization */
.demo-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 56px;
    margin: 24px 0;
}

.waveform-bar {
    width: 4px;
    height: 20px;
    background: var(--accent);
    border-radius: 2px;
    animation: waveformPulse 1.2s ease-in-out infinite;
    opacity: 0.6;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { animation-delay: 0.5s; }
.waveform-bar:nth-child(7) { animation-delay: 0.6s; }
.waveform-bar:nth-child(8) { animation-delay: 0.7s; }

@keyframes waveformPulse {
    0%, 100% {
        height: 16px;
        opacity: 0.5;
    }
    50% {
        height: 40px;
        opacity: 1;
    }
}

/* Transcript */
.demo-transcript {
    min-height: 88px;
    max-width: 480px;
    margin: 0 auto;
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--modal-border);
    box-shadow: var(--shadow-strong);
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .demo-transcript {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.demo-transcript:empty {
    display: none;
}

/* Action Card Demo */
.demo-card-section {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.demo-action-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-elevated);
    border: 1px solid var(--modal-border);
    box-shadow: var(--shadow-strong);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

[data-theme="light"] .demo-action-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.demo-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .demo-action-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.demo-action-card:active {
    cursor: grabbing;
}

.demo-action-card.swiping {
    transition: none;
}

.demo-action-card.swipe-accept {
    animation: swipeRightOut 0.5s ease forwards;
}

.demo-action-card.swipe-reject {
    animation: swipeLeftOut 0.5s ease forwards;
}

@keyframes swipeRightOut {
    to {
        transform: translateX(150%) rotate(20deg);
        opacity: 0;
    }
}

@keyframes swipeLeftOut {
    to {
        transform: translateX(-150%) rotate(-20deg);
        opacity: 0;
    }
}

.action-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.action-category-badge {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
}

.action-priority {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.action-card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.action-impact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.impact-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.impact-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.action-card-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInHint 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInHint {
    to {
        opacity: 1;
    }
}

.swipe-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    animation: arrowBounce 2s ease-in-out infinite;
}

.swipe-arrow.left {
    color: #ef4444;
}

.swipe-arrow.right {
    color: #10b981;
}

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

.swipe-arrow.left {
    animation-name: arrowBounceLeft;
}

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

/* Responsive Design for Copy & Demo Sections */
@media (max-width: 1024px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .copy-section {
        padding: 5rem 1.5rem;
        min-height: 50vh;
    }
    
    .demo-section {
        padding: 4rem 1.5rem;
        min-height: auto;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .ai-team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .clive-avatar-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .demo-action-card {
        max-width: 100%;
    }
    
    .demo-transcript {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .copy-section {
        padding: 4rem 1rem;
    }
    
    .demo-section {
        padding: 3rem 1rem;
    }
    
    .feature-item,
    .ai-agent-card {
        padding: 2rem 1.5rem;
    }
    
    .demo-play-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .action-impact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
