/* ATK — house style. Một file dùng chung cho cả 3 trang.
   Nguyên tắc thiết kế: ít màu, nhiều khoảng thở, chữ số kể chuyện.
   Màu tín hiệu (amber) chỉ dùng cho THỨ ĐO ĐƯỢC — không dùng để trang trí. */

/* ── Chữ tự host: ⛔0 gọi Google, ⛔0 phụ thuộc mạng ngoài, ⛔0 rò người đọc.
   Inter variable 400–700 (đủ cả bộ TIẾNG VIỆT — trang có "Xuân Đỉnh") + JetBrains Mono cho số đo. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(/fonts/jbmono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #08090b;
  --bg-lift: #0e1013;
  --line: #1c1f25;
  --line-soft: #14171c;
  --ink: #e9eaee;
  --ink-dim: #9aa0ab;
  --ink-faint: #6b7280;
  --signal: #d9a441;
  --signal-dim: #8a6a2c;

  --font: Inter, ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --pad: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Vệt sáng rất mờ sau hero — tạo chiều sâu mà không dùng ảnh */
body::before {
  content: "";
  position: fixed;
  inset: -30vh 0 auto 0;
  height: 90vh;
  background: radial-gradient(60% 50% at 50% 0%, rgba(217, 164, 65, .07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

/* ---------- chữ ---------- */
h1, h2, h3 { margin: 0; font-weight: 560; letter-spacing: -0.033em; line-height: 1.06; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.9vw, 2.7rem); letter-spacing: -0.03em; }
h3 { font-size: 1.16rem; letter-spacing: -0.02em; line-height: 1.35; }
p { margin: 0; }

.lede { font-size: clamp(1.06rem, 1.9vw, 1.3rem); color: var(--ink-dim); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--ink-dim); }
.faint { color: var(--ink-faint); }
.sig { color: var(--signal); }

.label {
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}

/* ---------- thanh điều hướng ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(8, 9, 11, .72);
  border-bottom: 1px solid var(--line-soft);
}
.nav-in { display: flex; align-items: center; gap: 2rem; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand svg { width: 22px; height: 22px; color: var(--ink); display: block; }
.brand b { font-weight: 570; letter-spacing: .015em; font-size: 1.02rem; }
.brand .sub { color: var(--ink-faint); font-size: .78rem; letter-spacing: .05em; padding-left: .55rem; border-left: 1px solid var(--line); }
.nav-links { display: flex; gap: 1.9rem; align-items: center; }
.nav-links a { font-size: .92rem; color: var(--ink-dim); transition: color .18s ease; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links { display: none; } .brand .sub { display: none; } }

/* ---------- nút ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .72rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .94rem; font-weight: 500;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:hover { border-color: #33383f; background: var(--bg-lift); }
.btn-primary { background: var(--signal); border-color: var(--signal); color: #17130a; font-weight: 560; }
.btn-primary:hover { background: #e7b45a; border-color: #e7b45a; }
.btn .arw { transition: transform .2s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- bố cục ---------- */
section { padding-block: var(--section); position: relative; z-index: 1; }
.rule { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }

.hero { padding-top: clamp(2.6rem, 5.5vw, 4.4rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
/* 🔴 SUA 9/9: truoc day padding-top toi 128px CONG `align-items:center` tren luoi ma cot PHAI
   (o do) CAO hon cot trai ⇒ headline bi day xuong ~400px, nua tren man hinh TRONG TRON.
   🔑 1 khoang trong lon o dau trang doc ra la CHUA LAM XONG, 0 phai la thoang. */
.hero h1 { max-width: 17ch; }
.hero-grid h1 { font-size: clamp(2.3rem, 4.6vw, 3.65rem); }
.hero .lede { margin-top: 1.7rem; }
.hero-cta { margin-top: 2.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* dải số đo */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); border-top: 1px solid var(--line); }
.metric { padding: 2rem 1.6rem 2rem 0; border-right: 1px solid var(--line-soft); }
.metric:last-child { border-right: 0; }
.metric .n { font-family: var(--mono); font-size: clamp(1.7rem, 3.1vw, 2.15rem); color: var(--signal); letter-spacing: -.02em; line-height: 1; }
.metric .t { margin-top: .85rem; font-size: .9rem; color: var(--ink-dim); line-height: 1.5; max-width: 30ch; }
@media (max-width: 640px) { .metric { border-right: 0; border-bottom: 1px solid var(--line-soft); padding-right: 0; } }

/* lưới 2 cột: tiêu đề trái, nội dung phải */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2.2rem; } }

/* thẻ sản phẩm */
.cards { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 3rem; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--bg); padding: 2.1rem 1.9rem 1.9rem; display: flex; flex-direction: column; gap: .9rem; transition: background .25s ease; }
.card:hover { background: var(--bg-lift); }
.card .top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.card .status { font-family: var(--mono); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); border: 1px solid var(--line); padding: .2rem .45rem; border-radius: 2px; white-space: nowrap; }
.card p { font-size: .95rem; color: var(--ink-dim); line-height: 1.6; }
.card .proof { font-family: var(--mono); font-size: .82rem; color: var(--signal); border-top: 1px solid var(--line-soft); padding-top: .95rem; margin-top: auto; }
.card .go { font-size: .9rem; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.card:hover .go .arw { transform: translateX(3px); }

/* danh sách có gạch */
.rows { border-top: 1px solid var(--line-soft); }
.row { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); padding: 1.8rem 0; border-bottom: 1px solid var(--line-soft); }
.row h3 { padding-top: .1rem; }
.row p { color: var(--ink-dim); font-size: .97rem; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; gap: .6rem; } }

/* khối trích/nguyên tắc */
.stmt { border-left: 2px solid var(--signal-dim); padding-left: clamp(1.2rem, 3vw, 2rem); }
.stmt p { font-size: clamp(1.15rem, 2.3vw, 1.5rem); line-height: 1.45; letter-spacing: -.02em; color: var(--ink); max-width: 46ch; }

/* ghi chú trung thực */
.note { border: 1px solid var(--line); border-radius: 2px; padding: 1.3rem 1.5rem; background: var(--bg-lift); }
.note p { font-size: .92rem; color: var(--ink-dim); line-height: 1.62; }
.note .label { display: block; margin-bottom: .6rem; }

/* chân trang */
footer { border-top: 1px solid var(--line-soft); padding-block: 3.4rem 4rem; }
.foot { display: flex; gap: 2.5rem 3rem; flex-wrap: wrap; justify-content: space-between; }
.foot .col { display: flex; flex-direction: column; gap: .55rem; font-size: .88rem; color: var(--ink-dim); }
.foot a:hover { color: var(--ink); }
.legal { margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); font-size: .8rem; color: var(--ink-faint); line-height: 1.7; }

/* hiện dần khi cuộn tới */
.rise { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
/* 🔴 DAO 08:1x 9/9 — TRUOC DAY `.rise` mac dinh `opacity:0` va CHI hien khi site.js + observer chay.
   💀 Ket qua do that (cowork, Playwright, anh toan trang 1265x7655): trang chu atkvn.com **DEN GAN
      NHU TOAN BO** — 33 phan tu `.rise`, `0/33` mo ngay sau tai, chi `5/33` mo sau khi ep cuon het.
      Va **0 loi console, site.js 200, IntersectionObserver co san** ⇒ moi thu deu "dung", chi ket qua HONG.
   🔑🔑 ***1 hieu ung dep ma nam TREN duong song-chet cua NOI DUNG thi no 0 con la hieu ung —
      no la 1 diem hong don. Va no hong theo chieu IM: trang 0 bao loi o dau ca, no chi... DEN.***
   ⛔ 0 vá duoc bang inline script (CSP `script-src 'self'` chan) ⇒ phai dao CHIEU MAC DINH:
      HIEN la mac dinh; `.pre` (an) do site.js TU DAT. JS chet ⇒ nguoi doc van thay CHU. */
.rise.pre { opacity: 0; transform: translateY(14px); }
.rise.in  { opacity: 1; transform: none; }
/* neo `#research` v.v. 0 bi nav che */
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }

::selection { background: rgba(217,164,65,.26); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ═══════════════════════════════════════════════════════════════════════════
   LỚP CHIỀU SÂU + THIẾT BỊ ĐO Ở HERO  (thêm 2/8 — Dong: "chưa thấy wow")
   Nguyên tắc giữ nguyên: ⛔0 hiệu ứng trang trí. Thứ chuyển động trên trang
   phải LÀ chính con số ta bán — 24 kỹ thuật replay, 3 kêu, 21 im.
   ═══════════════════════════════════════════════════════════════════════ */

/* lưới nền rất mờ — cảm giác giấy kỹ thuật, ⛔0 phải hoạ tiết */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* hero 2 cột khi đủ rộng */
.hero-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(2rem,5vw,4.5rem); align-items: start; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* ── THIẾT BỊ ĐO ── */
.rig {
  border: 1px solid var(--line); border-radius: 3px; background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,0) 42%), #0b0d10;
  padding: 1.15rem 1.15rem 1rem; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
}
.rig-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line-soft); }
.rig-head .label { font-size: .62rem; }
.rig-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(217,164,65,.55); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,164,65,.5) } 70% { box-shadow: 0 0 0 7px rgba(217,164,65,0) } 100% { box-shadow: 0 0 0 0 rgba(217,164,65,0) } }

.cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 1.1rem 0 .9rem; }
.cell {
  position: relative; aspect-ratio: 1 / .74; border: 1px solid #191d23; border-radius: 2px;
  background: #0c0e11; overflow: hidden;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.cell::after {
  content: ""; position: absolute; inset: 0; background: var(--signal); opacity: 0;
  transition: opacity .3s ease;
}
.cell.scan { border-color: #2e343d; background: #12151a; }
.cell.hit { border-color: var(--signal); background: rgba(217,164,65,.14); box-shadow: 0 0 22px -6px rgba(217,164,65,.55); }
.cell.hit::after { opacity: .1; }
.cell.miss { border-color: #171b20; background: #0a0c0f; }
.cell .t {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: .58rem; color: var(--signal); opacity: 0;
  transition: opacity .35s ease .1s;
}
.cell.hit .t { opacity: 1; }
.cell .x { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: .6rem; color: #2b3038; opacity: 0; transition: opacity .5s ease; }
.cell.miss .x { opacity: 1; }

.rig-foot { display: flex; gap: 1.4rem; flex-wrap: wrap; padding-top: .9rem; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; }
.rig-foot span { color: var(--ink-faint); }
.rig-foot b { font-weight: 500; color: var(--ink-dim); }
.rig-foot .on { color: var(--signal); }

/* ── lưới năng lực kỹ thuật (Why ATK) ── */
.caps { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (min-width: 700px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .caps { grid-template-columns: repeat(3, 1fr); } }
.cap { background: var(--bg); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; transition: background .25s ease; }
.cap:hover { background: var(--bg-lift); }
.cap .k { font-family: var(--mono); font-size: .63rem; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-dim); }
.cap h3 { font-size: 1.03rem; }
.cap p { font-size: .92rem; color: var(--ink-dim); line-height: 1.6; }
.cap .n { font-family: var(--mono); font-size: .82rem; color: var(--signal); padding-top: .2rem; }

/* số đếm lên */
.metric .n[data-to] { font-variant-numeric: tabular-nums; }

/* ── đồng hồ 3 SIEM (trang VCT) — số THẬT đã đo: T1110.001 ── */
.bars { display: flex; flex-direction: column; gap: .95rem; padding: 1.2rem 0 1rem; }
.bar { display: grid; grid-template-columns: 5.6rem 1fr 4.6rem; gap: .9rem; align-items: center; }
.bar .nm { font-family: var(--mono); font-size: .72rem; color: var(--ink-dim); letter-spacing: .04em; }
.bar .tr { display: block; height: 7px; background: #101317; border: 1px solid #191d23; border-radius: 999px; overflow: hidden; }
.bar .fl { display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, rgba(217,164,65,.35), var(--signal));
  transition: width 1.15s cubic-bezier(.22,.75,.25,1); }
.bar .vl { font-family: var(--mono); font-size: .74rem; color: var(--signal); text-align: right; }
@media (prefers-reduced-motion: reduce) { .bar .fl { transition: none; } }

/* ── công thức HNDL (trang VPQ) — ⛛ ⛔0 phải số đo giả, đây là CÁCH ta chấm ── */
.fx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 1.25rem 0 .5rem; }
.fx .f { border: 1px solid #191d23; border-radius: 2px; background: #0c0e11; padding: .8rem .6rem; text-align: center; }
.fx .f .g { font-family: var(--mono); font-size: 1.35rem; color: var(--signal); line-height: 1; }
.fx .f .l { margin-top: .55rem; font-size: .68rem; color: var(--ink-faint); letter-spacing: .02em; line-height: 1.35; }
.fx-eq { display: flex; align-items: baseline; gap: .6rem; padding: .9rem 0 .2rem; font-family: var(--mono); font-size: .78rem; color: var(--ink-dim); flex-wrap: wrap; }
.fx-eq b { color: var(--signal); font-weight: 500; }

/* ── form liên hệ ── */
.form { display: grid; gap: .85rem; width: 100%; max-width: 560px; text-align: left; }
.form .two { display: grid; gap: .85rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: block; font-family: var(--mono); font-size: .63rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: .4rem; }
.form input, .form textarea {
  width: 100%; background: #0b0d10; border: 1px solid var(--line); border-radius: 2px;
  color: var(--ink); font: inherit; font-size: .95rem; padding: .68rem .8rem;
  transition: border-color .18s ease, background .18s ease;
}
.form textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--signal-dim); background: #0e1116; }
.form input::placeholder, .form textarea::placeholder { color: #4b515b; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .3rem; }
.form-msg { font-size: .88rem; color: var(--ink-dim); min-height: 1.3em; }
.form-msg.ok { color: var(--signal); }
.form-msg.err { color: #e07a63; }
.form button[disabled] { opacity: .55; cursor: default; }
.chan { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; font-size: .92rem; }
.chan a { color: var(--ink-dim); border-bottom: 1px solid transparent; transition: color .18s, border-color .18s; }
.chan a:hover { color: var(--ink); border-color: var(--signal-dim); }

/* ── 21/09/2026 — bổ sung cho 3 trang: terms / sla / prepare-your-file ──────────────
   💀 Viết 3 trang xong mới phát hiện `.link`, `pre`, `code` CHƯA TỪNG có style — trang
   vẫn "chạy" nên lỗi này im lặng: chữ vẫn hiện, chỉ là khối lệnh TRÀN KHUNG trên điện
   thoại và link trong thân bài mất hẳn dấu hiệu nhận biết.
   🔑 HTML không vỡ khi thiếu CSS — nó chỉ xấu đi ở đúng chỗ không ai mở ra xem. */
.link { color: var(--signal); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link:hover { opacity: .78; }

pre {
  background: var(--bg-lift);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 1.1rem 1.2rem;
  margin: 1.6rem 0;
  overflow-x: auto;                /* dài quá thì CUỘN, 0 đẩy vỡ cả trang */
  -webkit-overflow-scrolling: touch;
  font-size: .86rem;
  line-height: 1.62;
}
pre code { background: none; border: 0; padding: 0; font-size: inherit; white-space: pre; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--bg-lift);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: .08em .38em;
  word-break: break-word;
}
/* danh sách trong thân 3 trang mới: giãn cho dễ đọc, và 0 tràn ở màn hẹp */
section ol, section ul { padding-left: 1.3rem; margin: 1.2rem 0; }
section ol > li, section ul > li { margin: .62rem 0; line-height: 1.7; }
section h3 { font-size: 1.04rem; letter-spacing: .01em; }
@media (max-width: 640px) { pre { font-size: .8rem; padding: .9rem 1rem; } }

/* ═══════════════════════════════════════════════════════════════════════════
   28/09/2026 — LỚP SẢN PHẨM (Dong: "không phải landing page đơn giản")
   Vẫn giữ luật: thứ chuyển động = SẢN PHẨM THẬT (output thật của Lite, video thật),
   ⛔0 ảnh stock, ⛔0 logo khách, ⛔0 gọi ra ngoài.
   ═══════════════════════════════════════════════════════════════════════ */
:root { --bad: #e07a63; --good: #7fb58a; }

/* ── nav gọn: nhiều mục thì chữ nhỏ lại thay vì rớt dòng ── */
.nav-links { gap: clamp(1rem, 1.9vw, 1.9rem); }
.nav-links a { white-space: nowrap; }
@media (max-width: 1080px) { .nav-links a.opt { display: none; } }

/* ── hero sản phẩm: chữ trên, "ảnh chụp" sản phẩm lớn dưới ── */
.phero { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.phero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); max-width: 15ch; }
.phero .lede { margin-top: 1.6rem; max-width: 58ch; }
.phero .hero-cta { margin-top: 2.2rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-dim); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .8rem .38rem .55rem; background: rgba(14,16,19,.7); }
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px rgba(217,164,65,.7); display: inline-block; }
.meta-line { margin-top: 1.1rem; font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); letter-spacing: .02em; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.meta-line b { color: var(--ink-dim); font-weight: 500; }

/* ── cửa sổ terminal (output THẬT) ── */
.term { margin-top: clamp(2.5rem, 5vw, 3.6rem); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 30%), #0a0c0f;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(217,164,65,.04), 0 -30px 90px -60px rgba(217,164,65,.35); }
.term-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem .95rem; border-bottom: 1px solid var(--line-soft); background: #0d0f13; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #262a31; display: inline-block; }
.term-bar .tt { margin-left: .6rem; font-family: var(--mono); font-size: .7rem; color: var(--ink-faint); letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-body { margin: 0; border: 0; border-radius: 0; background: transparent; padding: 1.1rem 1.25rem 1.3rem; font-family: var(--mono);
  font-size: clamp(.64rem, .92vw, .78rem); line-height: 1.72; color: #b7bcc6; overflow-x: auto; white-space: pre; min-height: 21.5em; }
.term-body .ln { display: block; }
.term-body .p { color: var(--signal); } .term-body .cmd { color: var(--ink); }
.term-body .dim { color: #5d636d; } .term-body .drop { color: var(--bad); } .term-body .shd { color: var(--signal); }
.term-body .tot { color: var(--ink); }
.term-body.typing .ln { visibility: hidden; }
.term-body.typing .ln.on { visibility: visible; }
.term-body .cur { display: inline-block; width: .55em; height: 1.05em; background: var(--signal); vertical-align: -.18em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-note { margin-top: .8rem; font-size: .8rem; color: var(--ink-faint); }

/* ── khung video ── */
.vframe { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.vframe video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; }
.vmeta { display: flex; gap: .5rem 1.2rem; flex-wrap: wrap; margin-top: .9rem; font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); }

/* ── nhãn kết quả ── */
.tags { border-top: 1px solid var(--line-soft); }
.tagrow { display: grid; grid-template-columns: 1fr; gap: .7rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.tagrow code { font-family: var(--mono); font-size: .76rem; letter-spacing: .03em; padding: .28rem .55rem; border-radius: 3px; background: #0d0f13; border: 1px solid var(--line); display: inline-block; }
.tagrow code.drop { color: var(--bad); border-color: rgba(224,122,99,.35); }
.tagrow code.shd { color: var(--signal); border-color: rgba(217,164,65,.35); }
.tagrow p { color: var(--ink-dim); font-size: .95rem; }

/* ── bảng giá ── */
.plans { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; margin-top: 2.6rem; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { background: var(--bg); padding: 1.8rem 1.55rem 1.6rem; display: flex; flex-direction: column; gap: .95rem; position: relative; }
.plan.feat { background: linear-gradient(180deg, rgba(217,164,65,.07), rgba(217,164,65,0) 55%), var(--bg-lift); }
.plan.feat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--signal); }
.plan .pk { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); display: flex; justify-content: space-between; gap: .5rem; }
.plan .pk em { font-style: normal; color: var(--signal); }
.plan h3 { font-size: 1.12rem; }
.plan .amt { white-space: nowrap; font-size: clamp(1.7rem, 2.3vw, 2.05rem); font-weight: 580; letter-spacing: -.03em; line-height: 1; }
.plan .amt small { font-size: .82rem; font-weight: 450; color: var(--ink-faint); letter-spacing: 0; margin-left: .3rem; }
.plan .alt { font-size: .82rem; color: var(--ink-faint); margin-top: -.45rem; }
.plan ul { list-style: none; padding: 0; margin: .2rem 0 0; display: flex; flex-direction: column; gap: .55rem; }
.plan li { margin: 0; font-size: .89rem; color: var(--ink-dim); line-height: 1.5; padding-left: 1.2rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-right: 1.5px solid var(--signal); border-bottom: 1.5px solid var(--signal); transform: rotate(45deg) translate(-2px,-3px); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .fine { font-size: .78rem; color: var(--ink-faint); line-height: 1.5; }

/* ── các bước ── */
.steps { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 2.6rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--bg); padding: 1.7rem 1.55rem; display: flex; flex-direction: column; gap: .7rem; }
.step .no { font-family: var(--mono); font-size: 1.6rem; color: var(--signal); line-height: 1; }
.step p { font-size: .93rem; color: var(--ink-dim); line-height: 1.6; }

/* ── lưới ghi chú fix ── */
.notes { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 2.4rem; }
@media (min-width: 700px) { .notes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .notes { grid-template-columns: repeat(3, 1fr); } }
.notes a { background: var(--bg); padding: 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .45rem; transition: background .2s ease; }
.notes a:hover { background: var(--bg-lift); }
.notes .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-dim); }
.notes b { font-weight: 540; font-size: .98rem; line-height: 1.35; }
.notes span.d { font-size: .86rem; color: var(--ink-dim); line-height: 1.5; }

/* ── câu hỏi thường gặp ── */
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 1.15rem 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 520; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--signal); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .75rem; color: var(--ink-dim); font-size: .95rem; max-width: 72ch; }

/* ── khối cài đặt ── */
.install { display: grid; gap: 1.2rem; }
.install .box { border: 1px solid var(--line); border-radius: 8px; background: var(--bg-lift); padding: 1.2rem 1.25rem; min-width: 0; }
.install .box pre { margin: .8rem 0 0; font-size: .78rem; background: #0a0c0f; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.head-row .lede { max-width: 52ch; }
.sec-tight { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.row h3 code { background: none; border: 0; padding: 0; font-family: var(--mono); font-size: .95rem; color: var(--signal); }

/* ── trang chủ 28/09: biểu đồ mini trong thẻ sản phẩm (số ĐÃ CÔNG BỐ, ⛔0 số mới) ── */
.mini { border: 1px solid var(--line-soft); border-radius: 4px; background: #0b0d10; padding: .85rem .9rem; margin-top: .3rem; }
.mini .bars { padding: .2rem 0; gap: .6rem; }
.mini .bar { grid-template-columns: 3.9rem 1fr 3rem; gap: .6rem; }
.mini .bar .nm, .mini .bar .vl { font-size: .64rem; }
.mini .fx { padding: .1rem 0; gap: 5px; }
.mini .fx .f { padding: .5rem .3rem; }
.mini .fx .f .g { font-size: 1rem; }
.mini .fx .f .l { font-size: .58rem; margin-top: .35rem; }
.split-bar { display: flex; height: 9px; border-radius: 999px; overflow: hidden; border: 1px solid #191d23; background: #101317; }
.split-bar .a { background: linear-gradient(90deg, rgba(217,164,65,.35), var(--signal)); width: 0; transition: width 1.2s cubic-bezier(.22,.75,.25,1); }
.split-bar .b { background: #3a3f47; flex: 1; }
.split-leg { display: flex; justify-content: space-between; margin-top: .55rem; font-family: var(--mono); font-size: .64rem; color: var(--ink-faint); }
.split-leg b { color: var(--signal); font-weight: 500; }

/* ── khối "có sẵn ngay": sản phẩm bán được hôm nay ── */
.feature { border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: radial-gradient(80% 120% at 100% 0%, rgba(217,164,65,.08), transparent 60%), var(--bg-lift); }
.feature-in { display: grid; gap: 0; }
@media (min-width: 980px) { .feature-in { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); } }
.feature-copy { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.1rem; }
.feature-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.feature-copy p { color: var(--ink-dim); }
.feature-side { padding: clamp(1.2rem, 3vw, 2rem); border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
@media (min-width: 980px) { .feature-side { border-top: 0; border-left: 1px solid var(--line-soft); } }
.feature-side .term { margin-top: 0; }
.feature-side .term-body { min-height: 0; font-size: clamp(.6rem, .78vw, .7rem); }
.vcard { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: .7rem; background: #0b0d10; transition: border-color .2s ease; }
.vcard:hover { border-color: var(--signal-dim); }
.vcard .th { position: relative; aspect-ratio: 16/9; border-radius: 5px; overflow: hidden; background: #000 url(/media/yt1-poster.jpg) center / cover no-repeat; }
.vcard .th::after { content: ""; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(217,164,65,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%2317130a'/%3E%3C/svg%3E") center / 20px no-repeat; }
.vcard b { display: block; font-weight: 540; font-size: .95rem; line-height: 1.35; }
.vcard span { font-family: var(--mono); font-size: .68rem; color: var(--ink-faint); }
.nav .btn-sm { padding: .5rem .9rem; font-size: .85rem; }

/* ── VCT 28/09: khối nguyên tắc = 1 câu lớn + thân chữ thường (trước: CẢ thân cũng cỡ 1.5rem ⇒ tường chữ) ── */
.stmt p + p.faint, .stmt p.faint { font-size: .97rem; line-height: 1.65; color: var(--ink-dim); letter-spacing: -.005em; margin-top: .75rem; max-width: 62ch; }

/* ── sơ đồ quy trình tĩnh: mỗi bước mang CON SỐ đã công bố, ⛔0 hoạt ảnh trang trí ── */
.flow { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow .st { background: var(--bg); padding: 1.4rem 1.3rem 1.3rem; position: relative; display: flex; flex-direction: column; gap: .5rem; }
.flow .st .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.flow .st b { font-weight: 560; font-size: 1.05rem; }
.flow .st .v { font-family: var(--mono); font-size: .8rem; color: var(--signal); }
.flow .st .d { font-size: .84rem; color: var(--ink-dim); line-height: 1.5; }
@media (min-width: 900px) {
  .flow .st:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 1.55rem; width: 12px; height: 12px; z-index: 2;
    background: var(--bg); border-top: 1px solid var(--signal-dim); border-right: 1px solid var(--signal-dim); transform: rotate(45deg); }
}

/* ── VPQ 28/09: 40 cửa trước — số ĐÃ công bố (31/40 KEX lai PQ, 0/40 chữ ký PQ). Ô = đếm, ⛔0 phải thứ tự host ── */
.doors { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; padding: 1.1rem 0 .9rem; }
.doors .d { aspect-ratio: 1; border: 1px solid #191d23; border-radius: 2px; background: #0c0e11; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.doors .d.on { border-color: var(--signal); background: rgba(217,164,65,.16); box-shadow: 0 0 14px -5px rgba(217,164,65,.6); }
.doors .d.off { border-color: #171b20; background: #0a0c0f; }
.sigrow { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0 .2rem; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: .7rem; color: var(--ink-faint); }
.sigrow b { color: var(--bad); font-weight: 500; }
.sigrow b { white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   29/09/2026 — BẢNG MÀU v3 (Dong: "có thể thay đổi màu sắc", mục tiêu: thấy ngay là công ty công nghệ lớn)
   Nền đen ngả navy sâu + đường kẻ lạnh. Vàng hổ phách GIỮ làm màu thương hiệu & màu SỐ ĐO.
   Xanh điện (--cool) CHỈ cho quầng sáng/chiều sâu, ⛔0 dùng cho số đo.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #05070b;
  --bg-lift: #0b0f16;
  --line: #1b2230;
  --line-soft: #121824;
  --ink: #eef1f6;
  --ink-dim: #9ea7b8;
  --ink-faint: #677286;
  --cool: #4f7dff;
}
body::before {
  inset: -35vh 0 auto 0; height: 110vh;
  background:
    radial-gradient(45% 40% at 22% 0%, rgba(79,125,255,.13), transparent 70%),
    radial-gradient(40% 38% at 80% 4%, rgba(217,164,65,.09), transparent 70%);
}
body::after {
  background-image:
    linear-gradient(to right, rgba(140,165,220,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140,165,220,.035) 1px, transparent 1px);
}
h1, h2 { font-weight: 600; }
h1 { background: linear-gradient(180deg, #ffffff 30%, #b9c3d6 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { background: rgba(5,7,11,.72); }
.btn { border-radius: 6px; }
.btn-primary { box-shadow: 0 8px 30px -10px rgba(217,164,65,.55); }
.card, .cap, .plan, .step, .notes a, .flow .st { transition: background .25s ease, box-shadow .25s ease; }
.card:hover, .cap:hover, .notes a:hover { box-shadow: inset 0 0 0 1px rgba(79,125,255,.22); }
.rig, .term, .feature, .vframe { box-shadow: 0 40px 100px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(79,125,255,.05), 0 -20px 80px -50px rgba(79,125,255,.35); }
.kicker { border-color: rgba(79,125,255,.28); background: rgba(12,17,28,.75); }

/* ── menu điện thoại (29/09): trước đó ≤720px KHÔNG có menu nào ── */
.mtog { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: .6rem; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.mtog span, .mtog span::before, .mtog span::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s ease, background .2s ease; }
.mtog span::before, .mtog span::after { content: ""; position: absolute; left: 0; }
.mtog span::before { top: -5px; } .mtog span::after { top: 5px; }
.nav.open .mtog span { background: transparent; }
.nav.open .mtog span::before { transform: translateY(5px) rotate(45deg); }
.nav.open .mtog span::after { transform: translateY(-5px) rotate(-45deg); }
.mpanel { display: none; }
@media (max-width: 1080px) {
  .mtog { display: inline-flex; }
  .nav.open .mpanel { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; padding: .6rem var(--pad) 1.4rem;
    background: #07090e; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
  .mpanel a { padding: .85rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: 1.02rem; }
  .mpanel a.btn { margin-top: 1rem; justify-content: center; border-bottom: 1px solid var(--line); padding: .8rem 1rem; }
  .mpanel a.btn-primary { border-color: var(--signal); }
}
@media (max-width: 520px) { .nav-in > .btn { display: none; } }

/* ── footer công ty 5 cột + dòng pháp nhân (29/09) ── */
.foot5 { display: grid; gap: 2.2rem 2rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 760px) { .foot5 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1060px) { .foot5 { grid-template-columns: 1.1fr 1.25fr 1fr 1fr 1fr; } }
.foot5 .col a { line-height: 1.45; }
.corp { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; font-size: .82rem; color: var(--ink-dim); }
.corp .mark { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 560; }
.corp .mark svg { width: 18px; height: 18px; }
.corp span { color: var(--ink-faint); }

/* ── dải tin cậy: chỉ những thứ KIỂM ĐƯỢC ── */
.trust { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1060px) { .trust { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.trust .ti { background: var(--bg); padding: 1.3rem 1.3rem 1.2rem; display: grid; grid-template-columns: 34px 1fr; gap: .85rem; align-items: start; }
.trust .ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; border: 1px solid rgba(79,125,255,.28); background: rgba(79,125,255,.07); color: #9db6ff; }
.trust .ic svg { width: 17px; height: 17px; }
.trust b { display: block; font-size: .92rem; font-weight: 560; }
.trust p { font-size: .82rem; color: var(--ink-dim); line-height: 1.5; margin-top: .2rem; }
.trust a { border-bottom: 1px solid var(--line); }
.trust a:hover { border-color: var(--signal-dim); color: var(--ink); }
