/* ========================================
   QUANTUM SCIENCES PROPOSAL — DESIGN SYSTEM
   Dark Holographic & Botanical Luxe
   ======================================== */

/* ===== DESIGN TOKENS ===== */
:root {
    --void: #030305;
    --deep: #0a0a0c;
    --surface: #111114;
    --surface-glass: rgba(8, 8, 14, 0.7);
    --border: rgba(207, 167, 109, 0.15);
    --border-hover: rgba(207, 167, 109, 0.35);
    --border-cyan: rgba(0, 229, 210, 0.2);

    --gold: #CFA76D;
    --gold-light: #E5CDA0;
    --gold-bright: #FFE4A8;
    --cyan: #00E5D2;
    --cyan-dim: rgba(0, 229, 210, 0.6);
    --sage: #7A8B6F;
    --cream: #FAF8F5;
    --smoke: #8a8a8a;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

    --ease: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET & SCROLL SNAPPING ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    font-size: 16px; 
    -webkit-font-smoothing: antialiased; 
    /* Scroll snapping configs — Proximity is kinder to variable height content */
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    min-height: 100%;
}
body { 
    font-family: var(--font-body); 
    background: var(--void); 
    color: var(--cream); 
    line-height: 1.6; 
    overflow-x: hidden; 
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Background ambient glow */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 229, 210, 0.015) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(207, 167, 109, 0.02) 0%, transparent 50%);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 0px; } /* Hide standard scrollbar for cleaner deck feel */

/* ===== SLIDE ARCHITECTURE ===== */
.slide {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    padding-left: 100px; /* Space for the slide navigator */
    overflow: hidden;
}

/* Base fade-in state for intersection observer */
.slide-content {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity var(--ease-slow), transform var(--ease-slow);
    width: 100%;
    max-width: 1100px;
    z-index: 2;
    position: relative;
}
.slide.is-visible .slide-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Shared Slide Background styling */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Dropped opacity further to 0.30 as per request */
    z-index: 0;
    transition: transform 10s ease-out;
    -webkit-mask-image: 
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: 
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-composite: intersect;
}
.slide.is-visible .slide-bg {
    transform: scale(1.05); /* Subtle zoom when active */
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,3,5,0.5) 0%, rgba(3,3,5,0.85) 100%);
    z-index: 1;
}

/* ===== NAVIGATOR (Left dots) ===== */
.deck-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    padding: 25px 16px;
    border-radius: 20px;
    width: 40px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}
.deck-nav:hover {
    width: 180px;
    background: rgba(8, 8, 14, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
    padding: 4px 0; /* extra hit area */
}
.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.nav-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--smoke);
    opacity: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
    transform: translateX(-4px);
    pointer-events: none;
}

/* Hover States */
.deck-nav:hover .nav-label {
    opacity: 0.6;
    transform: translateX(4px);
}
.nav-item:hover .nav-label {
    opacity: 1 !important;
    color: var(--gold-light) !important;
    transform: translateX(8px) !important;
}
.nav-item:hover .nav-dot {
    transform: scale(1.3);
    background: var(--gold-light);
}

/* Active State */
.nav-item.active .nav-dot {
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(0,229,210,0.5);
    transform: scale(1.3);
}
.deck-nav:hover .nav-item.active .nav-label {
    opacity: 1;
    color: var(--cyan);
    transform: translateX(8px);
}

/* Click Animation */
.clicked-pulse .nav-dot {
    animation: clickPulse 0.4s ease-out;
}
@keyframes clickPulse {
    0% { transform: scale(1.3); box-shadow: 0 0 10px var(--cyan); }
    50% { transform: scale(2); box-shadow: 0 0 20px var(--cyan); background: #FFF; }
    100% { transform: scale(1.3); box-shadow: 0 0 10px var(--cyan); }
}

/* ===== CUSTOM CURSOR ===== */
@media (pointer: fine) {
    body { cursor: none; }
    .custom-cursor {
        position: fixed; top: 0; left: 0; width: 6px; height: 6px;
        background: var(--cyan); border-radius: 50%;
        transform: translate(-50%, -50%); pointer-events: none; z-index: 99999;
        box-shadow: 0 0 8px rgba(0,229,210,0.5);
        transition: transform 0.05s linear;
    }
    .custom-cursor-follower {
        position: fixed; top: 0; left: 0; width: 44px; height: 44px;
        border: 1px solid rgba(0,229,210,0.3); background: rgba(0,229,210,0.02);
        border-radius: 50%; transform: translate(-50%, -50%);
        pointer-events: none; z-index: 99998;
        transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease;
    }
}

/* ===== TYPOGRAPHY & COMPONENTS ===== */
.slide-label {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
    position: relative;
}
.slide-label::before {
    content: ''; position: absolute; top: 50%; right: -40px; width: 30px; height: 1px;
    background: var(--cyan); opacity: 0.5;
}
.slide-title {
    font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 300;
    line-height: 1.1; margin-bottom: 24px; color: var(--cream);
}
.slide-subtitle {
    font-size: 1.25rem; font-weight: 300; color: var(--smoke); max-width: 800px; line-height: 1.6;
}

/* Holographic FX */
.holo-title {
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 30%, #FFF 50%, var(--cyan) 70%, var(--gold) 100%);
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; animation: holoShift 10s linear infinite;
}
@keyframes holoShift { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* Glass Cards */
.glass-card {
    background: rgba(8, 8, 14, 0.5);
    backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid var(--border); border-radius: 20px; padding: 40px;
    transition: all var(--ease);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(207,167,109,0.05);
}

/* Layout Grids */
.data-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.data-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }

.val-item { margin-bottom: 30px; }
.val-item h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-light); margin-bottom: 12px; }
.val-item p { color: var(--smoke); font-size: 1rem; }

/* Slide Specific Layouts */
.slide-center { text-align: center; }
.slide-center .slide-subtitle { margin-left: auto; margin-right: auto; }
.slide-center .slide-label::before, .slide-center .slide-label::after {
    content: ''; position: absolute; top: 50%; width: 30px; height: 1px;
    background: var(--cyan); opacity: 0.5;
}
.slide-center .slide-label::before { right: -40px; }
.slide-center .slide-label::after { left: -40px; }

/* Custom Line Items */
.list-item { 
    display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; 
}
.list-item-icon {
    flex-shrink: 0; width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan); border: 1px solid var(--cyan-dim); border-radius: 50%;
    font-size: 0.8rem;
}
.list-item-content h4 { font-family: var(--font-body); font-weight: 500; font-size: 1.1rem; color: var(--cream); margin-bottom: 4px; }
.list-item-content p { color: var(--smoke); font-size: 0.95rem; }

/* ========================================
   GRAPH SLIDE (SLIDE 4)
   ======================================== */
.chart-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 40px;
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
    display: flex;
    align-items: flex-end;
}
.chart-line {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
}
.chart-line svg {
    width: 100%; height: 100%;
    overflow: visible;
}
.line-ozempic {
    stroke: rgba(220, 80, 80, 0.8);
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}
.line-peptides {
    stroke: var(--cyan);
    stroke-width: 4;
    fill: none;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    filter: drop-shadow(0 0 12px rgba(0,229,210,0.6));
}
.slide.is-visible .line-ozempic {
    animation: drawLine 2s ease-out forwards;
    animation-delay: 0.5s;
}
.slide.is-visible .line-peptides {
    animation: drawLine 3s ease-out forwards;
    animation-delay: 0.8s;
}
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}
.chart-label {
    position: absolute; font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.1em;
}
.lbl-ozempic { top: 25%; left: 45%; color: rgba(220, 80, 80, 0.8); }
.lbl-peptides { bottom: 25%; right: 15%; color: var(--cyan); }
.chart-x-axis {
    position: absolute; bottom: -30px; left: 0; width: 100%;
    display: flex; justify-content: space-between;
    font-size: 0.7rem; color: var(--smoke);
}

/* ========================================
   QUOTE SLIDE (SLIDE 5)
   ======================================== */
.quote-slide {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.quote-text {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 40px;
}
.quote-text span.highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    font-style: italic;
}
.quote-subtext {
    font-size: 1.15rem; color: var(--smoke); max-width: 700px; margin: 0 auto 40px;
    line-height: 1.6;
}

/* ========================================
   COMPLIANCE ROADMAP (SLIDE 13)
   ======================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}
.timeline::before {
    content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, var(--cyan) 0%, var(--gold) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 1s ease 0.3s;
}
.slide.is-visible .timeline::before {
    opacity: 0.6;
}
.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide.is-visible .timeline-item:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.4s; }
.slide.is-visible .timeline-item:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 0.8s; }
.slide.is-visible .timeline-item:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 1.2s; }
.timeline-dot {
    position: absolute; left: 16px; top: 4px; width: 18px; height: 18px;
    background: var(--void); border: 2px solid var(--cyan); border-radius: 50%;
    z-index: 2; box-shadow: 0 0 10px rgba(0,229,210,0.4);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.slide.is-visible .timeline-item:nth-child(1) .timeline-dot { transform: scale(1); transition-delay: 0.5s; }
.slide.is-visible .timeline-item:nth-child(2) .timeline-dot { transform: scale(1); transition-delay: 0.9s; }
.slide.is-visible .timeline-item:nth-child(3) .timeline-dot { transform: scale(1); transition-delay: 1.3s; }
.timeline-content h4 {
    font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-light); margin-bottom: 8px;
}
.timeline-content p { color: var(--smoke); font-size: 0.95rem; }

/* ========================================
   FINANCIALS & METRICS (SLIDE 10, 14, 15)
   ======================================== */
.metric-card {
    text-align: center;
}
.metric-value {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 12px;
}
.metric-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
}
.metric-sub {
    font-size: 0.9rem; color: var(--smoke); margin-top: 12px;
}

/* ========================================
   TEAM (SLIDE 16)
   ======================================== */
.team-member { margin-bottom: 30px; }
.team-member h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--cream); display: flex; align-items: center; gap: 16px;}
.team-member h3 span { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); padding: 4px 10px; border: 1px solid var(--border); border-radius: 20px;}
.team-member ul { list-style: none; padding-left: 20px; margin-top: 12px; }
.team-member ul li { position: relative; color: var(--smoke); margin-bottom: 8px; font-size: 0.95rem; }
.team-member ul li::before {
    content: '✦'; position: absolute; left: -20px; color: var(--cyan-dim); font-size: 0.8rem; top: 2px;
}

/* ========================================
   MEDIA / IMAGES
   ======================================== */
.hero-logo {
    width: 240px; margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(207,167,109,0.5)) drop-shadow(0 0 80px rgba(0,229,210,0.15));
    animation: logoPulse 4s ease-in-out infinite alternate;
}
@keyframes logoPulse {
    from { filter: drop-shadow(0 0 30px rgba(207,167,109,0.3)) drop-shadow(0 0 50px rgba(0,229,210,0.1)); }
    to { filter: drop-shadow(0 0 60px rgba(207,167,109,0.6)) drop-shadow(0 0 90px rgba(0,229,210,0.25)); }
}

.product-image {
    width: 100%; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

.elegant-hover {
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.elegant-hover:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 229, 210, 0.25), 0 0 30px rgba(207, 167, 109, 0.15);
    border-color: rgba(0, 229, 210, 0.4);
    z-index: 10;
}

/* ===== HERO VIALS ===== */
.hero-vials-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
    z-index: 5;
}
.hero-vials {
    width: 100%;
    display: block;
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    opacity: 0.95;
    filter: drop-shadow(0 0 30px rgba(0, 229, 210, 0.15));
    animation: vialsFloat 8s ease-in-out infinite alternate;
}
@keyframes vialsFloat {
    from { transform: translateY(0px) scale(1); filter: drop-shadow(0 0 30px rgba(0,229,210,0.15)); }
    to { transform: translateY(-8px) scale(1.02); filter: drop-shadow(0 0 50px rgba(0,229,210,0.35)); }
}

/* ===== PARTICLES ===== */
.particles-container { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.particle {
    position: absolute; width: 4px; height: 4px; border-radius: 50%;
    background: var(--gold); opacity: 0.4;
    animation: floatUp 18s linear infinite;
    box-shadow: 0 0 8px rgba(207,167,109,0.5);
}
.particle:nth-child(even) { background: var(--cyan); box-shadow: 0 0 8px rgba(0,229,210,0.5); width: 3px; height: 3px; }
.particle:nth-child(3n) { background: rgba(80,128,255,0.6); width: 3px; height: 3px; animation-duration: 22s; }
@keyframes floatUp {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-100px) translateX(60px); opacity: 0; }
}

/* ========================================
   LOADING SCREEN (AWESOME UPGRADE)
   ======================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--void);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.loading-triangle-wrap {
    width: 200px;
    height: 180px;
    position: relative;
    animation: floatingTriangle 4s ease-in-out infinite alternate;
}

@keyframes floatingTriangle {
    0% { transform: translateY(0); filter: drop-shadow(0 10px 20px rgba(0, 229, 210, 0.1)); }
    100% { transform: translateY(-15px); filter: drop-shadow(0 30px 40px rgba(207, 167, 109, 0.2)); }
}

.loading-triangle-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.triangle-trace {
    animation: traceTriangleAwesome 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.trace-cyan {
    animation-delay: 1.25s;
    animation-direction: reverse;
}

@keyframes traceTriangleAwesome {
    0% { stroke-dashoffset: 520; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { stroke-dashoffset: -520; opacity: 0; }
}

.core-pulse {
    animation: corePulse 2s ease-in-out infinite alternate;
}

@keyframes corePulse {
    0% { r: 10; opacity: 0.3; }
    100% { r: 50; opacity: 1; }
}

.inner-triangle {
    transform-origin: 100px 110px;
    animation: spinInner 6s linear infinite;
}

@keyframes spinInner {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(0.8); }
    100% { transform: rotate(360deg) scale(1); }
}

.loading-text-container {
    text-align: center;
    margin-top: 40px;
}

.loading-title {
    font-size: 1.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: var(--font-display);
    margin-bottom: 12px;
}

.loading-status {
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 0.2em;
    font-family: var(--font-body);
    animation: blinkText 1.5s steps(2, start) infinite;
}

@keyframes blinkText {
    to { visibility: hidden; }
}

.mobile-break { display: none; }

/* Cover slide inline PDF button */
.cover-pdf-btn {
    display: inline-block;
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 229, 210, 0.4);
    color: var(--cyan);
    padding: 12px 28px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.cover-pdf-btn:hover {
    background: rgba(0, 229, 210, 0.12);
    border-color: var(--cyan);
    box-shadow: 0 0 24px rgba(0, 229, 210, 0.2);
    transform: translateY(-2px);
}

/* ===== INFO ROWS (Slide 14) ===== */
.info-row-container {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.info-row {
    background: rgba(8, 8, 14, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: stretch;
    transition: all var(--ease);
}
.info-row:hover {
    border-color: var(--border-hover);
    background: rgba(8, 8, 14, 0.6);
    transform: translateY(-2px);
}
.info-row-label {
    width: 240px;
    padding: 20px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.info-row-content {
    flex: 1;
    padding: 20px 30px;
    font-size: 1rem;
    color: var(--cream);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.info-row-content p {
    margin-bottom: 4px;
}
.info-row-content p:last-child {
    margin-bottom: 0;
}

/* ===== TIER CARDS (Slide 17) ===== */
.tier-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 40px 30px !important;
}
.tier-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}
.tier-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--cream);
    margin: 20px 0;
}
.tier-divider {
    height: 1px;
    background: var(--border);
    width: 100%;
    margin-bottom: 24px;
}
.tier-card.highlight {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 229, 210, 0.1);
}
.tier-card.highlight .tier-label {
    color: var(--cyan);
}

/* Bottom Bar Banner */
.bottom-banner {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--smoke);
}
.bottom-banner span.legal {
    font-style: italic;
    font-size: 0.75rem;
}

/* ========================================
   RESPONSIVE DESIGN (MOBILE & TABLET SCALING)
   ======================================== */
@media screen and (max-width: 900px) {
    .data-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    /* Disable aggressive snapping on mobile to prevent "stuck" feeling */
    html, body { 
        scroll-snap-type: none !important;
        scroll-behavior: auto !important;
        overscroll-behavior-y: none;
        -webkit-overflow-scrolling: touch;
    }

    .data-grid-2,
    .data-grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .slide-title {
        font-size: 2rem !important;
    }
    
    /* Allow mobile slides to grow beyond viewport & stop clipping */
    .slide {
        padding: 50px 20px 40px 20px !important;
        height: auto !important;
        min-height: 100svh !important;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
        justify-content: flex-start !important;
        overflow: visible !important;
    }
    
    /* Center the cover background on mobile (desktop uses 45% via inline style) */
    #slide-1 .slide-bg {
        background-position: center center !important;
    }
    
    .glass-card {
        padding: 20px !important;
    }
    
    #btnFullscreen {
        display: none !important;
    }
    
    /* Hide the entire fixed control bar on mobile — PDF lives inline in cover slide */
    .presentation-controls {
        display: none !important;
    }
    
    .holo-title {
        font-size: 2rem !important;
    }
    
    .slide-subtitle {
        font-size: 1rem !important;
        margin-bottom: 16px !important;
    }
    
    .metric-value {
        font-size: 1.8rem !important;
    }
    
    .hero-vials-container img {
        max-height: 30vh !important;
    }
    
    /* Product images in grid cards — keep them visible but compact */
    .product-image {
        max-height: 200px !important;
        height: auto !important;
    }
    
    /* Images inside metric/glass cards — let them breathe on mobile since slides scroll */
    .glass-card img,
    .metric-card img {
        height: auto !important;
        max-height: 260px !important;
        object-fit: cover;
    }
    
    /* ---- Slide 8: Brand & Product ---- */
    /* Remove the fixed 55vh height on the grid so stacked cards aren't squashed */
    #slide-8 .data-grid-2 {
        height: auto !important;
    }
    /* The left column flex container needs auto height when stacked */
    #slide-8 .data-grid-2 > div:first-child {
        height: auto !important;
    }
    /* Give the image wrappers explicit height so images don't collapse */
    #slide-8 .data-grid-2 > div:first-child > div {
        flex: none !important;
        height: auto !important;
    }
    #slide-8 .product-image {
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
    }
    /* The glass-card with text + packaging image */
    #slide-8 .glass-card {
        height: auto !important;
    }
    #slide-8 .glass-card .product-image {
        height: 180px !important;
    }
    
    /* ---- Slide 10: Unit Economics ---- */
    #slide-10 .slide-content {
        margin-top: 0 !important;
    }
    #slide-10 .metric-card img {
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }
    
    /* ---- Slide 15: Financial Outlook ---- */
    /* The 3-phase image container — use auto height on mobile */
    #slide-15 .slide-content div[style*="height: 35vh"] {
        height: auto !important;
    }
    #slide-15 img[alt="Growth Phases"] {
        height: 200px !important;
        object-fit: cover;
    }
    
    /* ---- Slide 16: Team ---- */
    /* Reduce team photo heights so all 3 stacked cards fit */
    #slide-16 .slide-content {
        padding-top: 0 !important;
    }
    #slide-16 .slide-subtitle {
        margin-bottom: 20px !important;
    }
    #slide-16 .glass-card img {
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center !important;
        width: 100% !important;
    }
    #slide-16 .glass-card div[style*="padding: 30px"] {
        padding: 20px 16px !important;
    }
    #slide-16 .glass-card h3 {
        font-size: 1.5rem !important;
        margin-bottom: 4px !important;
    }
    #slide-16 .glass-card ul {
        font-size: 0.85rem !important;
    }
    
    /* ---- Slides 15 & 17: Tighten gap between Projections and The Ask ---- */
    #slide-15,
    #slide-17 {
        min-height: auto !important;
        padding-bottom: 30px !important;
    }
    
    .chart-container {
        height: 250px !important;
    }
    
    .chart-x-axis span {
        font-size: 0.65rem;
    }
    
    .chart-label {
        font-size: 0.7rem !important;
    }
    
    .deck-nav {
        display: none !important;
    }
    
    .slide-content {
        padding: 2vh 0 4vh 0;
    }
    
    .slide-label {
        margin-bottom: 12px;
        font-size: 0.65rem;
    }
    
    .mobile-break {
        display: block !important;
        height: 0;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .funds-quadrant-container img {
        min-height: 500px !important;
    }
    
    .funds-grid-overlay .glass-card {
        padding: 10px 6px !important;
    }
    
    .funds-grid-overlay h4 {
        font-size: 1.3rem !important;
    }
    
    .funds-grid-overlay p {
        font-size: 0.6rem !important;
    }
    

    
    /* Timeline (Slide 13) — tighter on mobile */
    .timeline {
        margin-top: 20px !important;
    }
    .timeline-item {
        padding-left: 50px !important;
        margin-bottom: 24px !important;
    }
    .timeline-content h4 {
        font-size: 1.1rem !important;
    }
    .timeline-content p {
        font-size: 0.85rem !important;
    }
    
    /* Quote slide (Slide 5) */
    .quote-text {
        font-size: 1.8rem !important;
        margin-bottom: 24px !important;
    }
    .quote-subtext {
        font-size: 1rem !important;
    }
    
    /* List items — slightly tighter */
    .list-item {
        margin-bottom: 14px !important;
    }
    .list-item-content h4 {
        font-size: 1rem !important;
    }
    .list-item-content p {
        font-size: 0.85rem !important;
    }
    .bottom-banner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px;
    }
    
    .info-row {
        flex-direction: column;
    }
    .info-row-label {
        width: 100%;
        padding: 16px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.9rem;
    }
    .info-row-content {
        padding: 16px 20px;
        font-size: 0.9rem;
    }
}

/* ========================================
   FULLSCREEN PRESENTATION MODE
   ======================================== */
.presentation-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    gap: 10px;
}
.presentation-controls button {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 229, 210, 0.4);
    color: var(--cyan);
    padding: 10px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.presentation-controls button:hover {
    background: rgba(0, 229, 210, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 210, 0.2);
}

/* Hide nav and controls in fullscreen */
:fullscreen .deck-nav,
:-webkit-full-screen .deck-nav {
    display: none !important;
}
:fullscreen .presentation-controls button:first-child,
:-webkit-full-screen .presentation-controls button:first-child {
    display: none;
}
:fullscreen .custom-cursor,
:fullscreen .custom-cursor-follower {
    display: none !important;
}

/* ========================================
   ANIMATED NUMBER COUNTERS
   ======================================== */
.count-up {
    display: inline-block;
}

/* ========================================
   PDF EXPORT OVERRIDES (per-slide capture)
   ======================================== */
body.pdf-export-mode {
    height: auto !important;
    overflow: visible !important;
}
body.pdf-export-mode .slide {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}
body.pdf-export-mode .slide-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
body.pdf-export-mode .slide-bg {
    transform: none !important;
    transition: none !important;
}
body.pdf-export-mode .timeline::before,
body.pdf-export-mode .timeline-item,
body.pdf-export-mode .timeline-dot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}
body.pdf-export-mode .line-ozempic,
body.pdf-export-mode .line-peptides {
    stroke-dashoffset: 0 !important;
    transition: none !important;
}
body.pdf-export-mode .presentation-controls,
body.pdf-export-mode .deck-nav,
body.pdf-export-mode .custom-cursor,
body.pdf-export-mode .custom-cursor-follower,
body.pdf-export-mode .particles-container,
body.pdf-export-mode .cover-pdf-btn {
    display: none !important;
}
