/* =========================================================
   Avanai · Claude Cowork - Presentation (LIGHT MODE)
   Brand palette
     --purple : #7a58f3   (Avanai logo: #7857F2)
     --blue   : #25b1fa   (Avanai logo: #25B2F9)
     --light  : #f6f7fa
     --dark   : #2e2f3a
     --navy   : #002F47   (Avanai logo wordmark)
   ========================================================= */

:root {
  --purple: #7a58f3;
  --blue: #25b1fa;
  --light: #f6f7fa;
  --dark: #2e2f3a;
  --navy: #002F47;

  --bg: #f6f7fa;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --ink: #1c2230;
  --ink-2: #2e2f3a;
  --ink-3: #5b6273;
  --muted: #8b94a7;
  --line: rgba(0, 47, 71, 0.10);
  --line-2: rgba(0, 47, 71, 0.06);

  --grad: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, rgba(122, 88, 243, 0.12) 0%, rgba(37, 177, 250, 0.12) 100%);
  --shadow-sm: 0 1px 2px rgba(0, 47, 71, 0.04), 0 2px 6px rgba(0, 47, 71, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 47, 71, 0.06), 0 12px 36px -8px rgba(0, 47, 71, 0.10);
  --shadow-lg: 0 10px 30px rgba(0, 47, 71, 0.08), 0 30px 80px -20px rgba(122, 88, 243, 0.18);

  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 280ms;
  --t-mid: 520ms;
  --t-slow: 780ms;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--ink-2);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
a { color: var(--purple); }

/* ------- Hero background (lives behind every slide) ------- */
.hero-bg {
  position: fixed; inset: 0; z-index: 0;
  background-image: url('assets/hero.webp'), url('assets/hero.svg');
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity var(--t-slow) var(--easing);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 0%, rgba(255, 255, 255, 0.35) 75%, rgba(246, 247, 250, 0.55) 100%);
}

/* ------- Top bar (frosted, sticky) ------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(0, 47, 71, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand img, .brand svg { height: 28px; width: auto; display: block; }
.brand .pill {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.deck-meta {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink-3);
  font-size: 13px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.55);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
}
.deck-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

/* ------- Progress bar ------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40;
  background: rgba(0, 47, 71, 0.06);
}
.progress > span {
  display: block; height: 100%;
  background: var(--grad);
  width: 0%;
  transition: width var(--t-mid) var(--easing);
  box-shadow: 0 0 12px rgba(122, 88, 243, 0.35);
}

/* ------- Slide stage ------- */
.stage {
  position: relative; z-index: 10;
  width: 100vw; height: 100vh;
  display: grid; place-items: center;
  perspective: 1600px;
}

.slide {
  position: absolute; inset: 0;
  /* let tall content scroll instead of clipping */
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 96px 8vw 100px; /* top clears frosted topbar; bottom clears the controls pill */
  opacity: 0;
  pointer-events: none;
  transform: translate3d(40px, 0, 0) scale(0.985);
  transition:
    opacity var(--t-mid) var(--easing),
    transform var(--t-mid) var(--easing),
    filter var(--t-mid) var(--easing);
  filter: blur(6px);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 47, 71, 0.18) transparent;
}
.slide::-webkit-scrollbar { width: 8px; }
.slide::-webkit-scrollbar-track { background: transparent; }
.slide::-webkit-scrollbar-thumb { background: rgba(0, 47, 71, 0.16); border-radius: 8px; }
.slide::-webkit-scrollbar-thumb:hover { background: rgba(0, 47, 71, 0.28); }
.slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}
.slide.leaving-left {
  opacity: 0;
  transform: translate3d(-40px, 0, 0) scale(0.985);
  filter: blur(6px);
}

/* Per-slide entrance animations applied to children */
.slide.is-active .anim {
  animation: rise 720ms var(--easing) both;
}
.slide.is-active .anim-1 { animation-delay: 80ms; }
.slide.is-active .anim-2 { animation-delay: 180ms; }
.slide.is-active .anim-3 { animation-delay: 280ms; }
.slide.is-active .anim-4 { animation-delay: 380ms; }
.slide.is-active .anim-5 { animation-delay: 480ms; }
.slide.is-active .anim-6 { animation-delay: 580ms; }
.slide.is-active .anim-7 { animation-delay: 680ms; }

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(8px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

/* ------- Typography ------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(37, 177, 250, 0.10);
  border: 1px solid rgba(37, 177, 250, 0.30);
  margin-bottom: 26px;
  font-weight: 600;
}
.eyebrow.purple {
  color: var(--purple); background: rgba(122, 88, 243, 0.10); border-color: rgba(122, 88, 243, 0.32);
}

h1.display {
  font-size: clamp(40px, 6.6vw, 92px);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.025em;
  color: var(--navy);
}
h1.display .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

h2.title {
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--navy);
}
h3.subtitle {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 500; line-height: 1.4;
  color: var(--ink-3);
  max-width: 880px;
}
.lead {
  font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55;
  color: var(--ink-2);
  max-width: 880px;
}
.lead em { font-style: normal; font-weight: 600; color: var(--purple); }
.lead code, .card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: rgba(122, 88, 243, 0.08);
  color: var(--purple);
  padding: 2px 6px; border-radius: 5px;
}

.kicker {
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ------- Layout primitives ------- */
.slide-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
  /* fill the visible area so short slides stay vertically centered;
     tall slides exceed this and the parent scrolls */
  min-height: calc(100vh - 200px);
  justify-content: center;
}
.slide-inner.center { align-items: center; text-align: center; }
/* on very tall slides, anchor content to the top so the scrollbar feels natural */
.slide-inner.tall { justify-content: flex-start; min-height: 0; }

.row { display: flex; gap: 28px; align-items: stretch; }
.row.wrap { flex-wrap: wrap; }
.col { flex: 1 1 0; min-width: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ------- Card ------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--easing), border-color var(--t-fast) var(--easing), box-shadow var(--t-fast) var(--easing);
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 88, 243, 0.30);
  box-shadow: var(--shadow-md);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad);
  color: white; font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 8px 22px -6px rgba(122, 88, 243, 0.45);
}
.card h4 {
  font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em;
  color: var(--navy);
}
.card p {
  font-size: 14.5px; line-height: 1.55; color: var(--ink-3);
}
.card.compact { padding: 18px; }
.card.compact h4 { font-size: 16px; }
.card.compact p { font-size: 13.5px; }

/* Number/feature card */
.feature-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px;
}
.feature-card .num {
  flex: 0 0 auto;
  font-size: 28px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
  width: 44px;
}
.feature-card .body { flex: 1; }
.feature-card .body h4 { margin-bottom: 6px; font-size: 18px; }

/* Tag chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(37, 177, 250, 0.10);
  color: var(--blue);
  border: 1px solid rgba(37, 177, 250, 0.28);
}
.chip.purple { color: var(--purple); background: rgba(122, 88, 243, 0.10); border-color: rgba(122, 88, 243, 0.30); }
.chip.muted { color: var(--ink-3); background: rgba(0, 47, 71, 0.04); border-color: var(--line); }

/* Bullet list */
.bullets { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.bullets li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 17px; line-height: 1.5; color: var(--ink-2);
}
.bullets li::before {
  content: ''; flex: 0 0 auto;
  width: 8px; height: 8px; margin-top: 9px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(122, 88, 243, 0.45);
}
.bullets li strong { color: var(--navy); font-weight: 700; }

/* Stat */
.stat {
  text-align: center; padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.stat .num {
  font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat .label {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
}

/* Compare table (Chat vs Cowork vs Code) */
.compare {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.compare > div {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  font-size: 14.5px;
  color: var(--ink-2);
}
.compare > div:nth-child(4n) { border-right: none; }
.compare > div:nth-last-child(-n+4) { border-bottom: none; }
.compare .head {
  background: rgba(122, 88, 243, 0.10);
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy);
}
.compare .head.middle { background: rgba(37, 177, 250, 0.18); color: var(--navy); }
.compare .label { color: var(--ink-3); font-weight: 600; }
.compare .yes { color: #0d9488; font-weight: 700; }
.compare .no  { color: #dc2626; font-weight: 700; }
.compare .partial { color: #b45309; font-weight: 700; }

/* Quote */
.quote {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--navy);
  border-left: 4px solid;
  border-image: var(--grad) 1;
  padding: 8px 0 8px 24px;
  max-width: 980px;
}
.quote .src {
  display: block;
  margin-top: 16px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Big featured number / spotlight */
.spotlight {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 18px;
}
.spotlight .ring {
  width: 220px; height: 220px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple), var(--blue), var(--purple));
  display: grid; place-items: center;
  position: relative;
  filter: drop-shadow(0 16px 36px rgba(122, 88, 243, 0.35));
}
.spotlight .ring::after {
  content: ''; position: absolute; inset: 8px; border-radius: 50%;
  background: var(--surface);
}
.spotlight .ring .val {
  position: relative; z-index: 1;
  font-size: 64px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Mode panel - for the three-mode comparison slide */
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mode {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--t-fast) var(--easing), border-color var(--t-fast) var(--easing), box-shadow var(--t-fast) var(--easing);
  box-shadow: var(--shadow-sm);
}
.mode:hover {
  transform: translateY(-3px);
  border-color: rgba(122, 88, 243, 0.30);
  box-shadow: var(--shadow-md);
}
.mode .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
  font-weight: 600;
}
.mode .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.mode h3 { font-size: 24px; font-weight: 700; color: var(--navy); }
.mode p { font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }
.mode.is-cowork {
  background: linear-gradient(180deg, #ffffff 0%, rgba(122, 88, 243, 0.07) 100%);
  border-color: var(--purple);
  box-shadow: 0 16px 40px -10px rgba(122, 88, 243, 0.25);
}
.mode.is-cowork .badge { color: var(--purple); }
.mode.is-cowork .badge .dot { background: var(--purple); box-shadow: 0 0 8px rgba(122, 88, 243, 0.55); }

/* Per-slide footer removed; section + slide number live in the topbar */
.slide-foot { display: none; }

/* Section divider slides */
.slide.section-divider .slide-inner { text-align: center; align-items: center; }
.slide.section-divider .big-num {
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 900; line-height: 0.9; letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 16px 50px rgba(122, 88, 243, 0.30));
}
.slide.section-divider h2 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800; letter-spacing: -0.02em; margin-top: 12px;
  color: var(--navy);
}
.slide.section-divider .sub {
  margin-top: 14px; font-size: 18px; color: var(--ink-3); max-width: 720px;
}

/* Use-case slide layout */
.usecase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.usecase .left h2 { margin-bottom: 16px; }
.usecase .left .lead { margin-bottom: 22px; }
.usecase .right .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.usecase .panel .panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.usecase .panel .panel-head h5 { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.usecase .panel .step {
  display: flex; gap: 14px; padding: 12px 0;
  border-top: 1px dashed var(--line-2);
  font-size: 14.5px; color: var(--ink-2);
  align-items: center;
}
.usecase .panel .step:first-of-type { border-top: 0; padding-top: 0; }
.usecase .panel .step .n {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--grad); color: white; font-weight: 700; font-size: 13px;
}
.usecase .panel .out {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  background: rgba(37, 177, 250, 0.08);
  border: 1px solid rgba(37, 177, 250, 0.25);
  font-size: 13.5px; color: var(--navy);
  font-weight: 500;
}
.usecase .left .impact {
  display: flex; gap: 22px; margin-top: 24px; flex-wrap: wrap;
}
.usecase .impact .stat-mini { min-width: 130px; }
.impact .stat-mini .v {
  font-size: 28px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.impact .stat-mini .l {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px;
}

/* Diff list (e.g. "Without / With") */
.diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.diff .pane { padding: 22px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.diff .pane.bad { background: #fff5f5; border: 1px solid rgba(220, 38, 38, 0.22); }
.diff .pane.good { background: #f0fdf9; border: 1px solid rgba(13, 148, 136, 0.22); }
.diff h5 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.diff .bad h5 { color: #dc2626; }
.diff .good h5 { color: #0d9488; }
.diff ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.diff li { font-size: 15.5px; color: var(--ink-2); display: flex; gap: 10px; line-height: 1.45; }
.diff li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; margin-top: 9px; flex: 0 0 auto; }
.diff .bad li::before { background: #dc2626; }
.diff .good li::before { background: #0d9488; }

/* Bottom controls - frosted floating pill */
.controls {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  z-index: 35;
  box-shadow: var(--shadow-md);
}
.controls button {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--navy); opacity: 0.78;
  transition: background var(--t-fast) var(--easing), transform var(--t-fast) var(--easing), opacity var(--t-fast) var(--easing), color var(--t-fast) var(--easing);
}
.controls button:hover { background: rgba(122, 88, 243, 0.08); color: var(--purple); opacity: 1; transform: translateY(-1px); }
.controls .count {
  padding: 0 10px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-3);
}
.controls .sep { width: 1px; height: 20px; background: var(--line); }

/* Help overlay */
.help {
  position: fixed; inset: 0; z-index: 50;
  display: none;
  background: rgba(0, 47, 71, 0.45);
  backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  animation: fadeIn 220ms var(--easing);
}
.help.open { display: flex; }
.help .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px; max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.help h4 { font-size: 18px; margin-bottom: 16px; color: var(--navy); }
.help kbd {
  display: inline-block; min-width: 26px; padding: 4px 8px;
  border-radius: 6px; border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; text-align: center;
  box-shadow: 0 1px 0 var(--line);
}
.help .row-k { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--ink-2); }

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

/* Logo wall (connectors) */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.logo-wall .lw {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  font-size: 13px; font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast) var(--easing), transform var(--t-fast) var(--easing);
}
.logo-wall .lw:hover { transform: translateY(-2px); border-color: rgba(122, 88, 243, 0.35); }

/* Code-like prompt block */
.prompt {
  background: #0f172a;
  border: 1px solid rgba(0, 47, 71, 0.30);
  border-radius: 14px; padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px; line-height: 1.6;
  color: #e2e8f0;
  white-space: pre-wrap;
  box-shadow: var(--shadow-md);
}
.prompt .you { color: #5eead4; }
.prompt .ai  { color: #c4b5fd; }
.prompt .sys { color: rgba(226, 232, 240, 0.45); }

/* n8n spotlight (slide 19) */
.n8n-spotlight {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 28px 20px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.n8n-ring {
  width: 140px; height: 140px; border-radius: 50%;
  background: conic-gradient(from 0deg, #ea4b71, #ff6d42, #ea4b71);
  display: grid; place-items: center;
  position: relative;
  filter: drop-shadow(0 10px 28px rgba(234, 75, 113, 0.35));
}
.n8n-ring::after {
  content: ''; position: absolute; inset: 8px; border-radius: 50%;
  background: var(--surface);
}
.n8n-logo-img {
  position: relative; z-index: 1;
  width: 70px; height: auto; object-fit: contain;
}
.n8n-label {
  font-size: 17px; font-weight: 700; color: var(--navy);
  text-align: center;
}
.n8n-label em { color: #ea4b71; font-style: normal; }

/* Bridge MCP card (slide 20) */
.bridge-mcp-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1.5px solid rgba(94,234,212,.35);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  display: flex; flex-direction: column;
}
.bridge-mcp-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #5eead4;
  margin-bottom: 8px;
}
.bridge-mcp-card > p {
  color: #94a3b8 !important;
}
.bridge-mcp-logos {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.bridge-logo-box {
  flex: 1; min-width: 120px;
  border-radius: 12px;
  padding: 18px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.bridge-logo-n8n {
  background: #fdf8f0;
  border: 1px solid rgba(234, 75, 113, .35);
  color: #1e293b;
}
.bridge-logo-n8n span:last-child { color: #000 !important; }
.bridge-logo-zapier {
  background: rgba(255, 79, 0, .18);
  border: 1px solid rgba(255, 79, 0, .45);
}
.bridge-logo-box span:last-child {
  font-size: 12px; color: #cbd5e1; text-align: center;
}
.bridge-logo-text {
  font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.01em;
}

/* Screen gallery */
.gallery-stage {
  position: absolute;
  inset: 64px 88px 120px;
  background: transparent;
}
.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .22s ease;
}
.gallery-img.is-active { opacity: 1; }
.gallery-btn {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, color .15s;
  box-shadow: var(--shadow-sm);
}
.gallery-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-counter {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 10px;
  letter-spacing: .03em;
}

/* Pillar badges */
.pillars { display: flex; gap: 10px; flex-wrap: wrap; }
.pillars .pill {
  font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* Final CTA */
.cta-box {
  text-align: center; padding: 36px;
  background: linear-gradient(135deg, rgba(122, 88, 243, 0.08), rgba(37, 177, 250, 0.08));
  border: 1px solid rgba(122, 88, 243, 0.25);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare { grid-template-columns: 1.2fr 1fr 1fr 1fr; font-size: 13px; }
}
@media (max-width: 820px) {
  .slide { padding: 96px 5vw 90px; }
  .grid-3, .mode-grid { grid-template-columns: 1fr; }
  .grid-2, .diff, .usecase { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr 1fr; }
  .compare .head:nth-child(1), .compare > div:nth-child(4n+1):not(.head) { grid-column: 1 / -1; background: rgba(122, 88, 243, 0.10); }
}

/* Print mode (one slide per page) */
@media print {
  body { background: white; color: var(--ink); overflow: visible; }
  .topbar, .controls, .progress, .hero-bg, .help, .slide-foot { display: none !important; }
  .stage { display: block; height: auto; }
  .slide { position: relative; opacity: 1 !important; transform: none !important; filter: none !important; page-break-after: always; min-height: 100vh; padding: 60px 50px; overflow: visible; }
  .card, .stat, .mode, .compare, .usecase .right .panel { box-shadow: none; }
}
