/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #0a0a0f;
  color: #e0e0e8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 32px;
}
.site-header .header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-header .logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: #e0e0e8;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header .logo .logo-icon {
  flex-shrink: 0;
  border-radius: 5px;
  display: block;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.site-header .logo span {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-header nav a {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.site-header nav a:hover {
  color: #e0e0e8;
  background: rgba(255,255,255,0.04);
}
.site-header nav a.active {
  color: #e0e0e8;
  font-weight: 600;
}
.site-header nav a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6);
  border-radius: 2px;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #e0e0e8;
}
.hamburger svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .site-header { padding: 0 16px; }
  .site-header .header-inner { height: 52px; }
  .hamburger { display: block; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 8px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 2px;
  }
  .site-header nav.open { display: flex; }
  .site-header nav a {
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
  }
  .site-header nav a.active::after { display: none; }
  .site-header nav a.active { background: rgba(99,102,241,0.1); }
}

/* ── Page Wrapper ────────────────────────────────────── */
.page { max-width: 1100px; margin: 0 auto; padding: 64px 32px 80px; }
@media (max-width: 768px) { .page { padding: 40px 16px 60px; } }

/* ── Typography ──────────────────────────────────────── */
.slide-content { max-width: 1100px; width: 100%; }
h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #c4b5fd;
}
.subtitle {
  font-size: 1.35rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 700px;
}
.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #818cf8;
  margin-bottom: 12px;
  display: block;
}
p { margin-bottom: 12px; color: rgba(255,255,255,0.7); }

/* ── Accent & Gradients ──────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent { color: #818cf8; }
.accent-pink { color: #f472b6; }
.accent-green { color: #34d399; }

/* ── Stat Blocks ─────────────────────────────────────── */
.stats { display: flex; gap: 40px; flex-wrap: wrap; margin: 32px 0; }
.stat {
  flex: 1;
  min-width: 160px;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ── Pipeline Diagram ────────────────────────────────── */
.pipeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 36px 0;
  flex-wrap: wrap;
}
.pipeline-step {
  padding: 16px 28px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}
.pipeline-step .step-detail {
  font-weight: 400;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-top: 4px;
}
.pipeline-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.2);
  padding: 0 6px;
}

/* ── Tables ──────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.85rem;
}
th {
  text-align: left;
  padding: 10px 14px;
  background: rgba(99,102,241,0.15);
  border-bottom: 1px solid rgba(99,102,241,0.3);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
}
td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
}
tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
.check { color: #34d399; font-weight: 700; }
.cross { color: #f87171; font-weight: 700; }

/* ── Cards Grid ──────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.card {
  padding: 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: border-color 0.3s;
}
.card:hover { border-color: rgba(99,102,241,0.4); }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card p { font-size: 0.82rem; margin-bottom: 0; }

/* ── Bars (CSS-only charts) ──────────────────────────── */
.bar-chart { margin: 24px 0; }
.bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.bar-label {
  width: 210px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  height: 26px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  transition: width 0.8s ease;
  overflow: hidden;
  white-space: nowrap;
}
.bar-fill.purple { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.bar-fill.pink   { background: linear-gradient(90deg, #ec4899, #f472b6); }
.bar-fill.green  { background: linear-gradient(90deg, #10b981, #34d399); }
.bar-fill.blue   { background: linear-gradient(90deg, #3b82f6, #60a5fa); }

/* ── Columns ─────────────────────────────────────────── */
.cols { display: flex; gap: 40px; margin: 24px 0; }
.cols > div { flex: 1; }

/* ── Bullet Lists ────────────────────────────────────── */
ul.clean {
  list-style: none;
  padding: 0;
}
ul.clean li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
ul.clean li::before {
  content: "\2192";
  color: #818cf8;
  margin-right: 10px;
  font-weight: 700;
}

/* ── Tech Stack Visual ───────────────────────────────── */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.stack-item {
  padding: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  text-align: center;
}
.stack-item .stack-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e0e0e8;
  margin-bottom: 2px;
}
.stack-item .stack-role {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
}

/* ── Use-of-Funds Bar ────────────────────────────────── */
.funds-bar {
  display: flex;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}
.funds-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
}

/* ── CTA Box ─────────────────────────────────────────── */
.cta-box {
  padding: 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(192,132,252,0.1));
  border: 1px solid rgba(99,102,241,0.25);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ── AI Pipeline Steps ───────────────────────────────── */
.ai-pipeline {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 28px 0;
}
.ai-stage {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.15);
  position: relative;
}
.ai-stage:first-child { border-radius: 12px 0 0 12px; }
.ai-stage:last-child  { border-radius: 0 12px 12px 0; }
.ai-stage .stage-icon { font-size: 1.8rem; margin-bottom: 6px; }
.ai-stage .stage-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #c4b5fd;
  margin-bottom: 4px;
}
.ai-stage .stage-desc {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
}
.ai-stage + .ai-stage::before {
  content: "\2192";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.2);
  font-size: 1rem;
}

/* ── Decision Grid ───────────────────────────────────── */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.decision-box {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid;
}
.decision-box.kill {
  background: rgba(248,113,113,0.06);
  border-color: rgba(248,113,113,0.2);
}
.decision-box.go {
  background: rgba(52,211,153,0.06);
  border-color: rgba(52,211,153,0.2);
}
.decision-box h3 { margin-bottom: 12px; }
.decision-box.kill h3 { color: #f87171; }
.decision-box.go h3 { color: #34d399; }
.decision-box ul { list-style: none; padding: 0; }
.decision-box li {
  font-size: 0.82rem;
  padding: 5px 0;
  color: rgba(255,255,255,0.6);
}
.decision-box li::before { margin-right: 8px; font-weight: 700; }
.decision-box.kill li::before { content: "\2715"; color: #f87171; }
.decision-box.go li::before { content: "\2713"; color: #34d399; }

/* ── Funnel Visual ───────────────────────────────────── */
.funnel { margin: 32px auto; max-width: 700px; }
.funnel-step {
  margin: 0 auto 6px;
  padding: 14px 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 8px;
  color: #fff;
}

/* ── Traction Checks ─────────────────────────────────── */
.traction-list { list-style: none; padding: 0; }
.traction-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.traction-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: 700;
  flex-shrink: 0;
}

/* ── Subtle Background Gradients ─────────────────────── */
.bg-glow-1 {
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99,102,241,0.08) 0%, transparent 70%),
              linear-gradient(180deg, #0a0a0f 0%, #0f0f18 100%);
}
.bg-glow-2 {
  background: radial-gradient(ellipse 60% 60% at 80% 40%, rgba(192,132,252,0.06) 0%, transparent 70%),
              linear-gradient(180deg, #0f0f18 0%, #0a0a0f 100%);
}
.bg-glow-3 {
  background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(244,114,182,0.06) 0%, transparent 70%),
              linear-gradient(180deg, #0a0a0f 0%, #0f0f18 100%);
}
.bg-glow-bookscout {
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(52,211,153,0.08) 0%, transparent 70%),
              linear-gradient(180deg, #0a0a0f 0%, #0d0d14 100%);
}

/* ── Section Blocks ──────────────────────────────────── */
.section-block {
  padding: 64px 0;
  position: relative;
}
.section-block + .section-block {
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  line-height: 1.6;
}
.site-footer a {
  color: #818cf8;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer .footer-name {
  color: #e0e0e8;
  font-weight: 600;
}

/* ── Persona Cards ───────────────────────────────────── */
.persona {
  padding: 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  flex: 1;
}
.persona .emoji { font-size: 2rem; margin-bottom: 8px; }
.persona blockquote {
  font-style: italic;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  border-left: 2px solid #818cf8;
  padding-left: 12px;
  margin-top: 12px;
}

/* ── Pricing Tier ────────────────────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.tier {
  padding: 28px 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  text-align: center;
}
.tier.featured {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.06);
}
.tier-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #818cf8;
  margin-bottom: 4px;
}
.tier-price {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.tier-period { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.tier-feature {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  padding: 6px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .cols { flex-direction: column; gap: 24px; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.7rem; }
  .pipeline { gap: 4px; }
  .pipeline-step { padding: 10px 14px; font-size: 0.72rem; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .decision-grid { grid-template-columns: 1fr; }
  .stats { gap: 16px; }
  .ai-pipeline { flex-wrap: wrap; }
  .ai-stage { min-width: calc(33% - 4px); }
}
