/* ===========================================
           CSS CUSTOM PROPERTIES (THEME)
           Microsoft Azure / GitHub Copilot Design System
           =========================================== */
        :root {
            /* Colors - Microsoft Azure Template */
            --magenta: #c03bc4;
            --purple: #8661c5;
            --blue: #0078d4;
            --light-magenta: #d59ed7;
            --light-purple: #c5b4e3;
            --light-blue: #8dc8e8;
            --dark-bg: #000000;
            --darker-bg: #0a0a0a;

            /* Typography - Segoe Sans Text fallbacks */
            --font-display: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
            --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

            /* Spacing */
            --slide-padding: clamp(2rem, 5vw, 4rem);

            /* Animation */
            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
            --duration-normal: 0.45s;
        }

        /* ===========================================
           BASE STYLES
           =========================================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-snap-type: y mandatory;
        }

        body {
            font-family: var(--font-body);
            background: var(--dark-bg);
            color: white;
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* ===========================================
           PROGRESS BAR
           Shows presentation progress at top
           =========================================== */
        .progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--magenta), var(--purple), var(--blue));
            width: 0%;
            z-index: 100;
            transition: width 0.3s ease;
            box-shadow: 0 0 10px var(--purple);
        }

        /* ===========================================
           NAVIGATION DOTS
           Side navigation for quick slide jumping
           =========================================== */
        .nav-dots {
            position: fixed;
            right: 2rem;
            top: 50%;
            transform: translateY(-50%);
            z-index: 50;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .nav-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            cursor: pointer;
            transition: all 0.3s var(--ease-out-expo);
            position: relative;
        }

        .nav-dot:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: scale(1.3);
        }

        .nav-dot.active {
            background: var(--purple);
            box-shadow: 0 0 10px var(--purple);
            animation: pop 0.4s var(--ease-out-expo);
        }

        @keyframes pop {
            0%   { transform: scale(1); }
            50%  { transform: scale(1.8); }
            100% { transform: scale(1.5); }
        }

        /* Tooltip for nav dots */
        .nav-dot::after {
            content: attr(data-title);
            position: absolute;
            right: 25px;
            white-space: nowrap;
            background: rgba(0, 0, 0, 0.9);
            padding: 0.5rem 1rem;
            border-radius: 5px;
            font-size: 0.85rem;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
            border: 1px solid var(--purple);
        }

        .nav-dot:hover::after {
            opacity: 1;
        }

        /* ===========================================
           SLIDE CONTAINER
           Each section is one slide
           =========================================== */
        .slide {
            min-height: 100vh;
            padding: var(--slide-padding);
            scroll-snap-align: start;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        /* Animated gradient background for all slides */
        .gradient-bg {
            position: absolute;
            inset: 0;
            background: var(--dark-bg);
            overflow: hidden;
        }

        /* SDLC-inspired curved accent lines */
        .gradient-bg::before {
            content: '';
            position: absolute;
            top: -20%;
            left: -10%;
            width: 40%;
            height: 40%;
            background: radial-gradient(ellipse, rgba(192, 59, 196, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            animation: float-accent 15s ease-in-out infinite;
            transition: transform 0.8s var(--ease-out-expo);
        }

        .gradient-bg::after {
            content: '';
            position: absolute;
            bottom: -20%;
            right: -10%;
            width: 50%;
            height: 50%;
            background: radial-gradient(ellipse, rgba(0, 120, 212, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            animation: float-accent-alt 20s ease-in-out infinite;
            transition: transform 0.8s var(--ease-out-expo);
        }

        /* Parallax effect on slide transitions */
        .slide.prev .gradient-bg::before  { transform: translate(-5%, -5%) scale(1.05); }
        .slide.next .gradient-bg::after   { transform: translate(5%, 5%) scale(1.05); }

        @keyframes float-accent {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(10%, 10%); }
        }

        @keyframes float-accent-alt {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(-10%, -10%); }
        }


        /* Content container */
        .slide-content {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        /* ===========================================
           TYPOGRAPHY
           =========================================== */
        h1 {
            font-family: var(--font-display);
            font-weight: 900;
            font-size: clamp(3rem, 8vw, 6rem);
            line-height: 1.1;
            margin-bottom: 1rem;
        }

        h2 {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: clamp(2rem, 5vw, 4rem);
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }

        h3 {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: clamp(1.5rem, 3vw, 2.5rem);
            line-height: 1.3;
            margin-bottom: 1rem;
        }

        p {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            margin-bottom: 1rem;
            color: rgba(255, 255, 255, 0.85);
        }

        .subtitle {
            font-size: clamp(1.2rem, 2.5vw, 1.8rem);
            color: rgba(255, 255, 255, 0.7);
            font-weight: 400;
        }

        /* Section label for divider slides */
        .section-label {
            font-size: clamp(1rem, 2vw, 1.3rem);
            color: var(--light-purple);
            font-weight: 600;
            margin-bottom: 1rem;
            text-transform: none;
            letter-spacing: 0.5px;
        }

        /* Gradient text effect */
        .gradient-text {
            background: linear-gradient(135deg, var(--magenta), var(--purple), var(--blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Glowing text */
        .glow-text {
            text-shadow: 0 0 20px currentColor;
        }

        /* ===========================================
           ANIMATIONS
           Trigger via .visible class
           =========================================== */
        .reveal {
            opacity: 0;
            transform: translateY(30px) translateZ(0);
            transition: opacity var(--duration-normal) var(--ease-out-expo),
                        transform var(--duration-normal) var(--ease-out-expo);
            will-change: opacity, transform;
        }

        .slide.visible .reveal {
            opacity: 1;
            transform: translateY(0) translateZ(0);
        }

        /* Stagger children animations */
        .reveal:nth-child(1) { transition-delay: 0.1s; }
        .reveal:nth-child(2) { transition-delay: 0.2s; }
        .reveal:nth-child(3) { transition-delay: 0.3s; }
        .reveal:nth-child(4) { transition-delay: 0.4s; }
        .reveal:nth-child(5) { transition-delay: 0.5s; }
        .reveal:nth-child(6) { transition-delay: 0.6s; }

        /* Fade in animation */
        .fade-in {
            opacity: 0;
            transition: opacity 0.8s var(--ease-out-expo);
        }

        .slide.visible .fade-in {
            opacity: 1;
        }

        /* ===========================================
           TITLE SLIDE
           =========================================== */
        .title-slide {
            text-align: left;
            padding-left: clamp(3rem, 8vw, 6rem);
        }

        .title-slide h1 {
            font-size: clamp(3.5rem, 10vw, 7rem);
            font-weight: 600;
            line-height: 1.1;
            color: white;
            margin-bottom: 2rem;
        }

        .title-slide .gradient-text {
            display: block;
        }

        .accent-line {
            width: 120px;
            height: 4px;
            background: linear-gradient(90deg, var(--magenta), var(--purple), var(--blue));
            margin: 2rem auto;
            border-radius: 2px;
            box-shadow: 0 0 20px var(--purple);
            animation: line-glow 2s ease-in-out infinite;
        }

        @keyframes line-glow {
            0%, 100% { box-shadow: 0 0 20px var(--purple); }
            50% { box-shadow: 0 0 40px var(--magenta), 0 0 60px var(--purple); }
        }

        .badge {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background: rgba(192, 59, 196, 0.1);
            border: 2px solid var(--magenta);
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--light-magenta);
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* ===========================================
           CONTENT SECTIONS
           =========================================== */
        .content-grid {
            display: grid;
            gap: 2rem;
            margin-top: 2rem;
        }

        .content-box {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(134, 97, 197, 0.2);
            border-radius: 15px;
            padding: 2rem;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            transition: all 0.3s var(--ease-out-expo);
        }

        .content-box:hover {
            border-color: var(--purple);
            box-shadow: 0 0 30px rgba(134, 97, 197, 0.3);
            transform: translateY(-5px);
        }

        .content-box h3 {
            color: var(--light-purple);
        }

        /* Ship/announcement cards */
        .ship-grid,
        .agent-hq-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .ship-card,
        .agent-hq-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(134, 97, 197, 0.25);
            border-radius: 16px;
            padding: 1.75rem;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
        }

        .ship-card::after,
        .agent-hq-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(134, 97, 197, 0.18), transparent 55%);
            opacity: 0;
            transition: opacity 0.3s var(--ease-out-expo);
        }

        .ship-card:hover,
        .agent-hq-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 45px rgba(134, 97, 197, 0.2);
        }

        .ship-card:hover::after,
        .agent-hq-card:hover::after {
            opacity: 1;
        }

        .ship-tag,
        .agent-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.35rem 0.85rem;
            border-radius: 999px;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            margin-bottom: 1rem;
            background: rgba(134, 97, 197, 0.18);
            color: var(--light-purple);
            border: 1px solid rgba(134, 97, 197, 0.45);
        }

        .agent-chip {
            background: rgba(192, 59, 196, 0.2);
            color: var(--light-magenta);
            border-color: rgba(192, 59, 196, 0.4);
        }

        .ship-metric {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.65);
            margin-top: 0.75rem;
        }

        /* ===========================================
           LISTS
           =========================================== */
        ul, ol {
            margin-left: 2rem;
            margin-bottom: 1.5rem;
        }

        li {
            font-size: clamp(1rem, 2vw, 1.3rem);
            margin-bottom: 0.75rem;
            color: rgba(255, 255, 255, 0.85);
        }

        li::marker {
            color: var(--purple);
        }

        /* Custom bullet points */
        .custom-list {
            list-style: none;
            margin-left: 0;
        }

        .custom-list li {
            position: relative;
            padding-left: 2rem;
        }

        .custom-list li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--magenta);
            font-weight: bold;
        }

        /* Custom list items get staggered via JS */
        .custom-list li {
            opacity: 0;
            transform: translateY(15px) translateZ(0);
            transition: opacity var(--duration-normal) var(--ease-out-expo),
                        transform var(--duration-normal) var(--ease-out-expo);
        }

        .slide.visible .custom-list li {
            opacity: 1;
            transform: translateY(0) translateZ(0);
        }

        /* ===========================================
           QUOTE / CALLOUT
           =========================================== */
        .callout {
            background: rgba(192, 59, 196, 0.05);
            border-left: 4px solid var(--magenta);
            padding: 2rem;
            margin: 2rem 0;
            border-radius: 0 10px 10px 0;
            font-size: clamp(1.2rem, 2.5vw, 1.6rem);
            font-style: italic;
        }

        .callout strong {
            color: var(--light-magenta);
            font-style: normal;
        }

        /* ===========================================
           CODE BLOCKS
           =========================================== */
        code {
            font-family: 'JetBrains Mono', monospace;
            background: rgba(134, 97, 197, 0.1);
            padding: 0.2rem 0.5rem;
            border-radius: 5px;
            color: var(--light-purple);
            font-size: 0.9em;
        }

        /* ===========================================
           FLOATING PARTICLES
           Background decoration
           =========================================== */
        .particle {
            position: fixed;
            width: 3px;
            height: 3px;
            background: var(--magenta);
            border-radius: 50%;
            pointer-events: none;
            opacity: 0;
            animation: float-up 6s ease-in infinite;
            z-index: 0;
        }

        @keyframes float-up {
            0% {
                transform: translateY(100vh) translateX(0);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100vh) translateX(50px);
                opacity: 0;
            }
        }

        /* ===========================================
           KEYBOARD HINT
           Shows navigation instructions
           =========================================== */
        .keyboard-hint {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.4);
            z-index: 50;
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .key {
            padding: 0.3rem 0.6rem;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 5px;
            font-family: monospace;
        }

        /* ===========================================
           RESPONSIVE
           =========================================== */
        @media (max-width: 768px) {
            .nav-dots,
            .keyboard-hint {
                display: none;
            }

            .slide {
                scroll-snap-align: start;
            }

            h1 {
                font-size: 2.5rem;
            }

            h2 {
                font-size: 2rem;
            }

            .content-box {
                padding: 1.5rem;
            }
        }

        /* ===========================================
           REDUCED MOTION
           =========================================== */
        @media (prefers-reduced-motion: reduce) {
            .reveal,
            .fade-in {
                transition: opacity 0.3s ease;
                transform: none;
            }

            .particle {
                display: none;
            }

            .gradient-bg::before,
            .gradient-bg::after {
                animation: none;
            }
        }

        /* ===========================================
           SECTION-SPECIFIC STYLES
           =========================================== */

        /* Image slide */
        .image-slide {
            background: var(--dark-bg);
        }

        .image-slide .gradient-bg {
            background: var(--dark-bg) url('assets/copilot-cover.png') center center / contain no-repeat;
        }

        .image-slide .gradient-bg::before,
        .image-slide .gradient-bg::after {
            display: none;
        }

        .image-slide .slide-content {
            max-width: 100%;
            width: 100%;
            padding: 0;
            min-height: 100vh;
        }

        .title-slide .gradient-bg {
            background: var(--dark-bg) url('assets/copilot-cover.png') center center / cover no-repeat;
        }

        .title-slide .gradient-bg::before,
        .title-slide .gradient-bg::after {
            display: none;
        }

        .cover-slide .slide-content {
            display: none;
        }

        .full-slide-image {
            width: 100%;
            max-height: 100vh;
            object-fit: contain;
            display: block;
            margin: 0 auto;
        }

        /* Large number emphasis */
        .big-number {
            font-size: clamp(4rem, 10vw, 8rem);
            font-weight: 900;
            line-height: 1;
            background: linear-gradient(135deg, var(--magenta), var(--purple), var(--blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Timeline styling */
        .timeline {
            position: relative;
            padding-left: 3rem;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, var(--magenta), var(--purple), var(--blue));
        }

        .timeline-item {
            position: relative;
            margin-bottom: 2rem;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -3.5rem;
            top: 0.5rem;
            width: 12px;
            height: 12px;
            background: var(--purple);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--purple);
        }

        /* Grid layout for 2 columns */
        .two-col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        @media (max-width: 768px) {
            .two-col {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        /* Emphasis box */
        .emphasis-box {
            background: rgba(192, 59, 196, 0.1);
            border: 2px solid var(--magenta);
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            margin: 2rem 0;
        }

        .emphasis-box h3 {
            color: var(--light-magenta);
            margin-bottom: 0.5rem;
        }

        /* ===========================================
           SLIDE 3: BOTTLENECK SHIFT
           Before/After pipeline comparison
           =========================================== */
        .before-after {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 2rem;
            align-items: center;
            margin-top: 2rem;
        }

        .before-panel, .after-panel {
            padding: 1.5rem;
        }

        .pipeline {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
            justify-content: center;
            margin: 1.5rem 0;
        }

        .pipeline-stage {
            padding: 0.75rem 1.25rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.95rem;
            text-align: center;
            min-width: 80px;
        }

        .pipeline-stage.fast {
            background: rgba(78, 205, 196, 0.15);
            border: 1px solid rgba(78, 205, 196, 0.4);
            color: #4ecdc4;
        }

        .pipeline-stage.bottleneck {
            background: rgba(255, 107, 107, 0.15);
            border: 1px solid rgba(255, 107, 107, 0.4);
            color: #ff6b6b;
            animation: pulse-red 2s ease-in-out infinite;
        }

        .pipeline-stage.smooth {
            background: rgba(78, 205, 196, 0.15);
            border: 1px solid rgba(78, 205, 196, 0.4);
            color: #4ecdc4;
        }

        .pipeline-arrow {
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.3);
        }

        .pipeline-arrow.congested {
            color: #ff6b6b;
            animation: pulse-red 2s ease-in-out infinite;
        }

        .pipeline-arrow.clear {
            color: #4ecdc4;
        }

        .agentic-layer-bar {
            background: linear-gradient(90deg, var(--magenta), var(--purple), var(--blue));
            padding: 0.5rem 1.5rem;
            border-radius: 25px;
            text-align: center;
            font-weight: 600;
            font-size: 0.9rem;
            margin-top: 1rem;
            box-shadow: 0 0 20px rgba(134, 97, 197, 0.4);
        }

        .divider-line {
            width: 2px;
            height: 100%;
            min-height: 200px;
            background: linear-gradient(180deg, transparent, var(--purple), transparent);
        }

        .pipeline-caption {
            text-align: center;
            font-size: 1rem;
            opacity: 0.7;
            margin-top: 1rem;
        }

        @keyframes pulse-red {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }

        /* ===========================================
           SLIDE 4: CONTRIBUTOR GRAPH
           Horizontal bar chart
           =========================================== */
        .contributor-graph {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            margin-top: 3rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .contributor-bar {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .contributor-rank {
            font-size: 2.5rem;
            font-weight: 900;
            min-width: 60px;
            text-align: right;
            background: linear-gradient(135deg, var(--magenta), var(--purple), var(--blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .contributor-info {
            flex: 1;
        }

        .contributor-name {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: white;
        }

        .contributor-meter {
            height: 12px;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.08);
            overflow: hidden;
        }

        .contributor-fill {
            height: 100%;
            border-radius: 6px;
            transition: width 1.5s var(--ease-out-expo);
        }

        /* ===========================================
           SLIDE 5: THREE PATHS CARDS
           =========================================== */
        .paths-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .path-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(134, 97, 197, 0.2);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            text-align: center;
            transition: all 0.3s var(--ease-out-expo);
        }

        .path-card:hover {
            border-color: var(--purple);
            box-shadow: 0 0 30px rgba(134, 97, 197, 0.25);
            transform: translateY(-8px);
        }

        .path-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            display: block;
        }

        .path-card h3 {
            color: var(--light-purple);
            margin-bottom: 0.75rem;
            font-size: 1.3rem;
        }

        .path-card p {
            font-size: 1rem;
            opacity: 0.7;
        }

        /* ===========================================
           SLIDE 6: PAIR VS PEER TABLE
           =========================================== */
        .comparison-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin-top: 2rem;
            overflow: hidden;
            border-radius: 12px;
            border: 1px solid rgba(134, 97, 197, 0.2);
        }

        .comparison-table th,
        .comparison-table td {
            padding: 1.25rem 1.5rem;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .comparison-table thead th {
            background: rgba(134, 97, 197, 0.15);
            font-size: 1.2rem;
            font-weight: 700;
        }

        .comparison-table thead th:nth-child(2) {
            color: rgba(255, 255, 255, 0.6);
        }

        .comparison-table thead th:last-child {
            color: var(--light-magenta);
        }

        .comparison-table td {
            background: rgba(255, 255, 255, 0.02);
        }

        .comparison-table tr:last-child td {
            border-bottom: none;
        }

        .comparison-table code {
            display: block;
            margin-top: 0.5rem;
            font-size: 0.85rem;
            white-space: pre-wrap;
        }

        /* ===========================================
           SLIDE 7: 6 ELEMENTS GRID
           =========================================== */
        .elements-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .element-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(134, 97, 197, 0.2);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s var(--ease-out-expo);
        }

        .element-card:hover {
            border-color: var(--magenta);
            box-shadow: 0 0 25px rgba(192, 59, 196, 0.2);
            transform: translateY(-4px);
        }

        .element-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--magenta), var(--purple));
            font-weight: 900;
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
        }

        .element-icon {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            display: block;
        }

        .element-card h4 {
            font-size: 1rem;
            color: var(--light-purple);
            font-weight: 600;
        }

        /* ===========================================
           SLIDE 8: SCAR STORY (DRAMATIC)
           =========================================== */
        .dramatic-slide {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .dramatic-quote {
            font-size: clamp(1.5rem, 3vw, 2.2rem);
            font-style: italic;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto 3rem;
            color: rgba(255, 255, 255, 0.9);
            position: relative;
            padding: 2rem 3rem;
        }

        .dramatic-quote::before {
            content: '\201C';
            font-size: 6rem;
            position: absolute;
            top: -1.5rem;
            left: 0;
            color: var(--magenta);
            opacity: 0.3;
            line-height: 1;
            font-family: Georgia, serif;
        }

        .dramatic-subtext {
            font-size: 1.1rem;
            opacity: 0.5;
            font-style: italic;
            max-width: 600px;
            margin: 0 auto;
        }

        /* ===========================================
           SLIDE 9: AGENT TEAM
           =========================================== */
        .agent-team-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .agent-role-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(134, 97, 197, 0.2);
            border-radius: 14px;
            padding: 1.75rem;
            display: flex;
            align-items: flex-start;
            gap: 1.25rem;
            transition: all 0.3s var(--ease-out-expo);
        }

        .agent-role-card:hover {
            border-color: var(--purple);
            box-shadow: 0 0 25px rgba(134, 97, 197, 0.2);
            transform: translateY(-4px);
        }

        .agent-role-icon {
            font-size: 2rem;
            flex-shrink: 0;
        }

        .agent-role-name {
            font-family: 'JetBrains Mono', monospace;
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--light-purple);
            margin-bottom: 0.25rem;
        }

        .agent-role-desc {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 0.5rem;
        }

        .agent-limit {
            display: inline-block;
            padding: 0.25rem 0.6rem;
            background: rgba(255, 107, 107, 0.12);
            border: 1px solid rgba(255, 107, 107, 0.3);
            border-radius: 6px;
            font-size: 0.8rem;
            color: #ff6b6b;
            font-weight: 500;
        }

        /* ===========================================
           SLIDE 10: 70/30 RULE
           Progress bar + detail cards
           =========================================== */
        .rule-bar-container {
            margin: 3rem auto;
            max-width: 700px;
        }

        .rule-bar {
            height: 48px;
            border-radius: 24px;
            overflow: hidden;
            display: flex;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .rule-bar-segment {
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1rem;
            transition: width 1.5s var(--ease-out-expo);
        }

        .rule-bar-segment.ai {
            width: 70%;
            background: linear-gradient(90deg, var(--magenta), var(--purple));
        }

        .rule-bar-segment.human {
            width: 30%;
            background: rgba(0, 120, 212, 0.6);
        }

        .rule-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-top: 2.5rem;
        }

        .rule-detail-card {
            padding: 1.5rem;
            border-radius: 12px;
        }

        .rule-detail-card.ai-card {
            background: rgba(192, 59, 196, 0.08);
            border: 1px solid rgba(192, 59, 196, 0.25);
        }

        .rule-detail-card.human-card {
            background: rgba(0, 120, 212, 0.08);
            border: 1px solid rgba(0, 120, 212, 0.25);
        }

        .rule-detail-card h3 {
            margin-bottom: 0.75rem;
        }

        .rule-detail-card ul {
            list-style: none;
            margin: 0;
        }

        .rule-detail-card li {
            font-size: 1rem;
            padding: 0.3rem 0;
            opacity: 0.85;
        }

        .rule-detail-card li::before {
            content: '\2022';
            margin-right: 0.5rem;
            color: var(--purple);
        }

        /* ===========================================
           SLIDE 11: THREE TAKEAWAY CARDS
           =========================================== */
        .takeaway-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .takeaway-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(134, 97, 197, 0.2);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            text-align: center;
            transition: all 0.3s var(--ease-out-expo);
        }

        .takeaway-card:hover {
            border-color: var(--purple);
            box-shadow: 0 0 30px rgba(134, 97, 197, 0.2);
            transform: translateY(-6px);
        }

        .takeaway-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: block;
        }

        .takeaway-card h3 {
            color: var(--light-purple);
            font-size: 1.2rem;
            margin-bottom: 0.75rem;
        }

        .takeaway-card p {
            font-size: 1rem;
            opacity: 0.7;
        }

        /* ===========================================
           SLIDE 12: RESOURCES
           Links + IssueCrush placeholder
           =========================================== */
        .resources-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-top: 2rem;
            align-items: start;
        }

        .resources-list {
            list-style: none;
            margin: 0;
        }

        .resources-list li {
            padding: 1rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 1.1rem;
        }

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

        .resources-list a {
            color: var(--light-purple);
            text-decoration: none;
            transition: color 0.2s;
        }

        .resources-list a:hover {
            color: var(--light-magenta);
        }

        .issuecrush-demo {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .issuecrush-demo img {
            max-width: 100%;
            max-height: 400px;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        }

        /* ===========================================
           SLIDE 13: PR READY - TIMELINE STEPS
           =========================================== */
        .steps-flow {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 2.5rem 0;
        }

        .step-chip {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(134, 97, 197, 0.25);
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s var(--ease-out-expo);
        }

        .step-chip:hover {
            border-color: var(--purple);
            box-shadow: 0 0 15px rgba(134, 97, 197, 0.2);
            transform: translateY(-2px);
        }

        .step-chip .step-check {
            color: #4ecdc4;
            font-weight: 700;
        }

        .step-arrow {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.2);
        }

        /* ===========================================
           SLIDE 14: CODE REVIEW - STAT CARDS
           =========================================== */
        .stat-row {
            display: flex;
            gap: 2rem;
            justify-content: center;
            margin-top: 2rem;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(134, 97, 197, 0.2);
            border-radius: 16px;
            padding: 2rem 3rem;
            text-align: center;
            transition: all 0.3s var(--ease-out-expo);
            flex: 1;
            max-width: 260px;
        }

        .stat-card:hover {
            border-color: var(--magenta);
            box-shadow: 0 0 30px rgba(192, 59, 196, 0.2);
            transform: translateY(-5px);
        }

        .stat-value {
            font-size: clamp(3rem, 6vw, 5rem);
            font-weight: 900;
            line-height: 1;
            background: linear-gradient(135deg, var(--magenta), var(--purple), var(--blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 1.1rem;
            margin-top: 0.75rem;
            color: rgba(255, 255, 255, 0.7);
        }

        /* ===========================================
           SLIDE 15: CUSTOM AGENTS - TASK TAGS
           =========================================== */
        .task-tags {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin: 2rem 0;
        }

        .task-tag {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.85rem 1.5rem;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(134, 97, 197, 0.2);
            font-size: 1.05rem;
            transition: all 0.3s var(--ease-out-expo);
        }

        .task-tag:hover {
            border-color: var(--purple);
            box-shadow: 0 0 20px rgba(134, 97, 197, 0.2);
            transform: translateY(-3px);
        }

        .task-tag-icon {
            font-size: 1.3rem;
        }

        /* ===========================================
           SLIDE 16: WHAT FAILS - BAD EXAMPLE
           =========================================== */
        .bad-example {
            background: rgba(255, 107, 107, 0.06);
            border: 1px solid rgba(255, 107, 107, 0.2);
            border-radius: 12px;
            padding: 1.5rem 2rem;
            margin: 2rem auto;
            max-width: 700px;
            text-align: center;
            position: relative;
        }

        .bad-example::before {
            content: '✗';
            position: absolute;
            top: -12px;
            left: 20px;
            background: #ff6b6b;
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 700;
        }

        .bad-example code {
            background: rgba(255, 107, 107, 0.1);
            color: #ff6b6b;
            font-size: 1.1rem;
        }

        /* ===========================================
           SLIDE 17: ELEMENT DEEP-DIVE CARDS
           =========================================== */
        .element-detail-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(134, 97, 197, 0.2);
            border-radius: 14px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s var(--ease-out-expo);
        }

        .element-detail-card:hover {
            border-color: var(--purple);
            box-shadow: 0 0 25px rgba(134, 97, 197, 0.15);
        }

        .element-detail-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .element-detail-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--magenta), var(--purple));
            font-weight: 900;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .element-detail-header h3 {
            margin: 0;
            font-size: 1.3rem;
        }

        .element-detail-card .callout {
            margin: 1rem 0 0;
            padding: 1rem 1.5rem;
            font-size: 1rem;
        }

        /* ===========================================
           SLIDE 18: ALWAYS/ASK/NEVER - BOUNDARY CARDS
           =========================================== */
        .boundary-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .boundary-card {
            border-radius: 14px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s var(--ease-out-expo);
        }

        .boundary-card:hover {
            transform: translateY(-4px);
        }

        .boundary-card.always {
            background: rgba(78, 205, 196, 0.06);
            border: 1px solid rgba(78, 205, 196, 0.25);
        }

        .boundary-card.ask {
            background: rgba(255, 193, 7, 0.06);
            border: 1px solid rgba(255, 193, 7, 0.25);
        }

        .boundary-card.never {
            background: rgba(255, 107, 107, 0.06);
            border: 1px solid rgba(255, 107, 107, 0.25);
        }

        .boundary-card h3 {
            margin-bottom: 0.75rem;
        }

        .boundary-card.always h3 { color: #4ecdc4; }
        .boundary-card.ask h3 { color: #ffc107; }
        .boundary-card.never h3 { color: #ff6b6b; }

        .boundary-card p {
            font-size: 0.95rem;
            opacity: 0.75;
        }

        .boundary-card .boundary-desc {
            font-size: 1.05rem;
            opacity: 1;
            margin-bottom: 0.75rem;
            color: rgba(255, 255, 255, 0.9);
        }

        /* ===========================================
           SLIDE 19: SCAR STORY - PROGRESSIVE REVEAL
           =========================================== */
        .scar-sequence {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .scar-line {
            font-size: clamp(1.2rem, 2.5vw, 1.8rem);
            margin: 2rem 0;
            color: rgba(255, 255, 255, 0.9);
        }

        .scar-line.dim {
            opacity: 0.5;
            font-style: italic;
        }

        .scar-line.big {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 900;
        }

        /* ===========================================
           SLIDE 23: AGENT CHAINING - FLOW
           =========================================== */
        .chain-flow {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin: 3rem 0;
            flex-wrap: wrap;
        }

        .chain-step {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(134, 97, 197, 0.25);
            border-radius: 14px;
            padding: 1.5rem 2rem;
            text-align: center;
            transition: all 0.3s var(--ease-out-expo);
            min-width: 120px;
        }

        .chain-step:hover {
            border-color: var(--purple);
            box-shadow: 0 0 20px rgba(134, 97, 197, 0.2);
            transform: translateY(-4px);
        }

        .chain-step-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            display: block;
        }

        .chain-step h4 {
            font-size: 1rem;
            color: var(--light-purple);
            font-weight: 600;
        }

        .chain-arrow {
            font-size: 1.5rem;
            color: var(--purple);
            opacity: 0.5;
        }

        /* ===========================================
           SLIDE 24: SDK - FEATURE PILLS
           =========================================== */
        .feature-pills {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin: 2rem 0;
        }

        .feature-pill {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            background: rgba(134, 97, 197, 0.1);
            border: 1px solid rgba(134, 97, 197, 0.3);
            font-size: 1rem;
            transition: all 0.3s var(--ease-out-expo);
        }

        .feature-pill:hover {
            background: rgba(134, 97, 197, 0.2);
            transform: translateY(-2px);
        }

        .feature-pill-icon {
            font-size: 1.2rem;
        }

        /* ===========================================
           SLIDE 25: AGENT HQ - ENHANCED CARDS
           =========================================== */
        .hq-cards {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
            margin: 2.5rem 0;
        }

        .hq-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(134, 97, 197, 0.2);
            border-radius: 16px;
            padding: 2rem 1.5rem;
            text-align: center;
            transition: all 0.3s var(--ease-out-expo);
        }

        .hq-card:hover {
            border-color: var(--purple);
            box-shadow: 0 0 25px rgba(134, 97, 197, 0.2);
            transform: translateY(-6px);
        }

        .hq-card-icon {
            font-size: 2.5rem;
            margin-bottom: 0.75rem;
            display: block;
        }

        .hq-card h4 {
            font-size: 1.1rem;
            color: var(--light-purple);
            font-weight: 700;
        }

        .hq-card p {
            font-size: 0.85rem;
            opacity: 0.5;
            margin-top: 0.5rem;
        }

        /* ===========================================
           SLIDE 27: FUTURE - RECURSIVE VISUAL
           =========================================== */
        .recursive-card {
            background: rgba(192, 59, 196, 0.06);
            border: 1px solid rgba(192, 59, 196, 0.2);
            border-radius: 16px;
            padding: 2.5rem;
            text-align: center;
            max-width: 700px;
            margin: 2rem auto;
        }

        .recursive-card .recursive-inner {
            background: rgba(134, 97, 197, 0.08);
            border: 1px dashed rgba(134, 97, 197, 0.3);
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 1rem;
        }

        /* ===========================================
           SLIDE 28: RECAP - LIFECYCLE CARDS
           =========================================== */
        .lifecycle-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .lifecycle-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(134, 97, 197, 0.2);
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s var(--ease-out-expo);
        }

        .lifecycle-card:hover {
            border-color: var(--purple);
            box-shadow: 0 0 25px rgba(134, 97, 197, 0.15);
            transform: translateY(-5px);
        }

        .lifecycle-card-icon {
            font-size: 2.5rem;
            margin-bottom: 0.75rem;
            display: block;
        }

        .lifecycle-card h3 {
            color: var(--light-purple);
            margin-bottom: 0.75rem;
        }

        .lifecycle-card p {
            font-size: 0.95rem;
            opacity: 0.7;
        }

        /* ===========================================
           SLIDE 31: FINAL - CENTERED
           =========================================== */
        .final-slide-content {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .final-cta {
            display: inline-block;
            margin-top: 3rem;
            padding: 1rem 3rem;
            border: 2px solid var(--magenta);
            border-radius: 50px;
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--light-magenta);
            background: rgba(192, 59, 196, 0.1);
            transition: all 0.3s var(--ease-out-expo);
        }

        .final-cta:hover {
            background: rgba(192, 59, 196, 0.25);
            box-shadow: 0 0 30px rgba(192, 59, 196, 0.3);
            transform: translateY(-3px);
        }

        /* ===========================================
           RESPONSIVE: NEW SLIDE COMPONENTS
           =========================================== */
        @media (max-width: 768px) {
            .before-after {
                grid-template-columns: 1fr;
            }

            .divider-line {
                width: 100%;
                height: 2px;
                min-height: 2px;
            }

            .paths-grid,
            .takeaway-grid {
                grid-template-columns: 1fr;
            }

            .elements-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .agent-team-grid {
                grid-template-columns: 1fr;
            }

            .rule-details,
            .resources-grid {
                grid-template-columns: 1fr;
            }

            .comparison-table {
                font-size: 0.9rem;
            }

            .comparison-table th,
            .comparison-table td {
                padding: 0.75rem 1rem;
            }

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

            .hq-cards {
                grid-template-columns: repeat(2, 1fr);
            }

            .lifecycle-cards {
                grid-template-columns: 1fr;
            }

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

            .stat-card {
                max-width: 100%;
            }

            .chain-flow {
                flex-direction: column;
            }

            .chain-arrow {
                transform: rotate(90deg);
            }
        }

        /* ===========================================
           DOWNLOAD PDF BUTTON
           =========================================== */
        .download-pdf-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 2rem;
            padding: 0.75rem 1.5rem;
            border: 1px solid rgba(134, 97, 197, 0.4);
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 500;
            color: var(--light-purple);
            background: rgba(134, 97, 197, 0.1);
            cursor: pointer;
            transition: all 0.3s var(--ease-out-expo);
            font-family: var(--font-body);
        }

        .download-pdf-btn:hover {
            background: rgba(134, 97, 197, 0.25);
            border-color: var(--purple);
            box-shadow: 0 0 20px rgba(134, 97, 197, 0.3);
            transform: translateY(-2px);
        }

        .download-pdf-btn:active {
            transform: translateY(0);
        }

        .download-pdf-btn svg {
            flex-shrink: 0;
        }

        /* ===========================================
           PRINT STYLES FOR PDF EXPORT
           =========================================== */
        @media print {
            * {
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
                color-adjust: exact !important;
            }

            html {
                scroll-snap-type: none;
            }

            body {
                background: var(--dark-bg) !important;
            }

            .progress-bar,
            .nav-dots,
            .download-pdf-btn,
            #particles-container {
                display: none !important;
            }

            .slide {
                min-height: 100vh;
                page-break-after: always;
                page-break-inside: avoid;
                break-after: page;
                break-inside: avoid;
            }

            .slide:last-child {
                page-break-after: auto;
            }

            .reveal {
                opacity: 1 !important;
                transform: none !important;
            }

            .gradient-bg::before,
            .gradient-bg::after {
                animation: none !important;
            }
        }
