/* ===================================================================
   CASAL CONSULTING GROUP — FASE 2 PRESENTATION
   Modern tech-forward slide presentation — BRIGHT VERSION
   Brand: Navy #1B2A80 | Gold #C8922A
   =================================================================== */

:root {
    --navy: #1B2A80;
    --navy-dark: #121E5E;
    --navy-deeper: #0e1642;
    --navy-light: #3B50C0;
    --navy-bright: #4C63E0;
    --gold: #D4A030;
    --gold-light: #F0C860;
    --gold-dark: #B88820;
    --gold-glow: rgba(212, 160, 48, 0.35);
    --surface: rgba(20, 30, 80, 0.5);
    --surface-light: rgba(60, 80, 180, 0.12);
    --glass: rgba(25, 35, 90, 0.35);
    --glass-border: rgba(212, 160, 48, 0.18);
    --glass-bright: rgba(40, 55, 130, 0.3);
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.35);
    --font: 'Outfit', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font);
    background: linear-gradient(145deg, #0c1235 0%, #141f55 35%, #1a2870 65%, #121a48 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================================================
   ANIMATED BACKGROUND
   =================================================================== */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.bg-glow-1 {
    width: 700px;
    height: 700px;
    background: rgba(60, 80, 200, 0.25);
    top: -250px;
    right: -150px;
    animation: glow-drift 20s ease-in-out infinite;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    background: rgba(212, 160, 48, 0.12);
    bottom: -200px;
    left: -150px;
    animation: glow-drift 25s ease-in-out infinite reverse;
}

.bg-glow-3 {
    width: 500px;
    height: 500px;
    background: rgba(75, 100, 220, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glow-pulse 12s ease-in-out infinite;
}

@keyframes glow-drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(50px, -40px);
    }

    66% {
        transform: translate(-30px, 30px);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ===================================================================
   PRESENTATION & SLIDES
   =================================================================== */
.presentation {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(80px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    padding: 20px 40px 70px;
    will-change: opacity, transform;
    overflow-y: auto;
    overflow-x: hidden;
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 2;
}

.slide.exiting {
    pointer-events: none;
    z-index: 1;
}

.slide-content {
    max-width: 900px;
    max-height: calc(100vh - 90px);
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ===================================================================
   ANIMATION SYSTEM
   =================================================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-down"] {
    transform: translateY(-20px);
}

[data-animate="scale-in"] {
    transform: scale(0.85);
}

[data-animate="width-in"] {
    transform: scaleX(0);
}

.slide.active [data-animate] {
    opacity: 1;
    transform: translateY(0) scale(1) scaleX(1);
}

.slide.active [data-animate]:nth-child(1) {
    transition-delay: 0.1s;
}

.slide.active [data-animate]:nth-child(2) {
    transition-delay: 0.2s;
}

.slide.active [data-animate]:nth-child(3) {
    transition-delay: 0.3s;
}

.slide.active [data-animate]:nth-child(4) {
    transition-delay: 0.35s;
}

.slide.active [data-animate]:nth-child(5) {
    transition-delay: 0.4s;
}

.slide.active [data-animate]:nth-child(6) {
    transition-delay: 0.45s;
}

.slide.active [data-animate]:nth-child(7) {
    transition-delay: 0.55s;
}

/* Stagger children inside grids */
[data-animate="stagger-up"] {
    opacity: 1 !important;
    transform: none !important;
}

[data-animate="stagger-up"]>* {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active [data-animate="stagger-up"]>*:nth-child(1) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: none;
}

.slide.active [data-animate="stagger-up"]>*:nth-child(2) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: none;
}

.slide.active [data-animate="stagger-up"]>*:nth-child(3) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: none;
}

.slide.active [data-animate="stagger-up"]>*:nth-child(4) {
    transition-delay: 0.6s;
    opacity: 1;
    transform: none;
}

.slide.active [data-animate="stagger-up"]>*:nth-child(5) {
    transition-delay: 0.7s;
    opacity: 1;
    transform: none;
}

.slide.active [data-animate="stagger-up"]>*:nth-child(6) {
    transition-delay: 0.8s;
    opacity: 1;
    transform: none;
}

/* ===================================================================
   COVER SLIDE
   =================================================================== */
.cover-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cover-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-deeper);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 5px;
    padding: 6px 24px;
    border-radius: 6px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.cover-logo {
    margin-bottom: 10px;
}

.cover-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 8px 40px rgba(212, 160, 48, 0.25));
}

.cover-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.title-line {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 30px rgba(75, 100, 220, 0.3);
}

.title-accent {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 20px var(--gold-glow);
}

.cover-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    margin: 12px 0;
    transform-origin: center;
}

.cover-tagline {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.btn-start {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-deeper);
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px var(--gold-glow);
}

.btn-start:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 35px var(--gold-glow);
}

.cover-scroll-hint {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1px;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 3px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

/* ===================================================================
   SECTION HEADERS
   =================================================================== */
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 8px;
    text-shadow: 0 0 15px var(--gold-glow);
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(75, 100, 220, 0.2);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 400;
}

/* ===================================================================
   TOC GRID
   =================================================================== */
.toc-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.toc-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.35s ease;
    text-align: left;
}

.toc-card:hover {
    background: rgba(212, 160, 48, 0.1);
    border-color: rgba(212, 160, 48, 0.35);
    transform: translateX(6px);
    box-shadow: 0 4px 30px rgba(212, 160, 48, 0.1);
}

.toc-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold-light);
    opacity: 0.4;
    min-width: 36px;
}

.toc-info {
    flex: 1;
}

.toc-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.toc-info p {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.toc-arrow {
    font-size: 18px;
    color: var(--gold-light);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.toc-card:hover .toc-arrow {
    opacity: 0.7;
    transform: translateX(0);
}

/* ===================================================================
   RECAP GRID (Phase 1)
   =================================================================== */
.recap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
    width: 100%;
}

.recap-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 16px 12px 14px;
    text-align: center;
    transition: all 0.35s ease;
}

.recap-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 160, 48, 0.12);
    background: rgba(212, 160, 48, 0.06);
}

.recap-icon-wrap {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(60, 80, 200, 0.15), rgba(212, 160, 48, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.recap-icon {
    font-size: 20px;
}

.recap-card h4 {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.recap-card p {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.4;
}

.phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-bright));
    border: 1px solid rgba(212, 160, 48, 0.25);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    box-shadow: 0 4px 20px rgba(60, 80, 200, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--gold-glow);
}

/* ===================================================================
   FEATURES LIST
   =================================================================== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--gold);
    border-radius: 2px var(--radius-sm) var(--radius-sm) 2px;
    text-align: left;
    transition: all 0.35s ease;
}

.feature-card:hover {
    background: rgba(212, 160, 48, 0.08);
    border-color: rgba(212, 160, 48, 0.2);
    border-left-color: var(--gold-light);
    transform: translateX(4px);
    box-shadow: 0 4px 25px rgba(212, 160, 48, 0.08);
}

.feature-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--gold-light);
    opacity: 0.15;
    min-width: 36px;
}

.feature-body {
    flex: 1;
}

.feature-body h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.feature-body p {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.4;
}

.feature-tag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.feature-tag.new {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-deeper);
    box-shadow: 0 2px 10px var(--gold-glow);
}

.feature-tag.upgraded {
    background: var(--navy-bright);
    color: #fff;
    box-shadow: 0 2px 10px rgba(60, 80, 200, 0.3);
}

/* ===================================================================
   MEDIA PLACEHOLDER
   =================================================================== */
.media-slot {
    max-width: 700px;
    max-height: 55vh;
    margin: 0 auto;
}

.media-placeholder-modern {
    border: 1px dashed rgba(212, 160, 48, 0.3);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    background: var(--glass);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.media-placeholder-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 160, 48, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.media-placeholder-modern:hover {
    border-color: rgba(212, 160, 48, 0.5);
    box-shadow: 0 0 40px rgba(212, 160, 48, 0.08);
}

.ph-icon {
    color: var(--gold-light);
    opacity: 0.5;
    margin-bottom: 16px;
}

.media-placeholder-modern p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.media-placeholder-modern span {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* Implementation note */
.impl-note {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.note-glow {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    box-shadow: 0 0 8px var(--gold-glow);
}

.impl-note p {
    font-size: 13px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    text-align: left;
}

/* ===================================================================
   SCREENSHOT SHOWCASE & BROWSER FRAME
   =================================================================== */
.screenshot-showcase {
    max-width: 700px;
    max-height: 58vh;
    margin: 0 auto;
}

.browser-frame {
    background: #0c1235;
    border-radius: 12px;
    overflow: hidden;
    max-height: 56vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(60, 80, 200, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ff5f56;
    box-shadow: 0 0 6px rgba(255, 95, 86, 0.4);
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
    box-shadow: 0 0 6px rgba(255, 189, 46, 0.4);
}

.browser-dots span:nth-child(3) {
    background: #27c93f;
    box-shadow: 0 0 6px rgba(39, 201, 63, 0.4);
}

.browser-url {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 8px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.browser-url svg {
    color: var(--gold);
    opacity: 0.5;
    flex-shrink: 0;
}

.browser-url span {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}

.browser-content {
    position: relative;
    overflow: hidden;
    max-height: 50vh;
}

.browser-content img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 48vh;
    object-fit: contain;
}

.browser-content video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 48vh;
    object-fit: contain;
}

.browser-frame.compact .browser-dots {
    padding: 8px 12px;
}

.browser-frame.compact .browser-dots span {
    width: 8px;
    height: 8px;
}

/* ===================================================================
   FORM SHOWCASE (side by side)
   =================================================================== */
.slide-content-wide {
    max-width: 1100px;
    max-height: calc(100vh - 90px);
}

.form-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 900px;
    max-height: 55vh;
    width: 100%;
    margin: 0 auto;
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-card-label {
    text-align: center;
}

.form-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-bright));
    color: var(--gold-light);
    border: 1px solid rgba(212, 160, 48, 0.2);
    box-shadow: 0 2px 12px rgba(60, 80, 200, 0.2);
    text-transform: uppercase;
}

.form-card .browser-frame {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-card .browser-content {
    flex: 1;
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

.form-card .browser-content::-webkit-scrollbar {
    width: 4px;
}

.form-card .browser-content::-webkit-scrollbar-track {
    background: transparent;
}

.form-card .browser-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.highlight-text {
    color: var(--gold-light);
    font-weight: 700;
    text-shadow: 0 0 20px var(--gold-glow);
}

@media (max-width: 768px) {
    .form-showcase {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .slide-content-wide {
        max-width: 100%;
    }

    .form-card .browser-content {
        max-height: 300px;
    }

    .screenshot-showcase {
        max-width: 100%;
    }
}

/* ===================================================================
   TIMELINE
   =================================================================== */
.timeline-modern {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    position: relative;
}

.tl-marker {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.timeline-item.completed .tl-marker {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-deeper);
    box-shadow: 0 0 25px var(--gold-glow);
}

.timeline-item.current .tl-marker {
    background: var(--navy-light);
    border: 2px solid var(--gold-light);
    box-shadow: 0 0 20px rgba(60, 80, 200, 0.3);
}

.tl-pulse {
    width: 10px;
    height: 10px;
    background: var(--gold-light);
    border-radius: 50%;
    animation: tl-pulse-anim 2s ease-in-out infinite;
}

@keyframes tl-pulse-anim {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--gold-glow);
    }

    50% {
        box-shadow: 0 0 0 12px transparent;
    }
}

.tl-circle {
    width: 10px;
    height: 10px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
}

.timeline-item.upcoming .tl-marker {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tl-connector {
    position: absolute;
    left: 19px;
    top: 64px;
    width: 2px;
    height: calc(100% - 40px);
    background: linear-gradient(to bottom, rgba(212, 160, 48, 0.35), rgba(212, 160, 48, 0.08));
}

.tl-content {
    text-align: left;
    padding-top: 6px;
}

.tl-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tl-content p {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.4;
}

.tl-status {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
}

.tl-status.done {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-deeper);
    box-shadow: 0 2px 8px var(--gold-glow);
}

.tl-status.progress {
    background: var(--navy-bright);
    color: #fff;
    border: 1px solid rgba(212, 160, 48, 0.25);
    box-shadow: 0 2px 8px rgba(60, 80, 200, 0.25);
}

.tl-status.future {
    background: var(--glass);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================================================
   CLOSING SLIDE
   =================================================================== */
.closing-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 10px;
}

.closing-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.closing-logo-item img {
    width: 120px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(60, 80, 200, 0.15));
}

.logo-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0.7;
    font-family: var(--font-body);
}

.closing-logo-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.closing-slide .cover-logo img {
    width: 130px;
}

.closing-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 2px 20px rgba(75, 100, 220, 0.2);
}

.closing-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    margin-bottom: 20px;
}

.closing-brand {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.divider-dot {
    color: var(--gold-light);
}

@media (max-width: 480px) {
    .closing-logos {
        gap: 24px;
    }

    .closing-logo-item img {
        width: 80px;
    }

    .closing-logo-divider {
        height: 60px;
    }
}

/* ===================================================================
   BOTTOM NAVIGATION BAR
   =================================================================== */
.bottom-bar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    background: rgba(14, 22, 66, 0.7);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(60, 80, 200, 0.08);
}

.nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(212, 160, 48, 0.2);
    border-color: var(--gold);
    color: var(--gold-light);
    box-shadow: 0 0 15px var(--gold-glow);
}

.nav-btn:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.slide-indicators {
    display: flex;
    align-items: center;
    gap: 6px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    position: relative;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

.indicator.active {
    width: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 0 14px var(--gold-glow);
}

.slide-counter {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    min-width: 36px;
    text-align: center;
}

.counter-sep {
    opacity: 0.4;
    margin: 0 2px;
}

#currentNum {
    color: var(--gold-light);
    font-weight: 700;
}

/* ===================================================================
   PROGRESS BAR
   =================================================================== */
.progress-track {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 101;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    width: 0%;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px var(--gold-glow);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 768px) {
    .slide {
        padding: 30px 24px 100px;
    }

    .title-line {
        font-size: 30px;
    }

    .title-accent {
        font-size: 16px;
        letter-spacing: 6px;
    }

    .section-title {
        font-size: 26px;
    }

    .recap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .recap-card {
        padding: 16px 10px;
    }

    .toc-card {
        padding: 14px 18px;
        gap: 14px;
    }

    .feature-card {
        padding: 16px 18px;
        gap: 14px;
    }

    .cover-logo img {
        width: 120px;
    }

    .closing-title {
        font-size: 26px;
    }

    .bottom-bar {
        gap: 10px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .recap-grid {
        grid-template-columns: 1fr 1fr;
    }

    .title-line {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .bottom-bar {
        gap: 8px;
        padding: 6px 12px;
    }
}

@media (min-width: 1600px) {
    .slide-content {
        max-width: 1000px;
    }

    .title-line {
        font-size: 48px;
    }
}

/* ===================================================================
   LIGHTBOX MODAL
   =================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8, 14, 48, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1010;
}

.lightbox-close:hover {
    background: rgba(212, 160, 48, 0.8);
    transform: rotate(90deg);
}

.zoom-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(14, 22, 66, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-muted);
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.browser-content:hover .zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.clickable-image {
    cursor: zoom-in;
    transition: all 0.3s ease;
}