:root {
  --bg: #000;
  --surface: #0a0a0b;
  --surface-2: #111113;
  --surface-3: #17171a;
  --ink: #f5f5f7;
  --body: #929297;
  --dim: #626268;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.14);
  --accent: #0b63f6;
  --accent-soft: #4c8dff;
  --accent-faint: rgba(11,99,246,.12);
  --accent-glow: rgba(11,99,246,.27);
  --display: -apple-system, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --sans: -apple-system, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; background: var(--bg); }
body {
  overflow: hidden;
  color: var(--body);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { font: inherit; }
button { color: inherit; }

.deck-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 440px at 72% -120px, rgba(52,105,255,.11), transparent 68%),
    radial-gradient(680px 420px at 4% 110%, rgba(11,99,246,.06), transparent 72%);
}
.deck-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.deck-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 56px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(0,0,0,.78);
  border-bottom: 1px solid rgba(255,255,255,.065);
  backdrop-filter: blur(18px);
}
.deck-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d7d7db;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
}
.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #050505;
  font-size: 11px;
  font-weight: 850;
}
.deck-status { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 11px; }
.section-name { color: #b8b8bd; }
.slide-count { font-variant-numeric: tabular-nums; }
.deck-actions { display: flex; justify-content: flex-end; gap: 6px; }
.deck-actions button,
.deck-nav button,
.overview-head button,
.notes-panel button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  cursor: pointer;
}
.deck-actions button { padding: 6px 10px; color: #9d9da3; font-size: 11px; }
.deck-actions button:hover,
.deck-actions button[aria-pressed="true"] { color: var(--ink); background: rgba(255,255,255,.08); }

.deck { position: relative; z-index: 1; width: 100%; height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  padding: 74px 26px 68px;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(24px,0,0);
  transition: opacity .28s ease, transform .38s cubic-bezier(.22,.61,.36,1), visibility .28s;
}
.slide.is-active { z-index: 2; opacity: 1; visibility: visible; transform: none; }
.slide.is-before { transform: translate3d(-18px,0,0); }
.slide-inner {
  position: relative;
  width: min(1160px, 100%);
  min-height: min(620px, calc(100vh - 142px));
  max-height: calc(100vh - 142px);
  padding: clamp(44px, 5.4vw, 72px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.018), transparent 42%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 32px 90px rgba(0,0,0,.45);
  scrollbar-width: thin;
  scrollbar-color: #2b2b30 transparent;
}
.slide-inner::after {
  content: "";
  position: absolute;
  left: clamp(44px, 5.4vw, 72px);
  right: clamp(44px, 5.4vw, 72px);
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 42%);
  opacity: .42;
}

.kicker {
  margin-bottom: 15px;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, strong { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1 {
  max-width: 790px;
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 680;
  line-height: 1.14;
  letter-spacing: -.048em;
}
h2 {
  max-width: 850px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 670;
  line-height: 1.2;
  letter-spacing: -.04em;
}
h2 span { color: var(--accent-soft); }
h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 640;
  line-height: 1.35;
  letter-spacing: -.025em;
}
p, li {
  text-wrap: pretty;
  word-break: auto-phrase;
  line-break: strict;
}
.card-head { margin-bottom: 42px; }
.support-copy {
  max-width: 600px;
  margin-top: 20px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
}
.quiet-line, .next-line {
  margin-top: 30px;
  color: #c1c1c6;
  font-size: 14px;
  line-height: 1.65;
}
.center-card { align-items: center; text-align: center; }
.center-card h2 { max-width: 820px; }
.center-card > p:last-child:not(.kicker) {
  max-width: 700px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.slide-cover .slide-inner {
  justify-content: flex-end;
  background:
    radial-gradient(520px 380px at 73% 38%, rgba(11,99,246,.13), transparent 68%),
    var(--surface);
}
.cover-copy { position: relative; z-index: 2; max-width: 820px; }
.cover-mark {
  position: absolute;
  right: 11%;
  top: 18%;
  width: min(280px, 25vw);
  aspect-ratio: 1;
}
.cover-mark i {
  position: absolute;
  border: 1px solid rgba(76,141,255,.22);
  border-radius: 50%;
}
.cover-mark i:nth-child(1) { inset: 0; }
.cover-mark i:nth-child(2) { inset: 24%; }
.cover-mark i:nth-child(3) {
  inset: 42%;
  border: 0;
  background: var(--accent);
  box-shadow: 0 0 55px var(--accent-glow);
}

.stage-grid, .task-grid, .path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stage-grid article, .task-grid article, .path-grid article {
  min-height: 190px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}
.stage-grid article > span,
.task-grid article > span,
.path-grid article > span {
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
}
.stage-grid h3 { margin-top: 42px; }
.stage-grid p, .path-grid p {
  margin-top: 11px;
  font-size: 14px;
  line-height: 1.65;
}
.is-accent {
  border-color: rgba(76,141,255,.38) !important;
  background: linear-gradient(145deg, var(--accent-faint), var(--surface-2)) !important;
}
.task-grid article { min-height: 180px; }
.task-grid h3 { margin-top: 38px; }

.profile-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 80px;
}
.profile-note {
  padding: 28px;
  border: 1px solid rgba(76,141,255,.3);
  border-radius: 17px;
  background: var(--accent-faint);
}
.profile-note span { display: block; color: var(--accent-soft); font-size: 11px; letter-spacing: .1em; }
.profile-note strong { display: block; margin-top: 18px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; }

.flow-layout { gap: 0; }
.flow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.flow-steps li {
  min-height: 128px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent);
}
.flow-steps span { color: var(--accent-soft); font-size: 11px; font-weight: 750; }
.flow-steps strong { font-size: 17px; }

.task-badge {
  position: absolute;
  top: 48px;
  right: clamp(44px, 5.4vw, 72px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font-size: 11px;
}
.task-badge span { color: var(--accent-soft); font-weight: 750; }
.task-badge b {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #a9a9af;
  font-weight: 620;
}
.slide-task .card-head { margin-bottom: 38px; }
.compact-flow, .system-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.compact-flow span, .system-flow article {
  flex: 1;
  min-height: 86px;
  padding: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
  color: #d3d3d7;
  font-size: 14px;
  text-align: center;
}
.compact-flow i, .system-flow > i { align-self: center; color: #3e3e44; font-style: normal; }
.completion {
  margin-top: 28px;
  padding-top: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.completion span { color: var(--dim); font-size: 11px; letter-spacing: .1em; }
.completion strong { color: var(--accent-soft); font-size: 15px; }

.done-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(76,141,255,.36);
  border-radius: 50%;
  background: var(--accent-faint);
  color: var(--accent-soft);
  font-size: 18px;
  font-weight: 760;
}
.slide-done .slide-inner {
  background:
    radial-gradient(460px 300px at 50% 46%, rgba(11,99,246,.11), transparent 72%),
    var(--surface);
}
.slide-question .slide-inner {
  background:
    linear-gradient(145deg, rgba(11,99,246,.08), transparent 44%),
    var(--surface);
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.spec-row span {
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  color: #d2d2d6;
  font-size: 13px;
  text-align: center;
}
.spec-row span:last-child { border-right: 0; }
.result-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.result-pills span {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: #cfcfd3;
  font-size: 12px;
}

.slide-showoff .slide-inner {
  background:
    radial-gradient(520px 360px at 50% 44%, rgba(11,99,246,.15), transparent 70%),
    var(--surface);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr;
  gap: 14px;
}
.showcase-grid article {
  position: relative;
  min-height: 270px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-2);
}
.showcase-grid article > i {
  position: absolute;
  inset: 18% 18% auto;
  aspect-ratio: 1.6;
  border: 1px solid rgba(76,141,255,.2);
  border-radius: 18px;
  background: radial-gradient(circle at 52% 48%, rgba(76,141,255,.2), transparent 60%);
}
.showcase-grid article:nth-child(2) > i {
  inset: 15% 28% auto;
  aspect-ratio: .8;
  border-radius: 42% 42% 18px 18px;
}
.showcase-grid article:nth-child(3) > i {
  inset: 20% 18% auto;
  aspect-ratio: 1;
  border-radius: 12px;
  box-shadow: 18px 14px 0 -4px rgba(76,141,255,.08);
}
.showcase-grid span { position: relative; z-index: 2; color: var(--ink); font-size: 14px; }

.system-flow article { display: flex; flex-direction: column; gap: 10px; }
.system-flow article span { color: var(--accent-soft); font-size: 10px; font-weight: 750; }
.system-flow article strong { font-size: 15px; }

.site-layout, .claim-layout, .offer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}
.primary-link {
  width: fit-content;
  margin-top: 28px;
  padding: 11px 17px;
  display: inline-flex;
  border: 1px solid rgba(76,141,255,.34);
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 680;
  box-shadow: 0 14px 32px -18px var(--accent-glow);
}
.site-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: #050506;
  box-shadow: 0 25px 60px rgba(0,0,0,.42);
}
.window-bar {
  height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 10px;
}
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #2a2a2e; }
.window-bar span { margin-left: 8px; }
.window-body {
  min-height: 310px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: radial-gradient(300px 220px at 75% 30%, rgba(11,99,246,.16), transparent 70%);
}
.window-body small { color: var(--accent-soft); font-size: 10px; letter-spacing: .12em; }
.window-body strong { margin-top: 10px; font-size: 32px; letter-spacing: -.04em; }
.window-body span { margin-top: 14px; color: var(--dim); font-size: 11px; }

.code-block {
  padding: 34px;
  text-align: center;
  border: 1px solid rgba(76,141,255,.34);
  border-radius: 20px;
  background:
    radial-gradient(260px 190px at 50% 42%, rgba(11,99,246,.18), transparent 70%),
    var(--surface-2);
}
.code-block > span { display: block; color: var(--dim); font-size: 11px; }
.code-block > strong {
  display: block;
  margin: 15px 0 4px;
  font-size: clamp(54px, 7vw, 84px);
  line-height: 1;
  letter-spacing: .05em;
}
.code-block .primary-link { margin-inline: auto; }

.path-grid { grid-template-columns: 1fr 1fr; }
.path-grid article { min-height: 220px; }
.path-grid h3 { margin-top: 55px; }

.offer-points { display: grid; gap: 10px; margin-top: 30px; }
.offer-points span {
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: #ceced2;
  font-size: 12px;
}
.qr-placeholder {
  justify-self: center;
  width: min(240px, 100%);
  aspect-ratio: 1;
  padding: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
  color: #111;
  font-size: 12px;
}
.qr-placeholder img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.slide-final .slide-inner {
  background:
    radial-gradient(480px 320px at 50% 44%, rgba(11,99,246,.12), transparent 72%),
    var(--surface);
}

.deck-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 31;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8,8,9,.82);
  backdrop-filter: blur(16px);
}
.deck-nav button { width: 33px; height: 29px; }
.deck-nav button:hover { color: var(--ink); background: rgba(255,255,255,.08); }
.deck-nav button:disabled { cursor: default; opacity: .24; }
.progress-track { width: min(24vw, 240px); height: 2px; overflow: hidden; border-radius: 999px; background: #26262a; }
.progress-track i { display: block; width: 0; height: 100%; background: var(--accent); transition: width .28s ease; }

.notes-panel {
  position: fixed;
  right: 18px;
  bottom: 62px;
  z-index: 40;
  width: min(430px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(76,141,255,.32);
  border-radius: 15px;
  background: rgba(12,12,14,.97);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(18px);
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
}
.notes-panel.is-open { transform: none; opacity: 1; visibility: visible; }
.notes-panel > div { display: flex; align-items: center; justify-content: space-between; }
.notes-panel span { color: var(--accent-soft); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.notes-panel button, .overview-head button { width: 29px; height: 29px; }
.notes-panel p { margin-top: 12px; color: #d0d0d4; font-size: 13px; line-height: 1.75; }
.overview {
  width: min(1080px, calc(100vw - 40px));
  max-height: calc(100vh - 60px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0b0b0d;
  color: var(--body);
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
}
.overview::backdrop { background: rgba(0,0,0,.74); backdrop-filter: blur(8px); }
.overview-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(11,11,13,.96);
}
.overview-head span, .overview-head strong { display: block; }
.overview-head span { color: var(--accent-soft); font-size: 10px; letter-spacing: .12em; }
.overview-head strong { margin-top: 5px; font-size: 18px; }
.overview-grid { padding: 18px; display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.overview-grid button {
  padding: 14px;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--body);
}
.overview-grid button:hover, .overview-grid button.is-current { border-color: rgba(76,141,255,.35); background: var(--accent-faint); }
.overview-grid button span, .overview-grid button strong { display: block; }
.overview-grid button span { color: var(--dim); font-size: 9px; }
.overview-grid button strong { margin-top: 6px; color: #d8d8dc; font-size: 12px; }
.speaker-notes { display: none; }

@media (max-width: 900px) {
  .deck-bar { grid-template-columns: 1fr auto; }
  .deck-status { display: none; }
  .deck-actions button:first-child { display: none; }
  .slide { padding: 68px 12px 60px; }
  .slide-inner {
    min-height: calc(100vh - 128px);
    max-height: calc(100vh - 128px);
    padding: 36px 26px;
    border-radius: 20px;
  }
  .slide-inner::after { left: 26px; right: 26px; top: 22px; }
  .card-head { margin-bottom: 28px; }
  .stage-grid, .task-grid, .path-grid, .profile-layout, .site-layout, .claim-layout, .offer-layout { grid-template-columns: 1fr; }
  .stage-grid article, .task-grid article, .path-grid article { min-height: auto; }
  .stage-grid h3, .task-grid h3, .path-grid h3 { margin-top: 24px; }
  .profile-layout, .site-layout, .claim-layout, .offer-layout { gap: 30px; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-steps li { min-height: 84px; }
  .compact-flow, .system-flow { display: grid; grid-template-columns: 1fr; }
  .compact-flow i, .system-flow > i { display: none; }
  .spec-row { grid-template-columns: repeat(2,1fr); }
  .spec-row span:nth-child(2) { border-right: 0; }
  .spec-row span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-grid article { min-height: 180px; }
  .task-badge { position: static; width: fit-content; margin: 0 0 24px auto; }
  .completion { align-items: flex-start; flex-direction: column; gap: 8px; }
  .cover-mark { opacity: .7; width: 210px; right: 8%; }
}

@media (max-width: 520px) {
  .deck-brand > span:last-child { display: none; }
  .deck-actions button { padding: 6px 8px; }
  .deck-actions button:nth-child(2) { display: none; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .slide-inner { padding: 34px 22px; }
  .slide-inner::after { left: 22px; right: 22px; }
  .stage-grid, .task-grid, .path-grid { gap: 9px; }
  .stage-grid article, .task-grid article, .path-grid article { padding: 20px; }
  .showcase-grid article { min-height: 140px; }
  .compact-flow span, .system-flow article { min-height: 64px; padding: 15px; }
  .progress-track { width: 30vw; }
  .overview-grid { grid-template-columns: 1fr; }
  .window-body { min-height: 240px; padding: 28px; }
  .window-body strong { font-size: 26px; }
  .code-block { padding: 26px; }
  .qr-placeholder { width: min(200px, 70vw); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  body { overflow: visible; background: #fff; }
  .deck-bar, .deck-nav, .notes-panel, .overview { display: none !important; }
  .deck { height: auto; }
  .slide {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100vh;
    padding: 22px;
    page-break-after: always;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: #000;
  }
  .slide-inner { min-height: calc(100vh - 44px); max-height: none; overflow: hidden; box-shadow: none; }
}
