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

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

:root {
  --white:     #ffffff;

  /* Blues — slightly richer than Tailwind defaults */
  --blue-50:   #f0f5ff;
  --blue-100:  #dce8ff;
  --blue-200:  #b9d0ff;
  --blue-300:  #8ab4fb;
  --blue-400:  #5090f7;
  --blue-500:  #2563eb;
  --blue-600:  #1a4fd6;
  --blue-700:  #1540b8;
  --blue-900:  #0f2d80;

  /* Slate */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --green-100: #dcfce7;
  --green-600: #16a34a;
  --red-100:   #fee2e2;
  --red-600:   #dc2626;
  --amber-400: #fbbf24;

  /* Shadow system — 3 layers for depth */
  --shadow-sm: 0 1px 2px rgb(0 0 0/.05), 0 1px 3px rgb(0 0 0/.04);
  --shadow:    0 2px 4px rgb(0 0 0/.04), 0 4px 8px rgb(0 0 0/.06), 0 8px 16px rgb(0 0 0/.04);
  --shadow-md: 0 4px 8px rgb(0 0 0/.05), 0 12px 24px rgb(0 0 0/.08), 0 24px 48px rgb(0 0 0/.06);
  --shadow-lg: 0 8px 16px rgb(0 0 0/.06), 0 24px 48px rgb(0 0 0/.1), 0 48px 80px rgb(0 0 0/.08);

  --r-sm:  6px;
  --r:     12px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Spacing */
  --slide-pad-v: 48px;
  --slide-pad-h: 72px;
}

/* ============================================================
   BASE
   ============================================================ */
html { font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--slate-900);
  overflow: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: .84em;
  background: var(--blue-100);
  color: var(--blue-700);
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: -.01em;
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
#progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--slate-200);
  z-index: 200;
}
#progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--blue-400) 60%, #7db3ff 100%);
  transition: width .5s cubic-bezier(.4,0,.2,1);
  width: calc(100% / 11);
  box-shadow: 0 0 8px rgb(37 99 235 / .5);
}

/* ============================================================
   SLIDE NAV DOTS
   ============================================================ */
#slide-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 100;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate-300);
  border: none;
  cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
  padding: 0;
  position: relative;
}
.dot:hover  {
  background: var(--blue-400);
  transform: scale(1.4);
}
.dot.active {
  background: var(--blue-600);
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgb(37 99 235 / .2);
}
.dot::after {
  content: attr(title);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--slate-900);
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  letter-spacing: .01em;
}
.dot:hover::after { opacity: 1; }

/* ============================================================
   SLIDES CONTAINER
   ============================================================ */
#slides {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.slide {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: var(--slide-pad-v) calc(var(--slide-pad-h) + 16px) var(--slide-pad-v) var(--slide-pad-h);
  overflow: hidden;
  position: relative;
}

/* Refined alt slide with subtle grain */
.slide-alt {
  background:
    radial-gradient(ellipse 80% 60% at 20% 110%, rgb(37 99 235 / .04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% -10%, rgb(37 99 235 / .05) 0%, transparent 55%),
    var(--blue-50);
}

.slide-inner {
  width: 100%;
  max-width: 1160px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.slide.visible .slide-inner { opacity: 1; transform: translateY(0); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
  flex-shrink: 0;
}

h1 {
  font-size: 66px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--slate-900);
  margin-bottom: 16px;
}
h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.025em;
  color: var(--slate-900);
  margin-bottom: 24px;
}
h2 em {
  color: var(--blue-600);
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   HERO SLIDE
   ============================================================ */
.hero-inner { text-align: center; max-width: 880px; margin: 0 auto; }

#slide-0 {
  background:
    radial-gradient(ellipse 70% 55% at 85% -5%, rgb(37 99 235 / .08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 15% 105%, rgb(37 99 235 / .06) 0%, transparent 55%),
    var(--white);
}
#slide-0::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 580px; height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(37 99 235 / .07) 0%, transparent 70%);
  pointer-events: none;
}
#slide-0::after {
  content: '';
  position: absolute;
  bottom: -180px; left: -150px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(37 99 235 / .05) 0%, transparent 70%);
  pointer-events: none;
}

.tagline {
  font-size: 20px;
  color: var(--blue-600);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  line-height: 1.45;
}
.hero-desc {
  font-size: 16px;
  color: var(--slate-500);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-weight: 400;
}

.stats-row { display: flex; gap: 16px; justify-content: center; margin-bottom: 36px; }
.stat-card {
  background: linear-gradient(145deg, var(--white) 0%, var(--blue-50) 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: 22px 28px;
  text-align: center;
  min-width: 170px;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-value {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-unit  { font-size: 22px; }
.stat-label { font-size: 12px; color: var(--slate-400); line-height: 1.4; font-weight: 500; }

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--slate-300);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  animation: bounceY 2.4s ease-in-out infinite;
}
@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.col-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--slate-400);
  margin-bottom: 10px;
}

/* ============================================================
   TABLES
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-table th {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.data-table td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
  background: white;
  font-size: 13px;
  transition: background .12s;
}
.data-table tbody tr:nth-child(even) td { background: #fafbfd; }
.data-table tbody tr:hover td { background: var(--blue-50); }
.data-table tfoot td {
  border-top: 2px solid var(--blue-100);
  border-bottom: none;
  background: var(--blue-50);
  font-size: 13px;
}

.step-num  { text-align: center; font-weight: 800; color: var(--blue-500); width: 24px; }
.time-cell { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--slate-500); }
.total-time { color: var(--slate-900) !important; font-weight: 700 !important; }

.comparison-table .col-bad  { color: var(--red-600);   font-size: 12px; font-weight: 600; }
.comparison-table .col-good { color: var(--green-600); font-size: 12px; font-weight: 600; }
.comparison-table .val-bad  { color: var(--red-600);   font-size: 13px; }
.comparison-table .val-good { color: var(--green-600); font-size: 13px; }

/* ============================================================
   CHART
   ============================================================ */
.chart-col { display: flex; flex-direction: column; }
.chart-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin-bottom: 10px; }
.chart-wrap { position: relative; flex: 1; min-height: 250px; }

/* ============================================================
   PIPELINE SLIDE
   ============================================================ */
.pipeline-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pipe-triggers-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trigger-or-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--slate-400);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 0 4px;
}

.pipe-node {
  background: white;
  border: 1.5px solid var(--blue-100);
  border-radius: var(--r);
  padding: 11px 15px;
  text-align: center;
  min-width: 140px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.pipe-node:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.trigger-node      { border-color: var(--blue-400); background: linear-gradient(145deg, var(--blue-50), var(--white)); }
.auto-trigger-node { border-color: var(--blue-500); background: linear-gradient(145deg, var(--blue-50), var(--white)); }

.pipe-icon   { font-size: 18px; margin-bottom: 3px; }
.pipe-name   { font-size: 13px; font-weight: 700; color: var(--slate-900); letter-spacing: -.01em; }
.pipe-sub    { font-size: 11px; color: var(--slate-400); margin-top: 2px; }
.auto-note   { font-size: 10px; color: var(--blue-500); font-weight: 600; margin-top: 4px; font-style: italic; }

.pipe-row    { display: flex; align-items: center; gap: 10px; }
.pipe-arrow  { font-size: 14px; color: var(--blue-300); }
.pipe-down-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--blue-400); }

/* Agent box */
.agent-box {
  background: white;
  border: 2px solid var(--blue-400);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 880px;
}
.agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--blue-100);
}
.agent-badge { font-weight: 700; font-size: 14px; color: var(--blue-700); letter-spacing: -.01em; }
.agent-note  { font-size: 11px; color: var(--slate-400); }

.agent-steps {
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow: visible;
}

.astep {
  background: linear-gradient(145deg, var(--blue-50) 0%, var(--white) 100%);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--r-sm);
  padding: 6px 8px;
  text-align: center;
  flex: 1;
  min-width: 0;
  cursor: default;
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
}
.astep:hover {
  border-color: var(--blue-500);
  background: var(--blue-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.astep-final {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  border-color: var(--blue-700);
}
.astep-final .astep-num    { color: var(--blue-200); }
.astep-final .astep-label  { color: white; }
.astep-final .astep-detail { color: var(--blue-200); }
.astep-final:hover { background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%); }

.astep-num    { font-size: 9px; font-weight: 700; color: var(--blue-500); }
.astep-label  { font-size: 11.5px; font-weight: 700; color: var(--slate-900); letter-spacing: -.01em; }
.astep-detail { font-size: 9.5px; color: var(--slate-400); margin-top: 2px; white-space: normal; line-height: 1.3; }
.astep-arrow  { color: var(--blue-300); font-size: 11px; flex-shrink: 0; }

/* Agent detail panel */
.agent-detail-panel {
  margin-top: 10px;
  padding: 9px 14px;
  background: var(--blue-50);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--blue-200);
  font-size: 12.5px;
  min-height: 38px;
  transition: border-color .2s, background .2s;
  display: flex;
  align-items: center;
}
.agent-detail-panel.panel-active { border-color: var(--blue-500); background: var(--blue-100); }
.detail-hint { color: var(--slate-400); font-style: italic; font-size: 12px; }
.detail-text { color: var(--slate-700); line-height: 1.55; }

/* Outputs */
.outputs-row  { gap: 14px; }
.output-pill {
  background: var(--green-100);
  border: 1.5px solid var(--green-600);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-600);
}
.time-badge {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: white;
  padding: 9px 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgb(37 99 235 / .3);
}

/* ============================================================
   PROMPT BUILDING SLIDE
   ============================================================ */
.prompt-col { gap: 36px; align-items: start; }

.sheets-table .sheet-name   { font-weight: 700; color: var(--blue-700); font-size: 13px; white-space: nowrap; }
.sheets-table .sheet-editor { color: var(--slate-400); font-size: 12px; white-space: nowrap; text-align: right; }

.assemble-note {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--blue-100);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--blue-900);
  border-left: 3px solid var(--blue-500);
}

.why-xml-box {
  margin-top: 12px;
  background: white;
  border: 1px solid var(--blue-100);
  border-radius: var(--r);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.why-xml-title { font-size: 13px; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; }
.why-xml-box p { font-size: 12.5px; color: var(--slate-500); line-height: 1.6; }
.why-xml-box code { background: var(--slate-100); color: var(--slate-700); }

.xml-block {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 12px;
  background: var(--slate-900);
  color: var(--slate-200);
  border-radius: var(--r);
  padding: 16px 18px;
  line-height: 1.8;
  white-space: pre;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.xml-tag     { color: #7dd3fc; }
.xml-content { color: #e2e8f0; }
.xml-comment { color: #475569; font-style: italic; }
.xml-highlight {
  color: var(--amber-400);
  background: rgba(251,191,36,.12);
  padding: 0 3px;
  border-radius: 3px;
}

.xml-footer-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--slate-500);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* ============================================================
   GIANTS SLIDE
   ============================================================ */
.giants-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.giant-card {
  background: linear-gradient(145deg, var(--blue-50) 0%, var(--white) 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .25s, transform .25s;
}
.giant-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.giant-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.giant-icon   { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.giant-name   { font-weight: 700; font-size: 14px; color: var(--blue-800, var(--blue-700)); margin-bottom: 2px; letter-spacing: -.01em; }
.giant-solved { font-size: 11px; font-weight: 600; color: var(--green-600); line-height: 1.4; }

.giant-detail { display: flex; flex-direction: column; gap: 7px; }
.giant-detail-item { font-size: 12.5px; color: var(--slate-600); line-height: 1.5; }
.giant-detail-label {
  font-weight: 700;
  color: var(--slate-800);
  display: inline;
}

.what-we-built {
  background: white;
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.ww-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--slate-400);
  margin-bottom: 12px;
}

.ww-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 14px;
}

.ww-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ww-icon  { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.ww-title { font-size: 13px; font-weight: 700; color: var(--slate-900); margin-bottom: 3px; letter-spacing: -.01em; }
.ww-desc  { font-size: 12px; color: var(--slate-500); line-height: 1.5; }

.code-note {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: white;
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 16px rgb(37 99 235 / .25);
}
.code-badge {
  background: rgba(255,255,255,.15);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.2);
}

/* ============================================================
   CALLOUT BOX (SAVINGS)
   ============================================================ */
.callout-box {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: white;
  border-radius: var(--r-lg);
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgb(37 99 235 / .28);
}
.callout-number { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.callout-desc   { font-size: 14px; margin: 6px 0 3px; opacity: .9; font-weight: 500; }
.callout-sub    { font-size: 12px; opacity: .65; }

/* ============================================================
   OUTPUT GRID
   ============================================================ */
.output-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.output-card {
  background: linear-gradient(145deg, var(--white) 0%, var(--blue-50) 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--r);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  flex: 0 1 calc(25% - 8px);
  min-width: 185px;
  transition: box-shadow .25s, transform .25s;
}
.output-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.output-icon { font-size: 20px; margin-bottom: 5px; }
.output-name { font-size: 12.5px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; letter-spacing: -.01em; }
.output-desc { font-size: 11.5px; color: var(--slate-500); line-height: 1.45; }

/* ============================================================
   PROOF SCREENSHOTS
   ============================================================ */
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.proof-item {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
  cursor: pointer;
}
.proof-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.proof-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.proof-faq img { object-position: 40%; }

.proof-caption {
  padding: 8px 12px;
  font-size: 11.5px;
  color: var(--slate-500);
  background: white;
  border-top: 1px solid var(--slate-100);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.proof-tag {
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
#lightbox.open { opacity: 1; pointer-events: all; }

#lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

#lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(.92);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
#lightbox.open #lightbox-content { transform: scale(1); }

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--r-lg);
  box-shadow: 0 32px 80px rgb(0 0 0 / .6);
  display: block;
  object-fit: contain;
}

#lightbox-caption {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
  font-weight: 500;
}

#lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: white;
  font-size: 22px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  backdrop-filter: blur(4px);
}
#lightbox-close:hover { background: rgba(255, 255, 255, .22); }

.proof-item { cursor: zoom-in; }

/* ============================================================
   PLATFORM EXPANSION SLIDE
   ============================================================ */
.platform-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.json-block {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 12px;
  background: var(--slate-900);
  color: var(--slate-200);
  border-radius: var(--r);
  padding: 14px 18px;
  line-height: 1.85;
  white-space: pre;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}
.json-key   { color: #7dd3fc; }
.json-str   { color: #86efac; }
.json-brace { color: var(--slate-500); }

.platform-steps    { display: flex; flex-direction: column; gap: 9px; }
.pstep-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin-bottom: 4px; }
.pstep { font-size: 13px; color: var(--slate-700); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.pstep-num {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgb(37 99 235 / .3);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.platform-card {
  background: linear-gradient(145deg, var(--blue-50) 0%, var(--white) 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--r);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.platform-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.current-plat { border-color: var(--green-600); background: var(--green-100); }

.plat-icon  { font-size: 22px; display: block; margin-bottom: 5px; }
.plat-name  { font-size: 13px; font-weight: 700; color: var(--slate-900); letter-spacing: -.01em; }
.plat-api   { font-size: 11px; color: var(--slate-400); margin-top: 2px; margin-bottom: 6px; }
.plat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
}
.current-badge { background: var(--green-600); color: white; }

.platform-insight {
  font-size: 13px;
  color: var(--slate-500);
  font-style: italic;
  padding: 10px 14px;
  background: var(--blue-50);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--blue-300);
  line-height: 1.5;
}

/* ============================================================
   SEO INTELLIGENCE & BEYOND SLIDE
   ============================================================ */
.expansion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.expansion-col {
  background: linear-gradient(145deg, var(--blue-50) 0%, var(--white) 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.expansion-col:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.expansion-header { display: flex; gap: 12px; align-items: flex-start; }
.exp-icon     { font-size: 26px; flex-shrink: 0; }
.exp-title    { font-size: 15px; font-weight: 700; color: var(--slate-900); letter-spacing: -.02em; }
.exp-subtitle { font-size: 12px; color: var(--blue-600); font-weight: 600; margin-top: 2px; }

.exp-items { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.exp-item  { font-size: 12.5px; color: var(--slate-700); display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.exp-arrow { font-weight: 700; color: var(--blue-500); flex-shrink: 0; }
.exp-emoji { font-size: 14px; flex-shrink: 0; }

.exp-insight {
  font-size: 12px;
  font-style: italic;
  color: var(--blue-700);
  padding: 9px 12px;
  background: var(--blue-100);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--blue-500);
  line-height: 1.5;
}

/* ============================================================
   ROADMAP SLIDE
   ============================================================ */
.roadmap-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 16px;
}

.roadmap-phase {
  flex: 1;
  background: white;
  border: 1.5px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.roadmap-phase:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.phase-live    { border-color: #16a34a; }
.phase-next    { border-color: var(--blue-500); }
.phase-planned { border-color: #d97706; }
.phase-vision  { border-color: #7c3aed; }

.roadmap-connector {
  flex-shrink: 0;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--slate-300);
}

.phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.phase-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate-400);
}
.phase-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-live    { background: #16a34a; color: white; }
.badge-next    { background: var(--blue-600); color: white; }
.badge-planned { background: #d97706; color: white; }
.badge-vision  { background: #7c3aed; color: white; }

.phase-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.3;
  letter-spacing: -.015em;
}

.phase-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.phase-items li {
  font-size: 12px;
  color: var(--slate-600);
  line-height: 1.45;
  padding-left: 14px;
  position: relative;
}
.phase-items li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--blue-400);
  font-weight: 700;
}
.phase-live    .phase-items li::before { color: #16a34a; }
.phase-next    .phase-items li::before { color: var(--blue-500); }
.phase-planned .phase-items li::before { color: #d97706; }
.phase-vision  .phase-items li::before { color: #7c3aed; }

.roadmap-note {
  font-size: 13px;
  color: var(--slate-400);
  font-style: italic;
  text-align: center;
  padding: 10px 20px;
  border-top: 1px solid var(--blue-100);
}

/* ============================================================
   FAQ SLIDE
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.faq-item {
  background: linear-gradient(145deg, var(--blue-50) 0%, var(--white) 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-q {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.faq-q::before { content: 'Q  '; color: var(--blue-400); font-size: 12px; }

.faq-a {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.6;
}

.faq-footer {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-700);
  padding: 14px 24px;
  background: linear-gradient(145deg, var(--blue-50) 0%, var(--white) 100%);
  border: 1.5px solid var(--blue-200);
  border-radius: var(--r-lg);
}

/* ============================================================
   DECK HUB — cross-link slide (all presentations)
   ============================================================ */
.deck-hub-intro {
  font-size: 15px;
  color: var(--slate-500);
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
  line-height: 1.65;
}

.deck-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.deck-hub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: white;
  border: 1.5px solid var(--blue-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  min-height: 200px;
}
.deck-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300);
}
.deck-hub-card.is-current {
  border-color: var(--blue-500);
  background: linear-gradient(145deg, var(--blue-50) 0%, var(--white) 100%);
  box-shadow: 0 8px 28px rgb(37 99 235 / .15);
  pointer-events: none;
}
.deck-hub-card.is-current::after {
  content: 'You are here';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: white;
  background: var(--blue-600);
  padding: 4px 10px;
  border-radius: 999px;
}

.deck-hub-icon { font-size: 32px; line-height: 1; }
.deck-hub-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -.02em;
  line-height: 1.25;
}
.deck-hub-tagline {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-600);
  line-height: 1.4;
}
.deck-hub-desc {
  font-size: 12.5px;
  color: var(--slate-500);
  line-height: 1.55;
  flex: 1;
}
.deck-hub-stat {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
}
.deck-hub-card:not(.is-current) .deck-hub-stat::after {
  content: ' →';
  color: var(--blue-500);
}

.deck-hub-footer {
  text-align: center;
  font-size: 13px;
  color: var(--slate-400);
}
.deck-hub-footer a {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: none;
}
.deck-hub-footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .deck-hub-grid { grid-template-columns: 1fr; }
  .deck-hub-card { min-height: auto; }
}
