/* ============================================================================
   NUBIS PITCH DECK — STYLES
   Premium investor presentation aesthetic
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&display=swap');

/* ============================================================================
   RESET & BASE
   ============================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0A0A0A;
    --bg-dark-elevated: #141414;
    --bg-dark-card: #1A1A1A;
    --bg-light: #F1EFE9;
    --bg-light-card: #FFFFFF;
    --text-white: #FFFFFF;
    --text-white-secondary: rgba(255, 255, 255, 0.6);
    --text-white-muted: rgba(255, 255, 255, 0.4);
    --text-dark: #18181B;
    --text-dark-secondary: #52525B;
    --text-dark-muted: #71717A;
    --accent: #F2500D;
    /* hsl(20, 90%, 50%) */
    --accent-glow: rgba(242, 80, 13, 0.15);
    --gradient-start: #FF6B2B;
    --gradient-end: #E63E00;
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: #E4E4E7;
    --success: #16A34A;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    overflow: hidden;
    background: var(--bg-dark);
    cursor: default;
}

/* ============================================================================
   PROGRESS BAR
   ============================================================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    z-index: 1000;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.deck-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    transition: opacity 0.3s ease;
}

.nav-logo-img {
    height: 24px;
    opacity: 0.9;
    transition: opacity 0.2s ease, filter 0.3s ease;
    filter: brightness(0) invert(1) !important;
    /* By default, nav is on dark background */
}

/* Force logo to be stark black when on light backgrounds */
.deck-nav.nav-light .nav-logo-img {
    filter: brightness(0) !important;
}

.nav-logo-img:hover {
    opacity: 1;
}

.nav-logo-img.dark-logo {
    content: url('../new-frontend/public/nubis_logo_black_transparent.png');
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slide-counter {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.5;
    font-variant-numeric: tabular-nums;
    color: inherit;
}

.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    background: rgba(255, 255, 255, 0.05);
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.slide-light .nav-btn {
    border-color: var(--border-light);
    background: rgba(0, 0, 0, 0.03);
}

.slide-light .nav-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* ============================================================================
   SLIDES
   ============================================================================ */
.slides-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0.6s;
    overflow-y: auto;
    overflow-x: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-dark {
    background: var(--bg-dark);
    color: var(--text-white);
}

.slide-light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

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

/* Slide backgrounds */
.slide-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(242, 80, 13, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(242, 80, 13, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 107, 43, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.slide-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(242, 80, 13, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
.slide-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.5;
}

.slide-heading {
    font-family: var(--font-sans);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.slide-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 640px;
    opacity: 0.7;
    margin-bottom: 48px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--accent);
}

/* ============================================================================
   COVER SLIDE
   ============================================================================ */
.cover-content {
    align-items: center;
    text-align: center;
    justify-content: center;
}

.cover-content.cover-split {
    align-items: stretch;
    text-align: left;
}

.cover-shell {
    width: 100%;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 20px;
    align-items: stretch;
}

.cover-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.cover-right {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
}

.cover-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    padding: 8px 20px;
    border: 1px solid var(--border-dark);
    border-radius: 100px;
    margin-bottom: 20px;
    opacity: 0.5;
    width: fit-content;
}

.cover-logo {
    height: 44px;
    margin-bottom: 18px;
    opacity: 0.95;
}

.slide-dark .cover-logo {
    filter: brightness(0) invert(1) !important;
}

.slide-light .cover-logo {
    filter: brightness(0) !important;
}

.cover-title {
    font-family: var(--font-sans);
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.cover-subtitle {
    font-size: 22px;
    opacity: 0.75;
    font-weight: 400;
    margin-bottom: 18px;
    max-width: 700px;
}

.cover-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-size: 13px;
    opacity: 0.4;
    font-weight: 500;
}

.dot {
    font-size: 6px;
}

.cover-panel,
.cover-snapshot {
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.cover-panel {
    padding: 14px;
}

.cover-panel-title,
.cover-snapshot-head {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-white-muted);
    margin-bottom: 10px;
}

.cover-points {
    display: grid;
    gap: 10px;
}

.cover-point {
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    padding: 10px 11px;
    background: rgba(255, 255, 255, 0.02);
}

.thesis-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cover-point p {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-white-secondary);
}

.cover-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 620px;
    margin-bottom: 14px;
}

.cover-proof-item {
    border: 1px solid var(--border-dark);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.cover-proof-item strong {
    display: block;
    font-size: 22px;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--text-white);
}

.cover-proof-item span {
    display: block;
    font-size: 11px;
    color: var(--text-white-muted);
    margin-top: 3px;
}

.cover-snapshot {
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cover-snapshot img {
    width: 100%;
    height: 100%;
    max-height: 250px;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.slide-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 32px;
    font-size: 11px;
    opacity: 0.3;
    font-weight: 500;
}

/* ============================================================================
   WHY NOW
   ============================================================================ */
.hook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.hook-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hook-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.hook-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 12px;
}

.hook-card h3 {
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.hook-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark-secondary);
}

/* ============================================================================
   PROBLEM SLIDE
   ============================================================================ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.problem-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.problem-icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(242, 80, 13, 0.12);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.problem-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.problem-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark-secondary);
}

/* ============================================================================
   SOLUTION SLIDE
   ============================================================================ */
.solution-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.pillar {
    padding: 32px;
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    background: var(--bg-dark-card);
    transition: border-color 0.3s ease;
}

.pillar:hover {
    border-color: rgba(242, 80, 13, 0.3);
}

.pillar-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.pillar h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.pillar p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-white-secondary);
}

/* ============================================================================
   PRODUCT GRID
   ============================================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.product-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.product-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.product-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.product-card p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-dark-secondary);
}

/* ============================================================================
   DEMO BROWSER
   ============================================================================ */
.demo-browser {
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
    margin-top: 16px;
}

.browser-toolbar {
    background: #1A1A1A;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-dark);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot-red,
.dot-yellow,
.dot-green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #FF5F57;
}

.dot-yellow {
    background: #FEBC2E;
}

.dot-green {
    background: #28C840;
}

.browser-url {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--text-white-muted);
    font-weight: 500;
}

.browser-content {
    background: var(--bg-light);
}

.mock-dashboard {
    display: flex;
    min-height: 320px;
}

.mock-sidebar {
    width: 160px;
    background: rgba(255, 255, 255, 0.5);
    border-right: 1px solid var(--border-light);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mock-nav-item {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark-muted);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.mock-nav-item.active {
    background: var(--bg-dark);
    color: white;
    font-weight: 600;
}

.mock-main {
    flex: 1;
    padding: 20px;
}

.mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mock-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.mock-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    background: #DCFCE7;
    color: #16A34A;
    border-radius: 100px;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mock-stat {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.mock-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.mock-stat-label {
    font-size: 10px;
    color: var(--text-dark-muted);
    margin-top: 4px;
    font-weight: 500;
}

.mock-chart {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 16px;
}

.mock-chart-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark-secondary);
    margin-bottom: 16px;
}

.mock-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.mock-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.mock-bar:hover {
    opacity: 1;
}

/* ============================================================================
   PRODUCT PROOF
   ============================================================================ */
.product-proof-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.product-proof-browser {
    margin-top: 0;
    max-width: none;
}

.product-proof-steps {
    display: grid;
    gap: 16px;
}

.proof-step {
    border: 1px solid var(--border-dark);
    background: var(--bg-dark-card);
    border-radius: 14px;
    padding: 22px;
}

.proof-step h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.proof-step p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-white-secondary);
}

/* ============================================================================
   MARKET OPPORTUNITY
   ============================================================================ */
.market-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 16px;
}

.market-circles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
}

.market-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-light);
    transition: transform 0.3s ease;
}

.market-circle:hover {
    transform: scale(1.03);
}

.market-circle.tam {
    width: 260px;
    height: 260px;
    background: rgba(242, 80, 13, 0.08);
    border-color: rgba(242, 80, 13, 0.2);
}

.market-circle.sam {
    width: 200px;
    height: 200px;
    background: rgba(242, 80, 13, 0.12);
    border-color: rgba(242, 80, 13, 0.3);
    margin-top: -40px;
}

.market-circle.som {
    width: 140px;
    height: 140px;
    background: rgba(242, 80, 13, 0.2);
    border-color: var(--accent);
    margin-top: -30px;
}

.circle-inner {
    text-align: center;
}

.circle-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.circle-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-top: 2px;
}

.circle-desc {
    display: block;
    font-size: 10px;
    color: var(--text-dark-muted);
    margin-top: 4px;
}

.market-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.market-stat {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 24px;
    transition: transform 0.2s ease;
}

.market-stat:hover {
    transform: translateY(-2px);
}

.stat-big {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.stat-desc {
    font-size: 13px;
    color: var(--text-dark-secondary);
    line-height: 1.4;
}

/* ============================================================================
   BUSINESS MODEL
   ============================================================================ */
.bmodel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 32px;
}

.bmodel-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.3s ease;
}

.bmodel-card:hover {
    border-color: rgba(242, 80, 13, 0.3);
}

.bmodel-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(242, 80, 13, 0.15);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.bmodel-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.bmodel-card p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-white-secondary);
}

.revenue-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 40px;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
}

.rev-item {
    text-align: center;
}

.rev-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-white-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rev-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rev-divider {
    width: 1px;
    height: 40px;
    background: var(--border-dark);
}

/* ============================================================================
   TRACTION
   ============================================================================ */
.traction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 40px;
}

.traction-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    transition: transform 0.2s ease;
}

.traction-card:hover {
    transform: translateY(-2px);
}

.traction-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 8px 24px var(--accent-glow);
}

.traction-value {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-dark);
}

.traction-card.featured .traction-value {
    color: var(--accent);
}

.traction-label {
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
    color: var(--text-dark);
}

.traction-sub {
    font-size: 12px;
    color: var(--text-dark-muted);
    margin-top: 6px;
}

/* Milestones */
.milestones {
    margin-top: auto;
}

.milestones-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.timeline {
    display: flex;
    gap: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-light);
}

.timeline-item {
    flex: 1;
    position: relative;
    padding-top: 28px;
}

.timeline-dot {
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border-light);
    border: 3px solid var(--bg-light);
    z-index: 1;
}

.timeline-item.done .timeline-dot {
    background: var(--success);
}

.timeline-item.current .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 4px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(242, 80, 13, 0.05);
    }
}

.timeline-content strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-content span {
    font-size: 11px;
    color: var(--text-dark-muted);
}

/* ============================================================================
   COMPETITIVE TABLE
   ============================================================================ */
.comp-table-wrapper {
    margin-top: 16px;
    overflow-x: auto;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comp-table th,
.comp-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-dark);
}

.comp-table th {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-white-muted);
    padding-bottom: 16px;
}

.comp-table th.comp-nubis {
    color: var(--accent);
}

.comp-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-white-secondary);
}

.comp-table td.comp-nubis {
    background: rgba(242, 80, 13, 0.05);
}

.check {
    color: var(--success);
    font-size: 18px;
    font-weight: 700;
}

.cross {
    color: #DC2626;
    font-size: 16px;
    opacity: 0.6;
}

.partial {
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ============================================================================
   TEAM
   ============================================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.team-proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.team-proof-item {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
}

.team-proof-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.team-proof-label {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--text-dark-secondary);
    text-transform: uppercase;
}

.team-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.team-avatar {
    margin-bottom: 12px;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 15px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
}

.team-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.team-role {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-bio {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-dark-secondary);
}

.team-edge {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.team-edge-item {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-dark-secondary);
}

/* ============================================================================
   THE ASK
   ============================================================================ */
.ask-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
    margin-bottom: 36px;
}

.ask-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.ask-card:hover {
    border-color: rgba(217, 119, 6, 0.3);
}

.ask-amount {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.ask-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ask-card p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-white-secondary);
}

.ask-targets {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.ask-target {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 16px 32px;
    text-align: center;
}

.target-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-white-muted);
    margin-bottom: 6px;
}

.target-value {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============================================================================
   GO TO MARKET
   ============================================================================ */
.gtm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 28px;
}

.gtm-card {
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    background: var(--bg-dark-card);
    padding: 24px;
}

.gtm-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.gtm-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-white-secondary);
}

.gtm-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gtm-metric {
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    background: var(--bg-dark-card);
    padding: 18px;
    text-align: center;
}

/* ============================================================================
   CLOSE / CONTACT
   ============================================================================ */
.contact-grid {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* ============================================================================
   KEYBOARD HINT
   ============================================================================ */
.keyboard-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    z-index: 100;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.slide-light~.keyboard-hint,
.keyboard-hint.light {
    color: rgba(0, 0, 0, 0.3);
}

kbd {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-family: var(--font-sans);
    line-height: 1;
    color: inherit;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 2px;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
.slide.active .slide-label,
.slide.active .slide-heading,
.slide.active .slide-description,
.slide.active .cover-badge,
.slide.active .cover-logo,
.slide.active .cover-title,
.slide.active .cover-subtitle,
.slide.active .cover-meta {
    animation: fadeInUp 0.6s ease both;
}

.slide.active .slide-label {
    animation-delay: 0.1s;
}

.slide.active .slide-heading {
    animation-delay: 0.2s;
}

.slide.active .slide-description {
    animation-delay: 0.3s;
}

.slide.active .cover-badge {
    animation-delay: 0.1s;
}

.slide.active .cover-logo {
    animation-delay: 0.2s;
}

.slide.active .cover-title {
    animation-delay: 0.3s;
}

.slide.active .cover-subtitle {
    animation-delay: 0.4s;
}

.slide.active .cover-meta {
    animation-delay: 0.5s;
}

.slide.active .cover-panel,
.slide.active .cover-snapshot,
.slide.active .cover-proof,
.slide.active .team-proof,
.slide.active .team-edge-item {
    animation: fadeInUp 0.5s ease both;
}

.slide.active .cover-panel {
    animation-delay: 0.45s;
}

.slide.active .cover-proof {
    animation-delay: 0.5s;
}

.slide.active .cover-snapshot {
    animation-delay: 0.58s;
}

.slide.active .problem-card,
.slide.active .pillar,
.slide.active .product-card,
.slide.active .bmodel-card,
.slide.active .traction-card,
.slide.active .team-card,
.slide.active .ask-card,
.slide.active .market-stat,
.slide.active .contact-link {
    animation: fadeInUp 0.5s ease both;
}

.slide.active .problem-card:nth-child(1),
.slide.active .pillar:nth-child(1),
.slide.active .product-card:nth-child(1),
.slide.active .bmodel-card:nth-child(1),
.slide.active .traction-card:nth-child(1),
.slide.active .team-card:nth-child(1),
.slide.active .ask-card:nth-child(1),
.slide.active .market-stat:nth-child(1),
.slide.active .contact-link:nth-child(1) {
    animation-delay: 0.3s;
}

.slide.active .problem-card:nth-child(2),
.slide.active .pillar:nth-child(2),
.slide.active .product-card:nth-child(2),
.slide.active .bmodel-card:nth-child(2),
.slide.active .traction-card:nth-child(2),
.slide.active .team-card:nth-child(2),
.slide.active .ask-card:nth-child(2),
.slide.active .market-stat:nth-child(2),
.slide.active .contact-link:nth-child(2) {
    animation-delay: 0.4s;
}

.slide.active .problem-card:nth-child(3),
.slide.active .pillar:nth-child(3),
.slide.active .product-card:nth-child(3),
.slide.active .bmodel-card:nth-child(3),
.slide.active .traction-card:nth-child(3),
.slide.active .team-card:nth-child(3),
.slide.active .ask-card:nth-child(3),
.slide.active .market-stat:nth-child(3),
.slide.active .contact-link:nth-child(3) {
    animation-delay: 0.5s;
}

.slide.active .problem-card:nth-child(4),
.slide.active .pillar:nth-child(4),
.slide.active .product-card:nth-child(4),
.slide.active .bmodel-card:nth-child(4),
.slide.active .traction-card:nth-child(4),
.slide.active .team-card:nth-child(4),
.slide.active .ask-card:nth-child(4),
.slide.active .market-stat:nth-child(4) {
    animation-delay: 0.6s;
}

.slide.active .product-card:nth-child(5) {
    animation-delay: 0.7s;
}

.slide.active .product-card:nth-child(6) {
    animation-delay: 0.8s;
}

.slide.active .product-card:nth-child(7) {
    animation-delay: 0.9s;
}

.slide.active .product-card:nth-child(8) {
    animation-delay: 1.0s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.slide.active .demo-browser {
    animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

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

.slide.active .revenue-highlight {
    animation: fadeInUp 0.5s ease 0.7s both;
}

.slide.active .milestones {
    animation: fadeInUp 0.5s ease 0.5s both;
}

.slide.active .comp-table-wrapper {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.slide.active .ask-targets {
    animation: fadeInUp 0.5s ease 0.7s both;
}

.slide.active .market-circles {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.slide.active .contact-grid {
    animation: fadeInUp 0.5s ease 0.5s both;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1200px) {
    .slide-content {
        padding: 80px 40px 30px;
    }

    .cover-shell {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cover-right {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .cover-proof {
        max-width: 640px;
    }

    .hook-grid,
    .bmodel-grid,
    .traction-grid,
    .team-proof,
    .team-grid,
    .team-edge,
    .ask-grid,
    .gtm-grid,
    .gtm-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-proof-layout {
        grid-template-columns: 1fr;
    }

    .solution-pillars {
        grid-template-columns: 1fr;
    }

    .market-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .revenue-highlight {
        flex-direction: column;
        gap: 16px;
    }

    .rev-divider {
        width: 100%;
        height: 1px;
    }

    .ask-targets {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .slide-content {
        padding: 72px 24px 24px;
    }

    .deck-nav {
        padding: 12px 16px;
    }

    .cover-shell {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cover-right {
        grid-template-columns: 1fr;
    }

    .cover-proof {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .hook-grid,
    .problem-grid,
    .bmodel-grid,
    .traction-grid,
    .team-proof,
    .team-grid,
    .team-edge,
    .ask-grid,
    .market-stats,
    .gtm-grid,
    .gtm-metrics {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        flex-direction: column;
        align-items: center;
    }

    .comp-table {
        font-size: 12px;
    }

    .comp-table th,
    .comp-table td {
        padding: 10px 8px;
    }

    .timeline {
        flex-direction: column;
        gap: 16px;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline-dot {
        top: 0;
    }

    .timeline-item {
        padding-top: 0;
        padding-left: 32px;
    }
}

/* ============================================================================
   PRINT STYLES (PDF EXPORT)
   ============================================================================ */
@media print {
    @page {
        size: A4 landscape;
        margin: 0;
    }

    html,
    body {
        overflow: visible !important;
        height: auto !important;
        background: var(--bg-dark) !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .deck-nav,
    .progress-bar,
    .keyboard-hint,
    #keyboardHint {
        display: none !important;
    }

    .slides-wrapper {
        display: block !important;
        height: auto !important;
        width: 100% !important;
        position: relative !important;
    }

    .slide {
        position: relative !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: 100vh !important;
        width: 100vw !important;
        page-break-after: always !important;
        break-after: page !important;
        overflow: hidden !important;
        animation: none !important;
    }

    .slide-content {
        padding: 48px 56px !important;
        max-width: none !important;
    }

    .slide-dark {
        background-color: #0A0A0A !important;
        color: #FFFFFF !important;
    }

    .slide-light {
        background-color: #F1EFE9 !important;
        color: #18181B !important;
    }

    .text-gradient {
        -webkit-text-fill-color: initial !important;
        background: none !important;
        color: var(--accent) !important;
    }

    .slide-bg-pattern,
    .slide-bg-glow {
        display: block !important;
        opacity: 0.5 !important;
    }

    .demo-browser {
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .slide-heading {
        font-size: clamp(30px, 3.2vw, 46px) !important;
        margin-bottom: 16px !important;
    }

    .slide-label {
        margin-bottom: 14px !important;
    }

    .slide-description {
        margin-bottom: 24px !important;
    }

    .slide[data-slide="8"] .slide-content {
        padding-top: 36px !important;
    }

    .slide[data-slide="8"] .market-layout {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        align-items: center !important;
    }

    .slide[data-slide="8"] .market-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .slide[data-slide="8"] .market-circle.tam {
        width: 210px;
        height: 210px;
    }

    .slide[data-slide="8"] .market-circle.sam {
        width: 164px;
        height: 164px;
        margin-top: -34px;
    }

    .slide[data-slide="8"] .market-circle.som {
        width: 116px;
        height: 116px;
        margin-top: -26px;
    }

    .slide[data-slide="8"] .market-stat {
        padding: 16px !important;
    }

    .slide[data-slide="8"] .stat-big {
        font-size: 22px !important;
        margin-bottom: 4px !important;
    }

    .slide[data-slide="8"] .stat-desc {
        font-size: 12px !important;
    }

    .slide[data-slide="12"] .slide-content {
        padding-top: 32px !important;
        padding-bottom: 28px !important;
    }

    .slide[data-slide="12"] .ask-grid {
        margin-top: 8px !important;
        margin-bottom: 18px !important;
        gap: 12px !important;
    }

    .slide[data-slide="12"] .ask-card {
        padding: 16px !important;
    }

    .slide[data-slide="12"] .ask-amount {
        font-size: 28px !important;
        margin-bottom: 4px !important;
    }

    .slide[data-slide="12"] .ask-card p {
        font-size: 11px !important;
        line-height: 1.45 !important;
    }

    .slide[data-slide="12"] .ask-targets {
        flex-direction: row !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    .slide[data-slide="12"] .ask-target {
        padding: 12px 14px !important;
        min-width: 0 !important;
        flex: 1 !important;
    }

    .slide[data-slide="12"] .target-label {
        font-size: 9px !important;
    }

    .slide[data-slide="12"] .target-value {
        font-size: 14px !important;
    }

    .slide[data-slide="1"] .cover-title {
        font-size: clamp(34px, 4.2vw, 56px) !important;
        margin-bottom: 12px !important;
    }

    .slide[data-slide="1"] .cover-subtitle {
        font-size: 16px !important;
        margin-bottom: 14px !important;
        max-width: 560px !important;
        opacity: 0.9 !important;
    }

    .slide[data-slide="1"] .cover-shell {
        grid-template-columns: 1.06fr 0.94fr !important;
        gap: 14px !important;
    }

    .slide[data-slide="1"] .cover-right {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto 1fr !important;
        gap: 10px !important;
    }

    .slide[data-slide="1"] .cover-panel {
        padding: 10px !important;
    }

    .slide[data-slide="1"] .cover-points {
        gap: 8px !important;
    }

    .slide[data-slide="1"] .cover-point {
        padding: 8px 9px !important;
    }

    .slide[data-slide="1"] .cover-point p {
        font-size: 11px !important;
        line-height: 1.35 !important;
        color: rgba(255, 255, 255, 0.94) !important;
    }

    .slide[data-slide="1"] .cover-proof {
        max-width: 680px !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .slide[data-slide="1"] .cover-proof-item {
        padding: 9px !important;
        background: rgba(255, 255, 255, 0.07) !important;
        border-color: rgba(255, 255, 255, 0.14) !important;
    }

    .slide[data-slide="1"] .cover-proof-item strong {
        font-size: 18px !important;
    }

    .slide[data-slide="1"] .cover-proof-item span {
        font-size: 10px !important;
        color: rgba(255, 255, 255, 0.86) !important;
    }

    .slide[data-slide="1"] .cover-snapshot {
        display: none !important;
    }

    .slide[data-slide="1"] .cover-panel,
    .slide[data-slide="1"] .cover-point {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
    }

    .slide[data-slide="1"] .cover-panel-title {
        color: rgba(255, 255, 255, 0.72) !important;
    }

    .slide[data-slide="1"] .cover-meta {
        opacity: 0.82 !important;
    }

    .slide[data-slide="11"] .slide-content {
        padding-top: 34px !important;
        padding-bottom: 26px !important;
    }

    .slide[data-slide="11"] .slide-heading {
        margin-bottom: 10px !important;
    }

    .slide[data-slide="11"] .team-proof {
        gap: 8px !important;
        margin-top: 4px !important;
    }

    .slide[data-slide="11"] .team-proof-item {
        padding: 8px 6px !important;
    }

    .slide[data-slide="11"] .team-proof-value {
        font-size: 18px !important;
    }

    .slide[data-slide="11"] .team-proof-label {
        font-size: 9px !important;
    }

    .slide[data-slide="11"] .team-grid {
        gap: 8px !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }

    .slide[data-slide="11"] .team-card {
        padding: 10px !important;
        border-radius: 12px !important;
    }

    .slide[data-slide="11"] .avatar-placeholder {
        width: 46px !important;
        height: 46px !important;
        font-size: 12px !important;
    }

    .slide[data-slide="11"] .team-avatar {
        margin-bottom: 8px !important;
    }

    .slide[data-slide="11"] .team-name {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }

    .slide[data-slide="11"] .team-role {
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }

    .slide[data-slide="11"] .team-bio {
        font-size: 10px !important;
        line-height: 1.35 !important;
    }

    .slide[data-slide="11"] .team-edge {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .slide[data-slide="11"] .team-edge-item {
        padding: 9px !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
    }
}
