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

:root {
  --navy: #1f2d4a;
  --navy-deep: #16223a;
  --navy-700: #2a3a5c;
  --lavender: #b9a6cb;
  --lavender-bright: #cabbdb;
  --lavender-soft: #e7dfee;
  --paper: #f6f3f8;
  --paper-2: #ece6f1;
  --muted: #6f6880;
  --muted-on-navy: #b7b3c6;
  --green: #2f8a5b;
  --white: #ffffff;

  --type-kicker: 20px;
  --type-title: 64px;
  --type-subtitle: 33px;
  --type-body: 25px;
  --pad-x: 92px;
  --pad-top: 76px;
  --pad-bottom: 66px;
  --gap-title: 24px;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d1322;
}
body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: 'Anuphan', system-ui, sans-serif;
}

.deck { position: fixed; inset: 0; overflow: hidden; }

.stage {
  position: absolute;
  width: 1600px;
  height: 900px;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transform: translate(-50%, -50%) scale(1);
  visibility: hidden;
}
.stage.ready { visibility: visible; }

.slide {
  position: absolute; inset: 0;
  opacity: 0;
  background: var(--paper);
  color: var(--navy);
  overflow: hidden;
  transition: opacity 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide.navy { background: var(--navy); color: var(--paper); }

/* ── shared building blocks ── */
.frame {
  position: absolute; inset: 0;
  padding: var(--pad-top) var(--pad-x) var(--pad-bottom);
  display: flex; flex-direction: column;
}
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--type-kicker); font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
}
.kicker .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--lavender); flex: none; }
.slide.navy .kicker { color: var(--lavender-bright); }

h1.headline {
  font-size: var(--type-title); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance;
}
.support {
  font-size: var(--type-subtitle); font-weight: 400;
  line-height: 1.25; color: var(--muted); text-wrap: pretty;
}
.slide.navy .support { color: var(--muted-on-navy); }

.bgdot { position: absolute; border-radius: 50%; pointer-events: none; }

.footer {
  position: absolute; left: var(--pad-x); bottom: 38px;
  display: flex; align-items: center; gap: 15px;
  font-size: 20px; color: var(--muted); letter-spacing: .02em;
}
.footer .div { width: 1px; height: 18px; background: var(--lavender); opacity: .6; }
.slide.navy .footer { color: var(--muted-on-navy); }
.pageno {
  position: absolute; right: var(--pad-x); bottom: 38px;
  font-size: 20px; color: var(--muted); font-weight: 500; letter-spacing: .1em;
}
.pageno.light { color: var(--muted-on-navy); }

/* ── logo (real wordmark image) ── */
.cover-logo { display: block; width: 360px; height: auto; align-self: flex-start; margin-bottom: 50px; }
.footer-logo {
  display: inline-block; width: 86px; height: 27px;
  background: url('/pitch/logo-navy.png?v=20260530b') left center / contain no-repeat;
}
.slide.navy .footer-logo { background-image: url('/pitch/logo-paper.png?v=20260530b'); }

/* ── 1 · cover ── */
.cover {
  position: absolute; inset: 0; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
}
.cover .tagline-th {
  font-size: 70px; font-weight: 700; color: var(--paper);
  line-height: 1.05; letter-spacing: -0.01em; max-width: 18ch;
}
.cover .tagline-en {
  margin-top: 22px; font-size: 28px; font-weight: 400;
  color: var(--lavender-bright); letter-spacing: .01em;
}
.cover .meta {
  position: absolute; left: var(--pad-x); bottom: 54px;
  font-size: 20px; color: var(--muted-on-navy); letter-spacing: .04em;
  display: flex; gap: 14px; align-items: center;
}
.cover .meta .div { width: 1px; height: 16px; background: var(--lavender); opacity: .5; }

/* ── 2 · problem ── */
.pain-grid {
  margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.pain {
  background: var(--white); border-radius: 20px; padding: 34px 32px 38px;
  box-shadow: 0 16px 40px -26px rgba(31,45,74,.45);
  display: flex; flex-direction: column; gap: 15px;
}
.pain .num { font-size: 26px; font-weight: 700; color: var(--lavender); font-variant-numeric: tabular-nums; }
.pain h3 { font-size: 28px; font-weight: 600; line-height: 1.18; }
.pain p { font-size: 21px; line-height: 1.45; color: var(--muted); font-weight: 400; }

/* ── 3 · solution ── */
.two-col { margin-top: 42px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.feat-list { display: flex; flex-direction: column; gap: 24px; }
.feat { display: flex; gap: 20px; align-items: flex-start; }
.feat .check {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--lavender-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 700; margin-top: 2px;
}
.feat .ft { font-size: 26px; font-weight: 600; line-height: 1.25; }
.feat .fd { font-size: 21px; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.do-card { background: var(--navy); color: var(--paper); border-radius: 22px; padding: 40px 40px 44px; }
.do-card .dh { font-size: 23px; font-weight: 600; color: var(--lavender-bright); letter-spacing: .04em; margin-bottom: 24px; }
.do-card .di { display: flex; gap: 16px; align-items: flex-start; font-size: 25px; line-height: 1.3; }
.do-card .di + .di { margin-top: 20px; }
.do-card .di .mk { color: var(--lavender); font-weight: 700; flex: none; }
.do-card .note { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 21px; color: var(--muted-on-navy); line-height: 1.45; }

/* ── 4 · no risk ── */
.risk {
  position: absolute; inset: 0; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
}
.risk .eq { font-size: 108px; font-weight: 700; color: var(--paper); line-height: 1.02; letter-spacing: -0.02em; }
.risk .eq .hl { color: var(--lavender-bright); }
.risk .risk-sub { margin-top: 30px; font-size: 31px; color: var(--muted-on-navy); max-width: 30ch; line-height: 1.35; }
.risk .pill-row { margin-top: 46px; display: flex; gap: 16px; flex-wrap: wrap; }
.risk .pill {
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  padding: 14px 26px; font-size: 22px; color: var(--paper);
  display: flex; align-items: center; gap: 12px; flex: none; white-space: nowrap;
}
.risk .pill b { font-size: 30px; font-weight: 700; color: var(--lavender-bright); }

/* ── 5 · trust ── */
.trust-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.trust-card {
  background: var(--white); border-radius: 22px; padding: 38px 36px;
  box-shadow: 0 16px 40px -26px rgba(31,45,74,.45);
  display: flex; flex-direction: column; gap: 14px;
}
.trust-card .tc-eyebrow { font-size: 19px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); }
.trust-card h3 { font-size: 30px; font-weight: 700; line-height: 1.2; }
.trust-card p { font-size: 22px; line-height: 1.45; color: var(--muted); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.badge { border: 1px solid var(--paper-2); background: var(--paper); border-radius: 999px; padding: 8px 18px; font-size: 19px; font-weight: 500; color: var(--navy-700); }
.badge.solid { background: var(--lavender-soft); border-color: transparent; color: var(--navy); }

/* ── 6 · ecosystem ── */
.eco-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; flex: 1; }
.eco-map { position: relative; height: 420px; }
.eco-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 190px; height: 190px; border-radius: 50%;
  background: var(--navy); color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 700; line-height: 1.1; text-align: center; z-index: 2;
  box-shadow: 0 18px 44px -24px rgba(31,45,74,.55);
}
.eco-core span { font-size: 17px; font-weight: 500; color: var(--lavender-bright); letter-spacing: .12em; text-transform: uppercase; }
.eco-node {
  position: absolute; padding: 16px 24px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--paper-2);
  font-size: 21px; font-weight: 600; color: var(--navy);
  box-shadow: 0 12px 30px -22px rgba(31,45,74,.5); white-space: nowrap;
}
.eco-node.you { background: var(--lavender); border-color: transparent; color: var(--navy); }
.eco-node.n1 { left: 0; top: 24px; }
.eco-node.n2 { right: 0; top: 60px; }
.eco-node.n3 { left: 6px; bottom: 36px; }
.eco-node.n4 { right: 10px; bottom: 70px; }
.eco-points { display: flex; flex-direction: column; gap: 26px; }
.eco-pt { display: flex; gap: 20px; align-items: flex-start; }
.eco-pt .epi {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--lavender-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
.eco-pt .ept { font-size: 25px; font-weight: 600; line-height: 1.2; }
.eco-pt .epd { font-size: 20px; color: var(--muted); line-height: 1.4; margin-top: 4px; }

/* ── 7 · case study ── */
.case-grid { display: grid; grid-template-columns: 430px 1fr; gap: 44px; flex: 1; align-items: center; }
.case-left { display: flex; flex-direction: column; }
.stat-col { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 16px 22px;
  display: flex; flex-direction: row; align-items: center; gap: 18px;
}
.stat .sv { font-size: 38px; font-weight: 700; color: var(--lavender-bright); line-height: 1; min-width: 92px; }
.stat .sl { font-size: 20px; color: var(--paper); line-height: 1.3; }
.case-phones { display: flex; align-items: center; justify-content: center; gap: 14px; }
.phone { flex: none; width: 190px; display: flex; flex-direction: column; align-items: center; }
.phone:nth-child(even) { transform: translateY(28px); }
.phone img {
  width: 100%; display: block; border-radius: 20px;
  border: 6px solid #0d1322; background: #0d1322;
  box-shadow: 0 32px 60px -28px rgba(0,0,0,.75);
}
.phone figcaption { margin-top: 13px; font-size: 17px; color: var(--muted-on-navy); letter-spacing: .02em; }

/* ── 8 · cta ── */
.cta {
  position: absolute; inset: 0; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
}
.cta-head { font-size: 96px; font-weight: 700; color: var(--paper); line-height: 1.04; letter-spacing: -0.02em; }
.cta-sub { margin-top: 30px; font-size: 30px; color: var(--muted-on-navy); max-width: 34ch; line-height: 1.35; }
.cta-contact { margin-top: 56px; display: flex; align-items: center; gap: 22px; font-size: 28px; }
.cta-contact a { color: var(--lavender-bright); text-decoration: none; font-weight: 600; }
.cta-contact a:hover { text-decoration: underline; }
.cta-contact .div { width: 1px; height: 22px; background: var(--lavender); opacity: .5; }

/* ── nav ── */
.nav {
  position: fixed;
  bottom: max(14px, env(safe-area-inset-bottom) + 8px);
  left: 50%; transform: translateX(-50%);
  z-index: 100;
  display: flex; align-items: center; gap: 14px;
  background: rgba(22, 34, 58, .82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(185,166,203,.28);
  padding: 8px 12px; border-radius: 999px;
  transition: opacity 400ms, transform 400ms;
}
.nav.nav-hidden { opacity: 0; transform: translateX(-50%) translateY(16px); pointer-events: none; }
.nav button {
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.08); color: var(--paper);
  font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 160ms;
}
.nav button:hover:not(:disabled) { background: var(--lavender); color: var(--navy); }
.nav button:disabled { opacity: .35; cursor: default; }
.nav .counter { font-size: 16px; font-weight: 600; color: var(--paper); letter-spacing: .12em; font-variant-numeric: tabular-nums; min-width: 78px; text-align: center; }
