/* ================================================
   SXSW EDU Presentation - Styles
   Exact match to AI Fluency Pathways advanced workshops
   All selectors scoped to .sxsw-module
   ================================================ */

/* ------------------------------------------------
   1. CSS VARIABLES (from variables.css)
   ------------------------------------------------ */
:root {
    /* Module Colors */
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-glow: rgba(20, 184, 166, 0.3);

    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --blue-glow: rgba(59, 130, 246, 0.3);

    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;
    --purple-800: #6b21a8;
    --purple-900: #581c87;
    --purple-glow: rgba(168, 85, 247, 0.3);
    --purple-muted: #a78bfa;

    --amber-50: #fefce8;
    --amber-100: #fef9c3;
    --amber-200: #fef08a;
    --amber-300: #fde047;
    --amber-400: #fde047;
    --amber-500: #facc15;
    --amber-600: #eab308;
    --amber-700: #ca8a04;
    --amber-800: #a16207;
    --amber-900: #854d0e;
    --amber-glow: rgba(253, 224, 71, 0.45);

    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-300: #fdba74;
    --orange-400: #fb923c;
    --orange-500: #fb923c;
    --orange-600: #f97316;
    --orange-700: #ea580c;
    --orange-800: #c2410c;
    --orange-900: #9a3412;
    --orange-glow: rgba(251, 146, 60, 0.35);

    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-200: #fbcfe8;
    --pink-300: #f9a8d4;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --pink-700: #be185d;
    --pink-800: #9d174d;
    --pink-900: #831843;
    --pink-glow: rgba(236, 72, 153, 0.3);

    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    --green-glow: rgba(34, 197, 94, 0.3);

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-glow: rgba(100, 116, 139, 0.3);

    --red-400: #f87171;
    --red-500: #ef4444;

    /* Semantic Colors */
    --success: #22c55e;
    --success-muted: rgba(34, 197, 94, 0.15);
    --warning: #f59e0b;
    --warning-muted: rgba(245, 158, 11, 0.15);
    --error: #ef4444;
    --error-muted: rgba(239, 68, 68, 0.15);
    --info: #3b82f6;
    --info-muted: rgba(59, 130, 246, 0.15);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-disabled: rgba(255, 255, 255, 0.2);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(255, 255, 255, 0.15);
    --border-strong: rgba(255, 255, 255, 0.25);

    /* Background */
    --bg-primary: #000000;
    --bg-elevated: #0a0f14;
    --bg-surface: #111820;
    --bg-card: rgba(10, 15, 20, 0.35);
    --bg-card-hover: rgba(15, 22, 30, 0.45);

    /* Typography */
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

    /* Animation Tokens */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 800ms;

    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html, body {
    height: 100%;
    overflow: hidden;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
}

/* ------------------------------------------------
   3. MODULE ROOT
   ------------------------------------------------ */
.sxsw-module {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
}

/* ------------------------------------------------
   4. AMBIENT BACKGROUND (from gems-workshop.css)
   ------------------------------------------------ */
.sxsw-module .landing-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sxsw-module .landing-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 60px 60px; }
.sxsw-module .landing-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.sxsw-module .landing-orb--purple { width: 1000px; height: 1000px; background: radial-gradient(circle, var(--purple-400) 0%, rgba(168, 85, 247, 0.2) 30%, transparent 60%); opacity: 0.35; top: -300px; right: -200px; }
.sxsw-module .landing-orb--blue { width: 900px; height: 900px; background: radial-gradient(circle, var(--blue-400) 0%, rgba(59, 130, 246, 0.2) 30%, transparent 60%); opacity: 0.4; bottom: -200px; left: -150px; }
.sxsw-module .landing-orb--teal { width: 800px; height: 800px; background: radial-gradient(circle, var(--teal-400) 0%, rgba(20, 184, 166, 0.2) 30%, transparent 60%); opacity: 0.25; top: 30%; left: 40%; }
.sxsw-module .landing-particles { position: absolute; inset: 0; }
.sxsw-module .landing-particles canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ------------------------------------------------
   5. SLIDE SYSTEM
   ------------------------------------------------ */
.sxsw-module .slide-container { position: relative; z-index: 1; width: 100%; min-height: 100vh; }
.sxsw-module .slide { display: none; width: 100%; min-height: 100vh; position: relative; }
.sxsw-module .slide.active { display: flex; flex-direction: column; }

/* Standard (non-scrollable) slides: centered content */
.sxsw-module .slide:not(.slide--scrollable) { align-items: center; justify-content: center; }

.sxsw-module .slide-content { max-width: min(1100px, 80vw); width: 100%; padding: 60px 20px 120px; text-align: center; position: relative; z-index: 1; }
.sxsw-module .slide-content--wide { max-width: min(1300px, 92vw); }

/* ------------------------------------------------
   6. TYPOGRAPHY (from components.css)
   ------------------------------------------------ */
.sxsw-module .text-display {
    font-family: 'Montserrat', var(--font-display), sans-serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.sxsw-module .text-section {
    font-family: 'Montserrat', var(--font-display), sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.sxsw-module .text-subsection {
    font-family: 'Montserrat', var(--font-display), sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

.sxsw-module .text-body-lg {
    font-size: clamp(1.1rem, 1.5vw, 1.6rem);
    color: var(--text-secondary);
    line-height: 1.5;
}

.sxsw-module .text-body {
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.5;
}

.sxsw-module .text-small {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sxsw-module .text-center-block { text-align: center; max-width: min(750px, 60vw); margin-left: auto; margin-right: auto; }

.sxsw-module .text-label { font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }

/* ------------------------------------------------
   7. SPACING (from components.css)
   ------------------------------------------------ */
.sxsw-module .mb-sm { margin-bottom: clamp(8px, 1.5vh, 16px); }
.sxsw-module .mb-md { margin-bottom: clamp(16px, 2vh, 28px); }
.sxsw-module .mb-lg { margin-bottom: clamp(32px, 5vh, 60px); }
.sxsw-module .mb-xl { margin-bottom: clamp(48px, 7vh, 80px); }
.sxsw-module .mt-sm { margin-top: clamp(8px, 1.5vh, 16px); }
.sxsw-module .mt-md { margin-top: clamp(16px, 2vh, 28px); }
.sxsw-module .mt-lg { margin-top: clamp(32px, 5vh, 60px); }

/* ------------------------------------------------
   8. GLASS CARDS (from components.css)
   ------------------------------------------------ */
.sxsw-module .glass-card {
    background: rgba(10, 15, 20, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.03),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.3s var(--ease-out);
}

.sxsw-module .glass-card--sm { border-radius: 12px; padding: 20px; }
.sxsw-module .glass-card--lg { border-radius: 20px; padding: clamp(28px, 4vh, 48px) clamp(20px, 2.5vw, 36px); }
.sxsw-module .glass-card--active { border-width: 2px; border-color: var(--module-color, var(--purple-400)); box-shadow: 0 0 20px var(--module-glow, rgba(168, 85, 247, 0.3)); }
.sxsw-module .glass-card--cycling { position: relative; border-color: transparent; overflow: hidden; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); background-size: 128px 128px; }
.sxsw-module .glass-card--cycling::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, var(--teal-400), var(--blue-400), var(--purple-400), var(--orange-400), var(--pink-400)); background-size: 200% 200%; animation: sxsw-gradient-text-shift 15s ease-in-out infinite; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 1; }
.sxsw-module .glass-card--cycling.glass-card--shiny::before { padding: 2px; }
.sxsw-module .glass-card--cycling.glass-card--shiny::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, var(--teal-400), var(--blue-400), var(--purple-400), var(--orange-400), var(--pink-400)); background-size: 200% 200%; animation: sxsw-gradient-text-shift 15s ease-in-out infinite; opacity: 0.12; pointer-events: none; }
.sxsw-module .glass-card--cycling.glass-card--shiny { box-shadow: 0 0 25px rgba(20,184,166,0.2), 0 0 50px rgba(139,92,246,0.1), 0 0 80px rgba(236,72,153,0.08); }
.sxsw-module .glass-card--hover { transition: all 0.3s var(--ease-out); cursor: pointer; }
.sxsw-module .glass-card--hover:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 20px var(--card-glow, rgba(255,255,255,0.04)), inset 0 1px 0 rgba(255, 255, 255, 0.08); }

/* ------------------------------------------------
   9. GRID LAYOUTS (from components.css)
   ------------------------------------------------ */
.sxsw-module .grid-responsive { display: grid; gap: clamp(16px, 2vw, 24px); }
.sxsw-module .grid-responsive--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.sxsw-module .grid-responsive--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sxsw-module .grid-responsive--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .sxsw-module .grid-responsive--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sxsw-module .grid-responsive--4 { grid-template-columns: 1fr; } }

/* ------------------------------------------------
   10. BADGES (from components.css)
   ------------------------------------------------ */
.sxsw-module .badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 12px; font-size: 0.75rem; font-weight: 500; }
.sxsw-module .badge--purple { background: rgba(168, 85, 247, 0.2); color: var(--purple-400); }
.sxsw-module .badge--teal { background: rgba(20, 184, 166, 0.2); color: var(--teal-400); }
.sxsw-module .badge--blue { background: rgba(59, 130, 246, 0.2); color: var(--blue-400); }
.sxsw-module .badge--green { background: rgba(34, 197, 94, 0.2); color: var(--green-400); }

/* ------------------------------------------------
   10b. ANIMATED GRADIENT BORDERS (from advanced workshops)
   ------------------------------------------------ */
@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes sxsw-borderSpin {
    to { --gradient-angle: 360deg; }
}

.sxsw-module .glass-card--spinning-border {
    border: 1.5px solid transparent;
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        conic-gradient(from var(--gradient-angle),
            transparent 25%, var(--card-color, var(--teal-400)) 37%,
            var(--card-color, var(--teal-400)) 50%, transparent 62%) border-box;
    animation: sxsw-borderSpin 6s linear infinite;
}

/* ------------------------------------------------
   11. ANIMATIONS (from animations.css)
   ------------------------------------------------ */
@keyframes sxsw-fadeSlideUp {
    from { opacity: 0; transform: translateY(32px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.sxsw-module .animate-in { animation: sxsw-fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.sxsw-module .animate-in[style*="animation-delay"] { opacity: 0; }

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

@keyframes sxsw-scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Micro-interactions */
@keyframes sxsw-iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes sxsw-arrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.sxsw-module .glass-card--hover:hover > div:first-child svg {
    animation: sxsw-iconFloat 2s ease-in-out infinite;
}

/* ------------------------------------------------
   12. COLOR-CYCLING GRADIENT (from vibe-coding-launchpad.css)
   ------------------------------------------------ */
.sxsw-module .gradient-text-hero {
    background: linear-gradient(135deg, var(--teal-400), var(--blue-400), var(--purple-400), var(--orange-400), var(--pink-400));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sxsw-gradShift 12s ease-in-out infinite;
}

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

.sxsw-module .accent {
    background: linear-gradient(135deg, var(--teal-400), var(--blue-400), var(--purple-400), var(--orange-400), var(--pink-400));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sxsw-gradient-text-shift 15s ease-in-out infinite;
}

@keyframes sxsw-gradient-text-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ------------------------------------------------
   13. NAVIGATION PILL (from gems-workshop.css)
   ------------------------------------------------ */
.sxsw-module .controls {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sxsw-module .control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sxsw-module .control-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); transform: scale(1.05); }
.sxsw-module .control-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.sxsw-module .controls-counter { font-size: 1.1rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); min-width: 40px; text-align: center; }

.sxsw-module .controls-dots { display: flex; align-items: center; gap: 8px; }
.sxsw-module .controls-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: all 0.2s ease; cursor: pointer; position: relative; }
.sxsw-module .controls-dot::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; }
.sxsw-module .controls-dot:hover:not(.active) { background: rgba(255, 255, 255, 0.7); transform: scale(1.8); }
.sxsw-module .controls-dot.active { width: 24px; border-radius: 10px; background: #ffffff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }
.sxsw-module .controls-dot.visited { background: rgba(255, 255, 255, 0.6); }

/* ------------------------------------------------
   14. PROGRESS BAR
   ------------------------------------------------ */
.sxsw-module .header-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.05);
}

.sxsw-module .header-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--teal-400), var(--blue-400), var(--purple-400), var(--orange-400), var(--pink-400));
    background-size: 300% 100%;
    animation: sxsw-barColorCycle 8s ease-in-out infinite;
    transition: width 0.4s var(--ease-out);
    box-shadow: 0 0 8px var(--purple-glow);
}

@keyframes sxsw-barColorCycle {
    0% { background-position: 0% 50%; box-shadow: 0 0 12px var(--teal-glow); }
    25% { box-shadow: 0 0 12px var(--blue-glow); }
    50% { background-position: 100% 50%; box-shadow: 0 0 12px var(--purple-glow); }
    75% { box-shadow: 0 0 12px var(--orange-glow); }
    100% { background-position: 0% 50%; box-shadow: 0 0 12px var(--teal-glow); }
}

/* ------------------------------------------------
   15. TIMELINE - LINE & NAV (from notebooklm-workshop.css)
   ------------------------------------------------ */
.sxsw-module .timeline-line { position: fixed; left: 40px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.06); z-index: 5; pointer-events: none; display: none; }
.sxsw-module .timeline-line.active { display: block; }
.sxsw-module .timeline-line-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: linear-gradient(180deg, var(--teal-400), var(--blue-400), var(--purple-400), var(--amber-400)); box-shadow: 0 0 8px var(--teal-glow); }

.sxsw-module .year-nav { position: fixed; right: 28px; top: 50%; transform: translateY(-50%); z-index: 100; display: none; flex-direction: column; gap: 16px; align-items: flex-end; }
.sxsw-module .year-nav.active { display: flex; }
.sxsw-module .year-nav-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.18); cursor: pointer; transition: all 0.3s var(--ease-out); position: relative; text-decoration: none; }
.sxsw-module .year-nav-dot.active { background: var(--dot-color, var(--teal-400)); border-color: var(--dot-color, var(--teal-400)); box-shadow: 0 0 12px var(--dot-glow, var(--teal-glow)); transform: scale(1.4); }
.sxsw-module .year-nav-dot:hover { background: rgba(255,255,255,0.25); transform: scale(1.2); }
.sxsw-module .year-nav-dot.active:hover { transform: scale(1.4); }
.sxsw-module .year-nav-label { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 0.75rem; font-weight: 600; font-family: var(--font-mono); color: var(--text-muted); white-space: nowrap; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.sxsw-module .year-nav-dot:hover .year-nav-label,
.sxsw-module .year-nav-dot.active .year-nav-label { opacity: 1; }

/* ------------------------------------------------
   16. TIMELINE - SECTIONS (from notebooklm-workshop.css)
   ------------------------------------------------ */
.sxsw-module .tl-main { position: relative; z-index: 1; }
.sxsw-module .tl-section { min-height: calc(100vh); display: flex; align-items: center; justify-content: center; padding: 48px 60px 40px 90px; }
.sxsw-module .tl-section--hero { text-align: center; padding-left: 40px; padding-right: 40px; }
.sxsw-module .tl-section--hero .tl-section-inner { display: flex; flex-direction: column; align-items: center; }
.sxsw-module .tl-section-inner { max-width: 920px; width: 100%; }

/* ------------------------------------------------
   17. TIMELINE - DIVIDERS (from notebooklm-workshop.css)
   ------------------------------------------------ */
.sxsw-module .section-divider { display: flex; flex-direction: column; align-items: center; padding: 20px 0; position: relative; z-index: 1; }
.sxsw-module .section-divider-line { width: 2px; height: 80px; background: rgba(255,255,255,0.06); position: relative; overflow: hidden; }
.sxsw-module .section-divider-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, transparent, var(--divider-color, var(--teal-400)), transparent); opacity: 0; }
.sxsw-module .section-divider.visible .section-divider-line::after { animation: sxsw-dividerPulse 1.5s ease-out forwards; }
.sxsw-module .section-divider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); margin: 8px 0; opacity: 0; transform: scale(0); }
.sxsw-module .section-divider.visible .section-divider-dot { animation: sxsw-dotPop 0.4s var(--ease-spring) 0.6s forwards; }
.sxsw-module .section-divider-year-label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); opacity: 0; transform: translateY(8px); }
.sxsw-module .section-divider.visible .section-divider-year-label { animation: sxsw-fadeSlideUpSmall 0.5s var(--ease-out) 0.8s forwards; }

@keyframes sxsw-dividerPulse { 0% { top: -100%; opacity: 0; } 30% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes sxsw-dotPop { 0% { opacity: 0; transform: scale(0); } 70% { transform: scale(1.3); } 100% { opacity: 1; transform: scale(1); } }
@keyframes sxsw-fadeSlideUpSmall { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ------------------------------------------------
   18. TIMELINE - MARKERS & TITLES (from notebooklm-workshop.css)
   ------------------------------------------------ */
.sxsw-module .tl-year-marker { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.sxsw-module .tl-year-marker--teal { background: rgba(20,184,166,0.12); border: 2px solid var(--teal-400); color: var(--teal-400); box-shadow: 0 0 24px var(--teal-glow); }
.sxsw-module .tl-year-marker--blue { background: rgba(59,130,246,0.12); border: 2px solid var(--blue-400); color: var(--blue-400); box-shadow: 0 0 24px var(--blue-glow); }
.sxsw-module .tl-year-marker--purple { background: rgba(168,85,247,0.12); border: 2px solid var(--purple-400); color: var(--purple-400); box-shadow: 0 0 24px var(--purple-glow); }
.sxsw-module .tl-year-marker--amber { background: rgba(251,191,36,0.12); border: 2px solid var(--amber-400); color: var(--amber-400); box-shadow: 0 0 24px var(--amber-glow); }
.sxsw-module .tl-year-marker--green { background: rgba(34,197,94,0.12); border: 2px solid var(--green-400); color: var(--green-400); box-shadow: 0 0 24px var(--green-glow); }

.sxsw-module .tl-year-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; line-height: 1.15; margin-bottom: 8px; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sxsw-module .tl-year-title--teal { background-image: linear-gradient(135deg, var(--teal-300), var(--teal-500)); }
.sxsw-module .tl-year-title--blue { background-image: linear-gradient(135deg, var(--blue-400), var(--blue-500)); }
.sxsw-module .tl-year-title--purple { background-image: linear-gradient(135deg, var(--purple-400), var(--purple-500)); }
.sxsw-module .tl-year-title--amber { background-image: linear-gradient(135deg, var(--amber-300), var(--amber-500)); }
.sxsw-module .tl-year-title--green { background-image: linear-gradient(135deg, var(--green-300), var(--green-500)); }

.sxsw-module .tl-era-subtitle { font-family: var(--font-body); font-size: 1.35rem; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7; max-width: 700px; }

/* ------------------------------------------------
   19. TIMELINE - EVENT CARDS (from notebooklm-workshop.css)
   ------------------------------------------------ */
.sxsw-module .tl-cards { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 768px) { .sxsw-module .tl-cards { grid-template-columns: repeat(2, 1fr); } }

.sxsw-module .tl-event { padding: 28px 32px; transition: all 0.3s var(--ease-out); }
.sxsw-module .tl-event--teal { border-color: rgba(20,184,166,0.15); }
.sxsw-module .tl-event--teal:hover { border-color: rgba(20,184,166,0.4); box-shadow: 0 8px 30px rgba(20,184,166,0.12); }
.sxsw-module .tl-event--blue { border-color: rgba(59,130,246,0.15); }
.sxsw-module .tl-event--blue:hover { border-color: rgba(59,130,246,0.4); box-shadow: 0 8px 30px rgba(59,130,246,0.12); }
.sxsw-module .tl-event--purple { border-color: rgba(168,85,247,0.15); }
.sxsw-module .tl-event--purple:hover { border-color: rgba(168,85,247,0.4); box-shadow: 0 8px 30px rgba(168,85,247,0.12); }
.sxsw-module .tl-event--amber { border-color: rgba(251,191,36,0.15); }
.sxsw-module .tl-event--amber:hover { border-color: rgba(251,191,36,0.4); box-shadow: 0 8px 30px rgba(251,191,36,0.12); }
.sxsw-module .tl-event--green { border-color: rgba(34,197,94,0.15); }
.sxsw-module .tl-event--green:hover { border-color: rgba(34,197,94,0.4); box-shadow: 0 8px 30px rgba(34,197,94,0.12); }

.sxsw-module .tl-event-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sxsw-module .tl-event-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sxsw-module .tl-event-icon--teal { background: rgba(20,184,166,0.15); color: var(--teal-400); }
.sxsw-module .tl-event-icon--blue { background: rgba(59,130,246,0.15); color: var(--blue-400); }
.sxsw-module .tl-event-icon--purple { background: rgba(168,85,247,0.15); color: var(--purple-400); }
.sxsw-module .tl-event-icon--amber { background: rgba(251,191,36,0.15); color: var(--amber-400); }
.sxsw-module .tl-event-icon--green { background: rgba(34,197,94,0.15); color: var(--green-400); }
.sxsw-module .tl-event-title { font-weight: 600; font-size: 1.25rem; color: var(--text-primary); }
.sxsw-module .tl-event-body { color: var(--text-secondary); line-height: 1.6; font-size: 1.15rem; }

/* ------------------------------------------------
   20. SCROLLABLE SLIDES - SCROLL ANIMATIONS
   ------------------------------------------------ */
.sxsw-module .slide--scrollable [data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.sxsw-module .slide--scrollable [data-animate].visible { opacity: 1; transform: translateY(0); }
.sxsw-module .slide--scrollable [data-animate="spring"] { opacity: 0; transform: scale(0.3); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-spring); }
.sxsw-module .slide--scrollable [data-animate="spring"].visible { opacity: 1; transform: scale(1); }
.sxsw-module .slide--scrollable [data-animate="fade-up"] { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.sxsw-module .slide--scrollable [data-animate="fade-up"].visible { opacity: 1; transform: translateY(0); }

.sxsw-module .tl-section-inner > [data-animate]:nth-child(1) { transition-delay: 0ms; }
.sxsw-module .tl-section-inner > [data-animate]:nth-child(2) { transition-delay: 150ms; }
.sxsw-module .tl-section-inner > [data-animate]:nth-child(3) { transition-delay: 280ms; }
.sxsw-module .tl-section-inner > [data-animate]:nth-child(4) { transition-delay: 400ms; }

/* ------------------------------------------------
   20b. METHODOLOGY - SCROLLABLE SECTIONS
   ------------------------------------------------ */
.sxsw-module .meth-main { position: relative; z-index: 1; }
.sxsw-module .meth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 60px 40px 90px;
}
.sxsw-module .meth-section--hero {
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
}
.sxsw-module .meth-section--hero .meth-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sxsw-module .meth-section-inner { max-width: 920px; width: 100%; }

.sxsw-module .meth-section-inner > [data-animate]:nth-child(1) { transition-delay: 0ms; }
.sxsw-module .meth-section-inner > [data-animate]:nth-child(2) { transition-delay: 150ms; }
.sxsw-module .meth-section-inner > [data-animate]:nth-child(3) { transition-delay: 280ms; }
.sxsw-module .meth-section-inner > [data-animate]:nth-child(4) { transition-delay: 400ms; }

/* Methodology nav dots (mirrors year-nav-dot pattern) */
.sxsw-module .meth-nav-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.18); cursor: pointer; transition: all 0.3s var(--ease-out); position: relative; text-decoration: none; }
.sxsw-module .meth-nav-dot.active { background: var(--dot-color, var(--teal-400)); border-color: var(--dot-color, var(--teal-400)); box-shadow: 0 0 12px var(--dot-glow, var(--teal-glow)); transform: scale(1.4); }
.sxsw-module .meth-nav-dot:hover { background: rgba(255,255,255,0.25); transform: scale(1.2); }
.sxsw-module .meth-nav-dot.active:hover { transform: scale(1.4); }
.sxsw-module .meth-nav-label { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 0.75rem; font-weight: 600; font-family: var(--font-mono); color: var(--text-muted); white-space: nowrap; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.sxsw-module .meth-nav-dot:hover .meth-nav-label,
.sxsw-module .meth-nav-dot.active .meth-nav-label { opacity: 1; }

/* -- Methodology Phase Visuals -- */

/* Iframe embed container */
.sxsw-module .meth-iframe-wrap {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px var(--phase-glow, rgba(20, 184, 166, 0.15));
    margin: 32px auto;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
}
.sxsw-module .meth-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: inherit;
}

/* Stat badges */
.sxsw-module .meth-stats {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}
.sxsw-module .meth-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.sxsw-module .meth-stat-number {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--stat-color, var(--text-primary));
    font-size: 1.1rem;
}
.sxsw-module .meth-stat-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--stat-color, var(--teal-400));
    animation: sxsw-statPulse 2s ease-in-out infinite;
}
@keyframes sxsw-statPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--stat-color, var(--teal-400)); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px transparent; }
}

/* Mockup container */
.sxsw-module .meth-mockup {
    width: 100%;
    max-width: 700px;
    margin: 32px auto;
    padding: 28px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

/* --- Phase 2: Device mockup --- */
.sxsw-module .meth-devices {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 20px 0;
}
.sxsw-module .meth-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: scale(0.7);
}
.sxsw-module .meth-device.visible {
    animation: sxsw-devicePop 0.5s var(--ease-spring) forwards;
}
.sxsw-module .meth-device:nth-child(2).visible { animation-delay: 0.15s; }
.sxsw-module .meth-device:nth-child(3).visible { animation-delay: 0.3s; }
.sxsw-module .meth-device-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--blue-400);
    position: relative;
}
.sxsw-module .meth-device-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 20px;
    border: 2px solid var(--blue-400);
    opacity: 0;
    animation: sxsw-deviceRing 2.5s ease-in-out infinite;
}
.sxsw-module .meth-device:nth-child(2) .meth-device-icon::after { animation-delay: 0.4s; }
.sxsw-module .meth-device:nth-child(3) .meth-device-icon::after { animation-delay: 0.8s; }
.sxsw-module .meth-device-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}
.sxsw-module .meth-stream-bar {
    margin-top: 24px;
    height: 4px;
    border-radius: 2px;
    background: rgba(59, 130, 246, 0.1);
    overflow: hidden;
}
.sxsw-module .meth-stream-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue-400), var(--teal-400));
    box-shadow: 0 0 8px var(--blue-glow);
}
.sxsw-module .meth-stream-fill.visible {
    animation: sxsw-streamFill 2s var(--ease-out) forwards;
}
@keyframes sxsw-devicePop {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes sxsw-deviceRing {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}
@keyframes sxsw-streamFill {
    from { width: 0; }
    to { width: 100%; }
}

/* --- Phase 3: Speech bubble flow --- */
.sxsw-module .meth-bubbles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}
.sxsw-module .meth-bubbles-row {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.sxsw-module .meth-bubble {
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.18);
    color: var(--text-secondary);
    font-size: 0.85rem;
    max-width: 180px;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
}
.sxsw-module .meth-bubble.visible {
    animation: sxsw-bubbleIn 0.5s var(--ease-out) forwards;
}
.sxsw-module .meth-bubble:nth-child(2).visible { animation-delay: 0.12s; }
.sxsw-module .meth-bubble:nth-child(3).visible { animation-delay: 0.24s; }
.sxsw-module .meth-merge-arrow {
    color: var(--purple-400);
    opacity: 0;
    transform: translateY(-4px);
}
.sxsw-module .meth-merge-arrow.visible {
    animation: sxsw-mergeArrow 0.4s var(--ease-out) 0.4s forwards;
}
.sxsw-module .meth-result {
    padding: 16px 28px;
    border-radius: 14px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--purple-400);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: scale(0.9);
}
.sxsw-module .meth-result.visible {
    animation: sxsw-resultPop 0.5s var(--ease-spring) 0.6s forwards;
}
@keyframes sxsw-bubbleIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes sxsw-mergeArrow {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes sxsw-resultPop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Phase 4: Spreadsheet mockup --- */
.sxsw-module .meth-sheet {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.15);
}
.sxsw-module .meth-sheet-header {
    display: grid;
    grid-template-columns: 100px 1fr 80px;
    gap: 1px;
    padding: 10px 16px;
    background: rgba(251, 191, 36, 0.08);
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--amber-400);
}
.sxsw-module .meth-sheet-row {
    display: grid;
    grid-template-columns: 100px 1fr 80px;
    gap: 1px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(20px);
}
.sxsw-module .meth-sheet-row.visible {
    animation: sxsw-rowSlide 0.4s var(--ease-out) forwards;
}
.sxsw-module .meth-sheet-row:nth-child(3).visible { animation-delay: 0.1s; }
.sxsw-module .meth-sheet-row:nth-child(4).visible { animation-delay: 0.2s; }
.sxsw-module .meth-sheet-row:nth-child(5).visible { animation-delay: 0.3s; }
.sxsw-module .meth-sheet-row:nth-child(6).visible { animation-delay: 0.4s; }
.sxsw-module .meth-sheet-ts {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}
.sxsw-module .meth-sheet-status {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sxsw-module .meth-sheet-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber-400);
}
@keyframes sxsw-rowSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Phase 2: Combined Run & Facilitate flow --- */
.sxsw-module .meth-combined-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
}
.sxsw-module .meth-flow-tier {
    padding: 8px 0;
}
.sxsw-module .meth-flow-divider {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 10px 0;
    color: var(--blue-400);
    opacity: 0;
    transform: translateY(-4px);
}
.sxsw-module .meth-flow-divider.visible {
    animation: sxsw-flowDividerIn 0.5s var(--ease-out) forwards;
}
.sxsw-module .meth-flow-divider svg {
    animation: sxsw-flowPulse 1.5s ease-in-out infinite;
}
.sxsw-module .meth-flow-divider svg:nth-child(2) { animation-delay: 0.2s; }
.sxsw-module .meth-flow-divider svg:nth-child(3) { animation-delay: 0.4s; }

@keyframes sxsw-flowDividerIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes sxsw-flowPulse {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(3px); }
}

/* --- Phase 1: App Builder mockup --- */
.sxsw-module .meth-app-builder {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(20, 184, 166, 0.15);
}
.sxsw-module .meth-app-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(20, 184, 166, 0.06);
    border-bottom: 1px solid rgba(20, 184, 166, 0.12);
}
.sxsw-module .meth-app-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.7;
}
.sxsw-module .meth-app-title {
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--teal-400);
}
.sxsw-module .meth-app-canvas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}
.sxsw-module .meth-app-panel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.04);
    border: 1px solid rgba(20, 184, 166, 0.1);
    opacity: 0;
    transform: translateY(16px) scale(0.95);
}
.sxsw-module .meth-app-panel.visible {
    animation: sxsw-appPanelIn 0.5s var(--ease-spring) forwards;
}
.sxsw-module .meth-app-panel:nth-child(2).visible { animation-delay: 0.15s; }
.sxsw-module .meth-app-panel:nth-child(3).visible { animation-delay: 0.3s; }

.sxsw-module .meth-app-panel-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    color: var(--teal-400);
    flex-shrink: 0;
}
.sxsw-module .meth-app-panel-icon svg { width: 18px; height: 18px; }

.sxsw-module .meth-app-panel-content {
    flex: 1;
    min-width: 0;
}
.sxsw-module .meth-app-panel-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.sxsw-module .meth-app-panel-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(20, 184, 166, 0.08);
    overflow: hidden;
    margin-bottom: 6px;
}
.sxsw-module .meth-app-panel-bar.short { width: 60%; }

.sxsw-module .meth-app-panel-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--teal-400), var(--teal-300, var(--teal-400)));
    opacity: 0.5;
}
.sxsw-module .meth-app-panel.visible .meth-app-panel-bar-fill {
    animation: sxsw-barFillIn 1.2s var(--ease-out) 0.3s forwards;
}

.sxsw-module .meth-app-panel-choices {
    display: flex;
    gap: 8px;
}
.sxsw-module .meth-app-choice {
    width: 48px;
    height: 24px;
    border-radius: 6px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.15);
}
.sxsw-module .meth-app-panel.visible .meth-app-choice:nth-child(1) {
    animation: sxsw-choicePulse 2s ease-in-out 0.6s infinite;
}
.sxsw-module .meth-app-panel.visible .meth-app-choice:nth-child(2) {
    animation: sxsw-choicePulse 2s ease-in-out 0.9s infinite;
}
.sxsw-module .meth-app-panel.visible .meth-app-choice:nth-child(3) {
    animation: sxsw-choicePulse 2s ease-in-out 1.2s infinite;
}

.sxsw-module .meth-app-panel-textarea {
    width: 100%;
    height: 20px;
    border-radius: 6px;
    background: rgba(20, 184, 166, 0.06);
    border: 1px dashed rgba(20, 184, 166, 0.15);
}

.sxsw-module .meth-app-build-bar {
    height: 3px;
    background: rgba(20, 184, 166, 0.08);
    overflow: hidden;
}
.sxsw-module .meth-app-build-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--teal-400), var(--teal-300, var(--teal-400)));
    box-shadow: 0 0 8px var(--teal-glow);
}
.sxsw-module .meth-app-build-fill.visible {
    animation: sxsw-streamFill 2.5s var(--ease-out) forwards;
}

@keyframes sxsw-appPanelIn {
    from { opacity: 0; transform: translateY(16px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes sxsw-barFillIn {
    from { width: 0; }
    to { width: 75%; }
}
@keyframes sxsw-choicePulse {
    0%, 100% { background: rgba(20, 184, 166, 0.1); }
    50% { background: rgba(20, 184, 166, 0.25); border-color: rgba(20, 184, 166, 0.35); }
}

/* --- Phase 4: Dashboard mockup (real-time + AI insights) --- */
.sxsw-module .meth-dashboard {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(34, 197, 94, 0.15);
}
.sxsw-module .meth-dash-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(34, 197, 94, 0.06);
    border-bottom: 1px solid rgba(34, 197, 94, 0.12);
}
.sxsw-module .meth-dash-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--green-400);
}
.sxsw-module .meth-dash-brand svg { width: 16px; height: 16px; }

.sxsw-module .meth-dash-badge {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--green-400);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.sxsw-module .meth-dash-kpis {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px 16px 8px;
}
.sxsw-module .meth-dash-kpi {
    flex: 1;
    max-width: 140px;
    text-align: center;
    padding: 12px 8px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.08);
    opacity: 0;
    transform: scale(0.8);
}
.sxsw-module .meth-dash-kpi.visible {
    animation: sxsw-kpiPop 0.5s var(--ease-spring) forwards;
}
.sxsw-module .meth-dash-kpi:nth-child(2).visible { animation-delay: 0.12s; }
.sxsw-module .meth-dash-kpi:nth-child(3).visible { animation-delay: 0.24s; }

.sxsw-module .meth-dash-kpi-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 4px;
}
.sxsw-module .meth-dash-kpi-label {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.sxsw-module .meth-dash-chart {
    padding: 8px 16px 16px;
    position: relative;
}
.sxsw-module .meth-dash-bar-group {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    height: 100px;
    padding-bottom: 1px;
}
.sxsw-module .meth-dash-bar {
    flex: 1;
    max-width: 40px;
    height: 0;
    border-radius: 4px 4px 0 0;
    background: var(--bar-color, var(--green-400));
    opacity: 0.7;
    position: relative;
}
.sxsw-module .meth-dash-bar.visible {
    animation: sxsw-barGrow 0.8s var(--ease-out) forwards;
}
.sxsw-module .meth-dash-bar:nth-child(2).visible { animation-delay: 0.08s; }
.sxsw-module .meth-dash-bar:nth-child(3).visible { animation-delay: 0.16s; }
.sxsw-module .meth-dash-bar:nth-child(4).visible { animation-delay: 0.24s; }
.sxsw-module .meth-dash-bar:nth-child(5).visible { animation-delay: 0.32s; }
.sxsw-module .meth-dash-bar:nth-child(6).visible { animation-delay: 0.40s; }

.sxsw-module .meth-dash-bar.visible::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 10px var(--bar-color, var(--green-400));
    opacity: 0.3;
}

.sxsw-module .meth-dash-chart-axis {
    height: 1px;
    background: rgba(34, 197, 94, 0.15);
}

@keyframes sxsw-kpiPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes sxsw-barGrow {
    from { height: 0; opacity: 0; }
    to { height: var(--bar-height, 50%); opacity: 0.7; }
}

/* Live badge pulse */
.sxsw-module .meth-dash-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sxsw-module .meth-dash-badge-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-400);
    animation: sxsw-livePulse 1.5s ease-in-out infinite;
}
@keyframes sxsw-livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* AI Insight panel */
.sxsw-module .meth-dash-insight {
    margin: 12px 16px 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.12);
    opacity: 0;
    transform: translateY(8px);
}
.sxsw-module .meth-dash-insight.visible {
    animation: sxsw-insightIn 0.6s var(--ease-spring) forwards;
}
.sxsw-module .meth-dash-insight-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.sxsw-module .meth-dash-insight-icon {
    color: var(--green-400);
    display: flex;
    align-items: center;
}
.sxsw-module .meth-dash-insight-icon svg { width: 16px; height: 16px; }
.sxsw-module .meth-dash-insight-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-400);
}
.sxsw-module .meth-dash-insight-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--green-400);
    width: 0;
    margin: 0;
}
.sxsw-module .meth-dash-insight.visible .meth-dash-insight-text {
    animation: sxsw-typewriter 3s steps(90) 0.6s forwards, sxsw-blinkCursor 0.7s step-end infinite;
}

@keyframes sxsw-insightIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes sxsw-typewriter {
    from { width: 0; }
    to { width: 100%; }
}
@keyframes sxsw-blinkCursor {
    0%, 100% { border-color: var(--green-400); }
    50% { border-color: transparent; }
}

/* ------------------------------------------------
   21. SCROLL CUE (from notebooklm-workshop.css)
   ------------------------------------------------ */
.sxsw-module .scroll-cue { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.9rem; animation: sxsw-bounceDown 2s ease-in-out infinite; }
@keyframes sxsw-bounceDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ------------------------------------------------
   22. PRESENTER CARDS (custom for this presentation)
   ------------------------------------------------ */
.sxsw-module .presenter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .sxsw-module .presenter-grid { grid-template-columns: 1fr; } }

.sxsw-module .presenter-card { text-align: center; padding: 32px 24px; background: rgba(10, 15, 20, 0.25); }
.sxsw-module .presenter-card .presenter-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.sxsw-module .presenter-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.sxsw-module .presenter-role { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

/* ------------------------------------------------
   23. ICON PLACEHOLDERS (SVG inline since no Lucide)
   ------------------------------------------------ */
.sxsw-module .icon { display: inline-flex; align-items: center; justify-content: center; }

/* ------------------------------------------------
   24. MOCK HUB (platform showcase)
   ------------------------------------------------ */
.sxsw-module .mock-hub {
    background: rgba(5, 8, 12, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: clamp(16px, 2vw, 28px);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    max-width: 1100px;
    margin: 0 auto;
}

.sxsw-module .mock-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.sxsw-module .mock-hub-card {
    --card-color: var(--purple-400);
    --card-glow: var(--purple-glow);

    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(5, 8, 12, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.3s var(--ease-out);
    cursor: default;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
}
.sxsw-module .mock-hub-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.sxsw-module .mock-hub-card:hover {
    background: rgba(5, 8, 12, 0.4);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2),
                0 0 20px var(--card-glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateX(3px);
}
.sxsw-module .mock-hub-card:hover .mock-hub-card-arrow {
    color: var(--card-color);
    transform: translateX(3px);
}

.sxsw-module .mock-hub-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sxsw-module .mock-hub-card-icon svg { width: 22px; height: 22px; }

.sxsw-module .mock-hub-card-content { flex: 1; min-width: 0; }
.sxsw-module .mock-hub-card-label {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--card-color);
    margin-bottom: 2px;
}
.sxsw-module .mock-hub-card-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.sxsw-module .mock-hub-card-desc {
    font-size: 0.78rem;
    color: rgba(161, 161, 170, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sxsw-module .mock-hub-card-arrow {
    flex-shrink: 0;
    color: var(--text-disabled);
    transition: all 0.2s var(--ease-out);
}
.sxsw-module .mock-hub-card-arrow svg { width: 18px; height: 18px; }

/* ------------------------------------------------
   25. EXPLORE LAUNCH CARD (Your Turn to Explore slide)
   ------------------------------------------------ */
.sxsw-module .explore-launch {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
    padding: clamp(24px, 3vw, 40px);
    background: rgba(5, 8, 12, 0.3);
    border: none;
    border-radius: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    position: relative;
    z-index: 1;
}

/* Animated gradient border */
.sxsw-module .explore-launch::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: linear-gradient(135deg, var(--teal-400), var(--blue-400), var(--purple-400), var(--orange-400), var(--pink-400));
    background-size: 300% 300%;
    animation: sxsw-shimmerBorder 8s ease-in-out infinite;
    z-index: -2;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

/* Inner fill to mask the gradient, leaving only the border visible */
.sxsw-module .explore-launch::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 19px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: -1;
    transition: background 0.4s ease;
}

.sxsw-module .explore-launch:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}
.sxsw-module .explore-launch:hover::before {
    opacity: 1;
}
.sxsw-module .explore-launch:hover::after {
    background: rgba(0, 0, 0, 0.45);
}
.sxsw-module .explore-launch:hover .explore-launch-arrow {
    transform: translateX(4px);
}
.sxsw-module .explore-launch:hover .explore-launch-orb--1 {
    opacity: 0.6;
}
.sxsw-module .explore-launch:hover .explore-launch-orb--2 {
    opacity: 0.5;
}

@keyframes sxsw-shimmerBorder {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
}

.sxsw-module .explore-launch-visual {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.sxsw-module .explore-launch-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    transition: opacity 0.4s ease;
}
.sxsw-module .explore-launch-orb--1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--teal-400), transparent 70%);
    opacity: 0.3;
    top: 0;
    left: 0;
    animation: sxsw-orbColorCycle1 8s ease-in-out infinite;
}
.sxsw-module .explore-launch-orb--2 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--purple-400), transparent 70%);
    opacity: 0.2;
    top: 10px;
    left: 10px;
    animation: sxsw-orbColorCycle2 8s ease-in-out infinite;
}

@keyframes sxsw-orbColorCycle1 {
    0%, 100% { background: radial-gradient(circle, var(--teal-400), transparent 70%); }
    33% { background: radial-gradient(circle, var(--blue-400), transparent 70%); }
    66% { background: radial-gradient(circle, var(--purple-400), transparent 70%); }
}
@keyframes sxsw-orbColorCycle2 {
    0%, 100% { background: radial-gradient(circle, var(--purple-400), transparent 70%); }
    33% { background: radial-gradient(circle, var(--pink-400), transparent 70%); }
    66% { background: radial-gradient(circle, var(--teal-400), transparent 70%); }
}

.sxsw-module .explore-launch-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(5, 8, 12, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
    overflow: hidden;
}
/* Gradient ring around the icon */
.sxsw-module .explore-launch-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-400), var(--blue-400), var(--purple-400), var(--orange-400), var(--pink-400));
    background-size: 300% 300%;
    animation: sxsw-shimmerBorder 8s ease-in-out infinite;
    z-index: -2;
}
.sxsw-module .explore-launch-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: rgba(5, 8, 12, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}
.sxsw-module .explore-launch-icon svg {
    color: var(--teal-300);
    position: relative;
    z-index: 1;
}

.sxsw-module .explore-launch-content {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.sxsw-module .explore-launch-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}
.sxsw-module .explore-launch-arrow svg {
    background: linear-gradient(135deg, var(--teal-400), var(--blue-400), var(--purple-400));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    animation: sxsw-gradShift 12s ease-in-out infinite;
}

@media (max-width: 768px) {
    .sxsw-module .explore-launch {
        flex-direction: column;
        text-align: center;
    }
    .sxsw-module .explore-launch-content { text-align: center; }
    .sxsw-module .explore-launch-arrow { display: none; }
}

/* ------------------------------------------------
   25b. METHODOLOGY FLOWCHART (2×2×1 grid)
   ------------------------------------------------ */
.sxsw-module .flow-pipeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* Row of 2 cards with horizontal arrow between */
.sxsw-module .flow-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
}
.sxsw-module .flow-row--center { justify-content: center; }

/* Each step takes equal width in a row */
.sxsw-module .flow-step {
    flex: 1;
    max-width: 480px;
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    animation: sxsw-flowReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.sxsw-module .flow-row--center .flow-step { flex: 0 1 480px; }

/* Card within flow step */
.sxsw-module .flow-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    height: 100%;
    position: relative;
}
.sxsw-module .flow-card:hover { border-color: rgba(255, 255, 255, 0.2); }

.sxsw-module .flow-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid;
    position: relative;
}

.sxsw-module .flow-num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid;
    border-color: inherit;
    opacity: 0;
    animation: sxsw-numPulse 2.5s ease-in-out infinite;
}

.sxsw-module .flow-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.sxsw-module .flow-card-title p {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

/* Horizontal arrow between two cards in a row */
.sxsw-module .flow-h-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    opacity: 0;
    animation: sxsw-hArrowReveal 0.4s var(--ease-out) forwards;
}
.sxsw-module .flow-h-arrow-line {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}
.sxsw-module .flow-h-arrow-line::before {
    content: '';
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--from-color, var(--teal-400)), var(--to-color, var(--blue-400)));
    border-radius: 1px;
    box-shadow: 0 0 6px var(--from-color, var(--teal-400));
    animation: sxsw-hLineGrow 0.35s var(--ease-out) forwards;
}
.sxsw-module .flow-h-arrow-chevron {
    opacity: 0;
    animation: sxsw-hChevPop 0.25s var(--ease-spring) forwards;
    filter: drop-shadow(0 0 4px var(--to-color, var(--blue-400)));
    margin-left: -2px;
}

/* Vertical connector between rows */
.sxsw-module .flow-v-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 44px;
    position: relative;
    opacity: 0;
    animation: sxsw-connectorReveal 0.4s var(--ease-out) forwards;
}
.sxsw-module .flow-v-line {
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--from-color, var(--teal-400)), var(--to-color, var(--blue-400)));
    border-radius: 1px;
    box-shadow: 0 0 6px var(--from-color, var(--teal-400));
    animation: sxsw-lineGrow 0.35s var(--ease-out) forwards;
}
.sxsw-module .flow-v-chevron {
    opacity: 0;
    animation: sxsw-vChevPop 0.25s var(--ease-spring) forwards;
    filter: drop-shadow(0 0 4px var(--to-color, var(--blue-400)));
    margin-top: -2px;
}

/* Keyframes */
@keyframes sxsw-flowReveal {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes sxsw-connectorReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes sxsw-lineGrow {
    from { height: 0; }
    to { height: 100%; }
}
@keyframes sxsw-hArrowReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes sxsw-hLineGrow {
    from { width: 0; }
    to { width: 24px; }
}
@keyframes sxsw-hChevPop {
    from { opacity: 0; transform: translateX(-4px) scale(0.5); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes sxsw-vChevPop {
    from { opacity: 0; transform: translateY(-4px) scale(0.5); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes sxsw-numPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.15); }
}

/* Responsive: stack to single column on small screens */
@media (max-width: 768px) {
    .sxsw-module .flow-row { flex-direction: column; align-items: center; }
    .sxsw-module .flow-step { max-width: 100%; }
    .sxsw-module .flow-card { padding: 18px 20px; gap: 12px; }
    .sxsw-module .flow-num { width: 38px; height: 38px; font-size: 1rem; }
    .sxsw-module .flow-h-arrow { width: auto; height: 36px; }
    .sxsw-module .flow-h-arrow-line { transform: rotate(90deg); }
    .sxsw-module .flow-v-connector { height: 36px; }
}

/* Light mode */
.sxsw-module[data-theme="light"] .flow-h-arrow-line::before,
.sxsw-module[data-theme="light"] .flow-v-line { box-shadow: none; }
.sxsw-module[data-theme="light"] .flow-h-arrow-chevron,
.sxsw-module[data-theme="light"] .flow-v-chevron { filter: none; }

/* ------------------------------------------------
   26. RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 768px) {
    .sxsw-module .tl-section { padding: 32px 20px 32px 20px; }
    .sxsw-module .meth-section { padding: 32px 20px; }
    .sxsw-module .timeline-line { left: 16px; }
    .sxsw-module .year-nav { right: 12px; gap: 12px; }
    .sxsw-module .year-nav-dot { width: 10px; height: 10px; }
    .sxsw-module .controls { bottom: 20px; padding: 10px 16px; gap: 12px; }
    .sxsw-module .slide-content { padding: 40px 16px 100px; }
}

/* ================================================
   27. THEME TOGGLE BUTTON
   ================================================ */
.sxsw-module .theme-toggle {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 1002;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    color: var(--text-primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sxsw-module .theme-toggle:hover {
    border-color: var(--border-accent);
    transform: scale(1.05);
}
.sxsw-module .theme-toggle:hover svg { transform: rotate(15deg); }
.sxsw-module .theme-toggle svg { transition: transform 0.3s ease; }
.sxsw-module .theme-toggle .sun-icon { display: block; }
.sxsw-module .theme-toggle .moon-icon { display: none; }
.sxsw-module[data-theme="light"] .theme-toggle .sun-icon { display: none; }
.sxsw-module[data-theme="light"] .theme-toggle .moon-icon { display: block; }

/* ================================================
   28. LIGHT MODE - VARIABLE OVERRIDES
   ================================================ */
.sxsw-module[data-theme="light"] {
    --bg-primary: #F9FAFB;
    --bg-elevated: #FFFFFF;
    --bg-surface: #F1F5F9;
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-card-hover: rgba(255, 255, 255, 0.8);

    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --text-disabled: rgba(15, 23, 42, 0.3);

    --border-subtle: #F3F4F6;
    --border-default: rgba(2, 6, 23, 0.08);
    --border-accent: #D1D5DB;
    --border-strong: rgba(0, 0, 0, 0.25);

    --teal-glow: rgba(20, 184, 166, 0.25);
    --purple-glow: rgba(168, 85, 247, 0.25);
    --blue-glow: rgba(59, 130, 246, 0.25);
    --amber-glow: rgba(253, 224, 71, 0.3);
    --orange-glow: rgba(251, 146, 60, 0.25);
    --pink-glow: rgba(236, 72, 153, 0.25);
    --green-glow: rgba(34, 197, 94, 0.25);
}

/* ================================================
   29. LIGHT MODE - BASE & BACKGROUNDS
   ================================================ */
.sxsw-module[data-theme="light"] {
    background: var(--bg-primary);
}

.sxsw-module[data-theme="light"] .landing-bg {
    opacity: 0.15;
}

.sxsw-module[data-theme="light"] .landing-grid {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

.sxsw-module[data-theme="light"] .landing-orb { opacity: 0.35; }
.sxsw-module[data-theme="light"] .landing-orb--purple { opacity: 0.25; }
.sxsw-module[data-theme="light"] .landing-orb--blue { opacity: 0.3; }
.sxsw-module[data-theme="light"] .landing-orb--teal { opacity: 0.2; }

/* ================================================
   30. LIGHT MODE - GLASS CARDS
   ================================================ */
.sxsw-module[data-theme="light"] .glass-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.sxsw-module[data-theme="light"] .glass-card--hover:hover {
    border-color: #D1D5DB;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 0 16px var(--card-glow, rgba(0,0,0,0.02));
    transform: translateY(-4px);
}
.sxsw-module[data-theme="light"] .glass-card--cycling {
    background-image: none;
}
.sxsw-module[data-theme="light"] .glass-card--active {
    background: #FFFFFF;
    border-color: var(--module-color, var(--purple-400));
    box-shadow: 0 0 20px var(--module-glow, rgba(168, 85, 247, 0.2)), 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ================================================
   31. LIGHT MODE - PRESENTER CARDS
   ================================================ */
.sxsw-module[data-theme="light"] .presenter-card {
    background: rgba(255, 255, 255, 0.7);
}

/* ================================================
   32. LIGHT MODE - GRADIENT TEXT (darker saturated)
   ================================================ */
.sxsw-module[data-theme="light"] .gradient-text-hero {
    background: linear-gradient(135deg, #0d9488, #2563eb, #7c3aed, #ea580c, #db2777);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sxsw-gradShift 12s ease-in-out infinite;
}

.sxsw-module[data-theme="light"] .accent {
    background: linear-gradient(135deg, #0d9488, #2563eb, #7c3aed, #ea580c, #db2777);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sxsw-gradient-text-shift 15s ease-in-out infinite;
}

/* ================================================
   33. LIGHT MODE - NAVIGATION PILL
   ================================================ */
.sxsw-module[data-theme="light"] .controls {
    background: rgba(255, 255, 255, 0.9);
    border-color: #E5E7EB;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(1.2) blur(16px);
    -webkit-backdrop-filter: saturate(1.2) blur(16px);
}
.sxsw-module[data-theme="light"] .control-btn {
    border-color: #D1D5DB;
    color: #6B7280;
}
.sxsw-module[data-theme="light"] .control-btn:hover:not(:disabled) {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
    color: #6366f1;
}
.sxsw-module[data-theme="light"] .controls-counter {
    color: #374151;
}
.sxsw-module[data-theme="light"] .controls-dot {
    background: #D1D5DB;
}
.sxsw-module[data-theme="light"] .controls-dot:hover:not(.active) {
    background: #9CA3AF;
}
.sxsw-module[data-theme="light"] .controls-dot.active {
    background: #4338ca;
    box-shadow: 0 0 10px rgba(67, 56, 202, 0.4);
}
.sxsw-module[data-theme="light"] .controls-dot.visited {
    background: rgba(16, 185, 129, 0.7);
}

/* ================================================
   34. LIGHT MODE - PROGRESS BAR
   ================================================ */
.sxsw-module[data-theme="light"] .header-progress {
    background: #E5E7EB;
}
.sxsw-module[data-theme="light"] .header-progress-fill {
    background: linear-gradient(90deg, #14b8a6, #3b82f6, #a855f7, #f97316, #ec4899) !important;
    background-size: 300% 100% !important;
    animation: sxsw-barColorCycle 8s ease-in-out infinite !important;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5) !important;
}

/* ================================================
   35. LIGHT MODE - THEME TOGGLE BUTTON
   ================================================ */
.sxsw-module[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.8);
    border-color: #E5E7EB;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.sxsw-module[data-theme="light"] .theme-toggle:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ================================================
   36. LIGHT MODE - MOCK HUB (Platform Showcase)
   ================================================ */
.sxsw-module[data-theme="light"] .mock-hub {
    background: rgba(255, 255, 255, 0.5);
    border-color: #E5E7EB;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.sxsw-module[data-theme="light"] .mock-hub-card {
    background: #FFFFFF;
    border-color: #E5E7EB;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.sxsw-module[data-theme="light"] .mock-hub-card::before {
    box-shadow: none;
}
.sxsw-module[data-theme="light"] .mock-hub-card:hover {
    background: #FFFFFF;
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 20px var(--card-glow);
}
.sxsw-module[data-theme="light"] .mock-hub-card-desc {
    color: #9CA3AF;
}

/* ================================================
   37. LIGHT MODE - EXPLORE LAUNCH CARD
   ================================================ */
.sxsw-module[data-theme="light"] .explore-launch::after {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.sxsw-module[data-theme="light"] .explore-launch:hover::after {
    background: rgba(255, 255, 255, 0.78);
}
.sxsw-module[data-theme="light"] .explore-launch-icon {
    background: rgba(255, 255, 255, 0.7);
}
.sxsw-module[data-theme="light"] .explore-launch-icon::after {
    background: rgba(255, 255, 255, 0.7);
}
.sxsw-module[data-theme="light"] .explore-launch-icon svg {
    color: var(--teal-600);
}
.sxsw-module[data-theme="light"] .explore-launch-orb--1 { opacity: 0.5; }
.sxsw-module[data-theme="light"] .explore-launch-orb--2 { opacity: 0.35; }
.sxsw-module[data-theme="light"] .explore-launch:hover .explore-launch-orb--1 { opacity: 0.75; }
.sxsw-module[data-theme="light"] .explore-launch:hover .explore-launch-orb--2 { opacity: 0.6; }
.sxsw-module[data-theme="light"] .explore-launch:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

/* ================================================
   38. LIGHT MODE - TIMELINE
   ================================================ */
.sxsw-module[data-theme="light"] .timeline-line {
    background: rgba(0, 0, 0, 0.06);
}
.sxsw-module[data-theme="light"] .year-nav-dot {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}
.sxsw-module[data-theme="light"] .year-nav-dot:hover {
    background: rgba(0, 0, 0, 0.15);
}
.sxsw-module[data-theme="light"] .year-nav-label {
    color: #6B7280;
}
.sxsw-module[data-theme="light"] .meth-nav-dot {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}
.sxsw-module[data-theme="light"] .meth-nav-dot:hover {
    background: rgba(0, 0, 0, 0.15);
}
.sxsw-module[data-theme="light"] .meth-nav-label {
    color: #6B7280;
}

/* Methodology phase visuals - light mode */
.sxsw-module[data-theme="light"] .meth-iframe-wrap {
    border-color: #E5E7EB;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    background: #F9FAFB;
}
.sxsw-module[data-theme="light"] .meth-stat {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}
.sxsw-module[data-theme="light"] .meth-mockup {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}
.sxsw-module[data-theme="light"] .meth-device-icon {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}
.sxsw-module[data-theme="light"] .meth-device-icon::after { opacity: 0; }
.sxsw-module[data-theme="light"] .meth-bubble {
    background: rgba(168, 85, 247, 0.06);
    border-color: rgba(168, 85, 247, 0.12);
}
.sxsw-module[data-theme="light"] .meth-result {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.2);
}
.sxsw-module[data-theme="light"] .meth-sheet {
    border-color: rgba(251, 191, 36, 0.1);
}
.sxsw-module[data-theme="light"] .meth-sheet-header {
    background: rgba(251, 191, 36, 0.06);
    border-bottom-color: rgba(251, 191, 36, 0.1);
}
.sxsw-module[data-theme="light"] .meth-sheet-row {
    border-bottom-color: rgba(0, 0, 0, 0.04);
}
.sxsw-module[data-theme="light"] .meth-stream-bar {
    background: rgba(59, 130, 246, 0.06);
}

/* App builder (Phase 1) light overrides */
.sxsw-module[data-theme="light"] .meth-app-builder {
    border-color: rgba(20, 184, 166, 0.1);
}
.sxsw-module[data-theme="light"] .meth-app-titlebar {
    background: rgba(20, 184, 166, 0.04);
    border-bottom-color: rgba(20, 184, 166, 0.08);
}
.sxsw-module[data-theme="light"] .meth-app-panel {
    background: rgba(20, 184, 166, 0.03);
    border-color: rgba(20, 184, 166, 0.08);
}
.sxsw-module[data-theme="light"] .meth-app-panel-icon {
    background: rgba(20, 184, 166, 0.06);
    border-color: rgba(20, 184, 166, 0.12);
}
.sxsw-module[data-theme="light"] .meth-app-build-bar {
    background: rgba(20, 184, 166, 0.04);
}

/* Combined flow (Phase 2) light overrides */
.sxsw-module[data-theme="light"] .meth-flow-divider {
    color: var(--blue-500);
}

/* Dashboard (Phase 4) light overrides */
.sxsw-module[data-theme="light"] .meth-dashboard {
    border-color: rgba(34, 197, 94, 0.1);
}
.sxsw-module[data-theme="light"] .meth-dash-titlebar {
    background: rgba(34, 197, 94, 0.04);
    border-bottom-color: rgba(34, 197, 94, 0.08);
}
.sxsw-module[data-theme="light"] .meth-dash-kpi {
    background: rgba(34, 197, 94, 0.03);
    border-color: rgba(34, 197, 94, 0.08);
}
.sxsw-module[data-theme="light"] .meth-dash-badge {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.15);
}
.sxsw-module[data-theme="light"] .meth-dash-chart-axis {
    background: rgba(34, 197, 94, 0.1);
}
.sxsw-module[data-theme="light"] .meth-dash-bar.visible::after {
    box-shadow: none;
}
.sxsw-module[data-theme="light"] .meth-dash-insight {
    background: rgba(34, 197, 94, 0.03);
    border-color: rgba(34, 197, 94, 0.08);
}

/* Timeline markers - slightly muted glow in light */
.sxsw-module[data-theme="light"] .tl-year-marker--teal { box-shadow: 0 0 16px var(--teal-glow); }
.sxsw-module[data-theme="light"] .tl-year-marker--blue { box-shadow: 0 0 16px var(--blue-glow); }
.sxsw-module[data-theme="light"] .tl-year-marker--purple { box-shadow: 0 0 16px var(--purple-glow); }
.sxsw-module[data-theme="light"] .tl-year-marker--amber { box-shadow: 0 0 16px var(--amber-glow); }
.sxsw-module[data-theme="light"] .tl-year-marker--green { box-shadow: 0 0 16px var(--green-glow); }

/* Timeline titles - use darker shades for readability */
.sxsw-module[data-theme="light"] .tl-year-title--teal { background-image: linear-gradient(135deg, var(--teal-600), var(--teal-700)); }
.sxsw-module[data-theme="light"] .tl-year-title--blue { background-image: linear-gradient(135deg, var(--blue-600), var(--blue-700)); }
.sxsw-module[data-theme="light"] .tl-year-title--purple { background-image: linear-gradient(135deg, var(--purple-600), var(--purple-700)); }
.sxsw-module[data-theme="light"] .tl-year-title--amber { background-image: linear-gradient(135deg, var(--amber-600), var(--amber-700)); }
.sxsw-module[data-theme="light"] .tl-year-title--green { background-image: linear-gradient(135deg, var(--green-600), var(--green-700)); }

/* Timeline event cards */
.sxsw-module[data-theme="light"] .tl-event--teal { border-color: rgba(20,184,166,0.2); }
.sxsw-module[data-theme="light"] .tl-event--teal:hover { border-color: rgba(20,184,166,0.5); box-shadow: 0 8px 30px rgba(20,184,166,0.1); }
.sxsw-module[data-theme="light"] .tl-event--blue { border-color: rgba(59,130,246,0.2); }
.sxsw-module[data-theme="light"] .tl-event--blue:hover { border-color: rgba(59,130,246,0.5); box-shadow: 0 8px 30px rgba(59,130,246,0.1); }
.sxsw-module[data-theme="light"] .tl-event--purple { border-color: rgba(168,85,247,0.2); }
.sxsw-module[data-theme="light"] .tl-event--purple:hover { border-color: rgba(168,85,247,0.5); box-shadow: 0 8px 30px rgba(168,85,247,0.1); }
.sxsw-module[data-theme="light"] .tl-event--amber { border-color: rgba(251,191,36,0.2); }
.sxsw-module[data-theme="light"] .tl-event--amber:hover { border-color: rgba(251,191,36,0.5); box-shadow: 0 8px 30px rgba(251,191,36,0.1); }
.sxsw-module[data-theme="light"] .tl-event--green { border-color: rgba(34,197,94,0.2); }
.sxsw-module[data-theme="light"] .tl-event--green:hover { border-color: rgba(34,197,94,0.5); box-shadow: 0 8px 30px rgba(34,197,94,0.1); }

/* Timeline dividers */
.sxsw-module[data-theme="light"] .section-divider-line {
    background: rgba(0, 0, 0, 0.06);
}
.sxsw-module[data-theme="light"] .section-divider-dot {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}
.sxsw-module[data-theme="light"] .section-divider-year-label {
    color: #6B7280;
}

/* ================================================
   39. LIGHT MODE - BADGES
   ================================================ */
.sxsw-module[data-theme="light"] .badge--purple { background: rgba(168, 85, 247, 0.1); color: var(--purple-600); }
.sxsw-module[data-theme="light"] .badge--teal { background: rgba(20, 184, 166, 0.1); color: var(--teal-600); }
.sxsw-module[data-theme="light"] .badge--blue { background: rgba(59, 130, 246, 0.1); color: var(--blue-600); }
.sxsw-module[data-theme="light"] .badge--green { background: rgba(34, 197, 94, 0.1); color: var(--green-600); }

/* ================================================
   40. LIGHT MODE - SCROLL CUE
   ================================================ */
.sxsw-module[data-theme="light"] .scroll-cue {
    color: #9CA3AF;
}

/* ================================================
   41. LIGHT MODE - RESPONSIVE ADJUSTMENTS
   ================================================ */
@media (max-width: 768px) {
    .sxsw-module .theme-toggle { top: 12px; right: 12px; padding: 8px; }
}
