/* ============================================
   Work Wins Landing Page Styles
   Brand Colors:
   - Primary: #ff4d00 (International Orange)
   - Efficiency: #0a84ff (iOS Blue)
   - Quality: #30d158 (iOS Green)
   - Enablement: #bf5af2 (iOS Purple)
   ============================================ */

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

:root {
    /* Typography */
    --font-headline: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Brand Colors */
    --primary: #ff4d00;
    --primary-dark: #e64500;
    --primary-light: #ff6a2a;
    --efficiency: #0a84ff;
    --quality: #30d158;
    --enablement: #bf5af2;

    /* Gold Accent System */
    --gold-primary: #d4a853;
    --gold-dark: #b8860b;
    --gold-light: #f4d793;
    --gold-shimmer: #ffd700;
    --gold-deep: #8b6914;
    --gold-gradient-soft: linear-gradient(135deg, #d4a853 0%, #f4d793 50%, #d4a853 100%);
    --gold-gradient-metallic: linear-gradient(135deg, #8b6914 0%, #d4a853 25%, #f4d793 50%, #d4a853 75%, #8b6914 100%);

    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-tertiary: #888888;

    /* Warm Background Colors */
    --bg-primary: #fdfcf9;
    --bg-secondary: #f9f7f2;
    --bg-tertiary: #f0ece3;
    --bg-gold-tint: rgba(212, 168, 83, 0.05);

    /* Borders & Shadows */
    --border: #d1d1d6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-gold: 0 4px 20px rgba(212, 168, 83, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography - Fraunces headlines */
h1, h2, h3, h4 {
    font-family: var(--font-headline);
    font-weight: 600;
    line-height: 1.15;
    font-optical-sizing: auto;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variation-settings: 'opsz' 72;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    font-variation-settings: 'opsz' 48;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    font-variation-settings: 'opsz' 36;
}

/* Gold highlight for key phrases */
.highlight {
    color: var(--gold-dark);
    position: relative;
    display: inline;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -4px;
    right: -4px;
    height: 10px;
    background: var(--gold-gradient-soft);
    opacity: 0.25;
    border-radius: 4px;
    z-index: -1;
    transform: skewX(-3deg);
}

/* Gold Text - Highlighted text with gold underline */
.gold-text {
    color: var(--gold-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--gold-primary);
    text-decoration-thickness: 0.15em;
    text-underline-offset: 0.1em;
}


/* Gold dust particle explosion (Easter egg) */
.gold-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: goldParticleExplode 0.8s ease-out forwards;
    box-shadow:
        0 0 2px rgba(0, 0, 0, 0.4),
        0 0 4px currentColor;
}

@keyframes goldParticleExplode {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--dest-x), var(--dest-y)) rotate(var(--rotation)) scale(0);
        opacity: 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 77, 0, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 77, 0, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Gold CTA Button - Metallic Effect */
.btn-gold {
    background: var(--gold-gradient-metallic);
    background-size: 200% 200%;
    color: #1a1a1a;
    font-weight: 700;
    border: 1px solid var(--gold-dark);
    box-shadow:
        0 4px 16px rgba(212, 168, 83, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(139, 105, 20, 0.3);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: goldShimmer 3s ease-in-out infinite;
}

.btn-gold:hover {
    background-position: 100% 50%;
    transform: translateY(-3px);
    box-shadow:
        0 8px 32px rgba(212, 168, 83, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(139, 105, 20, 0.4);
}

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

.apple-icon {
    width: 20px;
    height: 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: white;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-links .btn {
    padding: 10px 20px;
}

.nav-links .btn-primary {
    background: white;
    color: var(--primary);
}

.nav-links .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Quiz link with subtle badge */
.nav-quiz-link {
    position: relative;
}

.nav-quiz-link::after {
    content: 'NEW';
    position: absolute;
    top: -8px;
    right: -24px;
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--primary);
    background: white;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.03em;
}


/* ============================================
   SECTION SEPARATORS
   ============================================ */

/* Elegant separator line with center dot */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    gap: 16px;
}

.section-separator::before,
.section-separator::after {
    content: '';
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-separator-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
}

/* Alternative: Simple line separator */
.separator-line {
    max-width: 200px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Alternative: Triple dot separator */
.separator-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 40px 0;
}

.separator-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
}

.separator-dots span:nth-child(2) {
    opacity: 0.7;
}

/* Branded W separator */
.separator-w {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    gap: 20px;
}

.separator-w::before,
.separator-w::after {
    content: '';
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.6;
}

.separator-w svg {
    width: 40px;
    height: 26px;
    opacity: 1;
}

.separator-w path {
    fill: none;
    stroke: var(--gold-primary);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(212, 168, 83, 0.4));
}

/* Enhanced Grid Pattern Background - Gold-Tinted */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Warm gold-tinted grid - primary and secondary */
    background-image:
        linear-gradient(rgba(180, 140, 60, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 140, 60, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(180, 140, 60, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 140, 60, 0.02) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 20px 20px, 20px 20px;
}

/* Atmospheric gradient overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 168, 83, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 77, 0, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 40%);
}

body > * {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-secondary);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.6s ease-out 1.5s both;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ============================================
   HERO TOGGLE (for testing - remove in production)
   ============================================ */
.hero-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
}

.toggle-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.toggle-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    background: var(--bg-tertiary);
}

.toggle-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============================================
   HERO VARIANTS (A & B)
   ============================================ */
.hero-variant {
    min-height: 100vh;
    padding: 140px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: none;
    text-align: center;
}

.hero-variant.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.hero-content-centered {
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Hero Option A: The Uncomfortable Question */
.hero-headline {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out both;
}

.hero-subtext {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-tertiary);
    line-height: 1.5;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.15s both;
}

.hero-solution {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.65;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.45s both;
}

/* Hero Option B: The Invisible Work */
.hero-statement {
    margin-bottom: 32px;
}

.hero-option-b .hero-solution {
    margin-bottom: 48px;
}

.statement-line {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 8px;
}

.statement-line:first-child {
    animation: fadeInUp 0.6s ease-out both;
}

.statement-line.fade {
    color: var(--text-secondary);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.statement-line.fade-more {
    color: var(--text-tertiary);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Shared Hero Visual */
.hero-visual {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-visual .phone-frame {
    max-width: 280px;
    margin: 0 auto;
}

/* Hero CTA adjustments */
.hero-variant .hero-cta-centered {
    animation: fadeInUp 0.6s ease-out 0.45s both;
}

/* ============================================
   A/B Test Toggle (remove in production)
   ============================================ */
.ab-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
}

.ab-toggle span {
    color: var(--text-secondary);
    font-weight: 500;
}

.ab-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ab-btn:hover {
    background: var(--bg-tertiary);
}

.ab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}


/* ============================================
   HERO VERSION A: "The Interview Moment"
   Centered, theatrical, narrative layout
   ============================================ */
.hero-a {
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.hero-a.active {
    display: flex;
}

.hero-a-content {
    max-width: 800px;
    margin: 0 auto;
}

/* The Interview Moment - Opening */
.interview-moment {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out both;
}

.interview-context {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.interview-question {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.interview-blank {
    font-size: 1.5rem;
    color: var(--text-tertiary);
    animation: fadeInUp 0.6s ease-out 0.6s both, blankPulse 2s ease-in-out 1.5s infinite;
}

@keyframes blankPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* The Confident Response */
.hero-response {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.response-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.response-answer {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}


/* Explanation */
.hero-explain {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.explain-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.explain-text strong {
    color: var(--text-primary);
}

/* Centered CTA */
.hero-cta-centered {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.cta-subtext {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Social Proof */
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

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

.proof-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.proof-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.proof-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Phone Visual for Version A - Grid Break: Overlap & Tilt */
.hero-a-visual {
    position: relative;
    margin-top: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 5;
    /* Asymmetric positioning */
    transform: translateX(40px) rotate(-2deg);
    animation: fadeInUp 0.8s ease-out 1.8s both;
}

.hero-a-visual .phone-frame {
    box-shadow:
        var(--shadow-lg),
        0 0 80px rgba(212, 168, 83, 0.2),
        -20px 40px 60px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
}

/* Gold glow orb behind phone */
.hero-a-visual::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.visual-caption {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    transform: rotate(2deg);
}


/* ============================================
   HERO VERSION B: "Evidence, Not Ego"
   Split layout, validation-focused
   ============================================ */
.hero-b {
    display: none;
    padding-top: 100px;
}

.hero-b.active {
    display: block;
}

.hero-b-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-b-content {
    flex: 1;
    max-width: 560px;
}

/* Pretext */
.hero-b-pretext {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out both;
}

/* Headline with strikethrough */
.hero-b-headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.strike-through {
    position: relative;
    color: var(--text-tertiary);
}

.strike-through::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 50%;
    height: 4px;
    background: var(--text-tertiary);
    transform: rotate(-2deg);
}

.highlight-evidence {
    color: var(--primary);
    position: relative;
}

.highlight-evidence::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--primary);
    opacity: 0.15;
    border-radius: 6px;
    z-index: -1;
}

/* Subtext */
.hero-b-subtext {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-b-subtext em {
    font-style: normal;
    color: var(--text-tertiary);
}

/* Solution text */
.hero-b-solution {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.hero-b-solution strong {
    color: var(--text-primary);
}

/* CTA */
.hero-b-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.btn-ghost {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
}

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

/* Trust indicators */
.hero-b-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.trust-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-tertiary);
}

/* Phone Visual for Version B */
.hero-b-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.phone-context {
    margin-bottom: 16px;
}

.context-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.phone-stats {
    margin-top: 20px;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.mini-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.mini-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Scroll Indicator - Repositioned for new heroes */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    right: 40px;
    left: auto;
    transform: none;
    z-index: 100;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Phone Frame for Screenshots */
.phone-frame {
    position: relative;
    width: 300px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 77, 0, 0.15);
    background: #000;
    padding: 8px;
}

.phone-frame-small {
    width: 240px;
    flex-shrink: 0;
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
}

/* Legacy mockup styles (kept for reference) */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1c1c1e 0%, #000000 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1c1c1e;
    border-radius: 32px;
    padding: 48px 20px 20px;
    overflow: hidden;
}

.mock-header {
    text-align: center;
    margin-bottom: 32px;
}

.mock-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.mock-label {
    font-size: 0.875rem;
    color: #86868b;
}

.mock-win {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2c2c2e;
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.mock-category {
    width: 8px;
    height: 40px;
    border-radius: 4px;
}

.mock-category.efficiency { background: var(--efficiency); }
.mock-category.quality { background: var(--quality); }
.mock-category.enablement { background: var(--enablement); }

.mock-text {
    flex: 1;
}

.mock-title {
    height: 12px;
    width: 80%;
    background: #48484a;
    border-radius: 6px;
    margin-bottom: 8px;
}

.mock-subtitle {
    height: 10px;
    width: 60%;
    background: #38383a;
    border-radius: 5px;
}

.mock-amount {
    color: var(--quality);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Problem Section */
.problem {
    padding: 100px 24px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-question {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.problem-stat {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 1rem;
    margin: 0;
}

.problem-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: rgba(180, 80, 60, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #b4503c;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 16px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

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

@media (max-width: 700px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.efficiency-bg { background: rgba(10, 132, 255, 0.15); color: var(--efficiency); }
.quality-bg { background: rgba(48, 209, 88, 0.15); color: var(--quality); }
.enablement-bg { background: rgba(191, 90, 242, 0.15); color: var(--enablement); }
.primary-bg { background: rgba(255, 77, 0, 0.15); color: var(--primary); }

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Features Showcase */
.features-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    margin-top: 60px;
    padding: 40px;
}

.showcase-caption {
    max-width: 480px;
}

.showcase-caption h3 {
    font-family: var(--font-headline);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.showcase-caption p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Section Mini-CTA */
.section-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.section-cta-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.section-cta .btn {
    animation: fadeInUp 0.5s ease-out;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 24px;
}


.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.step-example {
    background: var(--bg-primary);
    padding: 16px;
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 24px;
    color: var(--border);
}

.step-arrow svg {
    width: 32px;
    height: 32px;
}

.how-it-works-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.ai-magic {
    flex: 1;
    max-width: 600px;
    text-align: center;
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.ai-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
}

.ai-magic > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* AI Results Carousel */
.ai-results-carousel {
    position: relative;
}

.ai-results-carousel .ai-result {
    display: none;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.05) 0%, rgba(191, 90, 242, 0.05) 100%);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.7;
    animation: fadeIn 0.5s ease;
}

.ai-results-carousel .ai-result.active {
    display: block;
}

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

/* Categories Section */
.categories {
    padding: 100px 24px;
}

/* Category Cards - Layout Break: Asymmetric */
.category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* Decorative gold line cutting through */
.category-cards::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -3%;
    width: 106%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold-primary) 20%,
        var(--gold-light) 50%,
        var(--gold-primary) 80%,
        transparent 100%
    );
    opacity: 0.15;
    transform: translateY(-50%) rotate(-1deg);
    z-index: 0;
}

@media (max-width: 1000px) {
    .category-cards {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .category-cards::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .category-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.category-card {
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.category-card.efficiency {
    background: linear-gradient(180deg, rgba(10, 132, 255, 0.1) 0%, rgba(10, 132, 255, 0.05) 100%);
    border: 1px solid rgba(10, 132, 255, 0.2);
}

.category-card.quality {
    background: linear-gradient(180deg, rgba(48, 209, 88, 0.1) 0%, rgba(48, 209, 88, 0.05) 100%);
    border: 1px solid rgba(48, 209, 88, 0.2);
}

.category-card.enablement {
    background: linear-gradient(180deg, rgba(191, 90, 242, 0.1) 0%, rgba(191, 90, 242, 0.05) 100%);
    border: 1px solid rgba(191, 90, 242, 0.2);
}

.category-card.primary-cat {
    background: linear-gradient(180deg, rgba(255, 149, 0, 0.1) 0%, rgba(255, 149, 0, 0.05) 100%);
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon svg {
    width: 32px;
    height: 32px;
}

.efficiency .category-icon {
    background: var(--efficiency);
    color: white;
}

.quality .category-icon {
    background: var(--quality);
    color: white;
}

.enablement .category-icon {
    background: var(--enablement);
    color: white;
}

.primary-cat .category-icon {
    background: var(--gold-primary);
    color: white;
}

.category-card h3 {
    margin-bottom: 8px;
}

.category-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.efficiency .category-label {
    background: rgba(10, 132, 255, 0.2);
    color: var(--efficiency);
}

.quality .category-label {
    background: rgba(48, 209, 88, 0.2);
    color: var(--quality);
}

.enablement .category-label {
    background: rgba(191, 90, 242, 0.2);
    color: var(--enablement);
}

.primary-cat .category-label {
    background: rgba(255, 149, 0, 0.2);
    color: var(--gold-primary);
}

.category-card p {
    color: var(--text-secondary);
}

/* Categories Visual */
.categories-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    flex-wrap: wrap;
}

/* Unlock Section */
.unlock {
    padding: 100px 24px;
}

.unlock-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.unlock-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}

.unlock-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.unlock-item:last-child {
    margin-bottom: 0;
}

.unlock-badge {
    width: 120px;
    flex-shrink: 0;
    padding: 16px 20px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(255, 77, 0, 0.25);
    transition: all 0.3s ease;
}

.unlock-badge:hover,
.unlock-item:hover .unlock-badge {
    box-shadow: 0 6px 24px rgba(255, 77, 0, 0.35);
    transform: translateY(-2px);
}

.badge-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.unlock-content {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.unlock-content h3 {
    margin-bottom: 8px;
}

.unlock-content p {
    color: var(--text-secondary);
}

/* Unlock Visual */
.unlock-visual {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 24px;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 48px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.testimonial-card blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
}

.author-info span {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* Ambient Gold Particles */
.gold-ambient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.gold-ambient-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-shimmer);
    border-radius: 50%;
    opacity: 0;
    animation: ambientFloat 20s infinite;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

@keyframes ambientFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateY(80vh) translateX(20px) scale(1);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) translateX(-30px) scale(0.5);
        opacity: 0;
    }
}

/* Staggered particle positions and timing */
.gold-ambient-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.gold-ambient-particle:nth-child(2) { left: 20%; animation-delay: 3s; animation-duration: 22s; }
.gold-ambient-particle:nth-child(3) { left: 35%; animation-delay: 6s; animation-duration: 28s; }
.gold-ambient-particle:nth-child(4) { left: 50%; animation-delay: 2s; animation-duration: 20s; }
.gold-ambient-particle:nth-child(5) { left: 65%; animation-delay: 8s; animation-duration: 24s; }
.gold-ambient-particle:nth-child(6) { left: 80%; animation-delay: 4s; animation-duration: 26s; }
.gold-ambient-particle:nth-child(7) { left: 90%; animation-delay: 1s; animation-duration: 23s; }

/* Hide on mobile for performance */
@media (max-width: 768px) {
    .gold-ambient-particles {
        display: none;
    }
}

/* Featured Blog Posts */
.blog-preview-section {
    padding: 80px 24px;
    background: var(--bg-secondary, #111);
}

.blog-preview-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.blog-preview-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin: 8px 0 4px;
}

.blog-preview-subtitle {
    color: var(--text-secondary, #888);
    font-size: 1rem;
    margin: 0;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-preview-card {
    display: block;
    background: var(--surface, #1a1a1a);
    border: 1px solid var(--border, #2a2a2a);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.blog-preview-card:hover {
    border-color: var(--accent-gold, #c9a84c);
    transform: translateY(-2px);
}

.blog-preview-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold, #c9a84c);
    margin-bottom: 12px;
}

.blog-preview-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
    line-height: 1.4;
    margin: 0 0 10px;
}

.blog-preview-card p {
    font-size: 0.875rem;
    color: var(--text-secondary, #888);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .blog-preview-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section - Gold Enhanced */
.cta {
    padding: 120px 24px;
    background:
        linear-gradient(135deg, rgba(212, 168, 83, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #1c1c1e 0%, #0a0a0a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decorative gold line at top */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient-metallic);
    background-size: 200% 100%;
    animation: goldShimmer 4s ease-in-out infinite;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta p {
    color: #86868b;
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.cta .btn-primary {
    background: var(--primary);
}

.cta-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: #636366;
}

/* Footer */
.footer {
    padding: 60px 24px 32px;
    background: #000000;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: var(--primary);
}

.footer-brand p {
    color: #86868b;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #38383a;
    text-align: center;
}

.footer-bottom p {
    color: #636366;
    font-size: 0.875rem;
}

/* ============================================
   ANIMATIONS & MOTION
   ============================================ */

/* --- Animation Keyframes --- */

/* Fade In Up - Classic entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down - For badges/headers */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scale In - Pop effect */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bounce In - Celebratory entrance */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Float - Replaced with gentleBreathe for subtlety */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Gentle Breathe - Subtle scale pulse, almost imperceptible */
@keyframes gentleBreathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.015);
    }
}

/* Soft Glow - Reduced intensity glow pulse */
@keyframes softGlow {
    0%, 100% {
        box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 77, 0, 0.1);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 35px rgba(255, 77, 0, 0.18);
    }
}

/* Glow Pulse - For highlighting value */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 77, 0, 0.15);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 50px rgba(255, 77, 0, 0.3);
    }
}

/* Text Glow - For highlighting important text */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 77, 0, 0.5), 0 0 30px rgba(255, 77, 0, 0.3);
    }
}

/* Counter Flip - For stats */
@keyframes counterFlip {
    0% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

/* Draw Line - For timeline */
@keyframes drawLine {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

/* Shimmer - AI Magic effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Typewriter cursor blink */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Icon Spin */
@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Pulse Ring - Ripple effect */
@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Arrow Flow - For step arrows */
@keyframes arrowFlow {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.5;
    }
    50% {
        transform: translateX(8px);
        opacity: 1;
    }
}

/* Win Celebration - Confetti-like */
@keyframes winCelebrate {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg) scale(1.1);
    }
    50% {
        transform: translateY(-5px) rotate(5deg) scale(1.05);
    }
    75% {
        transform: translateY(-8px) rotate(-3deg) scale(1.08);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* --- Animation Utility Classes --- */

/* Base state for animated elements (hidden until triggered) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

/* Visible state - simple transition, no keyframe conflicts */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific animation variations */
.fade-in-down {
    transform: translateY(-20px);
}

.scale-in {
    transform: scale(0.9);
}

.scale-in.is-visible {
    transform: scale(1);
}

.bounce-in {
    transform: scale(0.5);
    transition: opacity 0.4s ease-out, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bounce-in.is-visible {
    transform: scale(1);
}

.slide-in-left {
    transform: translateX(-30px);
}

.slide-in-left.is-visible {
    transform: translateX(0);
}

.slide-in-right {
    transform: translateX(30px);
}

.slide-in-right.is-visible {
    transform: translateX(0);
}

/* Stagger delays for sequential transitions */
.stagger-1 { transition-delay: 0.1s !important; }
.stagger-2 { transition-delay: 0.2s !important; }
.stagger-3 { transition-delay: 0.3s !important; }
.stagger-4 { transition-delay: 0.4s !important; }
.stagger-5 { transition-delay: 0.5s !important; }
.stagger-6 { transition-delay: 0.6s !important; }

/* --- Hero Section Animations --- */

/* Hero badge entrance */
.hero-badge {
    animation: fadeInDown 0.5s ease-out 0.2s both;
}

/* Hero title word animation */
.hero h1 {
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

/* Highlight text glow */
.hero .highlight {
    animation: textGlow 3s ease-in-out infinite;
    animation-delay: 1s;
}

/* Hero subtitle */
.hero-subtitle {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

/* Hero CTA buttons */
.hero-cta .btn:first-child {
    animation: fadeInUp 0.5s ease-out 0.6s both;
}

.hero-cta .btn:last-child {
    animation: fadeInUp 0.5s ease-out 0.7s both;
}

/* Hero stats */
.hero-stats .stat:nth-child(1) {
    animation: fadeInUp 0.5s ease-out 0.8s both;
}

.hero-stats .stat-divider:nth-child(2) {
    animation: scaleIn 0.3s ease-out 0.9s both;
}

.hero-stats .stat:nth-child(3) {
    animation: fadeInUp 0.5s ease-out 0.9s both;
}

.hero-stats .stat-divider:nth-child(4) {
    animation: scaleIn 0.3s ease-out 1s both;
}

.hero-stats .stat:nth-child(5) {
    animation: fadeInUp 0.5s ease-out 1s both;
}

/* Stat value counter animation */
.stat-value {
    display: inline-block;
    transform-style: preserve-3d;
}

.stat-value.counting {
    animation: counterFlip 0.4s ease-out;
}

/* --- Phone Frame Animations --- */

.phone-frame {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero phone - subtle breathe with soft glow */
.hero-visual .phone-frame {
    animation:
        fadeInUp 0.8s ease-out 0.4s both,
        gentleBreathe 8s ease-in-out infinite 1.5s,
        softGlow 6s ease-in-out infinite 2s;
}

/* Phone frames in other sections - very subtle breathe only */
.features-showcase .phone-frame,
.how-it-works-visual .phone-frame,
.categories-visual .phone-frame,
.unlock-visual .phone-frame {
    animation: gentleBreathe 10s ease-in-out infinite;
}

/* --- Problem Cards Animation --- */

.problem-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* Problem icon pulse on hover */
.problem-card:hover .problem-icon {
    animation: bounceIn 0.4s ease-out;
}

/* --- Feature Cards Animation --- */

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Feature icon animation on hover */
.feature-card:hover .feature-icon svg {
    animation: winCelebrate 0.6s ease-out;
}

/* --- Step Arrows Animation --- */

.step-arrow svg {
    animation: arrowFlow 2s ease-in-out infinite;
}

/* Step numbers pulse on scroll */
.step-number.is-visible {
    animation: bounceIn 0.5s ease-out;
}

/* --- Category Cards Animation --- */

.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Category icon spin on hover */
.category-card:hover .category-icon {
    animation: iconSpin 0.6s ease-out;
}

/* Category label bounce */
.category-label.is-visible {
    animation: bounceIn 0.4s ease-out;
}

/* --- Unlock Timeline Animation --- */

/* Timeline line draw animation */
.unlock-timeline::before {
    animation: drawLine 1.5s ease-out forwards;
    animation-play-state: paused;
}

.unlock-timeline.is-visible::before {
    animation-play-state: running;
}

/* Unlock badge slide in - uses gold styling from main definition */

/* Unlock content hover */
.unlock-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unlock-item:hover .unlock-content {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

/* --- AI Magic Animation --- */

.ai-badge {
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on AI badge */
.ai-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* AI result typewriter container */
.ai-result {
    position: relative;
    overflow: hidden;
}

.ai-result.is-visible {
    animation: fadeInUp 0.6s ease-out;
}

/* AI result reveal effect */
.ai-result::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    animation: revealText 2s ease-out forwards;
    animation-play-state: paused;
}

.ai-result.is-visible::before {
    animation-play-state: running;
}

@keyframes revealText {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

/* --- Testimonial Animation --- */

.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
}

/* Quote marks animation */
.testimonial-card blockquote {
    position: relative;
}

.testimonial-card blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    animation: fadeInDown 0.5s ease-out 0.3s both;
}

/* Author avatar pulse */
.author-avatar {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

/* --- Button Micro-interactions --- */

.btn {
    position: relative;
    overflow: hidden;
}

/* Ripple effect container */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Primary button glow effect */
.btn-primary {
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(255, 77, 0, 0.4), 0 0 40px rgba(255, 77, 0, 0.2);
}

/* --- Logo Animation --- */

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .logo-icon {
    animation: winCelebrate 0.5s ease-out;
}

/* --- Navbar Scroll Effect --- */

.navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: var(--primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* --- Section Headers Animation --- */

.section-header h2 {
    position: relative;
}

.section-header h2.is-visible {
    animation: fadeInUp 0.6s ease-out;
}

.section-header p.is-visible {
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

/* --- 3D Card Tilt Effect --- */

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

/* --- Scroll Progress Indicator --- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    z-index: 1001;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s linear;
}

/* --- Ripple Effect (created by JS) --- */

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* --- Pulse Ring (created by JS) --- */

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    pointer-events: none;
}

.category-card:hover .pulse-ring {
    animation: pulseRing 1s ease-out;
}

/* Efficiency pulse color */
.efficiency .pulse-ring {
    border-color: var(--efficiency);
}

/* Quality pulse color */
.quality .pulse-ring {
    border-color: var(--quality);
}

/* Enablement pulse color */
.enablement .pulse-ring {
    border-color: var(--enablement);
}

/* --- Typewriter Effect --- */

.typewriter-text {
    display: inline;
}

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

/* Hide cursor after animation completes */
.ai-result.is-visible .cursor {
    animation: blink 1s 3 forwards;
}

/* --- Floating Particles Background (optional enhancement) --- */

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: particleFloat 20s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(720deg);
        opacity: 0;
    }
}

/* --- Success State Animation (for future form submissions) --- */

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    background: var(--quality);
    animation: scaleIn 0.3s ease-out;
}

.success-checkmark .check-icon::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 16px;
    width: 20px;
    height: 40px;
    border: solid white;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    animation: checkmark 0.3s ease-out 0.3s both;
}

@keyframes checkmark {
    from {
        height: 0;
        width: 0;
        opacity: 0;
    }
    to {
        height: 40px;
        width: 20px;
        opacity: 1;
    }
}

/* --- Loading State Animation --- */

.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: loadingBounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes loadingBounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* --- Win Celebration Confetti (for future integration) --- */

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 9999;
    pointer-events: none;
}

.confetti.efficiency { background: var(--efficiency); }
.confetti.quality { background: var(--quality); }
.confetti.enablement { background: var(--enablement); }
.confetti.primary { background: var(--primary); }

/* --- Reduced Motion Support --- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-visual .phone-frame {
        animation: none;
        box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 77, 0, 0.15);
    }

    .animate-on-scroll {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    /* A/B Toggle - stack on mobile */
    .ab-toggle {
        flex-direction: column;
        right: 10px;
        padding: 10px;
        gap: 8px;
    }

    .ab-toggle span {
        display: none;
    }

    /* Hero Version A - Mobile */
    .hero-a {
        padding-top: 100px;
    }

    .interview-question {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .response-answer {
        font-size: clamp(1.75rem, 7vw, 3rem);
    }

    .hero-proof {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .proof-divider {
        width: 40px;
        height: 1px;
    }

    .hero-a-visual {
        margin-top: 40px;
    }

    /* Hero Version B - Mobile */
    .hero-b-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-b-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-b-headline {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .hero-b-cta {
        justify-content: center;
    }

    .hero-b-trust {
        justify-content: center;
    }

    .hero-b-visual {
        order: -1;
    }

    /* Legacy hero styles */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }

    .phone-frame {
        width: 260px;
    }

    .phone-frame-small {
        width: 200px;
    }

    .how-it-works-visual {
        flex-direction: column;
    }

    .features-showcase {
        flex-direction: column;
        text-align: center;
    }

    .categories-visual {
        flex-direction: column;
        text-align: center;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .unlock-timeline::before {
        display: none;
    }

    .unlock-item {
        flex-direction: column;
        gap: 16px;
    }

    .unlock-badge {
        width: auto;
        align-self: flex-start;
    }
}

@media (max-width: 640px) {
    .nav-links a:not(.btn) {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    /* A/B Toggle - smaller on small screens */
    .ab-toggle {
        top: 70px;
        right: 8px;
    }

    .ab-btn {
        padding: 6px 10px;
        font-size: 0.65rem;
    }

    /* Hero Version A - Small screens */
    .interview-context {
        font-size: 0.875rem;
    }

    .interview-question {
        font-size: 1.5rem;
    }

    .interview-blank {
        font-size: 1.125rem;
    }

    .response-answer {
        font-size: 1.75rem;
    }

    .explain-text {
        font-size: 1rem;
    }

    .hero-proof {
        padding: 16px;
    }

    .proof-number {
        font-size: 1.5rem;
    }

    .proof-text,
    .proof-tagline {
        font-size: 0.875rem;
    }

    /* Hero Version B - Small screens */
    .hero-b-pretext {
        font-size: 0.75rem;
    }

    .hero-b-headline {
        font-size: 1.75rem;
    }

    .hero-b-subtext {
        font-size: 1rem;
    }

    .hero-b-solution {
        font-size: 1rem;
    }

    .hero-b-trust {
        gap: 16px;
    }

    .trust-item {
        font-size: 0.75rem;
    }

    /* Legacy styles */
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .phone-frame {
        width: 220px;
    }

    .phone-frame-small {
        width: 180px;
    }

    .mock-value {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}
