/* ============================================
   MODERN SLIDE PRESENTATION — DESIGN SYSTEM
   Solid Blue Theme
   ============================================ */

:root {
    /* Colors — Rich Blue Palette */
    --bg-primary: #080d1a;
    --bg-secondary: #0c1226;
    --bg-slide: #0a0f1f;
    --bg-card: rgba(20, 40, 100, 0.15);
    --bg-card-hover: rgba(30, 58, 138, 0.25);
    --bg-glass: rgba(20, 40, 100, 0.12);
    --border-subtle: rgba(56, 152, 236, 0.12);
    --border-accent: rgba(56, 189, 248, 0.3);

    --text-primary: #edf2fa;
    --text-secondary: rgba(237, 242, 250, 0.65);
    --text-tertiary: rgba(237, 242, 250, 0.38);

    --accent-blue: #1d4ed8;
    --accent-blue-light: #3b82f6;
    --accent-blue-bright: #60a5fa;
    --accent-cyan: #22d3ee;
    --accent-teal: #2dd4bf;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #eab308;
    --accent-orange: #f97316;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

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

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(37, 99, 235, 0.35);
    color: #fff;
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(59, 130, 246, 0.1);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    transition: width 0.6s var(--ease-out-expo);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

/* ============================================
   NAVIGATION DOTS
   ============================================ */

.nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 100;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.nav-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
}

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

.nav-dot.active {
    background: var(--accent-blue);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

.nav-dot.active::before {
    border-color: rgba(37, 99, 235, 0.3);
}

/* ============================================
   SLIDE COUNTER
   ============================================ */

.slide-counter {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-tertiary);
    z-index: 100;
    letter-spacing: 0.1em;
}

/* ============================================
   NAVIGATION ARROWS
   ============================================ */

.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-arrow:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue-bright);
    transform: translateY(-50%) scale(1.1);
}

.nav-prev { left: 2rem; }
.nav-next { right: 5rem; }

/* ============================================
   SLIDES WRAPPER
   ============================================ */

.slides-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
}

/* ============================================
   SLIDE BASE
   ============================================ */

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--bg-slide);
    background-image: radial-gradient(ellipse at 20% 50%, rgba(29, 78, 216, 0.08) 0%, transparent 60%),
                      radial-gradient(ellipse at 80% 20%, rgba(34, 211, 238, 0.04) 0%, transparent 50%);
}

.slide-active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: var(--slide-padding);
    padding-right: calc(var(--slide-padding) + 3rem);
}

/* ============================================
   BACKGROUND DECORATIONS
   ============================================ */

.slide-bg-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    animation: float 25s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
    opacity: 0.12;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    bottom: -15%;
    left: -5%;
    animation-delay: -8s;
    opacity: 0.06;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.03); }
    50% { transform: translate(-15px, 15px) scale(0.97); }
    75% { transform: translate(25px, 20px) scale(1.01); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.slide-active .animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PROFILE PHOTO (Intro Slide)
   ============================================ */

.intro-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1100px;
}

.intro-left {
    flex: 1.2;
}

.intro-right {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo-wrapper {
    position: relative;
    width: 350px;
    height: 430px;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    border: none;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 30px rgba(29, 78, 216, 0.3));
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.photo-ring {
    display: none;
}

/* ============================================
   INTRO SLIDE COMPONENTS
   ============================================ */

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-blue-bright);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.intro-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-accent {
    background: linear-gradient(135deg, var(--accent-blue-bright), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 550px;
}

.intro-stats {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-prefix, .stat-suffix {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-blue-bright);
}

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

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

.scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.scroll-arrow {
    display: flex;
    animation: bounceRight 2s ease-in-out infinite;
}

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

/* ============================================
   CHAPTER BADGE
   ============================================ */

.chapter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--text-tertiary);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.chapter-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue-bright);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ============================================
   SLIDE TITLE & DESCRIPTION
   ============================================ */

.slide-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.title-sub {
    font-weight: 400;
    font-size: 0.65em;
    color: var(--text-secondary);
}

.slide-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    max-width: 650px;
}

/* ============================================
   CONTENT CARDS
   ============================================ */

.content-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.content-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateX(4px);
    box-shadow: 0 4px 24px rgba(29, 78, 216, 0.12);
}

.card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    color: var(--accent-blue-bright);
}

.card-icon-img {
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    padding: 0;
}

.card-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.card-body p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   TIMELINE MARK
   ============================================ */

.timeline-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

/* ============================================
   QUOTE BLOCK
   ============================================ */

.quote-block {
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background: var(--bg-card);
    border-left: 3px solid var(--accent-blue);
    border-radius: 0 16px 16px 0;
    margin-bottom: 2rem;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: -0.25rem;
    left: 0.75rem;
    font-size: 3rem;
    color: var(--accent-blue);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-block p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

/* ============================================
   STORY FLOW
   ============================================ */

.story-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.flow-item:hover {
    transform: translateX(4px);
}

.flow-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.flow-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.flow-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.flow-connector {
    width: 2px;
    height: 20px;
    background: var(--border-subtle);
    margin-left: 2rem;
}

.flow-rejected {
    border-color: rgba(239, 68, 68, 0.15);
}

.flow-rejected .flow-icon {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.1);
}

.flow-accepted {
    border-color: rgba(16, 185, 129, 0.15);
}

.flow-accepted .flow-icon {
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
}

/* ============================================
   HIGHLIGHT DATE
   ============================================ */

.highlight-date {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.date-icon {
    color: var(--accent-blue-bright);
    display: flex;
}

/* ============================================
   METRICS GRID
   ============================================ */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.metric-highlight {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.25);
}

.metric-icon {
    color: var(--accent-blue-bright);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent-blue-bright);
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

/* ============================================
   NOTE CALLOUT
   ============================================ */

.note-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.note-icon {
    flex-shrink: 0;
    color: var(--accent-blue-bright);
    display: flex;
    padding-top: 2px;
}

.note-callout p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   PLATFORM GRID (Expansion Slide)
   ============================================ */

.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.platform-tag:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.tag-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    min-width: 22px;
    text-align: center;
}

.tag-note {
    font-size: 0.75rem;
    color: var(--accent-orange);
    font-style: italic;
}

.chaos-note {
    display: flex;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: rgba(249, 115, 22, 0.06);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--accent-orange);
    margin-top: 0.5rem;
}

/* --- Evidence Grid --- */

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.evidence-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.evidence-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.evidence-img:hover {
    border-color: var(--border-accent);
    transform: scale(1.02);
    box-shadow: 0 4px 24px rgba(29, 78, 216, 0.2);
}

.evidence-caption {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-align: center;
    font-style: italic;
}

.evidence-single {
    grid-template-columns: 1fr;
    max-width: 400px;
}

.zoomable-img {
    cursor: zoom-in;
}

/* --- Lightbox --- */

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* --- Extra Duties Cards --- */

.extra-duties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.duty-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.duty-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.duty-icon {
    flex-shrink: 0;
    color: var(--accent-blue-bright);
    display: flex;
    padding-top: 2px;
}

.duty-card strong {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.15rem;
}

.duty-card p {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-tertiary);
}

.duty-card-alert {
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.06);
}

.duty-card-alert .duty-icon {
    color: var(--accent-red);
}

.duty-card-alert:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ============================================
   COMPARISON VISUAL
   ============================================ */

.comparison-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.25rem 0;
}

.comparison-triple {
    gap: 0.6rem;
}

.comparison-before,
.comparison-mid,
.comparison-after {
    flex: 1;
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.comparison-before:hover,
.comparison-mid:hover,
.comparison-after:hover {
    transform: translateY(-2px);
}

.comparison-before {
    border-color: rgba(239, 68, 68, 0.2);
}

.comparison-after {
    border-color: rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.04);
}

.comparison-mid {
    border-color: rgba(34, 197, 94, 0.2);
}

.comparison-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
}

.comparison-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.stack-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
}

.stack-old {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.stack-new {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.comparison-cost {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
}

.comparison-cost span {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-tertiary);
}

.cost-high {
    color: var(--accent-red);
}

.cost-low {
    color: var(--accent-cyan);
}

.comparison-arrow {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

/* ============================================
   SPLIT CONTENT
   ============================================ */

.split-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
}

.split-left h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.split-left p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.year-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue-bright);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.detail-icon {
    color: var(--accent-blue-bright);
    display: flex;
    flex-shrink: 0;
}

/* ============================================
   BOTTLENECK VISUAL
   ============================================ */

.bottleneck-visual {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    text-align: center;
}

.server-icon {
    color: var(--accent-red);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.cpu-bar {
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.cpu-fill {
    height: 100%;
    width: var(--fill);
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-red));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #fff;
    animation: cpuPulse 2s ease-in-out infinite;
}

@keyframes cpuPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.server-label {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

/* ============================================
   COST BREAKDOWN
   ============================================ */

.cost-breakdown {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.cost-item {
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.cost-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.cost-value {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.cost-value span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.cost-plus, .cost-equals {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-tertiary);
}

.cost-total {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

.cost-value-large {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent-red);
}

.cost-value-large span {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ============================================
   VESTING CARD
   ============================================ */

.vesting-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
}

.vesting-icon {
    flex-shrink: 0;
    color: var(--accent-green);
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}

.vesting-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

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

/* ============================================
   PLATFORM GRID
   ============================================ */

.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.platform-tag:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue);
    flex-shrink: 0;
}

.tag-note {
    font-size: 0.72rem;
    color: var(--accent-orange);
    font-style: italic;
}

.chaos-note {
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 10px;
    font-size: 0.82rem;
    color: var(--text-tertiary);
    text-align: center;
    font-style: italic;
}

/* ============================================
   DUAL PERSPECTIVE
   ============================================ */

.dual-perspective {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.perspective-card {
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

.perspective-dark {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.12);
}

.perspective-light {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.12);
}

.perspective-icon {
    margin-bottom: 0.75rem;
    display: flex;
}

.perspective-dark .perspective-icon { color: var(--accent-red); }
.perspective-light .perspective-icon { color: var(--accent-green); }

.perspective-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.perspective-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.perspective-card li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    position: relative;
}

.perspective-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.perspective-dark li::before { background: var(--accent-red); }
.perspective-light li::before { background: var(--accent-green); }

.forge-quote {
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border-radius: 12px;
    text-align: center;
}

.forge-quote p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ============================================
   SPEECH BUBBLE
   ============================================ */

.speech-bubble {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    margin-bottom: 1.75rem;
}

.speech-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    color: var(--accent-blue-bright);
}

.speech-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

.speech-date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    margin-top: 0.5rem;
}

/* ============================================
   DECISION TIMELINE
   ============================================ */

.decision-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border-subtle);
}

.decision-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.decision-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: -1.35rem;
}

.decision-red { background: var(--accent-red); box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
.decision-yellow { background: var(--accent-yellow); box-shadow: 0 0 8px rgba(234, 179, 8, 0.5); }
.decision-green { background: var(--accent-green); box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }

.aftermath-note {
    padding: 1rem 1.25rem;
    background: rgba(234, 179, 8, 0.04);
    border: 1px solid rgba(234, 179, 8, 0.1);
    border-radius: 12px;
}

.aftermath-note p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   COMPARISON
   ============================================ */

.comparison-visual {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.comparison-before, .comparison-after {
    flex: 1;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
}

.comparison-before {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.12);
}

.comparison-after {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.12);
}

.comparison-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.comparison-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.stack-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.stack-old {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.stack-new {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.comparison-cost {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.comparison-cost span {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-tertiary);
}

.cost-high { color: var(--accent-red); }
.cost-low { color: var(--accent-green); }

.comparison-arrow {
    color: var(--text-tertiary);
    flex-shrink: 0;
    animation: bounceRight 2s ease-in-out infinite;
}

.savings-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.savings-icon {
    color: var(--accent-green);
    display: flex;
}

/* ============================================
   REVENUE CHART
   ============================================ */

.revenue-chart {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
    width: 42px;
    flex-shrink: 0;
}

.chart-bar-container {
    flex: 1;
    height: 36px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    transition: width 1.5s var(--ease-out-expo);
}

.slide-active .chart-bar {
    width: var(--bar-width);
}

.chart-bar-projected {
    background: var(--accent-blue-light);
    position: relative;
}

.chart-bar-projected::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 4px,
        rgba(255,255,255,0.06) 4px,
        rgba(255,255,255,0.06) 8px
    );
    border-radius: 8px;
}

.bar-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.chart-revenue {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    width: 100px;
    text-align: right;
    flex-shrink: 0;
}

/* ============================================
   FINAL SLIDE
   ============================================ */

.final-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.final-stat {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.final-stat:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.3);
}

.final-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent-blue-bright);
    margin-bottom: 0.4rem;
}

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

.final-message {
    text-align: center;
    margin-bottom: 2rem;
}

.final-message p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.final-highlight {
    font-size: 1.2rem !important;
    color: var(--text-primary) !important;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--accent-blue);
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    max-width: 320px;
}

.final-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.final-cta svg {
    transition: transform 0.3s ease;
}

.final-cta:hover svg {
    transform: translateX(4px);
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    animation: ctaGlow 3s ease-in-out infinite;
}

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

/* ============================================
   TEAM SHOWCASE (FINALE)
   ============================================ */

.team-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 1.5rem 0;
}

.team-photo-wrapper {
    text-align: center;
}

.team-photo {
    width: 100%;
    max-width: 300px;
    border-radius: 16px;
    border: 2px solid rgba(34, 211, 238, 0.2);
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.15);
    transition: all 0.4s ease;
}

.team-photo:hover {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 12px 48px rgba(34, 211, 238, 0.25);
    transform: scale(1.03);
}

.team-members {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.team-member:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.25);
}

.member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue-bright), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.member-info span {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.member-info small {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slide-finale .slide-title {
    text-align: center;
    white-space: nowrap;
}

/* ============================================
   MOBILE WARNING
   ============================================ */

.mobile-warning {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mobile-warning-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-warning-content svg {
    color: var(--accent-cyan);
    opacity: 0.6;
}

.mobile-warning-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-warning-content p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .mobile-warning {
        display: flex;
    }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .nav-dots { display: none; }
    .nav-arrow { display: none; }
    .slide-content { padding: 1.5rem; padding-right: 1.5rem; }

    .intro-layout { flex-direction: column-reverse; gap: 2rem; }
    .intro-right { width: 100%; }
    .profile-photo-wrapper { width: 220px; height: 280px; }

    .intro-stats { flex-direction: column; gap: 1rem; }
    .stat-divider { width: 40px; height: 1px; }

    .metrics-grid, .dual-perspective, .final-stats {
        grid-template-columns: 1fr;
    }

    .split-content {
        grid-template-columns: 1fr;
    }

    .comparison-visual {
        flex-direction: column;
    }

    .comparison-triple {
        gap: 0.5rem;
    }

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

    .cost-breakdown {
        flex-direction: column;
    }

    .slide-counter {
        bottom: 1rem;
        left: 1rem;
    }

    /* Platform grid */
    .platform-grid {
        grid-template-columns: 1fr;
    }

    /* Duty cards */
    .extra-duties {
        grid-template-columns: 1fr;
    }

    /* Evidence grid */
    .evidence-grid {
        grid-template-columns: 1fr;
    }

    /* Decision timeline */
    .decision-timeline {
        padding-left: 1rem;
    }

    .decision-step span {
        font-size: 0.8rem;
    }

    /* Price grid */
    .price-grid {
        grid-template-columns: 1fr;
    }

    /* Team showcase */
    .team-showcase {
        grid-template-columns: 1fr;
    }

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

    .slide-finale .slide-title {
        white-space: normal;
        font-size: 1.4rem;
    }

    /* Speech bubble */
    .speech-bubble {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Quote block */
    .quote-block {
        padding: 1rem;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 2rem;
    }
    .slide-title {
        font-size: 1.3rem;
    }
    .slide-content {
        padding: 1rem;
    }
    .comparison-cost {
        font-size: 0.85rem;
    }
    .cost-value, .cost-value-large {
        font-size: 1rem;
    }
    .team-photo {
        max-width: 200px;
    }
}
