/* ==========================================================================
   program.css - Styling Halaman Program & Riset PT Astha Dwi Astha (828)
   Desain Ringkas, Rapi & Elegan (Model Split: Kiri Teks, Kanan Gambar)
   Warna Aksen Kuning Emas (Yellow / Amber) sesuai Tema index.html
   Dukungan Penuh Mode Gelap (Dark Mode) & Mode Terang (Light Mode)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
    --prog-yellow-bright: #facc15;
    --prog-yellow-deep: #eab308;
    --prog-yellow-amber: #ca8a04;
    --prog-yellow-dark: #b45309;
    --prog-yellow-glow: rgba(250, 204, 21, 0.35);
    --prog-bg-card-dark: #091122;
    --prog-border-card-dark: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-dark, #080d1a);
    color: var(--text-main, #e2e8f0);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.light-theme {
    background-color: #f8fafc;
    color: #1e293b;
}

/* --------------------------------------------------------------------------
   2. MAIN SECTION & HEADER META
   -------------------------------------------------------------------------- */
.program-main-section {
    padding-top: 120px;
    padding-bottom: 80px;
    flex: 1;
    position: relative;
    background: radial-gradient(circle at 15% 15%, rgba(250, 204, 21, 0.08) 0%, transparent 55%),
                radial-gradient(circle at 85% 65%, rgba(234, 179, 8, 0.06) 0%, transparent 50%);
}

body.light-theme .program-main-section {
    background: radial-gradient(circle at 15% 15%, rgba(202, 138, 4, 0.06) 0%, transparent 55%),
                radial-gradient(circle at 85% 65%, rgba(217, 119, 6, 0.04) 0%, transparent 50%);
}

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

.program-header-meta {
    margin-bottom: 28px;
}

.program-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.35);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #facc15;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

body.light-theme .program-badge {
    background: rgba(202, 138, 4, 0.1);
    border-color: rgba(202, 138, 4, 0.35);
    color: #ca8a04;
}

.program-badge .pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #facc15;
    border-radius: 50%;
    box-shadow: 0 0 8px #facc15;
    animation: progRadarPulse 2s infinite ease-in-out;
}

body.light-theme .program-badge .pulse-dot {
    background-color: #ca8a04;
    box-shadow: 0 0 8px #ca8a04;
}

@keyframes progRadarPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* --------------------------------------------------------------------------
   3. KARTU PROGRAM (Kiri Teks, Kanan Gambar)
   -------------------------------------------------------------------------- */
.program-card {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 40px;
    background: var(--prog-bg-card-dark);
    border: 1px solid var(--prog-border-card-dark);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.program-card:hover {
    border-color: rgba(250, 204, 21, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(250, 204, 21, 0.1);
}

body.light-theme .program-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

body.light-theme .program-card:hover {
    border-color: #ca8a04;
    box-shadow: 0 16px 40px rgba(202, 138, 4, 0.15);
}

/* SISI KIRI: TEKS PROGRAM */
.program-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #facc15;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.light-theme .eyebrow-tag {
    color: #ca8a04;
}

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 18px 0;
    letter-spacing: -0.02em;
}

body.light-theme .card-title {
    color: #0f172a;
}

.card-desc {
    font-size: 0.95rem;
    line-height: 1.68;
    color: #94a3b8;
    margin: 0 0 14px 0;
}

body.light-theme .card-desc {
    color: #475569;
}

.card-desc strong {
    color: #facc15;
    font-weight: 600;
}

body.light-theme .card-desc strong {
    color: #ca8a04;
}

/* Tombol Aksi */
.card-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.btn-action-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #0a0e17 !important;
    border: 1px solid #fde047;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.35);
}

.btn-action-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.5);
    color: #0a0e17 !important;
}

body.light-theme .btn-action-primary {
    background: linear-gradient(135deg, #ca8a04 0%, #b45309 100%);
    color: #ffffff !important;
    border-color: #d97706;
    box-shadow: 0 4px 14px rgba(202, 138, 4, 0.35);
}

body.light-theme .btn-action-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #ca8a04 100%);
    box-shadow: 0 6px 20px rgba(202, 138, 4, 0.45);
    color: #ffffff !important;
}

.btn-action-primary .btn-arrow {
    transition: transform 0.2s ease;
}

.btn-action-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-action-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: rgba(255, 255, 255, 0.04);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.35);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s ease;
}

.btn-action-secondary:hover {
    background: rgba(250, 204, 21, 0.12);
    border-color: #facc15;
    color: #fde047;
    transform: translateY(-2px);
}

body.light-theme .btn-action-secondary {
    background: #f8fafc;
    color: #ca8a04;
    border-color: rgba(202, 138, 4, 0.35);
}

body.light-theme .btn-action-secondary:hover {
    background: rgba(202, 138, 4, 0.08);
    border-color: #ca8a04;
    color: #b45309;
}

/* SISI KANAN: GAMBAR PROGRAM */
.program-card-media {
    position: relative;
    width: 100%;
}

.media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: #060b16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light-theme .media-frame {
    background: #f1f5f9;
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-card:hover .program-img {
    transform: scale(1.035);
}

/* Sudut Aksen Teknologi (Tech Corners - Kuning) */
.tech-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #facc15;
    z-index: 3;
    pointer-events: none;
    transition: all 0.25s ease;
}

body.light-theme .tech-corner {
    border-color: #ca8a04;
}

.corner-tl {
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 4px;
}

.corner-tr {
    top: 8px;
    right: 8px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 4px;
}

.corner-bl {
    bottom: 8px;
    left: 8px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 4px;
}

.corner-br {
    bottom: 8px;
    right: 8px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 4px;
}

.program-card:hover .corner-tl { transform: translate(-2px, -2px); }
.program-card:hover .corner-tr { transform: translate(2px, -2px); }
.program-card:hover .corner-bl { transform: translate(-2px, 2px); }
.program-card:hover .corner-br { transform: translate(2px, 2px); }

/* --------------------------------------------------------------------------
   4. METRIK STATISTIK PROGRAM (1 Baris Ramping)
   -------------------------------------------------------------------------- */
.program-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 40px 0;
    padding: 24px 30px;
    background: #091122;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

body.light-theme .program-metrics-bar {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -9px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

body.light-theme .metric-item:not(:last-child)::after {
    background: rgba(15, 23, 42, 0.08);
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
    color: #facc15;
    margin-bottom: 6px;
}

body.light-theme .metric-value {
    color: #ca8a04;
}

.metric-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #94a3b8;
    text-transform: uppercase;
}

body.light-theme .metric-label {
    color: #64748b;
}

/* --------------------------------------------------------------------------
   5. BANNER VISI PROGRAM (Yellow Accent Quote Banner)
   -------------------------------------------------------------------------- */
.program-quote-banner {
    margin: 44px 0 20px;
    padding: 34px 40px;
    background: linear-gradient(135deg, #181503 0%, #291e03 100%);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

body.light-theme .program-quote-banner {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    border-color: rgba(202, 138, 4, 0.35);
    box-shadow: 0 12px 30px rgba(202, 138, 4, 0.1);
}

.quote-icon-wrap {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(250, 204, 21, 0.15);
    border: 1px solid rgba(250, 204, 21, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #facc15;
    font-size: 1.8rem;
    font-weight: 800;
}

body.light-theme .quote-icon-wrap {
    background: rgba(202, 138, 4, 0.15);
    border-color: rgba(202, 138, 4, 0.4);
    color: #ca8a04;
}

.quote-content {
    flex: 1;
}

.quote-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

body.light-theme .quote-title {
    color: #0f172a;
}

.quote-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #fef08a;
    margin: 0;
}

body.light-theme .quote-desc {
    color: #854d0e;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .program-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 26px 20px;
    }

    /* Di layar mobile, foto tampil di atas teks agar komposisi visual seimbang */
    .program-card-media {
        order: -1;
    }

    .program-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 14px;
        padding: 22px 16px;
    }

    .metric-item:nth-child(2)::after {
        display: none;
    }

    .program-quote-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 24px 20px;
    }
}

@media (max-width: 520px) {
    .program-main-section {
        padding-top: 100px;
    }

    .card-title {
        font-size: 1.35rem;
    }

    .card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-action-primary,
    .btn-action-secondary {
        justify-content: center;
        text-align: center;
    }

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

    .metric-item::after {
        display: none !important;
    }
}

/* ==========================================================================
   7. SCROLLYTELLING ANIMATION ENGINE (ASTHA 828 R&D NARRATIVE)
   ========================================================================== */

/* Scrollytelling Wrapper & Layout */
.scrolly-story-layout {
    position: relative;
    width: 100%;
}

/* Lateral HUD Sidebar (Disabled / Hidden) */
.scrolly-hud-sidebar {
    display: none !important;
}

body.light-theme .scrolly-hud-sidebar {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(202, 138, 4, 0.35);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.scrolly-hud-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #facc15;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(250, 204, 21, 0.25);
    text-transform: uppercase;
}

body.light-theme .scrolly-hud-header {
    color: #ca8a04;
    border-bottom-color: rgba(202, 138, 4, 0.25);
}

.scrolly-hud-pulse {
    width: 8px;
    height: 8px;
    background: #facc15;
    border-radius: 50%;
    box-shadow: 0 0 8px #facc15;
    animation: progRadarPulse 1.8s infinite ease-in-out;
}

body.light-theme .scrolly-hud-pulse {
    background: #ca8a04;
    box-shadow: 0 0 8px #ca8a04;
}

/* Scrolly Timeline Tracker Line */
.scrolly-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 20px;
}

.scrolly-track-line {
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

body.light-theme .scrolly-track-line {
    background: rgba(15, 23, 42, 0.1);
}

.scrolly-track-fill {
    position: absolute;
    left: 6px;
    top: 8px;
    width: 2px;
    height: 0%;
    background: linear-gradient(180deg, #facc15, #eab308);
    box-shadow: 0 0 10px #facc15;
    border-radius: 2px;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolly Step Nav Items */
.scrolly-nav-step {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.scrolly-nav-step .step-dot {
    position: absolute;
    left: -20px;
    top: 13px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #091122;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
}

body.light-theme .scrolly-nav-step .step-dot {
    background: #ffffff;
    border-color: #cbd5e1;
}

.scrolly-nav-step:hover {
    background: rgba(250, 204, 21, 0.06);
}

.scrolly-nav-step.active {
    background: rgba(250, 204, 21, 0.12);
}

.scrolly-nav-step.active .step-dot {
    border-color: #facc15;
    background: #facc15;
    box-shadow: 0 0 12px #facc15;
}

body.light-theme .scrolly-nav-step.active .step-dot {
    border-color: #ca8a04;
    background: #ca8a04;
    box-shadow: 0 0 12px #ca8a04;
}

.scrolly-nav-step .step-phase {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scrolly-nav-step.active .step-phase {
    color: #facc15;
}

body.light-theme .scrolly-nav-step.active .step-phase {
    color: #ca8a04;
}

.scrolly-nav-step .step-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1.35;
}

.scrolly-nav-step.active .step-title {
    color: #ffffff;
}

body.light-theme .scrolly-nav-step.active .step-title {
    color: #0f172a;
}

/* Card Scrollytelling Enhancements */
.scrolly-main-content {
    flex: 1;
    min-width: 0;
}

.scrolly-card {
    position: relative;
    will-change: transform, opacity;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    transform: translateY(45px) scale(0.97);
    opacity: 0.35;
}

.scrolly-card.in-view {
    transform: translateY(0) scale(1);
    opacity: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(250, 204, 21, 0.12);
    border-color: rgba(250, 204, 21, 0.35);
}

body.light-theme .scrolly-card.in-view {
    border-color: #ca8a04;
    box-shadow: 0 16px 42px rgba(202, 138, 4, 0.15);
}

/* Big Holographic Numeric Watermark */
.scrolly-watermark-num {
    position: absolute;
    right: 28px;
    bottom: -15px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
    color: rgba(250, 204, 21, 0.04);
    pointer-events: none;
    z-index: 1;
    letter-spacing: -0.05em;
    user-select: none;
    transition: color 0.4s ease, transform 0.4s ease;
}

.scrolly-card.in-view .scrolly-watermark-num {
    color: rgba(250, 204, 21, 0.09);
    transform: translateY(-8px);
}

body.light-theme .scrolly-watermark-num {
    color: rgba(202, 138, 4, 0.04);
}

body.light-theme .scrolly-card.in-view .scrolly-watermark-num {
    color: rgba(202, 138, 4, 0.07);
}

/* Tactical Laser Scanner Sweep across Media */
.scrolly-laser-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #facc15, #ffffff, #facc15, transparent);
    box-shadow: 0 0 15px #facc15, 0 0 30px #facc15;
    opacity: 0;
    z-index: 4;
    pointer-events: none;
}

.scrolly-card.in-view .scrolly-laser-sweep {
    animation: scrollyLaserScan 2.4s ease-out;
}

@keyframes scrollyLaserScan {
    0% {
        top: 0%;
        opacity: 0.9;
    }
    85% {
        top: 100%;
        opacity: 0.9;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Floating Telemetry Badges on Media */
.scrolly-telemetry-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 3;
    pointer-events: none;
}

.telemetry-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(6, 11, 22, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(250, 204, 21, 0.4);
    color: #facc15;
    padding: 3px 9px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scrolly-card.in-view .telemetry-pill {
    opacity: 1;
    transform: translateY(0);
}

.scrolly-card.in-view .telemetry-pill:nth-child(1) { transition-delay: 0.18s; }
.scrolly-card.in-view .telemetry-pill:nth-child(2) { transition-delay: 0.32s; }
.scrolly-card.in-view .telemetry-pill:nth-child(3) { transition-delay: 0.46s; }

body.light-theme .telemetry-pill {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(202, 138, 4, 0.5);
    color: #ca8a04;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Connecting Laser Trajectory Line between Chapters (Tepat di Tengah & Animasi Berjalan) */
.scrolly-connector-line {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 52px;
    margin: 16px auto 26px auto;
    position: relative;
}

.scrolly-connector-line::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(250, 204, 21, 0.25), rgba(250, 204, 21, 0.6) 50%, rgba(250, 204, 21, 0.2));
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.25);
}

.scrolly-connector-pulse {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 9px;
    height: 9px;
    background: #facc15;
    border-radius: 50%;
    box-shadow: 0 0 12px #facc15, 0 0 24px rgba(250, 204, 21, 0.85);
    animation: scrollySignalTravel 1.8s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
    z-index: 2;
}

.scrolly-connector-pulse::before {
    content: '';
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: linear-gradient(0deg, #facc15 0%, rgba(250, 204, 21, 0.4) 60%, transparent 100%);
    pointer-events: none;
}

@keyframes scrollySignalTravel {
    0% {
        top: 0px;
        opacity: 0;
        transform: translateX(-50%) scale(0.6);
    }
    15% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        top: calc(100% - 9px);
        opacity: 0;
        transform: translateX(-50%) scale(0.6);
    }
}

body.light-theme .scrolly-connector-line::after {
    background: linear-gradient(180deg, rgba(202, 138, 4, 0.25), rgba(202, 138, 4, 0.6) 50%, rgba(202, 138, 4, 0.2));
    box-shadow: 0 0 8px rgba(202, 138, 4, 0.25);
}

body.light-theme .scrolly-connector-pulse {
    background: #ca8a04;
    box-shadow: 0 0 12px #ca8a04, 0 0 24px rgba(202, 138, 4, 0.85);
}

body.light-theme .scrolly-connector-pulse::before {
    background: linear-gradient(0deg, #ca8a04 0%, rgba(202, 138, 4, 0.4) 60%, transparent 100%);
}

@media (max-width: 1080px) {
    .scrolly-hud-sidebar {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   8. PERFORMANCE & ACCESSIBILITY OPTIMIZATIONS
   -------------------------------------------------------------------------- */
.scrolly-card,
.program-img,
.scrolly-watermark-num {
    transform: translateZ(0);
    backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .scrolly-card,
    .program-card,
    .program-img,
    .scrolly-watermark-num,
    .scrolly-laser-sweep,
    .scrolly-connector-pulse::after,
    .telemetry-pill,
    .pulse-dot,
    .scrolly-hud-pulse {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}



