/* Ekotech KOCList + S-Messenger
   Be Vietnam Pro, Ekotech blue on navy and white. One radius scale, one motion scale. */

:root {
  --blue: #0052FF;
  --blue-press: #0043D6;
  --blue-soft: #E8F0FF;
  --navy: #071A4F;
  --navy-2: #0D2766;
  --spark: #FFB21E;
  --ok: #08875A;

  --bg-1: #FFFFFF;          /* main light surface */
  --bg-2: #F4F7FD;          /* alternate light surface */
  --card: #FFFFFF;
  --ink: #0A1B44;
  --ink-2: #3A4A6F;
  --line: #E2E9F5;

  --m: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --sec: clamp(88px, 12vw, 160px);
  --nav-h: 72px;

  --display: clamp(44px, 8.6vw, 128px);
  --h2: clamp(32px, 4.2vw, 60px);
  --h3: clamp(22px, 2vw, 28px);
  --lead: clamp(17px, 1.4vw, 20px);

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-float: 0 40px 80px -30px rgba(4, 22, 80, .45), 0 12px 24px -12px rgba(4, 22, 80, .25);
  --shadow-card: 0 24px 48px -28px rgba(4, 22, 80, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; font-weight: 500;
  background: var(--bg-1); color: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--spark); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.tnum { font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; }
.display { font-size: var(--display); font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.h2 { font-size: var(--h2); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.h3 { font-size: var(--h3); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.lead { font-size: var(--lead); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.lead a { color: var(--blue); font-weight: 700; }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head.on-dark .lead { color: #DCE7FF; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .2s, color .2s, box-shadow .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-press); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #EAF1FF; }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-outline { color: var(--blue); border: 2px solid var(--blue); }
@media (hover: hover) { .btn-outline:hover { background: var(--blue); color: #fff; } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background-color .3s, box-shadow .3s, transform .45s var(--ease); }
.nav-in { height: 100%; width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: #fff; transition: color .3s; }
.brand img { border-radius: 10px; }
.brand b { color: #7FA8FF; font-weight: 800; transition: color .3s; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, .86); transition: background-color .2s, color .2s; }
.nav-links a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-cta { min-height: 42px; font-size: 15px; }
.nav.is-solid { background: color-mix(in srgb, var(--bg-1) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .brand { color: var(--ink); }
.nav.is-solid .brand b { color: var(--blue); }
.nav.is-solid .nav-links a { color: var(--ink-2); }
.nav.is-solid .nav-links a:hover, .nav.is-solid .nav-links a.is-on { background: var(--blue-soft); color: var(--blue); }
.nav.is-hidden { transform: translateY(-100%); }

/* ---------- 1. hero ---------- */
.hero { position: relative; background: var(--bg-1); padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); overflow: clip; }
.hero-bg { position: absolute; inset: 0 0 30% 0; background: var(--navy); overflow: hidden; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .5; mix-blend-mode: screen; }
.hero-copy { position: relative; z-index: 2; text-align: center; color: #fff; display: grid; justify-items: center; gap: 24px; }
.display .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.display .ln > span { display: inline-block; animation: rise 1s var(--ease) both; }
.display .ln + .ln > span { animation-delay: .1s; color: #8FB4FF; }
@keyframes rise { from { transform: translateY(105%); } }
.hero-sub { font-size: var(--lead); max-width: 60ch; color: #DCE6FF; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.chips li span { font-size: 17px; line-height: 1; }

.stage { position: relative; z-index: 2; margin-top: clamp(48px, 6vw, 80px); perspective: 1800px; }
.film { --tilt: 0deg; --sc: 1; max-width: 1120px; margin-inline: auto; background: var(--card); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow-float); transform: rotateX(var(--tilt)) scale(var(--sc)); transform-origin: 50% 0; will-change: transform; }
.film-bar { display: flex; align-items: center; gap: 7px; padding: 6px 10px 12px; }
.film-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.film-bar span { margin-left: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.film-screen { position: relative; border-radius: var(--r-md); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.film-screen video { width: 100%; height: 100%; object-fit: cover; }
.film-toggle { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 10px; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; transition: transform .3s var(--ease); }
.film-toggle:hover { transform: scale(1.05); }
.film-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.film-toggle .i-pause, .film-toggle[aria-pressed="true"] .i-play { display: none; }
.film-toggle[aria-pressed="true"] .i-pause { display: block; }
.chapters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 12px 4px 4px; }
.chapters button { width: 100%; display: grid; gap: 8px; padding: 8px 6px; border-radius: var(--r-sm); text-align: left; font-size: 14px; font-weight: 700; color: var(--ink-2); transition: color .2s, background-color .2s; }
.chapters button:hover { background: var(--bg-2); color: var(--ink); }
.chapters .is-on button { color: var(--blue); }
.chapters .bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.chapters .bar i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }

/* ---------- 2. proof ---------- */
.proof { background: var(--bg-1); padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.proof-grid > div { display: grid; align-content: start; gap: 6px; }
.proof-grid dd { order: -1; font-size: clamp(44px, 5.4vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.proof-grid dt { font-weight: 800; font-size: 17px; margin-top: 8px; }
.proof-grid p { color: var(--ink-2); font-size: 15px; max-width: 26ch; }

/* ---------- 3. how (scroll story) ---------- */
.how { background: var(--bg-2); padding: var(--sec) 0; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.story-steps { position: relative; padding-left: 32px; }
.rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); }
.rail i { position: absolute; inset: 0; border-radius: inherit; background: var(--blue); transform: scaleY(0); transform-origin: top; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .32; transition: opacity .45s var(--ease); }
.step:first-of-type { min-height: 64vh; justify-content: flex-start; padding-top: 10vh; }
.step:last-child { min-height: 64vh; }
.step.is-on { opacity: 1; }
.step > p:not(.tool) { color: var(--ink-2); max-width: 46ch; }
.tool { order: 3; justify-self: start; width: fit-content; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.t-koc { background: var(--blue-soft); color: var(--blue); }
.t-sm { background: var(--navy); color: #fff; }
.facts { order: 4; display: grid; gap: 10px; margin-top: 6px; }
.step-visual-m { order: 5; }
.facts li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.facts li span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--card); font-size: 18px; box-shadow: 0 0 0 1px var(--line); }
.step-visual-m { display: none; }

.story-stage { position: sticky; top: calc(var(--nav-h) + 4vh); height: calc(100vh - var(--nav-h) - 8vh); display: grid; align-items: center; }
.vis { grid-area: 1 / 1; display: grid; gap: 14px; justify-items: center; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.97); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s; }
.vis.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.vis-cap { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.shot { display: block; width: 100%; padding: 8px; border-radius: var(--r-lg); background: var(--card); cursor: zoom-in; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.shot img { width: 100%; height: auto; border-radius: var(--r-md); }
.im, .zl { width: min(480px, 100%); background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow-card); }
.im-head, .zl-head { display: flex; align-items: center; gap: 12px; }
.im-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.im-head b, .zl-head b { display: block; }
.im-head small, .zl-head small { color: var(--ink-2); font-size: 13px; }
.im-msg, .zl-in { background: var(--bg-2); border-radius: 18px 18px 18px 6px; padding: 14px 16px; font-size: 15px; max-width: 90%; }
.pcard { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; border-radius: var(--r-md); padding: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pgrid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); font-size: 22px; }
.pgrid span:nth-child(2n) { background: #FFF1DA; }
.pmeta { display: grid; gap: 4px; justify-items: start; }
.pmeta small { color: var(--ink-2); font-size: 13px; margin-bottom: 6px; }
.fake-btn { background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; }
.im-ok { font-size: 14px; font-weight: 700; color: var(--ok); }
.zl-av { width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; }
.zl-out { justify-self: end; background: var(--blue); color: #fff; border-radius: 18px 18px 6px 18px; padding: 14px 16px; font-size: 15px; }
.zl-out b { color: #FFE08A; }
.zl-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: #E6F8EF; color: #05663F; border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 14px; }
.zl-stat b { font-size: 26px; }

/* ---------- 4. try ---------- */
.try { background: var(--blue); color: #fff; padding: var(--sec) 0; }
.demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.demo { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.dec-out { margin-top: auto; }
.demo-head { display: flex; gap: 14px; align-items: flex-start; }
.demo-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); font-size: 24px; }
.demo-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; }
.demo-head p { color: var(--ink-2); font-size: 15px; }
.samples { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--bg-2); font-weight: 700; font-size: 14px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.chip:hover { color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.field-label { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14px; }
.field-label small { color: var(--ink-2); font-weight: 600; }
#bioInput { width: 100%; min-height: 112px; resize: vertical; border: 0; border-radius: var(--r-md); background: var(--bg-2); padding: 16px; font-size: 17px; line-height: 1.5; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); margin-top: -8px; }
#bioInput:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.dec-out { border-radius: var(--r-md); background: var(--blue-soft); padding: 18px 20px; display: grid; gap: 2px; }
.dec-label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.dec-phone { font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; color: var(--blue); }
.dec-phone .dg { display: inline-block; }
.dec-phone.is-miss { font-size: 18px; letter-spacing: 0; color: var(--ink); line-height: 1.45; }
.dec-noise { font-size: 14px; color: var(--ink-2); min-height: 1.4em; }
.dec-noise mark { background: #FFF1D6; color: #8A5300; padding: 1px 6px; border-radius: 6px; }
.ctrl { display: grid; gap: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); width: fit-content; max-width: 100%; }
.seg button { min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: background-color .25s, color .25s; }
.seg button[aria-checked="true"] { background: var(--blue); color: #fff; }
.switch { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; cursor: pointer; min-height: 44px; width: fit-content; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 48px; height: 28px; border-radius: 999px; background: var(--line); position: relative; transition: background-color .25s; flex: none; }
.switch .track i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.switch input:checked + .track { background: var(--blue); }
.switch input:checked + .track i { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--spark); outline-offset: 3px; }
.chat { border-radius: var(--r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-2); }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { color: var(--ink-2); font-size: 13px; }
.chat-body { padding: 16px; min-height: 150px; display: grid; align-content: start; }
.bubble { justify-self: end; max-width: 92%; background: var(--blue); color: #fff; border-radius: 20px 20px 6px 20px; padding: 14px 16px; font-size: 15px; line-height: 1.5; white-space: pre-line; }
.bubble.typing { color: transparent; position: relative; min-width: 72px; min-height: 46px; }
.bubble.typing::after { content: "• • •"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; letter-spacing: 2px; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.chat-foot { display: flex; align-items: center; gap: 8px; padding: 10px 16px 14px; font-size: 13px; color: var(--ink-2); }
.chat-foot b { color: var(--blue); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(8, 135, 90, .5); } 100% { box-shadow: 0 0 0 9px rgba(8, 135, 90, 0); } }

/* range */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; --p: 0%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(to right, #fff var(--p), rgba(255,255,255,.18) var(--p)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(255,255,255,.18); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: #fff; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--spark); border: 4px solid #fff; transition: transform .2s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--spark); border: 4px solid #fff; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* ---------- 5. roi ---------- */
.roi { background: var(--navy); color: #fff; padding: var(--sec) 0; }
.roi-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.roi-left { display: grid; gap: 36px; }
.roi-ctrl { display: grid; gap: 6px; max-width: 480px; }
.roi-ctrl label { display: flex; justify-content: space-between; font-weight: 700; color: #C9D6F7; }
.roi-ctrl label b { color: #fff; }
.bars { display: grid; gap: 14px; max-width: 520px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 14px; align-items: center; font-weight: 700; font-size: 15px; }
.bar-row span { color: #C9D6F7; }
.bar-track { height: 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: inherit; background: #FF8A7A; transform-origin: left; transition: transform .6s var(--ease); }
.bar-row.is-eko .bar-track i { background: #6E9CFF; }
.roi-right { display: grid; gap: 12px; }
.roi-kicker { font-weight: 700; color: #C9D6F7; font-size: 18px; margin-top: -4px; }
.roi-fig { font-size: clamp(52px, 6.6vw, 104px); font-weight: 800; letter-spacing: -0.05em; line-height: .95; color: var(--spark); }
.roi-fig small { font-size: .3em; margin-left: .1em; letter-spacing: 0; }
.roi-how { color: #C9D6F7; max-width: 44ch; font-size: 15px; }

/* ---------- 6. pricing ---------- */
.pricing { background: var(--bg-1); padding: var(--sec) 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-lg); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font-size: 22px; font-weight: 800; }
.plan-for { color: var(--ink-2); font-size: 15px; }
.price { font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin-top: 10px; }
.price span { font-size: 18px; margin-left: 4px; letter-spacing: 0; }
.was { font-size: 14px; color: var(--ink-2); }
.was em { font-style: normal; font-weight: 700; color: var(--ok); background: #E3F8EE; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.incl { display: grid; gap: 10px; margin: 14px 0 24px; padding-top: 18px; box-shadow: 0 -1px 0 var(--line); }
.incl li { display: flex; gap: 10px; font-size: 15px; }
.incl li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--blue-soft); color: var(--blue); }
.plan .btn { margin-top: auto; }
.plan-best { background: var(--blue); color: #fff; box-shadow: var(--shadow-float); }
.plan-best .plan-for, .plan-best .was, .plan-best .incl li { color: #E3ECFF; }
.plan-best .incl { box-shadow: 0 -1px 0 rgba(255, 255, 255, .22); }
.plan-best .incl li::before { background: rgba(255, 255, 255, .18); color: #fff; }
.plan-best .was em { background: rgba(255, 255, 255, .18); color: #fff; }
.best-tag { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 13px; font-weight: 700; background: var(--spark); color: #3A2300; padding: 5px 12px; border-radius: 999px; }

.cmp-block { margin-top: clamp(56px, 7vw, 96px); }
.cmp-title { font-size: var(--h3); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; }
.cmp-wrap { border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 16px; }
.cmp th, .cmp td { text-align: left; padding: 18px 20px; vertical-align: top; }
.cmp tbody tr + tr th, .cmp tbody tr + tr td { box-shadow: 0 -1px 0 var(--line); }
.cmp thead th { font-size: 14px; font-weight: 700; color: var(--ink-2); background: var(--bg-2); }
.cmp tbody th { font-weight: 800; white-space: nowrap; }
.cmp td { font-weight: 600; white-space: nowrap; }
.cmp td small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; font-weight: 500; }
.cmp .is-strike { color: var(--ink-2); text-decoration: line-through; }
.cmp .is-combo { background: var(--blue-soft); color: var(--blue); }
.cmp thead .is-combo { background: var(--blue); color: #fff; }
.cmp td.is-combo b { font-weight: 800; font-size: 18px; }
.cmp .is-save { color: var(--ok); font-weight: 700; }
.cmp-note { margin-top: 18px; color: var(--ink-2); }
.cmp-note a { color: var(--blue); font-weight: 700; }

/* ---------- 7. faq ---------- */
.faq { background: var(--bg-2); padding: var(--sec) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 16px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--card); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq-list details[open] { box-shadow: inset 0 0 0 2px var(--blue); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 2.5px; margin-top: -1.25px; border-radius: 2px; background: var(--blue); transition: transform .35s var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list summary:hover { color: var(--blue); }
.ans p { padding: 0 22px 22px; color: var(--ink-2); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-list details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq-list details[open]::details-content { height: auto; }
}

/* ---------- 8. closing + footer ---------- */
.close { background: var(--navy); color: #fff; padding: var(--sec) 0 32px; }
.close-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-bottom: clamp(64px, 8vw, 112px); }
.close-copy { display: grid; gap: 20px; justify-items: start; }
.close-copy .lead { color: #C9D6F7; }
.callback { background: var(--navy-2); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; }
.callback label { font-weight: 700; }
.cb-row { display: flex; gap: 8px; flex-wrap: wrap; }
#ctaPhone { flex: 1 1 200px; min-height: 52px; border: 0; border-radius: 999px; padding: 0 20px; background: #fff; color: var(--ink); font-size: 17px; font-weight: 600; }
#ctaPhone:focus-visible { outline: 3px solid var(--spark); outline-offset: 2px; }
#ctaPhone[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #FF8A7A; }
.callback .btn { min-height: 52px; }
.cb-help { font-size: 14px; color: #B5C4EC; }
.cb-help.is-err { color: #FFB4A8; font-weight: 700; }
.foot { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: clamp(24px, 3vw, 48px); padding-top: clamp(40px, 5vw, 64px); box-shadow: 0 -1px 0 rgba(255, 255, 255, .12); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.brand-lg { font-size: 24px; color: #fff; }
.brand-lg img { width: 48px; height: 48px; border-radius: 12px; }
.foot-brand p { color: #B5C4EC; max-width: 30ch; font-size: 15px; }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.foot-col h3 { font-size: 14px; font-weight: 700; color: #8FA6DE; margin-bottom: 4px; }
.foot-col a { text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--spark); }
.foot-col p { color: #B5C4EC; }
.foot-last { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); font-size: 13px; color: #8FA6DE; }

.fab { display: none; }

/* ---------- zalo hand-off popup ---------- */
.zl-pop { margin: auto; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); background: var(--card); color: var(--ink); box-shadow: var(--shadow-float); overflow: auto; }
.zl-pop::backdrop { background: rgba(4, 12, 40, .72); backdrop-filter: blur(4px); }
.zl-pop[open] { display: grid; gap: 14px; animation: popIn .4s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.zp-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); font-weight: 800; color: var(--ink-2); }
.zp-x:hover { color: var(--ink); }
.zp-head { display: flex; gap: 14px; align-items: center; padding-right: 44px; }
.zp-head img { border-radius: 12px; flex: none; }
.zp-head h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; }
.zp-head p { font-size: 15px; color: var(--ink-2); }
.zp-label { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; margin-top: 4px; }
.zp-label small { color: var(--ink-2); font-weight: 600; }
#zpMsg { width: 100%; resize: vertical; min-height: 132px; border: 0; border-radius: var(--r-md); background: var(--bg-2); padding: 14px 16px; font-size: 16px; line-height: 1.5; font-weight: 600; }
#zpMsg:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.zp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.zp-actions .btn { flex: 1 1 200px; }
.zp-status { min-height: 1.4em; font-size: 14px; font-weight: 700; color: var(--ok); }
.zp-status.is-err { color: #C2410C; }
.zp-qr { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--bg-2); }
#zpQr { flex: none; width: 112px; height: 112px; padding: 6px; border-radius: 10px; background: #fff; }
#zpQr img, #zpQr canvas { width: 100% !important; height: 100% !important; }
.zp-qr p { font-size: 14px; color: var(--ink-2); }
.zp-qr b { color: var(--ink); }
@media (pointer: coarse) and (max-width: 900px) { .zp-qr { display: none; } }

/* ---------- zoom dialog ---------- */
.zoom { margin: auto; border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.zoom::backdrop { background: rgba(4, 12, 40, .82); backdrop-filter: blur(4px); }
.zoom img { max-width: 94vw; max-height: 88vh; border-radius: var(--r-md); }
.zoom-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; font-weight: 800; }
.zoom[open] { animation: zoomIn .35s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); row-gap: 72px; }
  .story { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .story-steps { padding-left: 0; }
  .rail { display: none; }
  .step, .step:first-of-type, .step:last-child { min-height: 0; opacity: 1; padding: 0; justify-content: flex-start; }
  .step + .step { margin-top: clamp(64px, 10vw, 96px); }
  .step-visual-m { display: block; margin-top: 12px; }
  .step-visual-m .vis { opacity: 1; visibility: visible; transform: none; justify-items: start; }
  .demos { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr; row-gap: 88px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .close-cta { grid-template-columns: 1fr; }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

/* price table turns into one card per term */
@media (max-width: 900px) {
  .cmp-wrap { box-shadow: none; overflow: visible; border-radius: 0; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { background: var(--bg-2); border-radius: var(--r-md); padding: 6px 0; margin-bottom: 12px; box-shadow: inset 0 0 0 1px var(--line); }
  .cmp tbody tr + tr th, .cmp tbody tr + tr td { box-shadow: none; }
  .cmp tbody th { padding: 14px 16px 6px; font-size: 18px; }
  .cmp td { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 4px 12px; padding: 10px 16px; white-space: normal; text-align: right; }
  .cmp td::before { content: attr(data-l); margin-right: auto; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
  .cmp td small { flex-basis: 100%; margin: 0; }
  .cmp td.is-combo { background: var(--blue); color: #fff; border-radius: 12px; width: auto; margin: 4px 8px; }
  .cmp td.is-combo::before, .cmp td.is-combo small { color: #DCE7FF; }
}

/* ---------- phone ---------- */
@media (max-width: 680px) {
  :root { --nav-h: 62px; }
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .brand { font-size: 18px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-bg { bottom: 18%; }
  .hero-copy { text-align: left; justify-items: start; gap: 18px; }
  .hero-cta { justify-content: flex-start; width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .chips { justify-content: flex-start; }
  .chips li { font-size: 13px; }
  .film { padding: 6px; border-radius: 20px; }
  .film-bar { display: none; }
  .film-screen { border-radius: 14px; }
  .film-toggle { left: 8px; bottom: 8px; min-height: 36px; font-size: 13px; }
  .chapters { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .chapters button { font-size: 13px; padding: 6px 2px; line-height: 1.25; }
  .proof-grid { gap: 88px 20px; }
  .proof-grid dt { font-size: 15px; }
  .proof-grid p { font-size: 14px; }
  .pcard { grid-template-columns: 96px 1fr; }
  .pgrid span { font-size: 16px; border-radius: 8px; }
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .roi-fig { font-size: 15vw; }
  .faq-list summary { font-size: 16px; padding: 18px 52px 18px 18px; }
  .ans p { padding: 0 18px 18px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-col:last-child { grid-column: 1 / -1; }
  .fab {
    display: inline-flex; align-items: center; gap: 6px; position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60;
    background: var(--blue); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; padding: 12px 18px; border-radius: 999px;
    transition: transform .35s var(--ease), opacity .35s;
  }
  .fab.is-away { transform: translateY(140%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .film { transform: none !important; }
}
