:root {
    --bg-dark: #09090b;
    --text-primary: #f8fafc;
    --text-secondary: #a1a1aa;
    --brand-primary: #3b82f6;
    --brand-purple: #8b5cf6;
    --brand-red: #ef4444;
    --glass-bg: rgba(24, 24, 27, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    line-height: 1.6;
}
/* =========================================================
   Slide 0: Hero Header
========================================================= */

.slide-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
    max-width: none; /* Force full edge-to-edge width */
}

.hero-bg-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slow-pan 40s infinite alternate ease-in-out;
    opacity: 0.8;
}

@keyframes slow-pan {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, 2%); }
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(9, 9, 11, 0.45) 0%, rgba(9, 9, 11, 0.98) 100%);
    box-shadow: inset 0 0 150px rgba(0,0,0,0.9);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-logo {
    width: 220px;
    height: auto;
    margin-bottom: 2rem;
    mix-blend-mode: screen; /* Magic to remove the black logo background! */
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.6));
    animation: pulse-glow 4s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5)); }
    100% { filter: drop-shadow(0 0 40px rgba(16, 185, 129, 0.6)); }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.hero-tagline {
    font-size: 1.8rem;
    font-weight: 300;
    color: #e4e4e7;
    letter-spacing: 1px;
}

.hero-tagline em {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-style: italic;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Base structural containers */
.slide-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 2rem 5rem 2rem; /* Adjusted for floating nav and up-indicator */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* =========================================================
   Floating Navigation
========================================================= */

.floating-nav {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    padding: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 9999px; /* Pill shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem 1rem;
    outline: none;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Desktop-only: center the nav pill and animate it in */
@media (min-width: 969px) {
    .floating-nav {
        top: 1.5rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        transition: all 0.3s ease;
        opacity: 0;
        animation: navFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: 0.5s;
    }
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Atmospheric Glows */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    animation: drift 20s infinite alternate ease-in-out;
}
.blue-glow {
    top: 5%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: var(--brand-primary);
}
.purple-glow {
    bottom: -10%;
    right: 5%;
    width: 800px;
    height: 800px;
    background: var(--brand-purple);
    animation-delay: -5s;
}

/* Layout Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    z-index: 1;
}

/* Typography & Content Block */
.pill-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.text-block {
    margin-bottom: 3rem;
}

.text-block h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-block p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 90%;
}

.text-block p em {
    color: #e4e4e7;
    font-style: normal;
    font-weight: 500;
}

/* Right Column Visuals */
.stats-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-visual {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    height: 280px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: hard-light;
    opacity: 0.9;
    transition: transform 10s ease;
}
.hero-visual:hover .visual-img {
    transform: scale(1.05);
}

/* Glass Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media(min-width: 1100px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    /* 4 stats naturally form a perfect 2x2 grid */
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.glass:hover {
    background: rgba(39, 39, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stat-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.pulse-icon {
    color: var(--brand-red);
    background: rgba(239, 68, 68, 0.1);
    animation: gentle-pulse 3s infinite;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
}

.gradient-text-red {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-orange {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f4f4f5;
    margin-bottom: 0.75rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.staggered-1 { animation-delay: 0.1s; }
.staggered-2 { animation-delay: 0.3s; }
.staggered-3 { animation-delay: 0.5s; }
.staggered-4 { animation-delay: 0.7s; }
.staggered-5 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

@keyframes gentle-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Responsive */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .scroll-indicator {
        display: none !important;
    }
    
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .iphone-frame {
        margin: 0 auto 3rem auto;
    }
    
    .text-block h2 {
        font-size: 1.75rem;
    }
    
    .text-block p {
        max-width: 100%;
    }
    
    .slide-container {
        padding: 8rem 1.5rem 4rem 1.5rem; /* Prevents mobile nav collisions */
    }
}

/* =========================================================
   Slide 2 Specific Styles
========================================================= */

.align-center {
    align-items: center;
}

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

.emerald-glow {
    top: 20%;
    right: 15%;
    width: 600px;
    height: 600px;
    background: #10b981;
    animation-delay: -3s;
}

.cyan-glow {
    bottom: -10%;
    left: 10%;
    width: 700px;
    height: 700px;
    background: #06b6d4;
    animation-delay: -7s;
}

.gradient-text-emerald {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* iPhone Frame */
.iphone-frame {
    width: 320px;
    height: 650px;
    border: 14px solid #18181b; 
    border-radius: 44px;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.8), inset 0 0 0 2px rgba(255,255,255,0.1);
    background: #000;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.iphone-frame:hover {
    transform: translateY(-10px);
}

.iphone-notch {
    position: absolute;
    top: 12px; /* Floats off the top edge */
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #000;
    border-radius: 20px; /* Fully rounded capsule */
    z-index: 10;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1);
}

.iphone-notch::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.08); /* Camera lens reflection */
    border-radius: 50%;
}

.iphone-screen {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: calc(100% - 8px);
    object-fit: cover;
    border-radius: 36px;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 16px;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: rgba(255,255,255,0.03);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.emerald-bg { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.teal-bg { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.blue-bg { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.purple-bg { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.orange-bg { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.red-bg { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.feature-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Scroll Indicators */
.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease, color 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1 !important;
    color: var(--text-primary);
}

.down-indicator {
    bottom: 2rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, bounce-subtle-down 2.5s infinite;
    animation-delay: 1.2s, 2s;
}

.up-indicator {
    top: 5.5rem; /* Sits nicely between the nav bar and the content */
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, bounce-subtle-up 2.5s infinite;
    animation-delay: 1.2s, 2s;
}

.up-indicator svg { margin-bottom: 4px; }
.down-indicator svg { margin-top: 4px; }

@keyframes bounce-subtle-down {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes bounce-subtle-up {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(10px); }
    60% { transform: translateX(-50%) translateY(5px); }
}

/* =========================================================
   Slide 3: Market
========================================================= */

.slide-market {
    flex-direction: column;
}

.market-layout {
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.market-header {
    text-align: center;
}

.market-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-glow {
    top: 10%;
    left: 15%;
    width: 600px;
    height: 600px;
    background: #d97706;
    animation-delay: -2s;
}

.blue-glow-2 {
    bottom: -5%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: #3b82f6;
    animation-delay: -8s;
}

/* Market Cards Grid */
.market-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.market-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 3.5rem 2.5rem;
    overflow: hidden;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.market-card:hover {
    transform: translateY(-15px);
}

.card-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.market-card:hover .card-glow {
    opacity: 0.4;
}

.gold-glow-hover { background: #fbbf24; }
.blue-glow-hover { background: #3b82f6; }
.emerald-glow-hover { background: #10b981; }

.market-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 1px;
}

.market-sublabel {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.25rem;
    margin-bottom: 3rem;
}

.market-value {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.market-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

/* Accent Bar */
.market-accent {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem 3rem;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.accent-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
}

.accent-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accent-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
}

/* Gold Icon Background */
.gold-bg { background: rgba(217, 119, 6, 0.15); color: #fbbf24; }

/* Revenue Highlight */
.revenue-highlight {
    margin-top: 2rem;
    text-align: center;
    padding: 2rem;
}

.revenue-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.revenue-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================
   Slide 4: Business Model
========================================================= */

.projections-dashboard {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.projections-dashboard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #fbbf24 100%);
}

.border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header {
    padding: 1.5rem 2rem;
    text-align: center;
}

.dashboard-main-metric {
    padding: 3rem 2rem;
    text-align: center;
}

.dashboard-main-metric .label {
    display: block;
    font-size: 1rem;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.dashboard-main-metric .value {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1;
}

.dashboard-breakdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.breakdown-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin: 0.25rem 0 0.5rem 0;
}

.stat-revenue {
    font-weight: 600;
    font-size: 1.1rem;
}

.breakdown-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-arpa {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 2rem;
    padding-bottom: 3.5rem; /* Room for badge */
}

.arpa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arpa-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
}

.arpa-type {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.assumption-badge {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================================
   Slide 5: Scaling The App
========================================================= */

.slide-scaling {
    align-items: flex-start;
}

.scaling-layout {
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    padding-top: 4rem;
}

.scaling-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    position: relative;
    padding-top: 2rem;
}

/* The Animated Growth Line */
.timeline-connection {
    position: absolute;
    top: 40%;
    left: 5%;
    width: 90%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
}

.phase-card {
    position: relative;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--glass-bg);
    height: 100%;
}

.phase-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    z-index: 5;
}

/* Stepped staircase ascending transformation */
.scaling-timeline-grid .phase-card:nth-of-type(1) { transform: translateY(60px); }
.scaling-timeline-grid .phase-card:nth-of-type(2) { transform: translateY(20px); }
.scaling-timeline-grid .phase-card:nth-of-type(3) { transform: translateY(-20px); }
.scaling-timeline-grid .phase-card:nth-of-type(4) { transform: translateY(-60px); }

/* SVG Connection Dots overlaying each card */
.phase-card::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 4px solid;
    z-index: 2;
    box-shadow: 0 0 15px currentColor;
    transition: transform 0.3s ease;
}

.phase-card:hover::before {
    transform: translateX(-50%) scale(1.3);
}

.phase-card:nth-of-type(1)::before { border-color: #fbbf24; color: #fbbf24; top: -12px; }
.phase-card:nth-of-type(2)::before { border-color: #3b82f6; color: #3b82f6; top: -12px; }
.phase-card:nth-of-type(3)::before { border-color: #10b981; color: #10b981; top: -12px; }
.phase-card:nth-of-type(4)::before { border-color: #a855f7; color: #a855f7; top: -12px; }


.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.phase-badge {
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-timeline {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.phase-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.phase-metric {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.phase-metric::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 4px;
}
.phase-card:nth-of-type(1) .phase-metric::after { background: #fbbf24; }
.phase-card:nth-of-type(2) .phase-metric::after { background: #3b82f6; }
.phase-card:nth-of-type(3) .phase-metric::after { background: #10b981; }
.phase-card:nth-of-type(4) .phase-metric::after { background: #a855f7; }

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.phase-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #e4e4e7;
    line-height: 1.5;
}

.phase-bullets li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* =========================================================
   Slide 6: The Team
========================================================= */

.slide-team {
    flex-direction: column;
}

.team-layout {
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    padding-top: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.team-member {
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top; /* CSS Magic to anchor the cropping on the face! */
    aspect-ratio: 1 / 1;
    margin-bottom: 1.5rem;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    background: #09090b;
}

.team-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.team-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.team-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive: Slide 3, 4, 5 & 6 */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .floating-nav {
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        overflow: visible;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        background: transparent;
        border: none;
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 70px;
        right: 1rem;
        left: auto;
        width: 220px;
        flex-direction: column;
        padding: 1.5rem 1rem;
        background: rgba(24, 24, 27, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        z-index: 1001;
    }

    .floating-nav.nav-open .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .market-cards-grid,
    .scaling-timeline-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-connection {
        display: none;
    }

    .scaling-timeline-grid .phase-card:nth-of-type(1),
    .scaling-timeline-grid .phase-card:nth-of-type(2),
    .scaling-timeline-grid .phase-card:nth-of-type(3),
    .scaling-timeline-grid .phase-card:nth-of-type(4) {
        transform: translateY(0);
        margin-bottom: 2rem;
    }

    .phase-card::before {
        display: none;
    }

    .market-value {
        font-size: 4rem;
    }

    .market-accent {
        flex-direction: column;
        gap: 1.5rem;
    }

    .accent-divider {
        width: 48px;
        height: 1px;
    }

    .market-title {
        font-size: 2rem;
    }
}
