/* ═══════════════════════════════════════════════════════════════════════
   NodeRails investor deck styles
   Keeps the premium dark presentation system while rebranding the accent
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design Tokens ───────────────────────────────────────────────────── */
:root {
    --btc:            #f43f5e;
    --btc-rgb:        244, 63, 94;
    --btc-dark:       #e11d48;
    --btc-light:      #fff1f2;
    --btc-glow:       rgba(244, 63, 94, 0.18);

    --bg-primary:     #0a0810;
    --bg-secondary:   #13101c;
    --bg-card:        rgba(255,255,255,0.05);
    --bg-card-hover:  rgba(255,255,255,0.09);

    --text-primary:   #ffffff;
    --text-secondary: rgba(255,255,255,0.75);
    --text-muted:     rgba(255,255,255,0.45);

    --accent-blue:    #fb7185;
    --accent-green:   #34d399;
    --accent-red:     #ff6b6b;
    --accent-purple:  #a78bfa;
    --accent-cyan:    #ff8fa3;

    --shadow-glow:    0 0 40px rgba(244, 63, 94, 0.22);
    --shadow-card:    0 4px 30px rgba(0,0,0,0.3);

    --radius:         16px;
    --radius-sm:      10px;
    --radius-xs:      6px;
}

/* ── Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* ── Slide Container ─────────────────────────────────────────────────── */
.ppt-container {
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: safe center;
    align-items: center;
    padding: 4rem 6rem;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    opacity: 0;
    transform: translateX(60px);
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background:
        radial-gradient(ellipse at 70% 15%, rgba(244,63,94,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(253,164,175,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 70%, rgba(167,139,250,0.04) 0%, transparent 40%),
        linear-gradient(160deg, #080510 0%, #0e0a18 25%, #160f28 55%, #1e1535 85%, #251a40 100%);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    z-index: 10;
}

.slide.exit-left {
    opacity: 0;
    transform: translateX(-60px);
}

.slide.exit-right {
    opacity: 0;
    transform: translateX(60px);
}

.slide::-webkit-scrollbar {
    display: none;
}

/* Prevent flex children from shrinking below their content */
.slide > * {
    flex-shrink: 0;
    max-width: 100%;
}

/* ── Backgrounds ─────────────────────────────────────────────────────── */
.slide::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--btc-rgb),0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: glowDrift 12s ease-in-out infinite alternate;
}

.slide::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253,164,175,0.12) 0%, transparent 70%);
    animation: glowDrift 15s ease-in-out infinite alternate-reverse;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.slide > * { position: relative; z-index: 1; }

/* ── Grid pattern overlay ── */
.slide .grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ── Particle Canvas ─────────────────────────────────────────────────── */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   SLIDE TYPES
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Title Slide ─────────────────────────────────────────────────────── */
.slide-title {
    text-align: center;
}

.slide-title .bitcoin-logo {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(var(--btc-rgb),0.45));
}

.slide-title h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-title h1 .accent {
    background: linear-gradient(135deg, var(--btc) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-title .subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.slide-title .author-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--btc-rgb),0.12);
    border: 1px solid rgba(var(--btc-rgb),0.25);
    color: var(--btc);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem 0.5rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--btc-rgb),0.22);
    background: rgba(var(--btc-rgb),0.08);
    margin-bottom: 1.5rem;
}

.brand-badge__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(var(--btc-rgb),0.2);
}

.brand-badge__text {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.metric-strip {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
    margin-top: 2rem;
}

.metric-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-card);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mini-subtitle {
    width: 100%;
    max-width: 900px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.box-title {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    text-align: center;
}

.source-note {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

.data-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.data-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.data-grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.data-card {
    min-width: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 1.2rem 1.2rem 1.15rem;
    box-shadow: var(--shadow-card);
    min-height: 150px;
}

.data-card:hover {
    border-color: rgba(var(--btc-rgb),0.24);
    box-shadow: var(--shadow-glow);
}

.data-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.95rem;
    border-radius: 12px;
    background: rgba(var(--btc-rgb),0.12);
    border: 1px solid rgba(var(--btc-rgb),0.18);
    font-size: 1.05rem;
}

.data-value {
    font-size: 2.15rem;
    line-height: 1;
    font-weight: 900;
    color: var(--btc);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.data-label {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.data-note {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.55;
}

.stat-card .data-label {
    min-height: 2.6em;
}

.stat-card .data-note {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.market-stack {
    display: grid;
    gap: 0.85rem;
}

.market-layer {
    border-radius: 14px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(90deg, rgba(var(--btc-rgb),0.14), rgba(255,255,255,0.02));
}

.market-layer-1 {
    background: linear-gradient(90deg, rgba(var(--btc-rgb),0.18), rgba(255,255,255,0.03));
}

.market-layer-2 {
    background: linear-gradient(90deg, rgba(0,231,255,0.16), rgba(255,255,255,0.03));
}

.market-layer-3 {
    background: linear-gradient(90deg, rgba(52,211,153,0.16), rgba(255,255,255,0.03));
}

.market-layer-4 {
    background: linear-gradient(90deg, rgba(124,124,255,0.16), rgba(255,255,255,0.03));
}

.market-layer__value {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.market-layer__label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.45;
}

.roadmap-card {
    min-height: 190px;
}

.roadmap-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.95rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(var(--btc-rgb),0.12);
    border: 1px solid rgba(var(--btc-rgb),0.2);
    color: var(--btc);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ask-grid .data-card {
    text-align: left;
}

/* ── Content Slide ───────────────────────────────────────────────────── */
.slide-content {
    text-align: left;
    align-items: flex-start;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.slide-content .slide-header {
    width: 100%;
    margin-bottom: 1.5rem;
}

.slide-content .slide-number {
    display: inline-block;
    background: var(--btc);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.slide-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.slide-content h2 .accent {
    color: var(--btc);
}

.slide-content .slide-body {
    width: 100%;
    display: flex;
    gap: 3rem;
    flex: 1;
    align-items: flex-start;
}

.slide-content .slide-text {
    flex: 1;
    min-width: 0;
}

.slide-content .slide-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.slide-content .slide-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

/* ── Bullet Lists ────────────────────────────────────────────────────── */
.slide-bullets {
    list-style: none;
    padding: 0;
    width: 100%;
}

.slide-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    opacity: 0;
    transform: translateX(-20px);
}

.slide-bullets li .bullet-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(var(--btc-rgb),0.12);
    border: 1px solid rgba(var(--btc-rgb),0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-top: 2px;
}

.slide-bullets li strong {
    color: #fff;
    font-weight: 600;
}

/* Bullet animation when slide is active */
.slide.active .slide-bullets li {
    animation: bulletIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide.active .slide-bullets li:nth-child(1) { animation-delay: 0.15s; }
.slide.active .slide-bullets li:nth-child(2) { animation-delay: 0.3s; }
.slide.active .slide-bullets li:nth-child(3) { animation-delay: 0.45s; }
.slide.active .slide-bullets li:nth-child(4) { animation-delay: 0.6s; }
.slide.active .slide-bullets li:nth-child(5) { animation-delay: 0.75s; }
.slide.active .slide-bullets li:nth-child(6) { animation-delay: 0.9s; }

@keyframes bulletIn {
    to { opacity: 1; transform: translateX(0); }
}

/* ── Info Cards Grid ─────────────────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(var(--btc-rgb),0.22);
    box-shadow: var(--shadow-glow);
}

.info-card .card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.slide.active .info-card {
    animation: cardIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide.active .info-card:nth-child(1) { animation-delay: 0.1s; }
.slide.active .info-card:nth-child(2) { animation-delay: 0.2s; }
.slide.active .info-card:nth-child(3) { animation-delay: 0.3s; }
.slide.active .info-card:nth-child(4) { animation-delay: 0.4s; }
.slide.active .info-card:nth-child(5) { animation-delay: 0.5s; }
.slide.active .info-card:nth-child(6) { animation-delay: 0.6s; }

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

/* ── Diagram Boxes ───────────────────────────────────────────────────── */
.diagram-box {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 2rem;
    padding-top: calc(2rem + 3px);
    width: 100%;
    position: relative;
}

.diagram-box::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--btc), var(--accent-cyan));
    border-radius: var(--radius) var(--radius) 0 0;
}

/* ── Flow Diagram ────────────────────────────────────────────────────── */
.flow-diagram {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: scale(0.8);
}

.flow-step .step-box {
    background: rgba(var(--btc-rgb),0.1);
    border: 1px solid rgba(var(--btc-rgb),0.25);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    text-align: center;
    min-width: 110px;
    transition: all 0.3s;
}

.flow-step .step-box:hover {
    background: rgba(var(--btc-rgb),0.18);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.flow-step .step-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    display: block;
}

.flow-step .step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.flow-arrow {
    color: var(--btc);
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
}

.slide.active .flow-step {
    animation: flowIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide.active .flow-arrow {
    animation: fadeIn 0.3s ease forwards;
}

.slide.active .flow-step:nth-child(1)  { animation-delay: 0.1s; }
.slide.active .flow-arrow:nth-child(2) { animation-delay: 0.25s; }
.slide.active .flow-step:nth-child(3)  { animation-delay: 0.35s; }
.slide.active .flow-arrow:nth-child(4) { animation-delay: 0.5s; }
.slide.active .flow-step:nth-child(5)  { animation-delay: 0.6s; }
.slide.active .flow-arrow:nth-child(6) { animation-delay: 0.75s; }
.slide.active .flow-step:nth-child(7)  { animation-delay: 0.85s; }
.slide.active .flow-arrow:nth-child(8) { animation-delay: 1.0s; }
.slide.active .flow-step:nth-child(9)  { animation-delay: 1.1s; }
.slide.active .flow-arrow:nth-child(10) { animation-delay: 1.25s; }
.slide.active .flow-step:nth-child(11) { animation-delay: 1.35s; }

@keyframes flowIn {
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ── Code Block ──────────────────────────────────────────────────────── */
.slide-code {
    background: #1e1e2e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    overflow-x: auto;
    color: #cdd6f4;
    width: 100%;
}

.slide-code .keyword { color: #cba6f7; }
.slide-code .string { color: #a6e3a1; }
.slide-code .number { color: #fab387; }
.slide-code .comment { color: #6c7086; font-style: italic; }
.slide-code .func { color: #89b4fa; }
.slide-code .op { color: var(--btc); }

/* ── Stats Row ───────────────────────────────────────────────────────── */
.stats-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
}

.stat-item .stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--btc);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.slide.active .stat-item {
    animation: statIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide.active .stat-item:nth-child(1) { animation-delay: 0.2s; }
.slide.active .stat-item:nth-child(2) { animation-delay: 0.35s; }
.slide.active .stat-item:nth-child(3) { animation-delay: 0.5s; }
.slide.active .stat-item:nth-child(4) { animation-delay: 0.65s; }

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

/* ── Visual Elements ─────────────────────────────────────────────────── */
.hash-visual {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    word-break: break-all;
    background: rgba(0,212,255,0.06);
    padding: 1rem;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(0,212,255,0.15);
    text-align: center;
    line-height: 1.8;
    opacity: 0;
}

.slide.active .hash-visual {
    animation: typeIn 0.8s ease forwards 0.3s;
}

@keyframes typeIn {
    0%   { opacity: 0; clip-path: inset(0 100% 0 0); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes glowDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(15px, -10px) scale(1.08); }
    100% { transform: translate(-10px, 8px) scale(1.03); }
}

/* ── Export Button ───────────────────────────────────────────────────── */
.export-btn {
    position: fixed;
    top: 1rem;
    right: 4.5rem;
    height: 36px;
    padding: 0 0.9rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15,15,26,0.6);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 100;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.export-btn:hover {
    background: rgba(var(--btc-rgb),0.12);
    border-color: rgba(var(--btc-rgb),0.25);
    color: var(--btc);
}

.export-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}

/* ── Blockchain Visual ───────────────────────────────────────────────── */
.blockchain-visual {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.block-viz {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
}

.block-viz .block-box {
    width: 120px;
    height: 100px;
    background: linear-gradient(145deg, rgba(var(--btc-rgb),0.15), rgba(var(--btc-rgb),0.05));
    border: 1.5px solid rgba(var(--btc-rgb),0.3);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    position: relative;
    transition: all 0.3s;
}

.block-viz .block-box:hover {
    border-color: var(--btc);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.block-viz .block-num {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.block-viz .block-hash {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    color: var(--accent-cyan);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.block-viz .block-icon {
    font-size: 1.5rem;
}

.chain-link {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--btc), rgba(var(--btc-rgb),0.3));
    position: relative;
    opacity: 0;
}

.chain-link::after {
    content: '▸';
    position: absolute;
    right: -4px;
    top: -8px;
    color: var(--btc);
    font-size: 0.9rem;
}

.slide.active .block-viz {
    animation: blockDrop 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide.active .chain-link {
    animation: chainGrow 0.3s ease forwards;
}

.slide.active .block-viz:nth-child(1) { animation-delay: 0.2s; }
.slide.active .chain-link:nth-child(2) { animation-delay: 0.45s; }
.slide.active .block-viz:nth-child(3) { animation-delay: 0.6s; }
.slide.active .chain-link:nth-child(4) { animation-delay: 0.8s; }
.slide.active .block-viz:nth-child(5) { animation-delay: 0.95s; }
.slide.active .chain-link:nth-child(6) { animation-delay: 1.15s; }
.slide.active .block-viz:nth-child(7) { animation-delay: 1.3s; }

@keyframes blockDrop {
    0%   { opacity: 0; transform: translateY(30px); }
    60%  { transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes chainGrow {
    0%   { opacity: 0; transform: scaleX(0); }
    100% { opacity: 1; transform: scaleX(1); }
}

/* ── Animated SVG Diagrams ───────────────────────────────────────────── */
.svg-diagram {
    width: 100%;
    max-width: 500px;
}

.svg-diagram svg {
    width: 100%;
    height: auto;
}

/* ── Mining Animation ────────────────────────────────────────────────── */
.mining-visual {
    text-align: center;
    width: 100%;
}

.nonce-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    color: var(--btc);
    margin-bottom: 0.5rem;
}

.hash-output {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius-xs);
    border: 1px solid rgba(0,212,255,0.15);
    word-break: break-all;
    min-height: 2rem;
}

.hash-output .leading-zeros {
    color: var(--accent-green);
    font-weight: 700;
}

.mining-status {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.mining-status.searching { color: var(--btc); }
.mining-status.found { color: var(--accent-green); }

/* ═══════════════════════════════════════════════════════════════════════
   NAVIGATION & CONTROLS
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Progress Bar ────────────────────────────────────────────────────── */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 100;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--btc), var(--accent-cyan));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(var(--btc-rgb),0.5);
}

/* ── Slide Counter ───────────────────────────────────────────────────── */
.slide-counter {
    position: fixed;
    bottom: 1.5rem;
    right: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    z-index: 100;
    font-family: 'JetBrains Mono', monospace;
}

.slide-counter .current-num {
    color: var(--btc);
    font-size: 1.1rem;
}

/* ── Navigation Arrows ───────────────────────────────────────────────── */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15,15,26,0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
}

.nav-arrow:hover {
    background: rgba(var(--btc-rgb),0.15);
    border-color: rgba(var(--btc-rgb),0.3);
    color: var(--btc);
    box-shadow: var(--shadow-glow);
}

.nav-arrow.prev { left: 1.5rem; }
.nav-arrow.next { right: 1.5rem; }

.nav-arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* ── Slide Dots ──────────────────────────────────────────────────────── */
.slide-dots {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.slide-dot:hover {
    background: rgba(var(--btc-rgb),0.4);
    transform: scale(1.3);
}

.slide-dot.active {
    background: var(--btc);
    box-shadow: 0 0 8px rgba(var(--btc-rgb),0.5);
    transform: scale(1.2);
    width: 24px;
    border-radius: 4px;
}

/* ── Keyboard Hint ───────────────────────────────────────────────────── */
.keyboard-hint {
    position: fixed;
    bottom: 1.5rem;
    left: 2rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    z-index: 100;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.keyboard-hint:hover { opacity: 0.8; }

.key-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* ── Fullscreen Button ───────────────────────────────────────────────── */
.fullscreen-btn {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15,15,26,0.6);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s;
}

.fullscreen-btn:hover {
    background: rgba(var(--btc-rgb),0.12);
    border-color: rgba(var(--btc-rgb),0.25);
    color: var(--btc);
}

/* ═══════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════ */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(var(--btc-rgb),0.2); }
    50%      { box-shadow: 0 0 25px rgba(var(--btc-rgb),0.4); }
}

/* ── Slide-in Animations ─────────────────────────────────────────────── */
.anim-fade-up {
    opacity: 0;
    transform: translateY(25px);
}

.slide.active .anim-fade-up {
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide.active .anim-fade-up.d1 { animation-delay: 0.1s; }
.slide.active .anim-fade-up.d2 { animation-delay: 0.2s; }
.slide.active .anim-fade-up.d3 { animation-delay: 0.3s; }
.slide.active .anim-fade-up.d4 { animation-delay: 0.4s; }
.slide.active .anim-fade-up.d5 { animation-delay: 0.5s; }

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

.anim-scale-in {
    opacity: 0;
    transform: scale(0.85);
}

.slide.active .anim-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide.active .anim-scale-in.d1 { animation-delay: 0.1s; }
.slide.active .anim-scale-in.d2 { animation-delay: 0.2s; }
.slide.active .anim-scale-in.d3 { animation-delay: 0.3s; }
.slide.active .anim-scale-in.d4 { animation-delay: 0.4s; }
.slide.active .anim-scale-in.d5 { animation-delay: 0.5s; }

@keyframes scaleIn {
    to { opacity: 1; transform: scale(1); }
}

/* ── Network Node Animation ──────────────────────────────────────────── */
.network-viz {
    position: relative;
    width: 300px;
    height: 300px;
}

.network-node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(var(--btc-rgb),0.15);
    border: 1.5px solid rgba(var(--btc-rgb),0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0);
    animation: nodeIn 0.4s ease forwards;
}

.slide.active .network-node:nth-child(1) { animation-delay: 0.2s; }
.slide.active .network-node:nth-child(2) { animation-delay: 0.35s; }
.slide.active .network-node:nth-child(3) { animation-delay: 0.5s; }
.slide.active .network-node:nth-child(4) { animation-delay: 0.65s; }
.slide.active .network-node:nth-child(5) { animation-delay: 0.8s; }
.slide.active .network-node:nth-child(6) { animation-delay: 0.95s; }

@keyframes nodeIn {
    to { opacity: 1; transform: scale(1); }
}

/* ── Thank You Slide ─────────────────────────────────────────────────── */
.slide-thankyou {
    text-align: center;
}

.slide-thankyou h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--btc) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-thankyou p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.slide-thankyou .links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-thankyou .link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(var(--btc-rgb),0.25);
    color: var(--btc);
    background: rgba(var(--btc-rgb),0.08);
}

.slide-thankyou .link-btn:hover {
    background: rgba(var(--btc-rgb),0.18);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ── Two-Column Layout ───────────────────────────────────────────────── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    align-items: start;
}

.two-col > * {
    min-width: 0;
}

/* ── Highlight Box ───────────────────────────────────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, rgba(var(--btc-rgb),0.08), rgba(var(--btc-rgb),0.02));
    border: 1px solid rgba(var(--btc-rgb),0.15);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
}

.highlight-box .tag {
    display: inline-block;
    background: var(--btc);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

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

/* ── Transaction Visual ──────────────────────────────────────────────── */
.tx-visual {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    padding: 1rem 0;
}

.tx-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.tx-inout {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xs);
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    min-width: 100px;
}

.tx-inout.input-box {
    border-color: rgba(56,161,105,0.3);
    background: rgba(56,161,105,0.06);
}

.tx-inout.output-box {
    border-color: rgba(49,130,206,0.3);
    background: rgba(49,130,206,0.06);
}

.tx-center-icon {
    font-size: 2.5rem;
    color: var(--btc);
    animation: pulse 2s ease-in-out infinite;
}

.tx-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ── Visual Chart Blocks ─────────────────────────────────────────────── */
.funnel-chart,
.compare-chart,
.chain-bars,
.pipeline-list {
    display: grid;
    gap: 0.8rem;
}

.funnel-row,
.compare-row,
.chain-row,
.pipeline-item {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.funnel-row span,
.compare-label,
.chain-row span,
.pipeline-item span {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
}

.compare-track,
.chain-track,
.pipeline-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.funnel-bar {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--btc), var(--accent-cyan));
}

.compare-fill,
.chain-fill,
.pipeline-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--btc), var(--accent-cyan));
}

.compare-fill.fill-a { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.compare-fill.fill-b { background: linear-gradient(90deg, #34d399, #98f5d0); }
.compare-fill.fill-c { background: linear-gradient(90deg, #a78bfa, #c4b5fd); }

.compare-value,
.chain-row b,
.pipeline-item b {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.kpi-chip-row {
    margin-top: 1rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.trend-bars {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    align-items: stretch;
    height: 190px;
}

.trend-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.trend-bar {
    width: 100%;
    max-width: 58px;
    border-radius: 10px 10px 6px 6px;
    background: linear-gradient(180deg, rgba(var(--btc-rgb),0.9), rgba(var(--btc-rgb),0.35));
    border: 1px solid rgba(var(--btc-rgb),0.4);
    box-shadow: 0 10px 30px rgba(var(--btc-rgb),0.2);
}

.trend-col span {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
}

.matrix-table {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
}

.matrix-head,
.matrix-cell {
    padding: 0.65rem 0.75rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.matrix-head {
    color: #fff;
    font-weight: 800;
    background: rgba(var(--btc-rgb),0.12);
}

.matrix-win {
    color: #a8f2d0;
    font-weight: 700;
}

.timeline-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
}

.timeline-node {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.timeline-node b {
    color: var(--btc);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

.timeline-node span {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .slide { padding: 3rem 2.5rem; }
    .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
    .slide-content .slide-body { flex-direction: column; }
    .data-grid-3,
    .data-grid-4,
    .data-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow-diagram { gap: 0.3rem; }
    .flow-step .step-box { min-width: 80px; padding: 0.75rem 0.75rem; }
    .blockchain-visual { gap: 0; }
    .block-viz .block-box { width: 90px; height: 80px; }
    .nav-arrow { display: none; }
    .funnel-row,
    .compare-row,
    .chain-row,
    .pipeline-item {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    .trend-bars { height: 150px; }
    .timeline-strip { grid-template-columns: repeat(2, 1fr); }
    .matrix-table { grid-template-columns: 1fr; }
    .matrix-head { display: none; }
}

@media (max-width: 600px) {
    .slide { padding: 2rem 1.5rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .data-grid-3,
    .data-grid-4,
    .data-grid-6 { grid-template-columns: 1fr; }
    .stats-row { gap: 1.5rem; }
    .stat-item .stat-value { font-size: 1.8rem; }
    .tx-visual { flex-direction: column; }
    .data-card { min-height: 0; }
    .timeline-strip { grid-template-columns: 1fr; }
    .hero-stat-row { grid-template-columns: 1fr; }
    .moat-row { grid-template-columns: 1fr; }
    .roadmap { grid-template-columns: 1fr; }
    .founder-card { flex-direction: column; text-align: center; }
    .founder-info { align-items: center; }
    .founder-badges { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO STATS — Big gradient numbers for key metrics
   ═══════════════════════════════════════════════════════════════════════ */
.hero-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.hero-stat {
    text-align: center;
    padding: 1.2rem 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.hero-stat:hover {
    border-color: rgba(var(--btc-rgb),0.25);
    background: rgba(var(--btc-rgb),0.04);
}

.hero-stat .hero-num {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--btc) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.hero-stat .hero-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════════════════
   MOAT CALLOUTS — Side-by-side differentiator boxes
   ═══════════════════════════════════════════════════════════════════════ */
.moat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    width: 100%;
}

.moat-card {
    padding: 1.4rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(var(--btc-rgb),0.25);
    background: linear-gradient(145deg, rgba(var(--btc-rgb),0.08), rgba(var(--btc-rgb),0.02));
    position: relative;
    overflow: hidden;
}

.moat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--btc), var(--accent-cyan));
    border-radius: 4px 0 0 4px;
}

.moat-card .moat-icon {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.moat-card .moat-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    background: rgba(var(--btc-rgb),0.15);
    color: var(--btc);
    margin-bottom: 0.6rem;
}

.moat-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.moat-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════
   SHIPPED LIST — Green checkmark product status
   ═══════════════════════════════════════════════════════════════════════ */
.shipped-list {
    display: grid;
    gap: 0.6rem;
}

.shipped-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: rgba(52,211,153,0.04);
    border: 1px solid rgba(52,211,153,0.15);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.shipped-item:hover {
    background: rgba(52,211,153,0.08);
    border-color: rgba(52,211,153,0.3);
}

.shipped-item .check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(52,211,153,0.15);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    flex-shrink: 0;
}

.shipped-item.upcoming {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.08);
}

.shipped-item.upcoming .check {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   ROADMAP TIMELINE — 3 funding phases
   ═══════════════════════════════════════════════════════════════════════ */
.roadmap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    position: relative;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--btc), var(--accent-cyan), #a78bfa);
    border-radius: 2px;
    z-index: 0;
}

.roadmap-phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
}

.phase-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--btc);
    background: var(--bg-primary);
    margin-bottom: 0.75rem;
    position: relative;
    flex-shrink: 0;
}

.phase-dot::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--btc);
}

.roadmap-phase:nth-child(2) .phase-dot {
    border-color: var(--accent-cyan);
}
.roadmap-phase:nth-child(2) .phase-dot::after {
    background: var(--accent-cyan);
}
.roadmap-phase:nth-child(3) .phase-dot {
    border-color: #a78bfa;
}
.roadmap-phase:nth-child(3) .phase-dot::after {
    background: #a78bfa;
}

.phase-dot.active {
    box-shadow: 0 0 12px rgba(var(--btc-rgb),0.5);
    animation: glow 2s ease-in-out infinite;
}

.phase-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--btc);
    margin-bottom: 0.3rem;
}

.roadmap-phase:nth-child(2) .phase-label { color: var(--accent-cyan); }
.roadmap-phase:nth-child(3) .phase-label { color: #a78bfa; }

.phase-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
    text-align: center;
}

.phase-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.phase-item {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.4rem 0.65rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    text-align: center;
    line-height: 1.35;
}

.roadmap-phase:first-child .phase-item {
    border-color: rgba(var(--btc-rgb),0.15);
    background: rgba(var(--btc-rgb),0.04);
}

/* ═══════════════════════════════════════════════════════════════════════
   FOUNDER CARD — Team slide
   ═══════════════════════════════════════════════════════════════════════ */
.founder-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    width: 100%;
}

.founder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(var(--btc-rgb),0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.founder-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.founder-info .founder-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.founder-info .founder-role {
    font-size: 0.85rem;
    color: var(--btc);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.founder-info .founder-bio {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.founder-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    background: rgba(var(--btc-rgb),0.08);
    border: 1px solid rgba(var(--btc-rgb),0.15);
    color: var(--text-secondary);
}

.founder-badge .badge-icon {
    font-size: 0.75rem;
}

.builds-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    width: 100%;
    margin-top: 1rem;
}

.build-card {
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xs);
    text-align: center;
}

.build-card .build-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.build-card .build-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════
   REVENUE MODEL — Business model visual
   ═══════════════════════════════════════════════════════════════════════ */
.revenue-model {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    width: 100%;
}

.rev-card {
    padding: 1.2rem 1.4rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
}

.rev-card .rev-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.rev-card .rev-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}

.rev-card .rev-detail {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.rev-card .rev-highlight {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--btc), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

@media (max-width: 900px) {
    .hero-stat-row { grid-template-columns: repeat(2, 1fr); }
    .moat-row { grid-template-columns: 1fr; }
    .roadmap { grid-template-columns: 1fr; gap: 1.2rem; }
    .roadmap::before { display: none; }
    .revenue-model { grid-template-columns: 1fr; }
    .builds-row { grid-template-columns: 1fr; }
    .founder-card { flex-direction: column; }
    .scenario-table { grid-template-columns: 1.4fr repeat(3, 1fr); font-size: 0.7rem; }
}

/* ── Scenario Table ─────────────────────────────────────────────────── */
.scenario-table {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.scenario-head {
    padding: 0.65rem 0.8rem;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
}
.scenario-label-cons { color: var(--text-secondary); }
.scenario-label-base { color: #ff8fa3; }
.scenario-label-up   { color: #a78bfa; }
.scenario-row-label {
    padding: 0.55rem 0.8rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
}
.scenario-cell {
    padding: 0.55rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.02);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scenario-base {
    background: rgba(244, 63, 94, 0.06);
}
.scenario-result {
    font-size: 1rem;
    font-weight: 800;
}

/* ── Product Screenshots (full-page) ──────────────────────────────────── */
.slide-screenshot {
    padding: 1.5rem 3rem 2rem !important;
}
.screenshot-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 0.8rem;
}
.screenshot-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}
.screenshot-full {
    width: 100%;
    flex: 1;
    min-height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.screenshot-full img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ── Why Now Grid ───────────────────────────────────────────────────── */
.why-now-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.why-now-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 1rem;
    transition: background 0.25s, border-color 0.25s;
}
.why-now-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(244, 63, 94, 0.25);
}
.why-now-icon {
    font-size: 1.3rem;
    margin-bottom: 0.45rem;
}
.why-now-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}
.why-now-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
@media (max-width: 900px) {
    .why-now-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Live Product Grid ──────────────────────────────────────────────── */
.live-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}
.live-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 1rem 1rem 0.9rem;
    transition: background 0.25s, border-color 0.25s;
}
.live-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(244, 63, 94, 0.25);
}
.live-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.live-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}
.live-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.45;
}
@media (max-width: 900px) {
    .live-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Gap Comparison Table ───────────────────────────────────────────── */
.gap-table {
    display: grid;
    gap: 0;
}
.gap-header {
    display: grid;
    grid-template-columns: 1fr 60px 60px;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    border-bottom: 2px solid rgba(255,255,255,0.12);
    margin-bottom: 0.2rem;
}
.gap-header span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-align: center;
}
.gap-header span:first-child { text-align: left; }
.gap-row {
    display: grid;
    grid-template-columns: 1fr 60px 60px;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.gap-feature {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.gap-check, .gap-cross {
    text-align: center;
    font-size: 1rem;
}

/* ── TAM/SAM/SOM Concentric Circles ────────────────────────────────── */
.tam-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 300px;
    width: 100%;
}
.tam-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.3s;
}
.tam-outer {
    width: 290px; height: 290px;
    border: 2px solid rgba(244,63,94,0.15);
    background: rgba(244,63,94,0.03);
}
.tam-mid {
    width: 195px; height: 195px;
    border: 2px solid rgba(251,113,133,0.25);
    background: rgba(251,113,133,0.05);
}
.tam-inner {
    width: 100px; height: 100px;
    border: 2px solid rgba(244,63,94,0.5);
    background: rgba(244,63,94,0.1);
}
.tam-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.tam-value {
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
}
.tam-outer .tam-value { font-size: 0.9rem; position: absolute; top: 18px; }
.tam-outer .tam-label { position: absolute; top: 40px; }
.tam-mid .tam-value { font-size: 0.85rem; position: absolute; top: 14px; }
.tam-mid .tam-label { position: absolute; top: 34px; }

/* ── Use of Funds Bar ──────────────────────────────────────────────── */
.funds-bar {
    display: flex;
    width: 100%;
    height: 28px;
    border-radius: 14px;
    overflow: hidden;
    margin: 0.6rem 0;
}
.funds-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.funds-legend {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.funds-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.funds-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Market Cascade ────────────────────────────────────────────────── */
.market-cascade {
    display: grid;
    gap: 0.6rem;
    width: 100%;
}
.cascade-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    transition: all 0.3s;
}
.cascade-row:hover {
    border-color: rgba(var(--btc-rgb),0.2);
    background: rgba(var(--btc-rgb),0.03);
}
.cascade-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    min-width: 2.4rem;
    flex-shrink: 0;
}
.cascade-bar {
    height: 8px;
    border-radius: 4px;
    flex-shrink: 0;
    transition: width 0.8s ease;
}
.cascade-info {
    flex: 1;
    min-width: 0;
}
.cascade-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.cascade-growth {
    font-size: 0.72rem;
    color: #34d399;
    font-weight: 600;
    margin-top: 0.15rem;
}
.cascade-value {
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
}

/* ── Competitor Table ────────────────────────────────────────────────── */
.comp-table-scroll {
    width: 100%;
    max-width: 1100px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.comp-table-scroll::-webkit-scrollbar { height: 4px; }
.comp-table-scroll::-webkit-scrollbar-track { background: transparent; }
.comp-table-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.competitor-table {
    display: grid;
    grid-template-columns: 1.6fr repeat(7, 1fr);
    gap: 1px;
    width: 100%;
    max-width: 1100px;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    font-size: 0.72rem;
}
.comp-header {
    background: rgba(255,255,255,0.08);
    padding: 0.65rem 0.5rem;
    font-weight: 700;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.comp-header.comp-col-us {
    background: rgba(244,63,94,0.18);
    color: #f43f5e;
}
.comp-header.comp-col-feature {
    text-align: left;
    padding-left: 0.8rem;
}
.comp-feature {
    padding: 0.55rem 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.comp-cell {
    padding: 0.55rem 0.4rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.02);
}
.comp-cell.comp-us {
    background: rgba(244,63,94,0.10);
    color: #34d399;
    font-size: 0.95rem;
}
.comp-cell.comp-yes {
    color: rgba(52,211,153,0.7);
    font-size: 0.85rem;
}
.comp-cell.comp-no {
    color: rgba(255,107,107,0.6);
    font-size: 0.85rem;
}
.comp-cell.comp-partial {
    color: rgba(251,191,36,0.8);
    font-size: 0.68rem;
}
.comp-insight {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(244,63,94,0.08);
    border: 1px solid rgba(244,63,94,0.18);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    max-width: 1100px;
    width: 100%;
}
.comp-insight-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.comp-insight strong {
    color: #f43f5e;
}

/* ── Moat Cards ──────────────────────────────────────────────────────── */
.moat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 1100px;
}
.moat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.3s, background 0.3s;
}
.moat-card:hover {
    border-color: rgba(244,63,94,0.3);
    background: rgba(255,255,255,0.06);
}
.moat-card--primary {
    border-color: rgba(244,63,94,0.25);
    background: rgba(244,63,94,0.06);
}
.moat-icon {
    font-size: 1.8rem;
    line-height: 1;
}
.moat-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}
.moat-desc {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
    flex: 1;
}
.moat-tag {
    display: inline-block;
    align-self: flex-start;
    margin-top: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(244,63,94,0.15);
    color: #f43f5e;
    border: 1px solid rgba(244,63,94,0.25);
}

@media (max-width: 900px) {
    .moat-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .moat-card {
        padding: 1rem;
    }
}

@media (max-width: 900px) {
    .competitor-table {
        font-size: 0.6rem;
        grid-template-columns: 1.4fr repeat(7, 1fr);
    }
    .comp-header, .comp-feature, .comp-cell {
        padding: 0.4rem 0.25rem;
    }
    .comp-header {
        font-size: 0.55rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Tablet / Small Laptop ───────────────────────────────────────────── */
@media (max-width: 900px) {
    /* Keyboard hints irrelevant on touch */
    .keyboard-hint { display: none; }

    /* Show thin scrollbar so users know they can scroll */
    .slide { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.12) transparent; }
    .slide::-webkit-scrollbar { display: block; width: 3px; }
    .slide::-webkit-scrollbar-track { background: transparent; }
    .slide::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

    /* Make dots smaller for many slides */
    .slide-dots { gap: 5px; }
    .slide-dot { width: 6px; height: 6px; }
    .slide-dot.active { width: 18px; }

    /* Counter and buttons smaller */
    .slide-counter { bottom: 1rem; right: 1.2rem; font-size: 0.7rem; }
    .slide-counter .current-num { font-size: 0.95rem; }

    /* Export & fullscreen buttons */
    .export-btn { right: 3.5rem; height: 32px; font-size: 0.65rem; padding: 0 0.7rem; }
    .fullscreen-btn { width: 32px; height: 32px; font-size: 0.8rem; }

    /* Competitor table: horizontal scroll wrapper */
    .competitor-table {
        min-width: 650px;
    }

    /* Screenshot slides */
    .slide-screenshot { padding: 1.2rem 1.5rem 1.5rem !important; }
}

/* ── Phone landscape / large phone ───────────────────────────────────── */
@media (max-width: 600px) {
    .slide { padding: 1.8rem 1.2rem 3.5rem; justify-content: flex-start; }
    .slide-screenshot { padding: 1rem 1rem 3rem !important; }

    /* Title slide */
    .slide-title h1 { font-size: clamp(1.6rem, 6vw, 2.5rem); margin-bottom: 0.6rem; }
    .slide-title .subtitle { font-size: 0.9rem; margin-bottom: 1.2rem; }

    /* Content slides */
    .slide-content h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
    .mini-subtitle { font-size: 0.85rem; margin-bottom: 1rem; }
    .slide-content .slide-header { margin-bottom: 1rem; }

    /* Brand badge */
    .brand-badge { padding: 0.4rem 0.8rem 0.4rem 0.4rem; gap: 0.5rem; margin-bottom: 1rem; }
    .brand-badge__icon { width: 32px; height: 32px; border-radius: 8px; }
    .brand-badge__text { font-size: 0.8rem; }

    /* Metric chips */
    .metric-chip { font-size: 0.7rem; padding: 0.45rem 0.75rem; }

    /* Two-col stacks */
    .two-col { gap: 1rem; }

    /* Diagram boxes */
    .diagram-box { padding: 1rem; }

    /* Flow diagrams — smaller step boxes */
    .flow-step .step-box { min-width: 65px; padding: 0.5rem 0.5rem; }
    .flow-step .step-label { font-size: 0.65rem; }
    .flow-arrow { font-size: 1rem; }
    .flow-diagram { gap: 0.25rem; }

    /* Gap table (Problem slide) */
    .gap-header { grid-template-columns: 1fr 45px 45px; gap: 0.3rem; padding: 0.5rem 0.6rem; }
    .gap-header span { font-size: 0.6rem; }
    .gap-row { grid-template-columns: 1fr 45px 45px; gap: 0.3rem; padding: 0.4rem 0.6rem; }
    .gap-feature { font-size: 0.72rem; }
    .gap-check, .gap-cross { font-size: 0.85rem; }

    /* Matrix table (Solution slide) */
    .matrix-table { font-size: 0.7rem; }
    .matrix-head, .matrix-cell { padding: 0.45rem 0.5rem; font-size: 0.7rem; }

    /* Why-now + live grids */
    .why-now-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .why-now-card { padding: 0.75rem; }
    .why-now-icon { font-size: 1.1rem; margin-bottom: 0.3rem; }
    .why-now-title { font-size: 0.75rem; }
    .why-now-desc { font-size: 0.65rem; }

    .live-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .live-card { padding: 0.75rem; }
    .live-icon { font-size: 1.1rem; margin-bottom: 0.3rem; }
    .live-title { font-size: 0.75rem; }
    .live-desc { font-size: 0.65rem; }

    /* Revenue model */
    .revenue-model { gap: 0.8rem; }
    .rev-card { padding: 0.9rem 1rem; }
    .rev-card .rev-highlight { font-size: 1.1rem; }
    .rev-card .rev-title { font-size: 0.85rem; }
    .rev-card .rev-detail { font-size: 0.75rem; }

    /* Scenario table */
    .scenario-table { font-size: 0.65rem; grid-template-columns: 1.2fr repeat(3, 1fr); }
    .scenario-head { padding: 0.45rem 0.5rem; font-size: 0.6rem; }
    .scenario-row-label { padding: 0.4rem 0.5rem; font-size: 0.68rem; }
    .scenario-cell { padding: 0.4rem 0.4rem; font-size: 0.72rem; }
    .scenario-cell.scenario-result { font-size: 0.85rem; }

    /* Roadmap */
    .roadmap { gap: 0; }
    .phase-title { font-size: 0.82rem; }
    .phase-item { font-size: 0.68rem; padding: 0.3rem 0.5rem; }
    .phase-label { font-size: 0.65rem; }

    /* Funds bar */
    .funds-segment { font-size: 0.55rem; }
    .funds-legend { gap: 0.6rem; }
    .funds-legend-item { font-size: 0.65rem; }

    /* Founder card */
    .founder-card { padding: 1.2rem; gap: 1rem; }
    .founder-avatar { width: 60px; height: 60px; }
    .founder-info .founder-name { font-size: 1.05rem; }
    .founder-info .founder-bio { font-size: 0.75rem; }
    .founder-badge { font-size: 0.6rem; padding: 0.25rem 0.5rem; }

    /* Builds row */
    .builds-row { gap: 0.5rem; }
    .build-card { padding: 0.6rem 0.75rem; }
    .build-card .build-name { font-size: 0.75rem; }
    .build-card .build-desc { font-size: 0.65rem; }

    /* Moat cards on Moats slide */
    .moat-grid { gap: 0.6rem; }
    .moat-card { padding: 0.9rem; }
    .moat-icon { font-size: 1.4rem; }
    .moat-title { font-size: 0.88rem; }
    .moat-desc { font-size: 0.68rem; }
    .moat-tag { font-size: 0.55rem; }

    /* Competitor table scroll container */
    .competitor-table { min-width: 550px; }

    /* Market cascade */
    .cascade-row { padding: 0.6rem 0.8rem; gap: 0.6rem; flex-wrap: wrap; }
    .cascade-bar { flex-shrink: 1; max-width: 100% !important; width: auto !important; }
    .cascade-value { font-size: 1.1rem; }
    .cascade-label { font-size: 0.75rem; }
    .cascade-growth { font-size: 0.65rem; }

    /* TAM circles */
    .tam-visual { height: 220px; }
    .tam-outer { width: 210px; height: 210px; }
    .tam-mid { width: 140px; height: 140px; }
    .tam-inner { width: 75px; height: 75px; }

    /* Thank you / Ask slide */
    .slide-thankyou h2 { font-size: clamp(1.6rem, 6vw, 2.8rem); }
    .slide-thankyou p { font-size: 0.95rem; }
    .slide-thankyou .link-btn { font-size: 0.8rem; padding: 0.55rem 1.1rem; }

    /* Highlight box */
    .highlight-box { padding: 0.9rem 1rem; }
    .highlight-box p { font-size: 0.82rem; }

    /* Navigation bottom area */
    .slide-dots { bottom: 0.8rem; gap: 4px; }
    .slide-dot { width: 5px; height: 5px; }
    .slide-dot.active { width: 14px; }
    .slide-counter { bottom: 0.6rem; right: 0.8rem; font-size: 0.65rem; }
    .slide-counter .current-num { font-size: 0.85rem; }

    /* Top controls */
    .export-btn { right: 3rem; height: 30px; font-size: 0.6rem; padding: 0 0.6rem; top: 0.6rem; }
    .fullscreen-btn { width: 30px; height: 30px; font-size: 0.75rem; top: 0.6rem; right: 0.8rem; }

    /* Comp insight */
    .comp-insight { font-size: 0.7rem; padding: 0.6rem 0.8rem; }
}

/* ── Small phones (≤ 420px) ──────────────────────────────────────────── */
@media (max-width: 420px) {
    .slide { padding: 1.5rem 0.8rem 3.2rem; justify-content: flex-start; }
    .slide-screenshot { padding: 0.8rem 0.6rem 2.5rem !important; }

    .slide-title h1 { font-size: 1.4rem; }
    .slide-title .subtitle { font-size: 0.8rem; }

    .slide-content h2 { font-size: 1.3rem; }
    .mini-subtitle { font-size: 0.78rem; }

    .eyebrow { font-size: 0.65rem; letter-spacing: 0.1em; }

    /* Why-now and live go single column */
    .why-now-grid { grid-template-columns: 1fr; }
    .live-grid { grid-template-columns: 1fr; }

    /* Scenario table tighter */
    .scenario-table { grid-template-columns: 1fr repeat(3, 0.8fr); }
    .scenario-cell { font-size: 0.65rem; padding: 0.35rem 0.3rem; }
    .scenario-cell.scenario-result { font-size: 0.78rem; }

    /* Gap table even tighter */
    .gap-header, .gap-row { grid-template-columns: 1fr 38px 38px; }
    .gap-feature { font-size: 0.65rem; }

    /* Moat cards on solution slide — inline styles override, but moat-row generic */
    .moat-row { gap: 0.5rem; }

    /* Market cascade — hide bar, stack vertically */
    .cascade-bar { display: none; }
    .cascade-row { gap: 0.4rem; }
    .cascade-badge { min-width: auto; }
    .cascade-value { font-size: 1rem; }
    .cascade-label { font-size: 0.7rem; }
    .cascade-growth { font-size: 0.6rem; }

    /* Author badge */
    .author-badge { font-size: 0.72rem; padding: 0.4rem 1rem; }

    /* Slide-thankyou */
    .slide-thankyou h2 { font-size: 1.3rem; }
    .slide-thankyou p { font-size: 0.82rem; }
    .slide-thankyou .link-btn { font-size: 0.72rem; padding: 0.45rem 0.9rem; }

    /* Founder — fully stacked */
    .founder-avatar { width: 50px; height: 50px; }
    .founder-info .founder-name { font-size: 0.95rem; }
    .founder-badge { font-size: 0.55rem; }
}
