/*
  FILE: styles.css
  LAST UPDATED: v1.2.0 (2026-03-23)
  CHANGE: iOS input font-size fix (16px min), removed quiz card min-heights,
          popup border pulse animation (orange↔white), popup text +50%, close button enlarged,
          prefers-reduced-motion block added
*/

/* ============================= */
/* Color Palette & Variables    */
/* ============================= */
:root {
    --dark-bg: #0f1419;
    --dark-secondary: #1a1f2e;
    --accent-orange: #ff8c42;
    --accent-orange-light: #ffb088;
    --blue-accent: #1e5a96;
    --text-primary: #ffffff;
    --text-secondary: #b0b9c3;
    --border-color: #2a3142;
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

/* ============================= */
/* Global Styles               */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 15% 0%, #0d1b2e 0%, #080d1a 45%, #04060f 100%);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================= */
/* Announcement Banner          */
/* ============================= */
.announcement-banner {
    position: sticky;
    top: 0;
    z-index: 1100;
    overflow: hidden;
    height: 42px;
    display: flex;
    align-items: center;
}

.banner-pulse-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1E5A96, #4fa8e8, #ffffff, #ff8c42, #ff6b35, #4fa8e8, #1E5A96);
    background-size: 400% 100%;
    animation: bannerColorShift 6s linear infinite;
    z-index: 0;
}

@keyframes bannerColorShift {
    0%   { background-position: 0% 0%; }
    100% { background-position: 400% 0%; }
}

.banner-ticker-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.banner-ticker {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 38s linear infinite;
}

.banner-ticker span {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    padding-right: 60px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.banner-ticker strong {
    font-weight: 800;
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================= */
/* Header + Navigation          */
/* ============================= */
.header {
    background: rgba(8, 13, 26, 0.88);
    border-bottom: 1px solid rgba(79, 168, 232, 0.15);
    padding: 14px 0;
    position: sticky;
    top: 42px;
    z-index: 1000;
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(79, 168, 232, 0.12);
}

.nav-cta-btn {
    /* Free-floating — no box, no background */
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 4px 8px;
    margin-left: 12px;
    cursor: pointer;

    /* 200% larger than original 13px */
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;

    /* Tri-color wave gradient — white → orange → vivid blue bands */
    background-image: linear-gradient(
        90deg,
        rgba(200, 220, 255, 0.85)  0%,
        rgba(200, 220, 255, 0.85)  8%,
        #ffffff                    14%,   /* white wave */
        #ffffff                    16%,
        rgba(200, 220, 255, 0.85)  22%,
        rgba(200, 220, 255, 0.85)  40%,
        #ff8c42                    46%,   /* orange wave */
        #ffb347                    48%,
        rgba(200, 220, 255, 0.85)  54%,
        rgba(200, 220, 255, 0.85)  72%,
        #00d4ff                    78%,   /* vivid blue wave */
        #7ec8ff                    80%,
        rgba(200, 220, 255, 0.85)  86%,
        rgba(200, 220, 255, 0.85)  100%
    );
    background-size: 400% auto;
    background-position: 150% center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Dual animation: wave sweep + pulse */
    animation: navWaveSweep 8s linear infinite, navTextPulse 2.2s ease-in-out infinite;
}

@keyframes navWaveSweep {
    0%   { background-position: 150% center; }
    100% { background-position: -150% center; }
}

@keyframes navTextPulse {
    0%, 100% { opacity: 0.82; transform: scale(1); }
    50%       { opacity: 1;    transform: scale(1.05); }
}

.nav-cta-btn:hover {
    animation: navWaveSweep 4s linear infinite, navTextPulse 1s ease-in-out infinite;
    opacity: 1;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 20px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(8, 13, 26, 0.97);
        flex-direction: column;
        padding: 16px;
        gap: 8px;
        border-bottom: 1px solid rgba(79,168,232,0.15);
        backdrop-filter: blur(16px);
    }
    .main-nav.open { display: flex; }
    .header-inner { position: relative; }
    .announcement-banner { height: 36px; }
    .banner-ticker span { font-size: 11px; }
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* ============================= */
/* Hero Section with Stats      */
/* ============================= */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, rgba(30, 90, 150, 0.05) 50%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

/* Z-Axis Parallax Background Effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 140, 66, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 90, 150, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Starfield animation */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 5% 8%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 12% 15%, #00d4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 18% 22%, #ff8c42, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 25% 12%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 32% 28%, #00b4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 38% 5%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 45% 18%, #ff8c42, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 52% 25%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 58% 10%, #00d4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 65% 20%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 72% 32%, #ff8c42, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 78% 8%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 85% 15%, #00b4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 92% 24%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 8% 35%, #ff8c42, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 15% 45%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 22% 55%, #00d4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 28% 40%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 35% 65%, #ff8c42, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 42% 48%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50% 60%, #00b4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 55% 38%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 62% 72%, #ff8c42, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 68% 50%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 75% 58%, #00d4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 82% 42%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 88% 65%, #ff8c42, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 95% 52%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 10% 70%, #00b4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 20% 78%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 30% 82%, #ff8c42, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 40% 75%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 48% 88%, #00d4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 58% 80%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 68% 85%, #ff8c42, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 78% 70%, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 85% 80%, #00b4ff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 92% 75%, #ffffff, rgba(0, 0, 0, 0));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation: twinkle 6s infinite alternate;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Inter', 'Roboto', sans-serif;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Inter', 'Roboto', sans-serif;
    text-align: center;
    margin-bottom: 20px;
    color: #F15A24;
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out 0.1s backwards;
}

.hero-citation {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out 0.2s backwards;
}

/* Hero Content Wrapper - Two Column Layout */
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.hero-graphics {
    transform: scale(0.5);
    transform-origin: left center;
    margin-right: -50%;
}

.hero-graphics .hero-title {
    font-size: 24px;
    text-align: left;
    margin-bottom: 15px;
}

.hero-graphics .hero-subtitle {
    text-align: left;
    margin-bottom: 20px;
}

.hero-graphics .hero-citation {
    text-align: left;
    margin-bottom: 30px;
}

.hero-video {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-video iframe {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(255, 140, 66, 0.2);
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-graphics {
        transform: scale(1);
        margin-right: 0;
    }

    .hero-graphics .hero-title {
        text-align: center;
    }

    .hero-graphics .hero-subtitle {
        text-align: center;
    }

    .hero-graphics .hero-citation {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-video iframe {
        height: 300px;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.stat-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 140, 66, 0.1);
}

/* Sticky Countdown Animation */
.stat-number {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    opacity: 0;
    transition: filter 0.2s ease;
}

/* Shown by JS when counting starts */
.stat-number.stat-visible {
    opacity: 1;
}

/* White glow burst when card hits its final number */
.stat-number.stat-reached {
    animation: statReachedPulse 0.7s ease-out forwards;
}

@keyframes statReachedPulse {
    0%   {
        -webkit-text-fill-color: transparent;
        filter: none;
        transform: scale(1);
    }
    30%  {
        -webkit-text-fill-color: #ffffff;
        filter:
            drop-shadow(0 0 12px rgba(255,255,255,1))
            drop-shadow(0 0 28px rgba(255,255,255,0.8))
            drop-shadow(0 0 55px rgba(255,255,255,0.5));
        transform: scale(1.18);
    }
    65%  {
        -webkit-text-fill-color: #ffe8cc;
        filter:
            drop-shadow(0 0 8px rgba(255,200,120,0.8))
            drop-shadow(0 0 20px rgba(255,160,60,0.5));
        transform: scale(1.07);
    }
    100% {
        -webkit-text-fill-color: transparent;
        filter: none;
        transform: scale(1);
    }
}

.stat-label {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

.stat-citation {
    font-size: 10px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 12px;
    opacity: 0.9;
}

/* Cascading stat card animation */
.stat-card {
    opacity: 0;
    animation: none;
}

.stat-card[data-stat-index="0"] {
    animation: cascadeIn 0.6s ease-out 0s forwards;
}

.stat-card[data-stat-index="1"] {
    animation: cascadeIn 0.6s ease-out 1.5s forwards;
}

.stat-card[data-stat-index="2"] {
    animation: cascadeIn 0.6s ease-out 3s forwards;
}

.stat-card[data-stat-index="3"] {
    animation: cascadeIn 0.6s ease-out 4.5s forwards;
}

.stat-card[data-stat-index="4"] {
    animation: cascadeIn 0.6s ease-out 6s forwards;
}

.stat-card[data-stat-index="5"] {
    animation: cascadeIn 0.6s ease-out 7.5s forwards;
}

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

/* ============================= */
/* Timer & Typewriter Section   */
/* ============================= */
.timer-urgency-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.1) 0%, rgba(255, 140, 66, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.countdown-timer {
    flex-shrink: 0;
}

.timer-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border: 3px solid var(--accent-orange);
    border-radius: 50%;
    position: relative;
}

.timer-display::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top: 3px solid var(--accent-orange);
    border-right: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: timerSpin 2s linear infinite;
}

#timerValue {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-orange);
    position: relative;
    z-index: 1;
}

.timer-label {
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.typewriter-content {
    flex: 1;
}

.typewriter-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.typewriter-text span {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    background: linear-gradient(90deg, #00b4ff 0%, #00d4ff 30%, #ffffff 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: typewriter 2s steps(40, end) forwards;
    animation-fill-mode: forwards;
    overflow: hidden;
    white-space: normal;
    opacity: 0;
}

.typewriter-text span:nth-child(2) {
    animation-delay: 2.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.typewriter-text span:nth-child(3) {
    animation-delay: 5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@media (max-width: 768px) {
    .timer-urgency-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .typewriter-text span {
        font-size: 16px;
    }
}

/* ============================= */
/* Animations                   */
/* ============================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes liquidReveal {
    0% {
        clip-path: polygon(0 100%, 0 100%, 0% 100%, 0% 100%);
    }
    100% {
        clip-path: polygon(0 100%, 100% 100%, 100% 0%, 0% 0%);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 140, 66, 0);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 140, 66, 0.3);
    }
}

@keyframes gridReflow {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.grid-reflow {
    animation: gridReflow 0.6s ease-out;
}

/* ========================================
   COMPUTING SCREEN
   ======================================== */
.computing-screen {
    text-align: center;
    padding: 40px 20px;
    /* min-height removed — fixed heights break landscape mobile layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.computing-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.computing-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

/* Lock icon shake animation */
@keyframes lockShake {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-8deg); }
    30% { transform: rotate(8deg); }
    45% { transform: rotate(-6deg); }
    60% { transform: rotate(6deg); }
    75% { transform: rotate(-3deg); }
    90% { transform: rotate(3deg); }
}

.lock-icon.shake {
    animation: lockShake 0.7s ease-in-out 0.3s both;
    display: block;
}

/* Data stream animation */
.data-stream {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 280px;
}

@keyframes streamSlide {
    0% { width: 0; opacity: 0.4; }
    50% { opacity: 1; }
    100% { width: 100%; opacity: 0.3; }
}

.stream-line {
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #1E5A96, #4fa8e8, #00d4ff);
    animation: streamSlide 0.8s ease-in-out infinite alternate;
}

.stream-line:nth-child(1) { animation-delay: 0s; }
.stream-line:nth-child(2) { animation-delay: 0.15s; }
.stream-line:nth-child(3) { animation-delay: 0.3s; }
.stream-line:nth-child(4) { animation-delay: 0.45s; }
.stream-line:nth-child(5) { animation-delay: 0.6s; }

/* ========================================
   RECOMMENDATIONS BOX
   ======================================== */
.recommendations-box {
    background: rgba(30, 90, 150, 0.15);
    border: 1px solid rgba(30, 90, 150, 0.35);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: left;
}

.rec-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.rec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rec-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.rec-check {
    color: #4fa8e8;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================= */
/* Comparison Section           */
/* ============================= */
.comparison {
    padding: 80px 0;
    background: var(--dark-bg);
}

.comparison-section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.comparison-section-sub {
    text-align: center;
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.comparison-card {
    background: var(--dark-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.comparison-card.old-way {
    border-color: #3a3a3a;
    background: linear-gradient(135deg, #0e0e14 0%, #111117 100%);
}

.comparison-card.hybrid-way {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, #0d1a2e 0%, #0f1f35 60%, rgba(255, 140, 66, 0.06) 100%);
    box-shadow: 0 0 50px rgba(255, 140, 66, 0.12), 0 0 100px rgba(30, 90, 150, 0.08);
}

.comparison-header {
    margin-bottom: 20px;
}

.comparison-label {
    font-size: 26px;
    font-weight: 900;
    display: inline-block;
    padding: 10px 22px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.comparison-card.old-way .comparison-label {
    background: rgba(100, 20, 20, 0.3);
    color: #ff5555;
    border: 1px solid rgba(255,60,60,0.35);
    text-shadow: 0 0 12px rgba(255,60,60,0.5);
}

.comparison-card.hybrid-way .comparison-label {
    background: rgba(255, 140, 66, 0.15);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 140, 66, 0.3);
    box-shadow: 0 0 12px rgba(255, 140, 66, 0.2);
    font-size: 26px;
}

/* --- Extinction Video (Old Way) --- */
.extinction-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin: 0 0 14px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(255, 60, 60, 0.2), 0 8px 32px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,60,60,0.2);
}

.extinction-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.extinction-caption {
    font-size: 14px;
    color: #cc4444;
    font-style: italic;
    font-weight: 600;
    margin: 8px 0 0;
    text-shadow: 0 0 10px rgba(255,60,60,0.4);
}

.old-way-desc {
    font-size: 17px;
    color: #bbb;
    line-height: 1.7;
    margin: 0 0 22px;
    border-left: 3px solid rgba(255,60,60,0.5);
    padding-left: 14px;
    font-style: italic;
}

/* Old Way list — typewrite-in effect, then fade to grey */
.old-way-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

@keyframes typewriteIn {
    from { opacity: 0; max-height: 0; transform: translateX(-8px); }
    to { opacity: 1; max-height: 80px; transform: translateX(0); }
}

@keyframes fadeDim {
    from { color: #ffffff; }
    to   { color: #777; }
}

.typewrite-item {
    padding: 12px 0 12px 36px;
    position: relative;
    font-size: 18px;
    color: #999;
    border-bottom: 1px solid #252525;
    opacity: 0;
    overflow: hidden;
    line-height: 1.45;
}

.typewrite-item::before {
    content: '✕';
    position: absolute;
    left: 0;
    /* Red glowing X */
    color: #ff2222;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    top: 13px;
    text-shadow:
        0 0 6px  rgba(255,30,30,1),
        0 0 14px rgba(255,30,30,0.85),
        0 0 28px rgba(255,30,30,0.5);
    animation: xGlowPulse 2s ease-in-out infinite;
}

@keyframes xGlowPulse {
    0%, 100% {
        text-shadow:
            0 0 6px  rgba(255,30,30,0.9),
            0 0 14px rgba(255,30,30,0.7),
            0 0 28px rgba(255,30,30,0.4);
    }
    50% {
        text-shadow:
            0 0 8px  rgba(255,60,60,1),
            0 0 20px rgba(255,30,30,1),
            0 0 40px rgba(255,30,30,0.7),
            0 0 60px rgba(255,0,0,0.35);
    }
}

.typewrite-item.revealed {
    animation: typewriteIn 0.5s ease-out forwards, fadeDim 1.8s ease-out 0.7s forwards;
}

/* --- Hybrid Advisor Visual --- */
.hybrid-visual {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.hybrid-video-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 24px;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hybrid-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 60px; height: 60px;
    border-color: rgba(255,140,66,0.5);
    animation: orbitSpin 4s linear infinite;
}
.ring-2 {
    width: 90px; height: 90px;
    border-color: rgba(30,90,150,0.5);
    animation: orbitSpin 7s linear infinite reverse;
}
.ring-3 {
    width: 120px; height: 120px;
    border-color: rgba(79,168,232,0.3);
    animation: orbitSpin 12s linear infinite;
}

@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 36px; height: 36px;
    background: radial-gradient(circle, #ff8c42, #1E5A96);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255,140,66,0.6), 0 0 40px rgba(30,90,150,0.4);
    animation: coreGlow 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes coreGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255,140,66,0.6), 0 0 40px rgba(30,90,150,0.4); }
    50% { box-shadow: 0 0 35px rgba(255,140,66,0.9), 0 0 60px rgba(79,168,232,0.5); }
}

.orbit-icon { font-size: 18px; }

.orbit-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    top: 50%; left: 50%;
}

.dot-1 {
    background: #ff8c42;
    animation: dotOrbit1 4s linear infinite;
    box-shadow: 0 0 6px #ff8c42;
}
.dot-2 {
    background: #4fa8e8;
    animation: dotOrbit2 7s linear infinite;
    box-shadow: 0 0 6px #4fa8e8;
}
.dot-3 {
    background: #fff;
    animation: dotOrbit3 12s linear infinite;
    box-shadow: 0 0 6px #fff;
}

@keyframes dotOrbit1 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(30px); }
    to   { transform: translate(-50%, -50%) rotate(360deg) translateX(30px); }
}
@keyframes dotOrbit2 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(45px); }
    to   { transform: translate(-50%, -50%) rotate(360deg) translateX(45px); }
}
@keyframes dotOrbit3 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(60px); }
    to   { transform: translate(-50%, -50%) rotate(360deg) translateX(60px); }
}

/* Hybrid definition text */
.hybrid-definition {
    background: rgba(30, 90, 150, 0.1);
    border-left: 3px solid #4fa8e8;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    margin: 0 0 24px;
}

.hybrid-def-text {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin: 0 0 10px;
}

.hybrid-def-text:last-child { margin: 0; }

/* Hybrid list items */
.hybrid-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hybrid-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,140,66,0.15);
    border-radius: 10px;
    padding: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hybrid-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,140,66,0.06) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.hybrid-item:hover::before { opacity: 1; }
.hybrid-item:hover {
    border-color: rgba(255,140,66,0.4);
    transform: translateX(4px);
    box-shadow: 0 0 20px rgba(255,140,66,0.1);
}

.hybrid-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

.hybrid-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hybrid-item strong {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.hybrid-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

/* --- Hero Headline Big --- */
@keyframes heroGlowPulse {
    0%   { text-shadow: 0 0 20px rgba(79,168,232,0.8), 0 0 40px rgba(79,168,232,0.4); color: #4fa8e8; }
    40%  { text-shadow: 0 0 30px rgba(255,255,255,0.9), 0 0 60px rgba(255,255,255,0.5); color: #ffffff; }
    70%  { text-shadow: 0 0 25px rgba(255,140,66,0.9), 0 0 50px rgba(255,140,66,0.5); color: #ff8c42; }
    100% { text-shadow: 0 0 20px rgba(79,168,232,0.8), 0 0 40px rgba(79,168,232,0.4); color: #4fa8e8; }
}

@keyframes shimmerFlow {
    0% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.hero-headline-big {
    font-size: 44px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    -webkit-text-fill-color: unset !important;
    background: none !important;
    animation: heroGlowPulse 3s ease-in-out infinite !important;
    display: block;
    margin-bottom: 16px;
}

/* Hero headline extra large with shimmer */
.hero-headline-xl {
    font-size: 40px !important;
    font-weight: 900 !important;
    font-family: 'Inter', 'Montserrat', sans-serif;
    line-height: 1.2 !important;
    white-space: normal !important;
    display: block;
    margin-bottom: 16px;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    letter-spacing: -1px;
}

/* Hero subheading large with delayed shimmer */
.hero-subheading-lg {
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    display: block;
    margin-bottom: 24px;
    color: #E8F4F8 !important;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .comparison-section-title { font-size: 28px; }
    .hero-headline-big { font-size: 28px !important; }
    .hero-headline-xl { font-size: 52px !important; letter-spacing: -1px; }
    .hero-subheading-lg { font-size: 28px !important; }
}

@media (max-width: 480px) {
    .hero-headline-xl { font-size: 36px !important; }
    .hero-subheading-lg { font-size: 20px !important; }
}

/* ============================= */
/* Social Proof Section          */
/* ============================= */
.social-proof-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(30, 90, 150, 0.05) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
}

.proof-header {
    text-align: center;
    margin-bottom: 60px;
}

.proof-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInDown 0.8s ease-out;
}

.proof-header p {
    font-size: 18px;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, rgba(30, 90, 150, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    animation: slideUp 0.6s ease-out 0.2s backwards;
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    margin-bottom: 30px;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.quote-icon {
    color: var(--accent-orange);
    margin-bottom: 15px;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

.testimonial-attribution {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.attribution-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.attribution-title {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.proof-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.metric-item {
    padding: 20px;
    background: rgba(255, 140, 66, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.metric-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-orange);
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.source-link {
    color: var(--accent-orange);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-orange);
    transition: all 0.3s ease;
}

.source-link:hover {
    color: #ffb088;
    border-bottom-color: #ffb088;
}

@media (max-width: 768px) {
    .proof-header h2 {
        font-size: 28px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .proof-metrics {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* AI Imperative Section         */
/* ============================= */
.ai-imperative-section {
    padding: 100px 0;
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.ai-imperative-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 30%, rgba(30, 90, 150, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 70%, rgba(255, 140, 66, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 10%, rgba(79, 168, 232, 0.1) 0%, transparent 40%);
    animation: meshPulse 10s ease-in-out infinite alternate-reverse;
    pointer-events: none;
    z-index: 0;
}

.ai-imperative-section > * { position: relative; z-index: 1; }

.imperative-header {
    text-align: center;
    margin-bottom: 70px;
}

.imperative-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInDown 0.8s ease-out;
}

.imperative-subtitle {
    font-size: 24px;
    color: var(--accent-orange);
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.imperative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 70px;
}

.imperative-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out backwards;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.imperative-card:hover {
    border-color: rgba(255, 140, 66, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 140, 66, 0.2);
}

.imperative-card:active {
    border-color: #f5d76e;
    background: rgba(245, 215, 110, 0.08);
    transform: translateY(-8px) scale(0.98);
    box-shadow: 0 0 40px rgba(245, 215, 110, 0.6), inset 0 0 20px rgba(245, 215, 110, 0.2);
    transition: all 0.1s ease;
}

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

.imperative-card:hover::before {
    left: 100%;
    transition: 0.7s;
}

.imperative-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.imperative-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 140, 66, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 140, 66, 0.2);
    color: var(--accent-orange);
    transition: all 0.3s ease;
}

.imperative-card:hover .imperative-icon {
    background: var(--accent-orange);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.4);
}

.imperative-number {
    font-size: 42px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 0;
    transition: all 0.4s ease;
}

.imperative-card:hover .imperative-number {
    color: rgba(255, 140, 66, 0.15);
    -webkit-text-stroke: 1px rgba(255, 140, 66, 0.5);
    transform: scale(1.2) translateY(-5px);
}

.imperative-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.imperative-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.tech-confluence {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.tech-confluence h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.confluence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.confluence-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 140, 66, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.confluence-item:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 140, 66, 0.1);
}

.confluence-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
}

.confluence-icon svg {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 100px;
}

.quantum-processor,
.data-nebula,
.neural-brain {
    filter: drop-shadow(0 0 8px rgba(30, 136, 229, 0.3));
    transition: filter 0.3s ease;
}

.confluence-item:hover .quantum-processor,
.confluence-item:hover .data-nebula,
.confluence-item:hover .neural-brain {
    filter: drop-shadow(0 0 16px rgba(30, 136, 229, 0.6));
}

.confluence-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.quote-section {
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.2) 0%, rgba(255, 140, 66, 0.1) 100%);
    border-left: 4px solid var(--accent-orange);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    animation: slideUp 0.6s ease-out 0.2s backwards;
}

.quote-section blockquote {
    font-size: 22px;
    font-style: italic;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.quote-attribution {
    font-size: 16px;
    color: var(--accent-orange);
    font-weight: 700;
}

@media (max-width: 768px) {
    .ai-imperative-section {
        padding: 60px 0;
    }

    .imperative-header h2 {
        font-size: 32px;
    }

    .imperative-subtitle {
        font-size: 18px;
    }

    .tech-confluence {
        padding: 30px;
    }

    .tech-confluence h3 {
        font-size: 22px;
    }

    .quote-section blockquote {
        font-size: 18px;
    }
}

/* ============================= */
/* Urgency Banner               */
/* ============================= */
.urgency-banner {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 100%);
    padding: 16px 0;
    text-align: center;
    border-bottom: 2px solid #ff5722;
    animation: slideDown 0.6s ease-out;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.urgency-icon {
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================= */
/* Quiz CTA Section — Mesh BG   */
/* ============================= */
.quiz-cta {
    padding: 80px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.quiz-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 140, 66, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 90, 150, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(79, 168, 232, 0.15) 0%, transparent 50%);
    animation: meshPulse 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.quiz-cta > * { position: relative; z-index: 1; }

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInDown 0.8s ease-out;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Grid Reflow Button */
.cta-button {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 100%);
    color: white;
    border: none;
    padding: 16px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* ============================= */
/* MBA Section                  */
/* ============================= */
.mba-section {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
}

.mba-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(30, 90, 150, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 140, 66, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.mba-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mba-title .highlight {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mba-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

/* ============================= */
/* Premium Animated Venn Diagram */
/* ============================= */
.venn-eyebrow {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.venn-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 20px;
    min-height: 280px;
}

.venn-video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 20px;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
}

.venn-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.vcl-sub {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255, 230, 100, 0.85);
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* Circle labels */
.vc-label-wrap {
    position: absolute;
    bottom: -56px;
    text-align: center;
    width: 100%;
}

.vc-label-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.vc-left .vc-label-title {
    color: #00d4ff;
    text-shadow: 0 0 14px rgba(0, 212, 255, 0.8);
}

.vc-right .vc-label-title {
    color: #ff8c00;
    text-shadow: 0 0 14px rgba(255, 140, 0, 0.8);
}

.vc-label-sub {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
}

/* Venn caption */
.venn-caption {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #f5d76e;
    text-shadow: 0 0 15px rgba(245, 215, 110, 0.5);
    text-transform: uppercase;
    margin-top: 85px;
    padding: 20px 30px;
    border-top: 1px solid rgba(245, 215, 110, 0.3);
    border-bottom: 1px solid rgba(245, 215, 110, 0.1);
    background: linear-gradient(90deg, transparent, rgba(245, 215, 110, 0.05), transparent);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    animation: goldPulse 4s infinite alternate ease-in-out;
}

@keyframes goldPulse {
    0% { filter: drop-shadow(0 0 0px rgba(245, 215, 110, 0)); }
    100% { filter: drop-shadow(0 0 10px rgba(245, 215, 110, 0.3)); }
}

/* Venn Definition Typewriter Block */
.venn-definition-block {
    display: flex;
    gap: 0;
    max-width: 820px;
    margin: 50px auto 0;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.vdd-left, .vdd-right {
    flex: 1;
    padding: 35px 35px 30px;
    transition: background 0.3s ease;
}

.vdd-left:hover { background: rgba(0, 212, 255, 0.05); }
.vdd-right:hover { background: rgba(255, 140, 0, 0.05); }

.vdd-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
    flex-shrink: 0;
}

.vdd-label {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vdd-left .vdd-label  { color: #00d4ff; text-shadow: 0 0 10px rgba(0, 212, 255, 0.4); }
.vdd-left .vdd-label::before { content: "💡"; font-size: 16px; }

.vdd-right .vdd-label { color: #ff8c00; text-shadow: 0 0 10px rgba(255, 140, 0, 0.4); }
.vdd-right .vdd-label::before { content: "📈"; font-size: 16px; }

.vdd-text {
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 300;
    min-height: 80px;
}

.vdd-sources {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.vdd-source {
    font-size: 12px;
    color: rgba(220,235,255,0.65);
    font-style: italic;
    transition: color 0.3s ease;
}

.vdd-source:hover { color: #ffffff; }
.vdd-source::before { content: '— '; }

@media (max-width: 600px) {
    .venn-definition-block { flex-direction: column; }
    .vdd-divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent); }
    .vdd-left, .vdd-right { padding: 20px; }
}

/* Alternating color glow timing offset between left/right */
.vc-left { animation: vcLeftBreathe 4s ease-in-out infinite; }
.vc-right { animation: vcRightBreathe 4s ease-in-out infinite 2s; }

@keyframes vcLeftBreathe {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(0, 200, 255, 0.65)); }
}
@keyframes vcRightBreathe {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 140, 0, 0.65)); }
}

/* Responsive */
@media (max-width: 600px) {
    .venn-stage {
        flex-direction: column;
        min-height: auto;
        gap: 0;
    }
    .vc-left { margin-right: 0; margin-bottom: -60px; z-index: 3; }
    .vc-right { margin-left: 0; }
    .venn-circle, .vc-inner { width: 210px; height: 210px; }
    .venn-center-label { top: 50%; }
    .vc-label-wrap { position: relative; bottom: auto; margin-top: 12px; }
    .venn-caption { margin-top: 30px; }
}

/* ============================= */
/* Inline Quiz Section          */
/* ============================= */
.inline-quiz-section {
    padding: 80px 0 60px;
    position: relative;
    z-index: 2;
}

.inline-quiz-hook {
    text-align: center;
    margin-bottom: 40px;
}

.iq-badge {
    display: inline-block;
    background: linear-gradient(90deg, rgba(79,168,232,0.2), rgba(255,140,0,0.2));
    border: 1px solid rgba(79,168,232,0.4);
    color: #7ec8ff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.18em;
    padding: 12px 36px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 18px;
    animation: iqBadgePulse 2s ease-in-out infinite, iqBadgeGlow 2s ease-in-out infinite;
}

@keyframes iqBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(79,168,232,0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(79,168,232,0.8), 0 0 60px rgba(255,140,0,0.5);
    }
}

@keyframes iqBadgeGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(79,168,232,0.3); }
    50% { text-shadow: 0 0 20px rgba(79,168,232,0.8), 0 0 30px rgba(255,140,0,0.5); }
}

.iq-headline {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 14px;
    position: relative;
}

.iq-headline {
    /* Find Out text animation */
    background: linear-gradient(90deg, #4fa8e8, #ff8c42, #ffffff, #4fa8e8);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: findOutGlowPulse 4s ease infinite;
    filter: drop-shadow(0 0 8px rgba(79, 168, 232, 0.5)) drop-shadow(0 0 15px rgba(255, 140, 0, 0.3));
}

@keyframes findOutGlowPulse {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 8px rgba(79, 168, 232, 0.5)) drop-shadow(0 0 15px rgba(255, 140, 0, 0.3));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 20px rgba(79, 168, 232, 0.8)) drop-shadow(0 0 30px rgba(255, 140, 0, 0.6));
    }
}

.iq-highlight {
    background: linear-gradient(90deg, #ff0000, #ff8c42, #ffffff, #ff0000);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: aiReadyColorPulse 4s ease infinite;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5)) drop-shadow(0 0 15px rgba(255, 140, 0, 0.4));
}

@keyframes aiReadyColorPulse {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5)) drop-shadow(0 0 15px rgba(255, 140, 0, 0.4));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(255, 140, 0, 0.7));
    }
}

.iq-sub {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

/* Typewriter animation */
.typewriter-container {
    font-family: 'Courier New', monospace !important;
    letter-spacing: 0.05em;
}

.typewriter-text {
    color: #ffffff;
    display: inline;
}

.typewriter-text.complete {
    color: #ffd700;
    animation: goldPulseGlow 0.6s ease-in-out 2;
}

@keyframes goldPulseGlow {
    0%, 100% {
        color: #ffd700;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
    }
    50% {
        color: #ffff99;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.9), 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

.typewriter-cursor {
    display: inline-block;
    animation: blink 0.7s infinite;
    margin-left: 2px;
    color: #ffffff;
}

.typewriter-cursor.done {
    display: none;
}

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

/* Get the Book button */
.get-book-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 32px;
    background-color: var(--accent-orange);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.get-book-btn:hover {
    background-color: var(--accent-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
}

/* Quiz card wrapper */
.inline-quiz-card {
    max-width: 680px;
    margin: 0 auto;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(79,168,232,0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(79,168,232,0.1), 0 20px 60px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
}

/* Card header */
.iq-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: linear-gradient(90deg, rgba(15,30,55,0.9), rgba(20,40,70,0.7));
    border-bottom: 1px solid rgba(79,168,232,0.2);
}

.iq-lock-ring {
    position: relative;
    flex-shrink: 0;
}

.iq-lock-svg {
    display: block;
    animation: iqLockShake 4s ease-in-out infinite;
}

@keyframes iqLockShake {
    0%, 85%, 100% { transform: rotate(0deg); }
    87% { transform: rotate(-4deg); }
    89% { transform: rotate(4deg); }
    91% { transform: rotate(-3deg); }
    93% { transform: rotate(0deg); }
}

.iq-lock-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,168,232,0.3) 0%, transparent 70%);
    animation: iqGlowPulse 2.5s ease-in-out infinite;
}

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

.iq-header-text {
    flex: 1;
}

.iq-header-title {
    font-size: 14px;
    font-weight: 700;
    color: #4fa8e8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.iq-header-sub {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 3px;
}

/* Data stream animation bars */
.iq-data-stream {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 32px;
}

.iq-stream-bar {
    width: 4px;
    border-radius: 2px;
    background: #4fa8e8;
    animation: iqBarPulse 1.2s ease-in-out infinite;
}

.iq-stream-bar:nth-child(1) { animation-delay: 0s; }
.iq-stream-bar:nth-child(2) { animation-delay: 0.15s; }
.iq-stream-bar:nth-child(3) { animation-delay: 0.3s; }
.iq-stream-bar:nth-child(4) { animation-delay: 0.45s; }

@keyframes iqBarPulse {
    0%, 100% { height: 8px; opacity: 0.4; }
    50% { height: 28px; opacity: 1; }
}

/* Quiz body */
.iq-body {
    padding: 32px 40px 40px;
    /* min-height removed — fixed heights break landscape mobile layout */
    border: 3px solid white !important;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2) !important;
    animation: quizBorderGlow 2s ease-in-out infinite;
}

@keyframes quizBorderGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 600px) {
    .iq-body { padding: 24px 20px 32px; }
    .iq-card-header { padding: 16px 20px; }
}

/* ============================= */
/* Becoming Section             */
/* ============================= */
.becoming-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-secondary) 0%, rgba(30, 90, 150, 0.05) 100%);
}

.becoming-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.becoming-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 60px;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.skill-card {
    background: var(--dark-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    animation: gridReflow 0.6s ease-out;
}

.skill-card.strategic-app {
    border-color: var(--blue-accent);
    background: linear-gradient(135deg, var(--dark-secondary) 0%, rgba(30, 90, 150, 0.1) 100%);
}

.skill-card.technical-prof {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, var(--dark-secondary) 0%, rgba(255, 140, 66, 0.1) 100%);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.skill-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 140, 66, 0.1);
    color: var(--accent-orange);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.skill-card:hover .skill-icon {
    background: rgba(255, 140, 66, 0.2);
    color: #ffb088;
    transform: scale(1.1);
}

.skill-card h3 {
    font-size: 24px;
    font-weight: 700;
}

.skill-card.strategic-app h3 {
    color: var(--blue-accent);
}

.skill-card.technical-prof h3 {
    color: var(--accent-orange);
}

.skill-list {
    list-style: none;
    margin-bottom: 20px;
}

.skill-list li {
    padding: 15px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(176, 185, 195, 0.1);
}

.skill-list li:last-child {
    border-bottom: none;
}

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

.skill-footer {
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
}

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

/* ============================= */
/* Modal / Quiz                 */
/* ============================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 95%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.close:hover {
    color: var(--accent-orange);
}

/* ============================= */
/* Popup Modals                  */
/* ============================= */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.popup-modal.show {
    display: flex;
}

.popup-content {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, rgba(30, 90, 150, 0.1) 100%);
    border: 3px solid var(--accent-orange);
    border-radius: 12px;
    padding: 40px;
    max-width: 660px;
    width: 95%;
    position: relative;
    animation: popupSpring 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both,
               popupBorderPulse 3s ease-in-out 0.65s infinite;
    box-shadow: 0 25px 50px rgba(255, 140, 66, 0.3);
}

@keyframes popupBorderPulse {
    0%, 100% { border-color: var(--accent-orange); }
    50%       { border-color: #ffffff; }
}

.popup-close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    color: var(--accent-orange);
    transition: all 0.2s;
    width: 52px;   /* enlarged for easy mobile tap */
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 140, 66, 0.1);
}

.popup-close:hover {
    background: rgba(255, 140, 66, 0.2);
    transform: rotate(90deg);
}

.popup-body {
    text-align: center;
}

.popup-icon {
    font-size: 48px;
    margin-bottom: 20px;
    animation: bounce 0.6s ease-out;
}

.popup-content h3 {
    font-size: 36px; /* +50% from 24px */
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.popup-description {
    font-size: 22px; /* +50% from 15px */
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.popup-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-bg);
    border: 1px solid var(--accent-orange);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem; /* 16px min — prevents iOS auto-zoom on tap */
    font-family: inherit;
    transition: all 0.3s ease;
}

.popup-input:focus {
    outline: none;
    border-color: #ffb088;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.15);
    background: rgba(255, 140, 66, 0.05);
}

.popup-input::placeholder {
    color: var(--text-secondary);
}

.popup-button {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 100%);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 21px; /* +50% from 15px */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.4);
}

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

.popup-privacy {
    font-size: 18px; /* +50% from 12px */
    color: var(--text-secondary);
}

.submission-success {
    text-align: center;
    padding: 40px 20px;
    animation: slideUp 0.4s ease-out;
}

.submission-success p {
    font-size: 18px;
    font-weight: 700;
    color: #4caf50;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

@media (max-width: 768px) {
    .popup-content {
        padding: 25px;
    }

    .popup-content h3 {
        font-size: 27px; /* scaled down from 36px but still +50% from original 20px */
    }

    .popup-description {
        font-size: 18px; /* scaled down from 22px but still +50% from original 14px */
    }

    .popup-button {
        font-size: 18px; /* comfortable tap size on mobile */
    }
}

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

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

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

@keyframes typewriter {
    from {
        opacity: 1;
        clip-path: inset(0 100% 0 0);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0% 0 0);
    }
}

@keyframes timerSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes countdownPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 140, 66, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 66, 0);
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.3;
    }
}

/* ============================= */
/* Quiz Styles                  */
/* ============================= */
.quiz-question, .quiz-results {
    animation: slideUp 0.4s ease-out;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange) 0%, #ff6b35 100%);
    transition: width 0.3s ease;
}

.question-text {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.question-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
}

.option-btn:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 140, 66, 0.1);
    transform: translateX(8px);
}

.option-btn:active {
    transform: scale(0.98);
}

/* Results Screen */
.quiz-results {
    text-align: center;
}

.score-circle {
    width: 180px;
    height: 180px;
    border: 4px solid;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    box-shadow: 0 0 40px rgba(255, 140, 66, 0.2);
}

.score-number {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 10px;
}

.score-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.results-message {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.results-breakdown {
    background: var(--dark-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.results-breakdown h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breakdown-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-q {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.breakdown-a {
    color: var(--accent-orange);
    font-size: 14px;
}

.results-cta {
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
}

.results-cta p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 14px;
}

/* ============================= */
/* Email Gate Form               */
/* ============================= */
/* ============================= */
/* 3D Lock + Unlock Animation   */
/* ============================= */
.gate-lock-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    width: 140px;
    height: 170px;
}

.gate-lock-svg {
    width: 130px;
    height: 158px;
    filter: drop-shadow(0 0 16px rgba(255, 130, 0, 0.6));
    transform-origin: center 70%;
}

.lock-aura {
    animation: lockAuraPulse 2s ease-in-out infinite;
}

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

/* Gentle shake — waiting for email */
.lock-gentle-shake {
    animation: gentleShake 2.4s ease-in-out infinite;
}

@keyframes gentleShake {
    0%,  100% { transform: rotate(0deg); }
    10%        { transform: rotate(-5deg); }
    25%        { transform: rotate(5deg); }
    40%        { transform: rotate(-4deg); }
    55%        { transform: rotate(4deg); }
    70%        { transform: rotate(-2deg); }
    85%        { transform: rotate(2deg); }
}

/* Violent shake — on submit */
.lock-violent-shake {
    animation: violentShake 1.15s ease-in-out forwards;
}

@keyframes violentShake {
    0%   { transform: rotate(0deg)   translateX(0); }
    5%   { transform: rotate(-14deg) translateX(-9px); }
    10%  { transform: rotate(14deg)  translateX(9px); }
    15%  { transform: rotate(-18deg) translateX(-12px); }
    20%  { transform: rotate(18deg)  translateX(12px); }
    28%  { transform: rotate(-22deg) translateX(-16px); }
    36%  { transform: rotate(22deg)  translateX(16px); }
    44%  { transform: rotate(-18deg) translateX(-12px); }
    52%  { transform: rotate(18deg)  translateX(12px); }
    60%  { transform: rotate(-24deg) translateX(-18px); }
    68%  { transform: rotate(24deg)  translateX(18px); }
    76%  { transform: rotate(-10deg) translateX(-6px); }
    84%  { transform: rotate(10deg)  translateX(6px); }
    92%  { transform: rotate(-3deg)  translateX(-2px); }
    100% { transform: rotate(0deg)   translateX(0);    }
}

/* Shackle pops open */
#glShackle {
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: 73px 66px;
}

#glShackle.shackle-open {
    transform: translateY(-28px) rotate(28deg);
}

/* Flash ring on unlock */
.lock-flash-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
}

.lock-flash-ring.ring-burst {
    border: 4px solid #ff8c00;
    animation: lockRingBurst 0.7s ease-out forwards;
}

@keyframes lockRingBurst {
    0%   { transform: translate(-50%, -50%) scale(0);  opacity: 1; border-color: #ffffff; }
    30%  { transform: translate(-50%, -50%) scale(4);  opacity: 0.9; border-color: #ffcc00; }
    70%  { transform: translate(-50%, -50%) scale(12); opacity: 0.4; border-color: #ff8c00; }
    100% { transform: translate(-50%, -50%) scale(20); opacity: 0;   }
}

.email-gate-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.email-gate-content {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.email-gate-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.email-gate-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.email-gate-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem; /* 16px min — prevents iOS auto-zoom on tap */
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

.email-gate-button {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.email-gate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 140, 66, 0.3);
}

.email-gate-button:active {
    transform: translateY(0);
}

.gate-arrow {
    font-size: 18px;
}

.email-gate-privacy {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 15px;
}

.animated-in {
    animation: slideUp 0.4s ease-out;
}

/* ============================= */
/* Responsive                   */
/* ============================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .cta-title, .mba-title, .becoming-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 42px;
    }

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

    .modal-content {
        padding: 30px 20px;
    }

    .question-title {
        font-size: 18px;
    }

    .score-circle {
        width: 140px;
        height: 140px;
    }

    .score-number {
        font-size: 42px;
    }
}

/* ========================================
   AUTHOR BIO SECTION
   ======================================== */
.author-bio-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #0a0a1a 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.bio-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 960px;
    margin: 0 auto;
}

/* ========================================
   BOOK — Detailed Cover + Special Effects
   ======================================== */
.bio-book {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 200px;
}

/* --- Aura rings --- */
.book-aura {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.aura-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.ar1 {
    width: 220px; height: 280px;
    border-color: rgba(218,165,32,0.18);
    animation: auraBreath 4s ease-in-out infinite;
}
.ar2 {
    width: 260px; height: 330px;
    border-color: rgba(30, 90, 150, 0.12);
    animation: auraBreath 6s ease-in-out infinite reverse;
}
.ar3 {
    width: 300px; height: 380px;
    border-color: rgba(79, 168, 232, 0.07);
    animation: auraBreath 8s ease-in-out infinite;
}

@keyframes auraBreath {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

/* Floating sparkle particles around book */
.aura-particles { position: absolute; top: 50%; left: 50%; }
.ap {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    animation: sparkleOrbit 5s linear infinite;
}
.ap1 { background: #daa520; animation-duration: 5s; transform-origin: 90px 0; }
.ap2 { background: #4fa8e8; animation-duration: 7s; transform-origin: -100px 30px; animation-delay: -1s; }
.ap3 { background: #ff8c42; animation-duration: 9s; transform-origin: 70px -80px; animation-delay: -3s; }
.ap4 { background: #ffe566; animation-duration: 6s; transform-origin: -80px -60px; animation-delay: -2s; }
.ap5 { background: #64ffda; animation-duration: 11s; transform-origin: 110px 50px; animation-delay: -4s; }
.ap6 { background: #b388ff; animation-duration: 8s; transform-origin: -50px 100px; animation-delay: -5s; }

@keyframes sparkleOrbit {
    from { transform: rotate(0deg) translate(var(--r, 90px)) scale(1); opacity: 0.8; }
    50%  { opacity: 1; transform: rotate(180deg) translate(var(--r, 90px)) scale(1.5); }
    to   { transform: rotate(360deg) translate(var(--r, 90px)) scale(1); opacity: 0.8; }
}

/* --- 3D Book Wrapper --- */
.book-3d-wrap {
    display: flex;
    width: 190px;
    height: 265px;
    position: relative;
    z-index: 1;
    transform: perspective(900px) rotateY(-18deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(-8px 12px 30px rgba(218,165,32,0.35))
            drop-shadow(0 20px 50px rgba(0,0,0,0.6));
    animation: bookFloat 5s ease-in-out infinite;
}

.book-3d-wrap:hover {
    transform: perspective(900px) rotateY(-5deg) rotateX(0deg) scale(1.04);
}

@keyframes bookFloat {
    0%, 100% { transform: perspective(900px) rotateY(-18deg) rotateX(2deg) translateY(0); }
    50% { transform: perspective(900px) rotateY(-18deg) rotateX(2deg) translateY(-10px); }
}

/* Spine */
.book-3d-spine {
    width: 18px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #1a4a1a, #2d6b2d, #1a4a1a);
    border-radius: 3px 0 0 3px;
    border-right: 1px solid rgba(0,0,0,0.3);
}

/* Front Cover */
.book-3d-front {
    flex: 1;
    background: #f8f5e8;
    border-radius: 0 4px 4px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(218,165,32,0.3);
    border-left: none;
}

/* "NEW RELEASE" badge */
.bk-badge {
    position: absolute;
    top: 10px; right: -4px;
    background: linear-gradient(135deg, #1a7acc, #2196F3);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 2px 8px rgba(33,150,243,0.5);
    z-index: 3;
}

/* Title area */
.bk-title-wrap {
    padding: 36px 12px 8px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.bk-title-main {
    font-size: 22px;
    font-weight: 900;
    color: #1a3a1a;
    line-height: 1.1;
    font-family: Georgia, serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.bk-title-sub {
    font-size: 13px;
    font-weight: 700;
    color: #2d5a2d;
    margin-top: 3px;
    line-height: 1.2;
    font-family: Georgia, serif;
}

/* Central SVG graphic area */
.bk-graphic {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(218,165,32,0.08) 0%, transparent 70%);
    z-index: 2;
}

.bk-svg {
    width: 105px;
    height: 105px;
    filter: drop-shadow(0 0 6px rgba(218,165,32,0.6));
}

/* Rotating outer glow ring */
.bk-glow-ring {
    position: absolute;
    width: 100px; height: 100px;
    border-radius: 50%;
    border: 1.5px dashed rgba(218,165,32,0.4);
    animation: bookRingRotate 12s linear infinite;
    pointer-events: none;
}

@keyframes bookRingRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Bottom dark section */
.bk-bottom {
    background: linear-gradient(180deg, #1a3a1a, #0d1e0d);
    padding: 8px 10px;
    z-index: 2;
    position: relative;
}

.bk-framework-title {
    font-size: 7.5px;
    font-weight: 800;
    color: #daa520;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.bk-quote {
    font-size: 6.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    font-style: italic;
}

/* Shimmer effect over the whole book front */
@keyframes bookShimmer {
    0%   { left: -120%; }
    60%, 100% { left: 160%; }
}

.bk-shimmer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.bk-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255,255,255,0.22) 50%,
        transparent 70%
    );
    animation: bookShimmer 5s ease-in-out infinite;
    transform: skewX(-15deg);
}

/* Bio Content */
.bio-content {
    flex: 1;
}

.bio-tag {
    display: inline-block;
    background: rgba(30, 90, 150, 0.25);
    border: 1px solid rgba(30, 90, 150, 0.5);
    color: #4fa8e8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.bio-name {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.1;
}

.bio-headline {
    font-size: 14px;
    color: #D97834;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
}

.bio-description {
    font-size: 15px;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin: 0 0 14px 0;
}

.bio-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}

.credential-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* Why I Built This - High Impact Story Section */
.bio-why-built {
    position: relative;
    padding: 32px 28px !important;
    margin: 40px 0 32px 0 !important;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.12) 0%, rgba(255, 107, 26, 0.08) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #FFB366 0%, #FF8C42 50%, #FF6B1A 100%) 1;
    border-radius: 12px;
    font-size: 16px !important;
    font-weight: 600;
    color: #FFE4D6 !important;
    line-height: 1.9 !important;
    font-style: italic;
    position: relative;
    overflow: hidden;
    animation: storyPulse 4s ease-in-out infinite;
}

.bio-why-built::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 8px;
    font-size: 120px;
    color: rgba(255, 140, 66, 0.15);
    font-family: Georgia, serif;
    z-index: 1;
    line-height: 0.8;
}

.bio-why-built::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        rgba(255, 140, 66, 0) 0%,
        rgba(255, 140, 66, 0.03) 50%,
        rgba(255, 140, 66, 0) 100%);
    animation: storyGlow 6s ease-in-out infinite;
    pointer-events: none;
    border-radius: 12px;
}

.bio-why-built {
    z-index: 2;
    position: relative;
}

@keyframes storyPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 140, 66, 0.2),
                    0 0 40px rgba(255, 107, 26, 0.1),
                    inset 0 0 20px rgba(255, 140, 66, 0.05);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 140, 66, 0.4),
                    0 0 80px rgba(255, 107, 26, 0.2),
                    inset 0 0 30px rgba(255, 140, 66, 0.1);
    }
}

@keyframes storyGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Success CTA in popup */
.success-cta {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
    line-height: 1.5;
}

/* ========================================
   SITE FOOTER
   ======================================== */
.site-footer {
    background: #030308;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #4fa8e8;
}

.footer-divider {
    color: rgba(255,255,255,0.2);
    font-size: 13px;
}

.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.footer-legal p {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .bio-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }
    .bio-credentials {
        grid-template-columns: 1fr;
    }
    .credential-item {
        justify-content: center;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   ADVANCED VISUAL EFFECTS
   ======================================== */

/* --- 1. PARTICLE CANVAS (fixed, full page) --- */
#particleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* --- 2. NOISE/GRAIN OVERLAY --- */
.noise-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    animation: grainShift 0.5s steps(2) infinite;
}

@keyframes grainShift {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-3px, 2px); }
    50%  { transform: translate(2px, -2px); }
    75%  { transform: translate(-1px, 3px); }
    100% { transform: translate(3px, -1px); }
}

/* Ensure all content sits above fixed canvas */
.hero .container,
.header, .announcement-banner,
.comparison, .ai-imperative-section, .social-proof-section,
.urgency-banner, .quiz-cta, .mba-section, .becoming-section,
.author-bio-section, .site-footer, .modal, .popup-modal {
    position: relative;
    z-index: 2;
}

/* --- 3. MESH GRADIENT KEYFRAME --- */
@keyframes meshPulse {
    0%   { opacity: 0.7; transform: scale(1) translateX(0); }
    33%  { opacity: 1; transform: scale(1.04) translateX(-8px); }
    66%  { opacity: 0.85; transform: scale(0.98) translateX(6px); }
    100% { opacity: 1; transform: scale(1.02) translateX(-4px); }
}

/* --- 4. ENHANCED SPRING MODAL (more bounce) --- */
@keyframes popupSpring {
    0%   { opacity: 0; transform: scale(0.5) translateY(60px) rotate(-2deg); }
    55%  { opacity: 1; transform: scale(1.06) translateY(-8px) rotate(0.5deg); }
    75%  { transform: scale(0.97) translateY(4px) rotate(-0.3deg); }
    90%  { transform: scale(1.02) translateY(-2px); }
    100% { transform: scale(1) translateY(0) rotate(0deg); }
}

/* --- 5. MAGNETIC BUTTON BASE STYLES --- */
.cta-button, .popup-button, .email-gate-button {
    transition: transform 0.15s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.15s ease,
                background 0.3s ease !important;
    will-change: transform;
}

/* Active press micro-interaction */
.cta-button:active, .popup-button:active, .email-gate-button:active {
    transform: scale(0.95) !important;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3) !important;
}

/* --- 6. Z-AXIS SCROLL TUNNEL (section entrance) --- */
.z-tunnel-init {
    opacity: 0;
    transform: scale(0.94) translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.z-tunnel-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Cascade delays for child elements */
.z-tunnel-visible .imperative-card:nth-child(1),
.z-tunnel-visible .skill-card:nth-child(1) { transition-delay: 0.05s; }
.z-tunnel-visible .imperative-card:nth-child(2),
.z-tunnel-visible .skill-card:nth-child(2) { transition-delay: 0.15s; }
.z-tunnel-visible .imperative-card:nth-child(3) { transition-delay: 0.25s; }
.z-tunnel-visible .imperative-card:nth-child(4) { transition-delay: 0.35s; }

/* --- 7. CURSOR GLOW TRAIL (desktop only) --- */
@media (pointer: fine) {
    .cursor-glow {
        position: fixed;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,140,66,0.6) 0%, transparent 70%);
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
        mix-blend-mode: screen;
    }
}

/* --- 8. STAT CARD GLINT on hover --- */
.stat-card {
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 60%
    );
    transform: skewX(-15deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.stat-card:hover::after {
    left: 125%;
}

/* --- 9. SVG "HANDWRITING" for Bio tag --- */
.bio-tag-svg {
    display: inline-block;
    position: relative;
}

/* --- 10. VARIABLE FONT WEIGHT on hero headline hover --- */
.hero-headline-big {
    cursor: default;
}

.hero-headline-big:hover {
    letter-spacing: 0.02em;
    text-shadow:
        0 0 40px rgba(255, 140, 66, 1),
        0 0 80px rgba(255, 140, 66, 0.5),
        0 0 120px rgba(79, 168, 232, 0.4) !important;
    transition: letter-spacing 0.4s ease, text-shadow 0.3s ease;
}

/* Disable on mobile — performance */
/* ============================= */
/* Professional Endorsements     */
/* ============================= */
.endorsements-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.08) 0%, rgba(255, 140, 66, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.endorsements-header {
    text-align: center;
    margin-bottom: 60px;
}

.endorsements-header h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 12px;
    animation: fadeInDown 0.6s ease-out;
}

.endorsements-header p {
    font-size: 16px;
    color: var(--accent-orange);
    font-weight: 600;
    animation: fadeInDown 0.6s ease-out 0.1s backwards;
}

.endorsements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.endorsement-card {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, rgba(30, 90, 150, 0.15) 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out 0.2s backwards;
}

.endorsement-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-orange), #ff6b1a);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.endorsement-card:hover::before {
    opacity: 0.15;
}

.endorsement-card.iralogix {
    border-color: rgba(79, 168, 232, 0.3);
}

.endorsement-card.iralogix:hover {
    border-color: rgba(79, 168, 232, 0.6);
    box-shadow: 0 0 30px rgba(79, 168, 232, 0.2);
}

.endorsement-card.fidelity {
    border-color: rgba(255, 140, 66, 0.3);
}

.endorsement-card.fidelity:hover {
    border-color: rgba(255, 140, 66, 0.6);
    box-shadow: 0 0 30px rgba(255, 140, 66, 0.2);
}

.endorsement-card.financial-engines {
    border-color: rgba(100, 200, 150, 0.3);
}

.endorsement-card.financial-engines:hover {
    border-color: rgba(100, 200, 150, 0.6);
    box-shadow: 0 0 30px rgba(100, 200, 150, 0.2);
}

.endorsement-quote {
    margin-bottom: 30px;
}

.endorsement-quote p {
    font-size: 16px;
    line-height: 1.9;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.highlight-key {
    color: var(--accent-orange);
    font-weight: 700;
    background: rgba(255, 140, 66, 0.1);
    padding: 0 4px;
    border-radius: 3px;
}

.endorsement-attribution {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.attribution-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.attribution-company {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

@media (max-width: 768px) {
    .endorsements-section {
        padding: 50px 0;
    }

    .endorsements-header h2 {
        font-size: 32px;
    }

    .endorsements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .endorsement-card {
        padding: 30px;
    }

    .endorsement-quote p {
        font-size: 15px;
    }
}

/* Screen Reader Only Text (WCAG Accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Sticky Cohort Urgency Bar */
.cohort-urgency-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #1a1f2e 0%, #2d3748 50%, #1a1f2e 100%);
    border-top: 2px solid #ff8c42;
    padding: 12px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(255, 140, 66, 0.2);
    animation: slideUp 0.4s ease-out;
}

.cohort-urgency-bar.show {
    display: flex;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.urgency-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

#enrollment-countdown {
    color: #ff8c42;
    font-weight: 700;
}

.urgency-cta {
    background: linear-gradient(135deg, #ff8c42, #ff6b1a);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.urgency-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.5);
}

.urgency-cta:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .noise-overlay { display: none; }
    #particleCanvas { display: none; }
    .cursor-glow { display: none; }

    /* --- MOBILE PERFORMANCE: kill ALL SVG filter rendering --- */
    [filter*="venn-diffuse"],
    [filter*="venn-ring-glow"],
    [filter*="venn-blur"],
    [filter*="venn-glow"],
    [filter*="quantumBlur"],
    [filter*="nebulaBglow"],
    [filter*="neuralGlow"] {
        filter: none !important;
    }

    /* --- MOBILE PERFORMANCE: disable expensive backdrop-filter everywhere --- */
    * {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    /* --- MOBILE PERFORMANCE: stop ALL infinite CSS animations --- */
    .aura-particles,
    .aura-particles span,
    .ap, .ap1, .ap2, .ap3, .ap4, .ap5, .ap6 {
        animation: none !important;
        display: none !important;
    }

    .orbit-ring,
    .orbit-dot,
    .core-glow,
    .book-ring-decoration,
    .rays-container,
    .sun-rays-bg,
    .bk-glow-ring,
    .bk-shimmer,
    .book-shimmer-overlay {
        animation: none !important;
    }

    /* Hide the book aura rings entirely on mobile — they use continuous animation */
    .book-aura {
        display: none !important;
    }

    /* Disable book 3D float animation (perspective + rotateY crashes mobile) */
    .book-3d-wrap {
        animation: none !important;
    }

    /* Hide neural network canvas on mobile */
    #ai-neural-network-canvas {
        display: none !important;
    }

    /* Disable announcement banner gradient shift + ticker scroll */
    .banner-pulse-bg {
        animation: none !important;
    }
    .ticker-track {
        animation: none !important;
        /* Show static text instead of scrolling */
        transform: none !important;
    }

    /* --- IQ SCORE CARD: disable all 6 expensive animations (drop-shadow filters) --- */
    .iq-badge {
        animation: none !important;
        filter: none !important;
    }
    .iq-headline {
        animation: none !important;
        filter: none !important;
    }
    .iq-highlight {
        animation: none !important;
        filter: none !important;
    }
    .iq-lock-svg {
        animation: none !important;
    }
    .iq-lock-glow {
        animation: none !important;
    }
    .iq-stream-bar {
        animation: none !important;
    }

    /* --- Nav CTA gradient animation (background-clip: text + sweep) --- */
    .nav-cta-btn {
        animation: none !important;
    }

    /* --- Venn circle breathe animations (drop-shadow filter pulses) --- */
    .vc-left,
    .vc-right {
        animation: none !important;
        filter: none !important;
    }

    /* Simplify Venn float animations on mobile */
    [style*="venn-img-float"] {
        animation: none !important;
    }

    /* Reduce box-shadow complexity on mobile */
    .confluence-icon svg,
    .quantum-processor,
    .data-nebula,
    .neural-brain {
        filter: none !important;
    }

    .cohort-urgency-bar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .urgency-content {
        flex-direction: column;
        gap: 10px;
    }

    .urgency-text {
        font-size: 12px;
        text-align: center;
    }

    .urgency-cta {
        width: 100%;
    }
}

/* ============================= */
/* Motivational CTA Section      */
/* ============================= */
.motivational-cta-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.sun-rays-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: sunPulse 4s ease-in-out infinite;
}

.rays-container {
    animation: raysRotate 20s linear infinite;
    transform-origin: 50% 50%;
}

@keyframes raysRotate {
    0% { transform: rotate(0deg); opacity: 0.8; }
    50% { opacity: 1; }
    100% { transform: rotate(360deg); opacity: 0.8; }
}

/* Dual Locks Container */
.dual-locks-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 40px 0 60px 0;
    height: 160px;
    position: relative;
    z-index: 3;
}

.lock-wrapper {
    position: relative;
    width: 120px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lock-3d {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.lock-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.blue-glow {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(79, 168, 232, 0.4) 0%, rgba(79, 168, 232, 0.1) 70%, transparent 100%);
    animation: blueLockPulse 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(79, 168, 232, 0.5);
}

.orange-glow {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.4) 0%, rgba(255, 140, 66, 0.1) 70%, transparent 100%);
    animation: orangeLockPulse 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(255, 140, 66, 0.5);
}

@keyframes blueLockPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(79, 168, 232, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 50px rgba(79, 168, 232, 0.8);
        transform: scale(1.05);
    }
}

@keyframes orangeLockPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 140, 66, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 140, 66, 0.8);
        transform: scale(1.05);
    }
}

/* Lock Unlock Animations */
.lock-wrapper.unlocking {
    animation: lockShake 2s ease-in-out;
}

@keyframes lockShake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-8px) rotate(-2deg); }
    50% { transform: translateX(8px) rotate(2deg); }
    75% { transform: translateX(-6px) rotate(-1deg); }
}

.lock-wrapper.unlocked {
    animation: lockUnlock 0.6s ease-out forwards;
}

@keyframes lockUnlock {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        transform: scale(0.3) rotate(45deg) translateY(-80px);
        opacity: 0;
    }
}

/* Burst Particles */
.burst-particle {
    position: fixed;
    pointer-events: none;
    font-size: 24px;
    animation: particleBurst 2s ease-out forwards;
}

@keyframes particleBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.2) rotate(360deg);
    }
}

.motivational-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.motivational-message {
    max-width: 700px;
}

.motivational-heading {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.heading-glow {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFE4D6 50%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glowPulse 3s ease-in-out infinite, textShift 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 40px rgba(255, 107, 26, 0.4));
}

.heading-starts {
    background: linear-gradient(90deg, #FFD700 0%, #FFFFFF 50%, #FFD700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldenWave 3s ease-in-out infinite, textShift 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

.motivational-subheading {
    font-size: 28px;
    color: #ffffff;
    line-height: 1.8;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 26, 0.3);
}

.subheading-highlight {
    font-weight: 900;
    background: linear-gradient(120deg, #FFE4D6 0%, #FFFFFF 50%, #FFE4D6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shineEffect 2.5s ease-in-out infinite;
    display: inline-block;
}

/* Contact Box */
.contact-box-cta {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: contact-box-float 3s ease-in-out infinite;
}

@keyframes contact-box-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Motivational heading animations */
@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 40px rgba(255, 107, 26, 0.4)); }
    50% { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 60px rgba(255, 107, 26, 0.6)); }
}

@keyframes goldenWave {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.9)); }
}

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

@keyframes shineEffect {
    0% { background-position: -200% center; }
    50% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Enhanced background animations */
@keyframes sunPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.contact-box-title {
    font-size: 32px;
    font-weight: 900;
    color: #FF6B1A;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.contact-box-subtitle {
    font-size: 16px;
    color: #333;
    margin-bottom: 28px;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.contact-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #FF8C42;
    border-radius: 10px;
    font-size: 16px;
    color: #333;
    background: #fff;
    transition: all 0.3s ease;
}

.contact-input:focus {
    outline: none;
    border-color: #FF6B1A;
    box-shadow: 0 0 12px rgba(255, 107, 26, 0.3);
}

.contact-input::placeholder {
    color: #999;
}

.contact-button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B1A 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(255, 107, 26, 0.3);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 26, 0.4);
}

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

.contact-privacy {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .motivational-cta-section {
        min-height: 500px;
        padding: 40px 20px;
    }

    .motivational-heading {
        font-size: 32px;
    }

    .motivational-subheading {
        font-size: 16px;
    }

    .contact-box-cta {
        padding: 40px 30px;
        max-width: 100%;
    }

    .contact-form {
        flex-direction: column;
        gap: 12px;
    }

    .contact-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .motivational-cta-section {
        min-height: 400px;
        padding: 30px 15px;
    }

    .motivational-heading {
        font-size: 24px;
    }

    .motivational-subheading {
        font-size: 14px;
    }

    .contact-box-cta {
        padding: 30px 20px;
    }

    .contact-box-title {
        font-size: 24px;
    }

    .contact-input,
    .contact-button {
        font-size: 1rem; /* 16px min — prevents iOS auto-zoom */
        padding: 14px 16px;
    }
}

/* Mobile 375px specific optimization */
@media (max-width: 375px) {
    .hero {
        padding: 50px 0;
    }

    .modal-content, .popup-content {
        padding: 20px 15px;
    }

    .quiz-question, .quiz-results {
        padding: 20px 15px;
    }

    .option-btn {
        padding: 12px 15px;
        font-size: 15px;
    }

    .email-gate-content {
        max-width: calc(100% - 30px);
    }

    .form-input, .email-gate-button {
        padding: 12px 12px;
        font-size: 1rem; /* 16px min — prevents iOS auto-zoom */
    }
}

/* ============================= */
/* Typewriter Quote Animation   */
/* ============================= */
.typewriter-quote-section {
    margin-top: 60px;
    text-align: center;
}

.typewriter-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    min-height: 3.6em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    font-weight: 400;
}

.white-text {
    animation: typewriter-white 6.2s steps(62, end) forwards;
    display: inline;
    color: white;
}

.gold-pulse {
    animation: typewriter-gold 2.2s steps(47, end) 6.2s forwards, pulse-gold 0.6s ease-in-out 8.4s 3 forwards;
    display: inline;
    opacity: 0;
    color: white;
}

@keyframes typewriter-white {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        color: white;
    }
}

@keyframes typewriter-gold {
    from {
        opacity: 0;
        color: white;
    }
    to {
        opacity: 1;
        color: #FFD700;
    }
}

@keyframes pulse-gold {
    0%, 100% {
        color: #FFD700;
        text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.6);
    }
    50% {
        color: white;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    }
}
@keyframes venn-img-float-ai {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 24px rgba(34,211,238,0.3); }
    50% { transform: translateY(-6px) scale(1.04); box-shadow: 0 0 36px rgba(34,211,238,0.5); }
}
@keyframes venn-img-float-human {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 24px rgba(249,115,22,0.3); }
    50% { transform: translateY(-6px) scale(1.04); box-shadow: 0 0 36px rgba(249,115,22,0.5); }
}

/* ============================= */
/* Mobile Performance — Prevent Crashes */
/* ============================= */
@media (max-width: 1024px) {
    /* Disable Venn/neural canvases that JS may have created before CSS loads */
    #ai-neural-network-canvas {
        display: none !important;
    }

    /* Tone down continuous gradient/glow animations */
    .book-shimmer-overlay,
    .story-pulse,
    .story-glow,
    .bk-glow-ring {
        animation: none !important;
    }

    /* Reduce grain overlay on tablets too */
    .noise-overlay {
        display: none !important;
    }

    /* Disable book aura and particles on tablets */
    .book-aura {
        display: none !important;
    }

    /* Disable all SVG filter effects at tablet breakpoint */
    svg [filter] {
        filter: none !important;
    }
}

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

