:root {
  --bg: #ffffff;
  --bg-soft: #fafafb;
  --ink: #1b1c1f;
  --ink-2: #6b7280;
  --ink-3: #9ca3af;
  --line: #e7e8ec;
  --line-2: #eef0f3;
  --blue: #2f6bf0;
  --blue-soft: #eaf1fe;
  --blue-band: #dfe7fd;
  --dark: #111113;
  --dark-2: #19191c;
  --dark-line: #2a2a2f;
  --dark-ink: #f4f4f5;
  --dark-ink-2: #9a9aa3;
  --radius: 12px;
  --frame: 1392px;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.5; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 12px; border-radius: 8px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; white-space: nowrap; transition: background-color .15s, border-color .15s;
}
.btn-lg { height: 36px; padding: 0 13px; font-size: 16px; }
.btn-outline { border-color: var(--line); background: var(--bg); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.btn-outline:hover { background: var(--bg-soft); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.08); }
.btn-dark:hover { background: #2c2d31; }
.btn-light { background: #3a3a40; color: #fff; border-color: #4a4a52; }
.btn-light:hover { background: #46464d; }
.btn-ghost-dark { border-color: var(--dark-line); color: var(--dark-ink); background: var(--dark); }
.btn-ghost-dark:hover { background: var(--dark-2); }

/* ---------- top bar + nav ---------- */
.topbar { background: #000; color: #fff; text-align: center; font-size: 14px; font-weight: 500; padding: 13px 16px; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav-inner { height: 67px; display: flex; align-items: center; gap: 40px; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.03em; }
.logo-mark { display: grid; grid-template-columns: repeat(2, 8px); gap: 2px; }
.logo-mark i { width: 8px; height: 8px; border-radius: 2px; background: var(--ink); }
.logo-mark i:nth-child(2) { background: var(--blue); }
.logo-mark i:nth-child(3) { opacity: .35; }
.logo-light .logo-mark i { background: #fff; }
.logo-light .logo-mark i:nth-child(2) { background: var(--blue); }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: #3f4046; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
@media (max-width: 1240px) { .nav-inner { gap: 28px; } .nav-links { gap: 20px; font-size: 14.5px; } }
@media (max-width: 1100px) { .nav-links a[href="#projects"] { display: none; } }
@media (max-width: 960px) { .nav-links { display: none; } .nav-inner { padding-inline: 16px; } }

/* ---------- frame: two vertical hairlines running down the page ---------- */
.frame {
  max-width: var(--frame); margin-inline: auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); position: relative;
}
@media (max-width: 1440px) { .frame { margin-inline: 24px; } }
@media (max-width: 640px) { .frame { margin-inline: 0; border-left: 0; border-right: 0; } }

/* ---------- hero ---------- */
/* Hero tràn full viewport (như Attio): bỏ clip của frame, chặn cuộn ngang ở html */
html, body { overflow-x: clip; }
.hero { border-top: 0; padding: 96px 24px 0; text-align: center; overflow: visible; }
.hero.frame { border-left: 0; border-right: 0; }
.pill {
  display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 500;
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg);
  box-shadow: 0 1px 2px rgba(0,0,0,.04); position: relative;
}
/* Vệt sáng xanh chạy vòng quanh viền pill: conic-gradient xoay, mask chỉ giữ lại dải viền 1px */
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pill::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--beam), transparent 0deg 250deg, rgba(47,107,240,.25) 290deg, #2f6bf0 335deg, #9dbbff 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 3.2s linear infinite;
}
@keyframes beam { to { --beam: 360deg; } }
@media (prefers-reduced-motion: reduce) { .pill::before { animation: none; --beam: 90deg; } }
.hero h1 { max-width: 900px; margin-inline: auto; margin-top: 28px; font-size: clamp(40px, 6.2vw, 72px); line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; }
.hero-sub { margin: 26px auto 0; max-width: 520px; font-size: 18px; line-height: 1.35; font-weight: 500; color: var(--ink-2); letter-spacing: -0.012em; }
.hero-ctas { margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
/* ---------- hero stage: app window + satellites (scroll-linked scale) ---------- */
.stage { position: relative; z-index: 2; width: 100vw; margin: 84px calc(50% - 50vw) 0; --p: 0; }
.stage .app {
  width: min(1400px, calc(100vw - 96px)); margin-inline: auto;
  position: relative; z-index: 2; transform-origin: 50% 0;
  transform: translateY(calc(var(--p) * 40px)) scale(var(--s, 1));
  will-change: transform;
}
.sat {
  position: absolute; z-index: 3; width: 232px; background: #fff; border: 1px solid #e4e5ea; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 16px 40px -12px rgba(30,40,80,.25); text-align: left; overflow: hidden;
  opacity: var(--q, 0); transform: translate(var(--tx, 0), var(--ty, 0)); will-change: transform, opacity;
  pointer-events: none;
}
.sat-bar { height: 26px; display: flex; align-items: center; gap: 5px; padding-left: 10px; background: #f6f6f8; }
.sat-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.sat-bar i:nth-child(2) { background: #febc2e; } .sat-bar i:nth-child(3) { background: #28c840; }
.sat-bar span { margin-left: 8px; font-size: 10.5px; color: var(--ink-3); font-weight: 500; }
.sat-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 9px; }
.sat-title { font-size: 11px; font-weight: 600; color: var(--ink); }
/* Vệ tinh bám theo mép viewport, không theo cửa sổ chính */
.sat-team { left: clamp(16px, 6.5vw, 170px); top: 30px; }
.sat-board .sat-bar { background: #18191d; }
.sat-call { right: clamp(16px, 6.5vw, 170px); top: 60px; width: 214px; }
.sat-board { left: clamp(24px, 8.4vw, 210px); top: 420px; width: 256px; background: #101114; border-color: #26272c; }
.board-legend { display: flex; gap: 10px; padding: 10px 12px 2px; font-size: 10px; color: #b4b4bc; }
.board-legend span { display: inline-flex; align-items: center; gap: 4px; }
.board-legend b { color: #f4f4f5; font-weight: 600; font-variant-numeric: tabular-nums; }
.board-legend i { width: 8px; height: 8px; border-radius: 2px; }
.lg-a { background: #1d4436; border: 1px solid #2f7a5d; } .lg-h { background: #8e6a1f; border: 1px solid #e0a93a; } .lg-s { background: #8e3428; border: 1px solid #e0705f; }
.board { display: grid; grid-template-columns: 16px repeat(8, 1fr); gap: 3px; padding: 8px 12px 6px; align-items: center; }
.bl-col, .bl-floor { font-family: var(--mono); font-size: 8px; color: #6d6d76; text-align: center; line-height: 1; }
.bl-floor { text-align: left; }
.board i { height: 12px; border-radius: 2px; background: #1d4436; border: 1px solid #2f7a5d; transition: background-color .5s, border-color .5s, transform .25s, box-shadow .25s; }
.board i.h { background: #8e6a1f; border-color: #e0a93a; } .board i.s { background: #8e3428; border-color: #e0705f; }
.board i.flash { transform: scale(1.35); box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.board-log { font-family: var(--mono); font-size: 9.5px; color: #c9c9d1; padding: 2px 12px 11px; min-height: 2.6em; line-height: 1.35; }
.tmsg { display: flex; gap: 8px; font-size: 10.5px; line-height: 1.35; color: #3a3b40; }
.tmsg b { font-size: 10.5px; color: var(--ink); } .tmsg em { font-style: normal; color: var(--ink-3); font-size: 9.5px; }
.tmsg p { margin-top: 1px; }
.mention { color: var(--blue); background: var(--blue-soft); border-radius: 3px; padding: 0 2px; }
.av { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: #fff; }
.av-a { background: #8b5cf6; } .av-bot { background: #111; } .av-c { background: #f59e0b; border-radius: 50%; width: 30px; height: 30px; font-size: 13px; }
.call-head { display: flex; gap: 10px; align-items: center; }
.call-head b { font-size: 11px; font-family: var(--mono); color: var(--ink-2); display: block; }
.wave { display: flex; gap: 2px; align-items: center; height: 16px; margin-top: 2px; }
.wave i { width: 3px; border-radius: 2px; background: #f59e0b; height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.9s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.call-tabs { display: flex; gap: 10px; font-size: 10px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.call-tabs span { padding-bottom: 5px; } .call-tabs .on { color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.line { display: flex; gap: 7px; font-size: 10.5px; line-height: 1.35; color: #3a3b40; }
.line b { font-size: 10.5px; color: var(--ink); }
.dot-r, .dot-b { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 3px; background: #ef4444; } .dot-b { background: var(--blue); }

/* ---------- app mock ---------- */
.app .window-bar { height: 30px; }
.app-body { display: grid; grid-template-columns: 208px 1fr; height: clamp(560px, 44vw, 700px); border-radius: 8px; overflow: hidden; border: 1px solid #e6e7eb; background: #fff; text-align: left; }
.app-side { background: #1e293b; color: #cbd5e1; padding: 14px 10px; font-size: 13px; }
.app-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; padding: 2px 6px 14px; }
.app-logo-ic { width: 24px; height: 24px; border-radius: 7px; background: #3b82f6; box-shadow: inset 0 0 0 5px #3b82f6, inset 0 0 0 7px #fff; }
.app-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.app-side li { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 7px; }
.app-side li.on { background: #3b82f6; color: #fff; }
.app-side-h { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; margin: 18px 8px 6px; }
.app-side-sm li { font-size: 12.5px; padding: 5px 8px; }
.ic { width: 14px; height: 14px; border: 1.6px solid currentColor; border-radius: 4px; opacity: .85; flex: none; }
.ic-user { border-radius: 50%; } .ic-tgt { border-radius: 50%; box-shadow: inset 0 0 0 2.5px #1e293b, inset 0 0 0 5px currentColor; }
.ic-spark { transform: rotate(45deg) scale(.8); }
.sq { width: 9px; height: 9px; border-radius: 3px; background: #22c55e; flex: none; } .sq-b { background: #f59e0b; }
.app-main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.app-top { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line-2); font-size: 13px; font-weight: 500; }
.app-top-r { color: var(--ink-2); font-weight: 400; }
.scr { flex: 1; overflow: hidden; padding: 34px 40px 0; }
.scr-home { display: flex; flex-direction: column; align-items: center; }
.greet { font-family: var(--body); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; width: 100%; max-width: 520px; }
.ask { width: 100%; max-width: 520px; margin-top: 14px; border: 1px solid #e3e4e8; border-radius: 12px; padding: 12px 12px 10px; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: border-color .2s, box-shadow .2s; }
.ask.focus { border-color: #b8ccfa; box-shadow: 0 0 0 3px rgba(47,107,240,.12); }
.ask-text { font-size: 14px; min-height: 42px; color: var(--ink); position: relative; }
.ph { color: var(--ink-3); }
.caret { display: none; width: 1.5px; height: 16px; background: var(--ink); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.ask.focus .caret { display: inline-block; }
@keyframes blink { 50% { opacity: 0; } }
.ask-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); }
.send { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #bcd0fb; color: #fff; font-size: 13px; transition: background-color .2s; }
.send.ready { background: var(--blue); }
.chips { display: flex; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.chips span { border: 1px solid var(--line); border-radius: 7px; padding: 3px 9px; }
.agenda { width: 100%; max-width: 520px; margin-top: 28px; font-size: 12.5px; }
.agenda-h { display: flex; justify-content: space-between; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.agenda-h b { color: var(--ink); font-weight: 500; }
.ag { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.ag i { width: 7px; height: 7px; border-radius: 50%; } .c1 { background: #f59e0b; } .c2 { background: #22c55e; } .c3 { background: #8b5cf6; }
.ag em { font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ag.done span { text-decoration: line-through; color: var(--ink-3); }
.scr-chat { display: flex; flex-direction: column; gap: 14px; }
.bubble-me { align-self: flex-end; background: #f1f2f5; border-radius: 10px; padding: 7px 12px; font-size: 13.5px; max-width: 70%; }
.thinking { font-size: 13px; color: var(--ink-3); background: linear-gradient(90deg, #9ca3af 0%, #1b1c1f 50%, #9ca3af 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.answer { max-width: 560px; font-size: 13.5px; line-height: 1.55; display: flex; flex-direction: column; gap: 8px; }
.answer ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; }
.a-h, .a-sub { font-weight: 600; }
.doc { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; max-width: 360px; transition: opacity .4s, transform .4s; }
.doc b { font-size: 12.5px; font-weight: 500; display: block; } .doc em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.doc-ic { width: 28px; height: 34px; border-radius: 4px; background: #fee2e2; color: #dc2626; font-size: 9px; font-weight: 700; display: grid; place-items: center; border-left: 3px solid #dc2626; }
[data-fade].off { opacity: 0; transform: translateY(4px); }
[data-type]:empty, .answer .off-line { display: none; }
@media (max-width: 1100px) { .sat { display: none; } .stage .app { transform: none; width: calc(100vw - 32px); } }
@media (max-width: 760px) {
  .app-body { grid-template-columns: 1fr; height: 460px; }
  .app-side { display: none; }
  .scr { padding: 22px 18px 0; }
}
.hero-band {
  position: relative; z-index: 1; height: 240px; margin: -170px calc(50% - 50vw) 0; width: 100vw;
  background:
    repeating-linear-gradient(90deg, rgba(47,107,240,.09) 0 1px, transparent 1px 7px),
    radial-gradient(60% 90% at 50% 100%, #c9d7fb 0%, var(--blue-band) 45%, rgba(223,231,253,0) 100%);
}
.hero::before {
  content: ""; position: absolute; bottom: 0; left: calc(50% - 50vw); width: 100vw; height: 58%;
  background: linear-gradient(180deg, rgba(234,241,254,0) 0%, #eef3fe 100%); pointer-events: none;
}

/* ---------- mac window ---------- */
.window {
  background: #f2f2f4; border: 1px solid #e3e4e8; border-radius: 14px; padding: 0 8px 8px;
  box-shadow: 0 1px 1px rgba(0,0,0,.04), 0 12px 32px -8px rgba(30,40,80,.18), 0 40px 80px -30px rgba(30,40,80,.25);
  text-align: left;
}
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding-left: 6px; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* ---------- module grid ---------- */
.modules { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.mod {
  height: 96px; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: #2b2c30;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-inline: 12px; text-align: center;
  background: var(--bg-soft);
}
.mod:nth-child(5n) { border-right: 0; }
.mod:nth-last-child(-n+5) { border-bottom: 0; }
.mod svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
  .mod { height: 72px; font-size: 15px; }
  .mod:nth-child(5n) { border-right: 1px solid var(--line); }
  .mod:nth-child(2n) { border-right: 0; }
  .mod:nth-last-child(-n+5) { border-bottom: 1px solid var(--line); }
  .mod:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- two-tone headings ---------- */
.two-tone { color: var(--ink); }
.two-tone span { color: var(--ink-2); }
.statement { padding: 160px 58px 120px; background: var(--bg-soft); text-align: center; }
.statement .tag { margin-bottom: 24px; }
/* Tag có chấm "đang hoạt động" nhấp nháy */
.tag.tag-live { display: inline-flex; align-items: center; gap: 7px; }
.tag-live i { display: block; flex: none; position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.tag-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tag-live i::after { animation: none; } }
.statement h2 { max-width: 820px; margin-inline: auto; font-size: clamp(21px, 2.55vw, 33px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; }
@media (max-width: 640px) { .statement { padding: 96px 20px 72px; } }

/* ---------- sticky flows ---------- */
.flows { display: grid; grid-template-columns: 348px 1fr; }
.flow-nav {
  position: sticky; top: 67px; align-self: start; height: calc(100vh - 67px);
  display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-left: 58px;
  border-right: 1px solid var(--line);
}
.flow-nav a {
  font-size: 18px; font-weight: 500; color: #c4c7ce; position: relative; transition: color .2s; letter-spacing: -0.015em;
}
.flow-nav a:hover { color: var(--ink-2); }
.flow-nav a.active { color: var(--ink); }
.flow-nav a.active::before { content: ""; position: absolute; left: -59px; top: -6px; bottom: -6px; width: 2px; background: var(--blue); }
.flow { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.flow:last-child { border-bottom: 0; }
.flow-text { padding: 85px 58px 53px; max-width: 500px; font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; box-sizing: content-box; }
@media (max-width: 900px) {
  .flows { grid-template-columns: 1fr; }
  .flow-nav { display: none; }
  .flow-text { padding: 48px 20px 27px; font-size: 16px; }
}

/* ---------- centered sections ---------- */
.centered { padding: 112px 24px 0; text-align: center; overflow: hidden; }
.tag {
  display: inline-block; font-size: 14px; font-weight: 500; color: var(--blue);
  background: var(--blue-soft); padding: 2px 7px; border-radius: 6px;
}
.tag-dark { color: #9dbbff; background: #1c2336; }
.centered h2.big { margin: 20px auto 0; max-width: 720px; font-size: clamp(23px, 2.7vw, 35px); line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; }
.striped {
  height: 110px; margin: 48px -24px 0;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 6px);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000);
  border-bottom: 1px solid var(--line);
}
.card-shot {
  position: relative; max-width: 1150px; margin: -1px auto 0; border: 1px solid var(--line); border-bottom: 0;
  border-radius: 14px 14px 0 0; padding: 10px 10px 0; background: var(--bg);
  box-shadow: 0 20px 60px -24px rgba(30,40,80,.2);
}

/* ---------- dark AI ---------- */
.dark { background: var(--dark); color: var(--dark-ink); }
.dark-inner {
  max-width: var(--frame); margin-inline: auto; border-left: 1px solid var(--dark-line); border-right: 1px solid var(--dark-line);
  padding: 140px 24px 120px; text-align: center; position: relative;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 7px);
}
@media (max-width: 1440px) { .dark-inner { margin-inline: 24px; } }
@media (max-width: 640px) { .dark-inner { margin-inline: 0; border: 0; padding: 96px 20px; } }
.dark h2 { margin: 20px auto 0; max-width: 580px; font-size: clamp(23px, 2.7vw, 33px); line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; }
.dark-sub { margin: 18px auto 0; max-width: 520px; color: var(--dark-ink-2); font-size: 17px; line-height: 1.4; }
.ai-grid { margin: 64px auto 0; max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
@media (max-width: 800px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.ai-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--dark-ink-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.15); }
.chat { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.msg { padding: 10px 13px; border-radius: 12px; max-width: 92%; }
.msg.me { align-self: flex-end; background: #2b3a5c; color: #eef2ff; border-bottom-right-radius: 4px; }
.msg.bot { background: #222226; border: 1px solid var(--dark-line); border-bottom-left-radius: 4px; }
.src { display: block; margin-top: 6px; font-size: 12px; color: var(--dark-ink-2); font-family: var(--mono); }
.score { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 8px 12px; align-items: baseline; font-size: 13px; color: var(--dark-ink-2); border-top: 1px solid var(--dark-line); padding-top: 12px; margin-top: 4px; }
.score b { font-family: var(--display); font-size: 20px; color: var(--dark-ink); font-weight: 600; }

/* ---------- scale / security ---------- */
.scale { display: grid; grid-template-columns: 480px 1fr; min-height: 720px; overflow: hidden; }
.scale-copy { padding: 140px 0 100px 58px; }
.scale h2 { margin-top: 20px; font-size: clamp(23px, 2.55vw, 32px); line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; }
.stats { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.stats div { border-left: 2px solid var(--blue); padding-left: 16px; display: flex; flex-direction: column; }
.stats b { font-family: var(--display); font-size: 32px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.stats span { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.scale-note { margin-top: 40px; color: var(--ink-2); font-size: 15px; max-width: 400px; }
.scale-shot { padding: 140px 0 0 56px; position: relative; }
.scale-shot::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(47,107,240,.07) 0 1px, transparent 1px 8px);
  mask-image: linear-gradient(200deg, #000 10%, transparent 70%);
}
@media (max-width: 1000px) {
  .scale { grid-template-columns: 1fr; }
  .scale-copy { padding: 96px 20px 48px; }
  .scale-shot { padding: 0 0 0 20px; }
}

/* ---------- phones ---------- */
.phones { margin-top: 72px; display: flex; justify-content: center; align-items: flex-end; gap: 28px; padding-bottom: 0; }
.phone {
  width: 250px; border-radius: 36px 36px 0 0; border: 1px solid #d9dbe1; border-bottom: 0;
  padding: 10px 10px 0; background: #f4f5f7; box-shadow: 0 20px 50px -20px rgba(30,40,80,.25);
  height: 440px; overflow: hidden;
}
.phone-up { height: 500px; }
@media (max-width: 760px) { .phones { gap: 12px; } .phone { width: 42%; height: 360px; } .phone:first-child { display: none; } .phone-up { height: 400px; } }

/* ---------- CTA + footer ---------- */
.cta { background: var(--dark); color: var(--dark-ink); }
.cta-inner {
  max-width: var(--frame); margin-inline: auto; border-left: 1px solid var(--dark-line); border-right: 1px solid var(--dark-line);
  padding: 130px 24px; text-align: center; border-bottom: 1px solid var(--dark-line);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 7px);
}
@media (max-width: 1440px) { .cta-inner { margin-inline: 24px; } }
@media (max-width: 640px) { .cta-inner { margin-inline: 0; border-left: 0; border-right: 0; padding: 96px 20px; } }
.cta h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1.14; font-weight: 600; letter-spacing: -0.035em; }
.cta p { margin-top: 18px; color: var(--dark-ink-2); font-size: 17px; }
.footer { background: var(--dark); color: var(--dark-ink); padding: 72px 24px 40px; }
.footer-inner { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.fcol { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.fcol h3 { font-family: var(--body); font-size: 15px; font-weight: 500; color: #6d6d76; margin-bottom: 4px; }
.fcol a { color: #d6d6db; }
.fcol a:hover { color: #fff; }
.footer-note { max-width: 1240px; margin: 56px auto 0; font-size: 13px; color: #6d6d76; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- satellite details: activity log + coach feedback ---------- */
.call-head .need { display: block; font-size: 10px; color: var(--ink-2); margin-top: 2px; }
.line em { font-style: normal; font-size: 9.5px; color: var(--ink-3); margin-left: 4px; }
.fu { display: inline-block; margin-top: 4px; font-size: 9.5px; color: var(--blue); background: var(--blue-soft); border-radius: 4px; padding: 1px 6px; }
.score { grid-template-columns: 1fr auto; }
.coach-fb { font-size: 13px; line-height: 1.5; color: var(--dark-ink-2); }
.coach-fb b { color: var(--dark-ink); font-weight: 500; }

/* Che thông tin khách hàng trong mockup */
.pii { filter: blur(3.5px); display: inline-block; user-select: none; }

/* ---------- AI bento ---------- */
.bento {
  margin: 64px auto 0; max-width: 1120px; text-align: left;
  display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr);
  grid-template-areas: "qa qa qa qa kb kb" "coach coach coach gen gen gen" "coach coach coach match match match";
}
.b-qa { grid-area: qa; } .b-kb { grid-area: kb; } .b-coach { grid-area: coach; } .b-gen { grid-area: gen; } .b-match { grid-area: match; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; grid-template-areas: "qa" "kb" "coach" "gen" "match"; } }
.bento .ai-card { position: relative; overflow: hidden; }
.bento .ai-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background: radial-gradient(420px 180px at 0% 0%, rgba(47,107,240,.16), transparent 70%);
}
.bento .ai-card:hover { border-color: #3a3f55; }
.bento h3 { font-family: var(--display); font-size: 19px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; color: var(--dark-ink); }
.chip-live { margin-left: auto; font-size: 11px; color: #4ade80; border: 1px solid rgba(74,222,128,.3); border-radius: 999px; padding: 1px 8px; }
.b-note { font-size: 13px; color: var(--dark-ink-2); line-height: 1.45; margin-top: auto; }
.files { display: flex; flex-direction: column; gap: 8px; }
.file { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: #202024; border: 1px solid var(--dark-line); border-radius: 10px; padding: 9px 11px; }
.file b { display: block; font-size: 13px; font-weight: 500; color: var(--dark-ink); }
.file em { font-style: normal; font-size: 11.5px; color: var(--dark-ink-2); }
.fx { width: 30px; height: 36px; border-radius: 5px; display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.fx-pdf { background: #3b1a1a; color: #f87171; } .fx-xls { background: #15311f; color: #4ade80; } .fx-doc { background: #172544; color: #7aa6ff; }
.ok { font-style: normal; color: #4ade80; font-size: 13px; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #3a3a42; border-top-color: #7aa6ff; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.coach-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.coach-tags span { font-size: 11.5px; color: #c9d6ff; background: #1c2336; border-radius: 6px; padding: 3px 8px; }
.gen-in { font-size: 13px; color: var(--dark-ink); background: #202024; border: 1px dashed #3a3a42; border-radius: 10px; padding: 10px 12px; }
.gen-in::before { content: "✦ "; color: #9dbbff; }
.gen-out { display: flex; flex-direction: column; gap: 6px; border-left: 2px solid #2f6bf0; padding-left: 12px; }
.gen-out p { font-size: 13px; color: var(--dark-ink-2); }
.gen-out b { color: var(--dark-ink); font-weight: 500; margin-right: 6px; }
.match { display: flex; flex-direction: column; gap: 10px; }
.mrow { display: grid; grid-template-columns: 86px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; }
.mcode { font-family: var(--mono); font-size: 12px; color: var(--dark-ink); }
.mbar { height: 6px; border-radius: 3px; background: #26262b; overflow: hidden; }
.mbar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #2f6bf0, #7aa6ff); }
.mrow b { font-family: var(--display); font-weight: 600; color: var(--dark-ink); text-align: right; font-variant-numeric: tabular-nums; }
.ai-stats { margin: 48px auto 0; max-width: 1120px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark-line); }
.ai-stats div { padding: 22px 16px 0; text-align: left; border-left: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 4px; }
.ai-stats div:first-child { border-left: 0; }
.ai-stats b { font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--dark-ink); }
.ai-stats span { font-size: 13.5px; color: var(--dark-ink-2); }
@media (max-width: 760px) { .ai-stats { grid-template-columns: 1fr 1fr; } .ai-stats div:nth-child(3) { border-left: 0; } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* Footer: logo thẳng hàng với tiêu đề cột; trên điện thoại logo nằm riêng một hàng */
.footer-inner > .logo { align-self: start; }
@media (max-width: 760px) { .footer-inner > .logo { grid-column: 1 / -1; margin-bottom: 8px; } }

/* ---------- Màn hình minh hoạ (thay ảnh chụp màn hình thật) ---------- */
/* Nền gradient: mỗi tính năng một tông màu */
.g-violet { background: radial-gradient(120% 90% at 0% 0%, #a5b8ff 0%, transparent 55%), radial-gradient(90% 90% at 100% 100%, #e3a6ff 0%, transparent 60%), linear-gradient(135deg, #6f86ff, #9a6bff); }
.g-sunset { background: radial-gradient(100% 80% at 0% 100%, #ffd08a 0%, transparent 60%), radial-gradient(90% 90% at 100% 0%, #ff9ec4 0%, transparent 60%), linear-gradient(135deg, #ff7e9d, #ffa75e); }
.g-mint { background: radial-gradient(100% 90% at 100% 0%, #b8f5d0 0%, transparent 55%), radial-gradient(90% 90% at 0% 100%, #7de3f0 0%, transparent 60%), linear-gradient(135deg, #22c3a6, #5fd58a); }
.g-peach { background: radial-gradient(100% 90% at 0% 0%, #ffe39a 0%, transparent 55%), radial-gradient(90% 90% at 100% 100%, #ff9fb4 0%, transparent 60%), linear-gradient(135deg, #ffb347, #ff7a8a); }
.g-ocean { background: radial-gradient(100% 90% at 100% 0%, #9ff0ff 0%, transparent 55%), radial-gradient(90% 90% at 0% 100%, #a9a4ff 0%, transparent 60%), linear-gradient(135deg, #4f6bff, #2fc2f0); }
.g-dusk { background: radial-gradient(60% 90% at 50% 0%, rgba(255,255,255,.35) 0%, transparent 70%), radial-gradient(80% 90% at 0% 100%, #ffb0d9 0%, transparent 60%), radial-gradient(80% 90% at 100% 100%, #9fd4ff 0%, transparent 60%), linear-gradient(135deg, #7b6cff, #d46bff); }
.g-aurora { background: radial-gradient(90% 80% at 0% 0%, #b3f0ff 0%, transparent 55%), radial-gradient(90% 90% at 100% 100%, #ffc2e2 0%, transparent 60%), linear-gradient(135deg, #5b7cff, #9d7bff); }

/* Khối dùng chung */
.mk { background: rgba(255,255,255,.96); border-radius: 14px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 50px -18px rgba(20,20,60,.35); padding: 16px; color: var(--ink); text-align: left; }
.mk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.mk-head b { font-size: 14px; font-weight: 600; }
.lg { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-2); flex-wrap: wrap; }
.lg i { width: 9px; height: 9px; border-radius: 3px; margin-left: 6px; }
.lg i:first-child { margin-left: 0; }
.sk { display: block; height: 8px; width: var(--w, 60%); border-radius: 4px; background: #e6e8ef; }
.sk-s { height: 6px; background: #eef0f4; }
.sk-d { height: 10px; background: #d9dce6; }
.sk-done { background: #e8f7ee; }
.sks { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.pl { font-style: normal; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pl-green { color: #15803d; background: #dcfce7; } .pl-blue { color: #1d4ed8; background: #dbeafe; } .pl-sky { color: #0369a1; background: #e0f2fe; }
.pl-violet { color: #6d28d9; background: #ede9fe; } .pl-amber { color: #b45309; background: #fef3c7; } .pl-red { color: #b91c1c; background: #fee2e2; } .pl-gray { color: #6b7280; background: #f3f4f6; }
.ava { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; }
.ava-s { width: 24px; height: 24px; font-size: 10.5px; }
.ava-l { width: 44px; height: 44px; font-size: 16px; }
.a1 { background: linear-gradient(135deg, #60a5fa, #6366f1); } .a2 { background: linear-gradient(135deg, #f472b6, #fb923c); } .a3 { background: linear-gradient(135deg, #34d399, #06b6d4); }
.a4 { background: linear-gradient(135deg, #a78bfa, #ec4899); } .a5 { background: linear-gradient(135deg, #fbbf24, #f97316); }
.st-a { background: #34d399; } .st-h { background: #fbbf24; } .st-s { background: #cbd5e1; }
.toast { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; background: #fff; color: var(--ink); border-radius: 10px; padding: 9px 13px 9px 9px; box-shadow: 0 14px 34px -12px rgba(20,20,60,.4); white-space: nowrap; }
.ti { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; }
.ti svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ti-green { background: #16a34a; } .ti-amber { background: #f59e0b; } .ti-blue { background: #2f6bf0; } .ti-violet { background: #7c3aed; }
.cb { width: 16px; height: 16px; flex: none; border-radius: 5px; border: 1.5px solid #cbd5e1; display: grid; place-items: center; font-size: 10px; color: #fff; }
.cb-done { background: #16a34a; border-color: #16a34a; }
.cb-late { border-color: #ef4444; }
.fl { position: absolute; z-index: 2; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* Khung minh hoạ trong phần Tính năng */
.flow-ill {
  position: relative; overflow: hidden; margin: 0 58px 88px; height: 460px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; padding: 25px;
}
.flow-ill::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent);
}
.flow-ill > * { position: relative; }
.flow-ill > .fl { position: absolute; }
.fl-tr { top: 36px; right: 36px; }
.fl-br { bottom: 36px; right: 36px; }
.fl-bl { bottom: 36px; left: 36px; animation-delay: -3s; }

/* 1. Bảng hàng */
.mk-main { width: min(560px, 82%); margin-right: 12%; }
.units { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.units i { aspect-ratio: 1.4; border-radius: 4px; background: #34d399; }
.units i.h { background: #fbbf24; } .units i.s { background: #e2e8f0; }
.units i.flash { animation: flash .6s ease; }
@keyframes flash { 50% { transform: scale(1.35); box-shadow: 0 0 0 3px rgba(255,255,255,.9); } }
.mk-unit { display: flex; gap: 12px; padding: 10px; width: 280px; }
.unit-img { width: 76px; flex: none; border-radius: 9px; background: linear-gradient(160deg, #ffd6a5 0%, #ff9fb4 45%, #8b7dff 100%); position: relative; overflow: hidden; }
.unit-img::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 60%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 12px, transparent 12px 16px); border-radius: 3px 3px 0 0; opacity: .8; }
.unit-body { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; flex: 1; }
.unit-body b { font-size: 14px; font-weight: 600; }
.unit-body > span { color: var(--ink-2); }
.unit-foot { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; }
.unit-foot strong { font-family: var(--display); font-size: 17px; font-weight: 600; color: #6d28d9; }

/* 2. Lead */
.srcs { display: flex; flex-direction: column; gap: 14px; margin-right: 48px; }
.lsrc { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.95); border-radius: 999px; padding: 6px 14px 6px 6px; box-shadow: 0 10px 24px -12px rgba(20,20,60,.35); }
.lsrc i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.lsrc::after { content: ""; position: absolute; left: 100%; top: 50%; width: 40px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 5px, transparent 5px 9px); background-size: 18px 2px; animation: flow 1s linear infinite; }
@keyframes flow { to { background-position: 18px 0; } }
.mk-leads { width: min(420px, 62%); }
.lrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #f1f2f5; }
.lrow .pl { min-width: 70px; text-align: center; }
.to { color: var(--ink-3); font-size: 13px; }

/* 3. Khách hàng */
.mk-prof { width: min(440px, 80%); padding: 20px; }
.prof-top { display: flex; align-items: center; gap: 12px; }
.needs { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.needs em { font-style: normal; font-size: 12px; font-weight: 500; color: #0f766e; background: #ccfbf1; border-radius: 7px; padding: 3px 9px; }
.tl { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.tl::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 2px; background: #eef0f4; }
.tl-i { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.tl-i > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tl-i b { font-size: 13px; font-weight: 600; }
.tl-d { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 13px; box-shadow: 0 0 0 4px #fff; }

/* 4. Kanban */
.mk-kb { width: 100%; max-width: 720px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 14px; }
.kc { display: flex; flex-direction: column; gap: 8px; background: #f6f7fa; border-radius: 10px; padding: 8px; min-width: 0; }
.kh { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.kh i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.kh span { margin-left: auto; color: var(--ink-3); font-weight: 500; }
.kcard { background: #fff; border-radius: 8px; padding: 9px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.kcard b { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.kcard-won { box-shadow: inset 3px 0 0 #16a34a, 0 1px 2px rgba(0,0,0,.06); }
.kcard-drag { width: 170px; top: 44%; left: 58%; transform: rotate(-4deg); box-shadow: 0 24px 40px -14px rgba(20,20,60,.5); animation: drag 5s ease-in-out infinite; }
@keyframes drag { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(34px, -10px) rotate(-1deg); } }

/* 5. Báo cáo + công việc */
.mk-chart { width: min(520px, 76%); margin-right: 16%; }
.bars { height: 190px; display: flex; align-items: flex-end; gap: 10px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #818cf8, #38bdf8); }
.bars i:last-child { background: linear-gradient(180deg, #6366f1, #0ea5e9); }
.bars-x { display: flex; gap: 10px; margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; font-size: 11px; color: var(--ink-3); }
.mk-tasks { width: 250px; padding: 14px; }
.mk-tasks .mk-head { margin-bottom: 6px; }
.task { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f1f2f5; }
.task .sk { flex: 1; }

/* Trang dự án */
.proj-ill { border-radius: 8px 8px 0 0; overflow: hidden; background: #f6f7fb; text-align: left; }
.pj-hero { position: relative; height: 340px; background: linear-gradient(180deg, #8ea2ff 0%, #c69cff 45%, #ffb8b0 80%, #ffd9a8 100%); }
.pj-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.pj-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(76,56,170,.72) 0%, rgba(76,56,170,.35) 32%, transparent 55%); }
.pj-title { z-index: 1; }
.pj-title { position: absolute; left: 36px; top: 36px; display: flex; flex-direction: column; gap: 4px; color: #fff; text-shadow: 0 2px 12px rgba(40,30,90,.3); }
.pj-title em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.pj-title b { font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; }
.pj-title span { font-size: 14px; opacity: .92; }
.pj-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 16px; }
.pj-tile { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 12px; }
.pj-tile > b { font-size: 14px; font-weight: 600; }
.pj-map { position: relative; height: 150px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #e0f2fe, #dcfce7); }
.road { position: absolute; background: #fff; border-radius: 4px; }
.r1 { left: -10%; right: -10%; top: 45%; height: 10px; transform: rotate(-8deg); }
.r2 { top: -10%; bottom: -10%; left: 38%; width: 8px; transform: rotate(12deg); }
.r3 { left: 55%; right: -10%; top: 20%; height: 6px; transform: rotate(20deg); }
.pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #2f6bf0; box-shadow: 0 4px 8px rgba(0,0,0,.2); }
.p-main { width: 22px; height: 22px; left: 44%; top: 34%; background: #ef4444; animation: pinpulse 2s ease-in-out infinite; }
@keyframes pinpulse { 50% { box-shadow: 0 0 0 8px rgba(239,68,68,.18), 0 4px 8px rgba(0,0,0,.2); } }
.p1 { left: 18%; top: 22%; background: #16a34a; } .p2 { left: 72%; top: 60%; background: #7c3aed; } .p3 { left: 24%; top: 70%; background: #f59e0b; }
.pj-amen { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; height: 150px; }
.pj-amen span { font-size: 12px; font-weight: 500; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border-radius: 8px; padding: 6px 10px; }
.pj-plan { height: 150px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 6px; padding: 8px; border: 2px solid #e5e7eb; border-radius: 10px; }
.pj-plan i { border-radius: 5px; background: var(--c); }
.pj-plan i:nth-child(1) { grid-row: span 2; }

/* Phân quyền */
.scale-shot { display: flex; align-items: flex-start; }
.perm-ill { position: relative; z-index: 1; width: 100%; min-height: 560px; border-radius: 20px 0 0 0; padding: 48px 48px 64px; overflow: hidden; }
.mk-perm { max-width: 600px; }
.pm { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 8px 10px; align-items: center; font-size: 13px; }
.pm-h { font-size: 11.5px; font-weight: 600; color: var(--ink-2); text-align: center; }
.pm b { font-weight: 500; }
.pm em { height: 26px; border-radius: 8px; }
.sc-all { background: linear-gradient(135deg, #818cf8, #a78bfa); }
.sc-team { background: linear-gradient(135deg, #60a5fa, #38bdf8); }
.sc-own { background: linear-gradient(135deg, #34d399, #4ade80); }
.sc-none { background: repeating-linear-gradient(135deg, #f1f2f5 0 6px, #e7e9ee 6px 8px); }
.mk-otp { right: 40px; bottom: 36px; width: 230px; display: flex; flex-direction: column; gap: 10px; }
.mk-otp b { font-size: 13.5px; font-weight: 600; }
.otp-ico { width: 30px; height: 30px; border-radius: 9px; background: #ede9fe; display: grid; place-items: center; }
.otp-ico svg { width: 17px; height: 17px; fill: none; stroke: #7c3aed; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.otp { display: flex; gap: 5px; }
.otp i { flex: 1; height: 34px; border-radius: 7px; background: #f4f5f8; border: 1px solid #e5e7eb; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 15px; font-weight: 500; }
.otp i:nth-child(3) { margin-right: 6px; }

/* Điện thoại */
.phone { background: #1b1c1f; border-color: #1b1c1f; padding: 9px 9px 0; }
.phs { height: 100%; border-radius: 28px 28px 0 0; overflow: hidden; background: #f6f7fb; text-align: left; display: flex; flex-direction: column; }
.ph-top { padding: 34px 16px 16px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.ph-top b { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ph-search { height: 30px; border-radius: 9px; background: rgba(255,255,255,.3); }
.ph-hero { gap: 2px; padding-bottom: 22px; }
.ph-hero span, .ph-hero em { font-size: 12px; font-style: normal; opacity: .9; }
.ph-hero b { font-size: 30px; }
.ph-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 12px 0; margin-top: -14px; }
.ph-kpis div { background: #fff; border-radius: 12px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: 0 6px 16px -10px rgba(20,20,60,.3); }
.ph-kpis b { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 26px; }
.ph-kpis em { font-style: normal; font-size: 10.5px; color: var(--ink-2); }
.ph-ring { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(#6366f1 calc(var(--v) * 1%), #e5e7eb 0); -webkit-mask: radial-gradient(circle, transparent 7px, #000 8px); mask: radial-gradient(circle, transparent 7px, #000 8px); }
.ph-list { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ph-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 11px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.ph-row > i { width: 10px; height: 34px; border-radius: 4px; flex: none; }
.ph-row > b { font-size: 12.5px; font-weight: 600; color: #4338ca; }
.ph-row .pl { font-size: 10px; }
.ph-call { width: 28px; height: 28px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: grid; place-items: center; font-size: 13px; flex: none; }

/* ---------- AI Matching (tổng quan) ---------- */
.xm { padding: 112px 0 0; text-align: center; overflow: hidden; }
.xm-head { padding-inline: 24px; }
.xm h2.big span { display: block; }
.xm h2.big { margin: 20px auto 0; max-width: 820px; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.18; font-weight: 500; letter-spacing: -0.03em; }
.xm-viz {
  position: relative; margin: 56px 58px 0; border-radius: 20px; padding: 64px 48px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 70px 96px 70px 1.1fr; align-items: center;
}
.xm-viz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.5px); background-size: 22px 22px;
  mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent);
}
.xm-viz > * { position: relative; }
.xm-cust { display: flex; flex-direction: column; gap: 12px; padding: 20px; max-width: 320px; justify-self: end; width: 100%; }
.xm-cust .sks { flex: none; }
.xm-traits { display: flex; flex-wrap: wrap; gap: 6px; }
.xm-traits em { font-style: normal; font-size: 12px; font-weight: 500; color: #6d28d9; background: #f3e8ff; border-radius: 7px; padding: 3px 9px; }
.xm-link { height: 2px; }
.xm-link i { display: block; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: flow 1s linear infinite; }
.xm-core { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); box-shadow: 0 0 0 12px rgba(255,255,255,.12), 0 0 0 26px rgba(255,255,255,.06); animation: corepulse 3s ease-in-out infinite; }
.xm-core span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-family: var(--display); font-size: 20px; font-weight: 600; background-clip: padding-box; color: #7c3aed; box-shadow: 0 10px 30px -8px rgba(60,20,120,.5); }
@keyframes corepulse { 50% { box-shadow: 0 0 0 16px rgba(255,255,255,.16), 0 0 0 34px rgba(255,255,255,.06); } }
.xm-units { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.xm-u { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.xm-u:nth-child(2) { margin-left: 28px; }
.xm-u b { font-size: 13.5px; font-weight: 600; }
.ring {
  width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; position: relative;
  font-family: var(--display); font-size: 14px; font-weight: 600; background: conic-gradient(var(--c) calc(var(--v) * 1%), #eef0f4 0);
}
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.ring { isolation: isolate; }
.ring::before { z-index: -1; }
.xm-points { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); text-align: left; }
.xm-points div { padding: 32px 32px 40px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.xm-points div:first-child { border-left: 0; }
.xm-points b { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.xm-ico {
  width: 40px; height: 40px; margin-bottom: 10px; border-radius: 11px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 12%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, #fff);
}
.xm-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xm-points span { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }

/* ---------- Trợ lý tính toán (tổng quan) ---------- */
.xc { display: grid; grid-template-columns: 480px 1fr; }
.xc-copy { padding: 140px 40px 120px 58px; }
.xc h2 { margin-top: 20px; font-size: clamp(23px, 2.55vw, 32px); line-height: 1.18; font-weight: 500; letter-spacing: -0.03em; }
.xc-kinds { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 6px; }
.xc-kinds span { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: #3f4046; }
.xc-demo { position: relative; overflow: hidden; display: grid; place-items: center; padding: 64px 48px; }
.xc-demo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.xc-card { position: relative; width: min(460px, 100%); padding: 22px; display: flex; flex-direction: column; gap: 18px; min-height: 330px; }
.xc-q { align-self: flex-end; max-width: 88%; font-size: 14px; background: var(--ink); color: #fff; border-radius: 14px 14px 4px 14px; padding: 10px 14px; min-height: 41px; }
.xc-a { display: flex; flex-direction: column; gap: 10px; transition: opacity .3s, transform .3s; }
.xc-a.busy { opacity: 0; transform: translateY(6px); }
.xc-lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.xc-lbl i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #6366f1, #a855f7); color: #fff; font-style: normal; font-size: 11px; display: grid; place-items: center; }
.xc-a strong { font-family: var(--display); font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; background: linear-gradient(90deg, #4f46e5, #c026d3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xc-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 3px; }
.xc-bar i { flex: var(--f); background: var(--c); border-radius: 3px; }
.xc-leg { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.xc-leg div { display: flex; align-items: center; gap: 8px; }
.xc-leg i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.xc-leg span { color: var(--ink-2); flex: 1; }
.xc-leg b { font-weight: 600; font-variant-numeric: tabular-nums; }
.xc-dots { margin-top: auto; display: flex; gap: 6px; justify-content: center; }
.xc-dots i { width: 6px; height: 6px; border-radius: 3px; background: #e2e4ea; transition: width .3s, background-color .3s; }
.xc-dots i.on { width: 20px; background: #7c3aed; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .xc { grid-template-columns: 400px 1fr; } .xc-copy { padding-left: 32px; }
  .xm-viz { grid-template-columns: 1fr 40px 80px 40px 1.1fr; padding-inline: 28px; }
  .xm-core { width: 80px; height: 80px; } .xm-core span { width: 54px; height: 54px; font-size: 17px; }
}
@media (max-width: 1000px) {
  .xc { grid-template-columns: 1fr; }
  .xc-copy { padding: 96px 20px 48px; }
  .xc-demo { padding: 48px 20px; }
  .perm-ill { border-radius: 16px 16px 0 0; }
}
@media (max-width: 900px) {
  .flow-ill { margin: 0 20px 56px; }
  .xm-viz { grid-template-columns: 1fr; justify-items: center; gap: 0; margin-inline: 20px; padding: 36px 20px; }
  .xm-cust, .xm-units { justify-self: center; max-width: 360px; width: 100%; }
  .xm-link { width: 2px; height: 32px; }
  .xm-link i { width: 2px; height: 100%; background: repeating-linear-gradient(180deg, #fff 0 6px, transparent 6px 11px); background-size: 2px 22px; animation-name: flowv; }
  @keyframes flowv { to { background-position: 0 22px; } }
  .xm-u:nth-child(2) { margin-left: 0; }
  .xm-points { grid-template-columns: 1fr; }
  .xm-points div { border-left: 0; border-top: 1px solid var(--line); padding: 24px 20px; }
  .xm-points div:first-child { border-top: 0; }
  .pj-tiles { grid-template-columns: 1fr 1fr; }
  .pj-tile:last-child { display: none; }
}
@media (max-width: 640px) {
  .xm { padding-top: 96px; }
  .flow-ill { height: 380px; margin-inline: 16px; }
  .fl-tr { top: 16px; right: 16px; } .fl-br { bottom: 16px; right: 16px; } .fl-bl { bottom: 16px; left: 16px; }
  .toast { font-size: 12px; }
  .mk-main, .mk-chart, .mk-prof { width: 100%; margin-right: 0; }
  .mk-unit { width: 230px; } .unit-img { width: 56px; }
  .srcs { display: none; }
  .mk-leads { width: 100%; }
  .mk-kb { grid-template-columns: repeat(3, 1fr); } .mk-kb .kc:nth-child(n+4) { display: none; }
  .kcard-drag { left: auto; right: 20px; top: 30%; }
  .mk-tasks { width: 210px; }
  .bars { height: 150px; }
  .pj-hero { height: 240px; }
  .pj-title { left: 20px; top: 20px; } .pj-title b { font-size: 24px; }
  .pj-tiles { grid-template-columns: 1fr; } .pj-tile:nth-child(2) { display: none; }
  .perm-ill { padding: 24px 16px 190px; min-height: 0; }
  .pj-hero::after { background: linear-gradient(180deg, rgba(76,56,170,.8) 0%, rgba(76,56,170,.3) 55%, transparent 80%); }
  .pm { font-size: 12px; gap: 6px; } .pm-h { font-size: 10px; }
  .mk-otp { right: 16px; bottom: 16px; width: 210px; }
  .xc-a strong { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .fl, .kcard-drag, .xm-core, .p-main, .lsrc::after, .xm-link i { animation: none; } }

/* =====================================================================
   VinaLand v2 (28/09/2026): hero chia đôi, nhãn trạng thái, các section mới
   ===================================================================== */
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(47,107,240,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.btn-blue:hover { background: #2458cf; }
.btn-xl { height: 44px; padding: 0 18px; font-size: 16px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Nhãn trạng thái triển khai */
.st { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 8px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-live { color: #15803d; background: #dcfce7; }
.st-pilot { color: #b45309; background: #fef3c7; }
.st-soon { color: #4b5563; background: #f3f4f6; }
.st-contract { color: #6d28d9; background: #ede9fe; }
.dark .st-live { color: #86efac; background: rgba(34,197,94,.14); }
.dark .st-pilot { color: #fcd34d; background: rgba(245,158,11,.16); }
.dark .st-soon { color: #d1d5db; background: rgba(255,255,255,.08); }
.dark .st-contract { color: #c4b5fd; background: rgba(139,92,246,.18); }

/* Hero */
.hero2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 88px 58px 96px; border-top: 0; overflow: hidden;
  background: radial-gradient(70% 80% at 85% 40%, var(--blue-soft) 0%, rgba(234,241,254,0) 70%); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--blue); letter-spacing: 0; }
.hero2 h1 { margin-top: 16px; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; }
.hero2-sub { margin-top: 22px; font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 520px; }
.hero2-ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero2-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); max-width: 460px; }
.hero2-shot { margin: 0; }
.hero2-shot .window { padding: 0 8px 8px; }
.hero2-shot figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: right; }
.shot-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.shot-btn img { width: 100%; height: auto; }
.hero2-shot .shot-btn { border: 1px solid #e6e7eb; }
.shot-card { max-width: 860px; border-radius: 12px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 60px -20px rgba(20,20,60,.45); background: #fff; }
@media (max-width: 1000px) {
  .hero2 { grid-template-columns: 1fr; padding: 56px 24px 64px; gap: 40px; }
  .hero2-shot figcaption { text-align: left; }
}
@media (max-width: 640px) { .hero2 { padding: 40px 16px 48px; } .hero2-ctas .btn { flex: 1; } }

/* Tiêu đề section dùng chung */
.sec-head { max-width: 760px; }
.sec-head h2 { margin-top: 18px; font-size: clamp(23px, 2.6vw, 34px); line-height: 1.18; font-weight: 500; letter-spacing: -0.03em; }
.sec-head h2 span { display: block; }

/* 02 Nỗi đau */
.pains { padding: 112px 58px; background: var(--bg-soft); }
.pain-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.pain-n { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.pain h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.pain p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.pain .pain-fix { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink); }
.pain-fix b { color: var(--blue); font-weight: 600; }
@media (max-width: 1100px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pains { padding: 72px 16px; } .pain-grid { grid-template-columns: 1fr; margin-top: 36px; } }

/* 03 Giải pháp: flow-text giờ là khối chứa nhãn + đoạn văn */
.flow-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.flow-ill .shot-card { max-height: 100%; }
.flow-ill .shot-card img { max-height: 440px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; object-position: top; }
.phones2 { gap: 20px; align-items: flex-end; padding-bottom: 0; }
.phone-shot { width: 190px; height: auto; border-radius: 26px 26px 0 0; border: 7px solid #1b1c1f; border-bottom: 0; background: #1b1c1f; align-self: flex-end; max-height: 100%; object-fit: cover; object-position: top; box-shadow: 0 20px 50px -20px rgba(20,20,60,.5); }
.phone-shot-up { width: 210px; }
@media (max-width: 900px) {
  .flow-ill { margin: 0 16px 56px; height: auto; min-height: 300px; }
  .flow-ill .shot-card img { max-height: none; }
  .phones2 { height: 360px; }
  .phone-shot { width: 30%; border-width: 5px; border-radius: 18px 18px 0 0; }
  .phone-shot-up { width: 34%; }
}

/* 04 Một ngày làm việc */
.st-legend { margin-top: 28px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.day { margin: 48px auto 0; max-width: 1100px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.day-step { text-align: left; font: inherit; color: var(--dark-ink); background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.day-step:hover { border-color: #3a3a42; }
.day-step[aria-selected="true"] { background: #16203a; border-color: var(--blue); }
.day-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: #26262c; color: var(--dark-ink-2); margin-bottom: 6px; }
.day-step[aria-selected="true"] .day-n { background: var(--blue); color: #fff; }
.day-step b { font-size: 15px; font-weight: 600; }
.day-step em { font-style: normal; font-size: 13px; color: var(--dark-ink-2); }
.day-panel { margin: 20px auto 0; max-width: 1100px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; text-align: left; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 16px; padding: 40px; }
.dp-time { font-family: var(--mono); font-size: 12.5px; color: #9dbbff; }
.dp-copy h3 { margin-top: 10px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.dp-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: #d4d4d8; line-height: 1.5; }
.dp-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dp-note { margin-top: 18px; font-size: 13.5px; color: var(--dark-ink-2); border-left: 2px solid #f59e0b; padding-left: 12px; }
.dp-copy .btn { margin-top: 22px; }
.dp-visual { min-width: 0; display: flex; justify-content: center; }
.dp-visual .shot-card { box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); }
.m2-cap { position: absolute; top: 12px; right: 14px; font-size: 11px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.match2 { position: relative; width: 100%; max-width: 520px; background: #fff; color: var(--ink); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.m2-need b { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.m2-need div { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.m2-need em { font-style: normal; font-size: 12.5px; font-weight: 500; color: #6d28d9; background: #f3e8ff; border-radius: 7px; padding: 3px 9px; }
.m2-unit { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.m2-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.m2-unit ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; }
.m2-unit li { display: flex; gap: 6px; }
.m2-unit li::before { flex: none; font-weight: 700; }
.m2-unit .ok::before { content: "✓"; color: #16a34a; }
.m2-unit .no { color: var(--ink-2); }
.m2-unit .no::before { content: "✕"; color: #dc2626; }
.m2-ex { font-size: 12.5px; color: var(--ink-3); }
.calc2 { position: relative; width: 100%; max-width: 500px; padding-top: 34px; }
.xc-src { font-size: 12px; line-height: 1.45; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; }
@media (max-width: 1000px) {
  .day { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .day-step { scroll-snap-align: start; }
  .day-panel { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 640px) { .m2-unit ul { grid-template-columns: 1fr; } }

/* 05 Bảo mật */
.sec-list { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; max-width: 420px; }
.sec-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.sec-list b { font-size: 16px; font-weight: 600; }
.sec-list p { grid-column: 1 / -1; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.perm-ill { display: flex; align-items: flex-start; }
.perm-ill .shot-card img { max-width: none; width: 100%; }
@media (max-width: 1000px) { .scale-copy { padding: 72px 24px 40px; } .scale-shot { padding: 0 0 0 24px; } .perm-ill { min-height: 0; padding: 32px; } }

/* 06 Enterprise */
.ent { padding: 112px 58px; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps li { position: relative; padding: 0 20px 0 0; }
.steps li > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; background: var(--blue); color: #fff; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 16px; left: 32px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-band) 0 6px, transparent 6px 10px); }
.steps li:last-child::after { display: none; }
.steps b { display: block; margin-top: 14px; font-size: 17px; font-weight: 600; }
.steps p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.ent-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ent-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--bg); }
.ent-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.ent-card p { font-size: 15px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.ent-card .st { margin-top: 6px; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding: 0; }
  .steps li > span { grid-row: span 2; }
  .steps b { margin-top: 4px; }
  .steps li::after { top: 32px; bottom: -20px; left: 15px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-band) 0 6px, transparent 6px 10px); }
  .ent-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .ent { padding: 72px 16px; } .ent-grid { grid-template-columns: 1fr; } }

/* 07 Pilot */
.pilot { padding: 112px 58px; background: var(--bg-soft); }
.kpi-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { border-left: 2px solid var(--blue); padding: 4px 0 4px 16px; }
.kpi b { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.kpi p { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.pilot-note { margin-top: 40px; font-size: 14px; color: var(--ink-3); max-width: 720px; }
@media (max-width: 1000px) { .kpi-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
@media (max-width: 640px) { .pilot { padding: 72px 16px; } .kpi-grid { grid-template-columns: 1fr; } }

/* 08 Gói dịch vụ */
.pricing { padding: 112px 58px; }
.fee { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.fee div { padding: 20px 22px; border-right: 1px solid var(--line); background: var(--bg-soft); }
.fee div:last-child { border-right: 0; }
.fee b { font-size: 16px; font-weight: 600; }
.fee p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.plans { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.plan-hl { border: 1.5px solid var(--blue); box-shadow: 0 20px 50px -24px rgba(47,107,240,.45); }
.plan h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase; }
.plan-hl h3 { color: var(--blue); }
.plan-sub { font-size: 15px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 20px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; flex: 1; }
.plan li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
@media (max-width: 1000px) { .fee { grid-template-columns: 1fr 1fr; } .fee div:nth-child(2) { border-right: 0; } .fee div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .plans { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 640px) { .pricing { padding: 72px 16px; } .fee { grid-template-columns: 1fr; } .fee div { border-right: 0; border-bottom: 1px solid var(--line); } .fee div:last-child { border-bottom: 0; } }

/* 09 FAQ */
.faq { padding: 112px 58px; display: grid; grid-template-columns: 360px 1fr; gap: 56px; background: var(--bg-soft); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-size: 17px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 36px 22px 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 1000px) { .faq { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .faq { padding: 72px 16px; } }

/* Form demo (nền tối) */
.demo-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; text-align: left; padding: 112px 58px; align-items: start; }
.demo-copy h2 { font-size: clamp(32px, 3.8vw, 48px); }
.demo-points { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: #d4d4d8; font-size: 15.5px; }
.demo-points li { padding-left: 26px; position: relative; }
.demo-points li::before { content: "✓"; position: absolute; left: 0; color: #9dbbff; font-weight: 700; }
.demo-form, .demo-done { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.f i, .f-check i { color: #dc2626; font-style: normal; }
.f input, .f select, .f textarea { font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); height: 42px; padding: 0 12px; border: 1px solid #d9dbe1; border-radius: 9px; background: #fff; width: 100%; }
.f textarea { height: auto; padding: 10px 12px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,240,.15); }
.f [aria-invalid="true"] { border-color: #dc2626; }
.f-err { font-style: normal; font-size: 13px; color: #dc2626; font-weight: 400; }
.f-err:empty { display: none; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.f-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-msg { font-size: 14px; color: #dc2626; }
.f-msg:empty { display: none; }
.demo-done { align-items: flex-start; }
.done-ic { width: 44px; height: 44px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.demo-done h3 { font-size: 22px; font-weight: 600; }
.demo-done p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 1000px) { .demo-wrap { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px; } }
@media (max-width: 640px) { .demo-wrap { padding: 64px 16px; } .f-row { grid-template-columns: 1fr; } .demo-form { padding: 20px; } }

.f-tag { margin-top: 14px; font-size: 14px; color: #9a9aa3; max-width: 260px; }

/* Phóng to ảnh */
.zoom { border: 0; padding: 0; background: transparent; max-width: min(1400px, 96vw); max-height: 94vh; overflow: visible; }
.zoom::backdrop { background: rgba(10,10,14,.82); }
.zoom img { max-width: 100%; max-height: 90vh; width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.zoom-x { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
@media (max-width: 640px) { .zoom-x { top: 6px; right: 6px; } }
.flows .flow-ill { height: 520px; }
@media (max-width: 900px) { .flows .flow-ill { height: auto; } .flows .flow-ill.phones2 { height: 360px; } }
/* Ảnh chụp trong phần Giải pháp: tràn hết chiều ngang khung, khung cao theo ảnh */
.flows .flow-ill:not(.phones2) { height: auto; }
.flows .flow-ill .shot-card { max-width: none; width: 100%; }
.flows .flow-ill .shot-card img { width: 100%; height: auto; max-height: none; }

/* Hero: ảnh mobile đè lên góc dưới-phải ảnh desktop */
.hero2-shot { position: relative; }
.hero2-shot figcaption { text-align: left; }
.hero2-phone { position: absolute; right: -40px; bottom: -36px; z-index: 2; width: 170px; padding: 0; border: 7px solid #1b1c1f; border-radius: 28px; background: #1b1c1f; overflow: hidden; cursor: zoom-in;
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 24px 50px -12px rgba(20,30,70,.45); }
.hero2-phone img { display: block; width: 100%; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; border-radius: 21px; }
@media (max-width: 1000px) { .hero2-phone { right: -8px; bottom: 24px; width: 28%; max-width: 150px; border-width: 5px; border-radius: 20px; } .hero2-phone img { border-radius: 15px; } .hero2-shot figcaption { text-align: left; } }

/* Menu trượt từ trái trên mobile (mở bằng logo) */
body.no-scroll { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; transition: visibility 0s .3s; }
.drawer.open { visibility: visible; pointer-events: auto; transition: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10,10,14,.55); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(80vw, 320px); background: var(--dark); color: var(--dark-ink);
  display: flex; flex-direction: column; padding: 22px 28px calc(28px + env(safe-area-inset-bottom)); overflow-y: auto;
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 20px 0 60px -20px rgba(0,0,0,.5); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer-x { width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; border-radius: 8px; }
.drawer-x svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.drawer-links { list-style: none; margin: 0; padding: 0; }
.drawer-links a { display: block; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.drawer-links a:hover { color: #9dbbff; }
.drawer-foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-backdrop { transition: none; } }

/* AI Matching (section riêng) */
.aim { padding: 112px 58px 96px; }
.aim-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.aim-head .tag + .st { margin-left: 6px; }
.aim-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: #f1f2f5; border: 1px solid var(--line); }
.aim-tab { font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: background-color .2s, color .2s; white-space: nowrap; }
.aim-tab:hover { color: var(--ink); }
.aim-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.aim-stage { position: relative; overflow: hidden; margin-top: 40px; border-radius: 20px; padding: 32px; }
.aim-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); }
.aim-panel { position: relative; }
.aim-panel .shot-card { max-width: 1100px; margin: 0 auto; }
.aim-points { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aim-points div { border-left: 2px solid #8b5cf6; padding: 2px 0 2px 16px; }
.aim-points b { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.aim-points p { margin-top: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.aim-note { margin-top: 28px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 1000px) { .aim-points { grid-template-columns: 1fr 1fr; gap: 24px 16px; } }
@media (max-width: 640px) {
  .aim { padding: 72px 16px 64px; }
  .aim-tabs { width: 100%; } .aim-tab { flex: 1; padding: 8px 10px; font-size: 13.5px; white-space: normal; }
  .aim-stage { padding: 14px; margin-top: 28px; border-radius: 14px; }
  .aim-points { grid-template-columns: 1fr; }
}

/* Danh sách trong 5 bước khi không còn nhãn trạng thái: chấm đầu dòng */
.dp-list li { position: relative; padding-left: 18px; }
.dp-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #9dbbff; }

/* Enterprise card icons */
.ent-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; color: #1f6fd6;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e3f1ff 45%, #b9dcff 100%);
  box-shadow: inset 0 0 0 1px rgba(47,107,240,.08), 0 6px 16px -8px rgba(47,107,240,.45); transition: transform .2s ease; }
.ent-ic svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.ent-ic svg .fl { fill: #cfe6ff; stroke: none; }
.ent-card:hover .ent-ic { transform: translateY(-2px); }
.ent-ic-sm { width: 52px; height: 52px; margin-bottom: 12px; }
.ent-ic-sm svg { width: 30px; height: 30px; }
.fee div:hover .ent-ic { transform: translateY(-2px); }
