/* MrTroy — ban 2 "that tha": nen sang, trung tinh, it vang */
:root {
  --bg: #f7f6f2;
  --paper: #ffffff;
  --ink: #1d2126;
  --ink-2: #4a525c;
  --muted: #6c7480;
  --line: #e3e1da;
  --line-2: #d4d1c8;
  --accent: #1f5f8b;
  --accent-ink: #ffffff;
  --accent-soft: #e8f0f6;
  --gold: #a07a2c;
  --pos: #1e7a4c;
  --neg: #b3402f;
  --warn-bg: #fff7e6;
  --warn-line: #f0d9a8;
  --radius: 12px;
  --maxw: 1100px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15181c; --paper: #1c2026; --ink: #e9ecef; --ink-2: #c3c9d0; --muted: #949ca6;
    --line: #2c3239; --line-2: #39414a; --accent: #7fb4dc; --accent-ink: #0f1418; --accent-soft: #1e2a35;
    --gold: #d2ad62; --pos: #5fc394; --neg: #ef8a7a; --warn-bg: #2a2416; --warn-line: #4a3f22; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15181c; --paper: #1c2026; --ink: #e9ecef; --ink-2: #c3c9d0; --muted: #949ca6;
  --line: #2c3239; --line-2: #39414a; --accent: #7fb4dc; --accent-ink: #0f1418; --accent-soft: #1e2a35;
  --gold: #d2ad62; --pos: #5fc394; --neg: #ef8a7a; --warn-bg: #2a2416; --warn-line: #4a3f22; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.pos { color: var(--pos); font-weight: 600; }
.neg { color: var(--neg); font-weight: 600; }
.placeholder { display: inline-block; font-size: 12px; font-weight: 600; color: #b26b00; border: 1px dashed #e0a43a; border-radius: 6px; padding: 0 6px; vertical-align: middle; background: #fff8ea; }
.proto { background: #fff3cd; color: #7a5a00; font-size: 12.5px; text-align: center; padding: 5px 12px; font-weight: 600; border-bottom: 1px solid #f0d9a8; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: var(--ink-2); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-2); }
.btn-sm { padding: 7px 13px; font-size: 14px; }
.btn-block { width: 100%; }

/* header */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.brand b { display: block; font-size: 17px; line-height: 1.15; }
.brand small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button { font: inherit; font-size: 12.5px; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 5px 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; }

/* hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.18; margin: 10px 0 16px; letter-spacing: -.01em; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 24px; max-width: 600px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.facts-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.facts-box h2 { font-size: 15px; margin: 0 0 10px; }
.facts-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.facts-box li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.facts-box li::before { content: "•"; color: var(--gold); font-weight: 700; }

/* money box */
.money { background: var(--accent-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 20px; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.money b { color: var(--ink); }

section.block { padding: 56px 0; border-top: 1px solid var(--line); }
section.block.alt { background: var(--paper); }
.sec-head { max-width: 720px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; margin: 6px 0 8px; }
.sec-head p { margin: 0; color: var(--ink-2); }

/* bang so lieu */
.tbl-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 860px; }
th, td { padding: 13px 14px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--bg); text-transform: none; }
th:first-child, td:first-child { text-align: left; }
tbody tr:last-child td { border-bottom: 0; }
td .ea-name { font-weight: 700; color: var(--ink); display: block; }
.ea-no { display: inline-block; min-width: 1.5em; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
td .ea-desc { font-size: 13px; color: var(--muted); display: block; max-width: 250px; }
td.live a { font-size: 13px; }
.group-h { text-align: center !important; border-bottom: 1px solid var(--line-2); }
.notes { margin: 14px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; }
.ea-cards { display: none; }

/* ai khong nen dung */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fit-col h3 { margin: 0 0 12px; font-size: 18px; display: flex; gap: 10px; align-items: center; }
.fit-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fit-col li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; color: var(--ink-2); }
.fit-col.no li::before { content: "✕"; color: var(--neg); font-weight: 700; }
.fit-col.yes li::before { content: "✓"; color: var(--pos); font-weight: 700; }
.badge { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.badge.no { background: #fbe9e6; color: var(--neg); }
.badge.yes { background: #e5f3ec; color: var(--pos); }

/* quy trinh */
.proc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.proc ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); }
.proc ol b { color: var(--ink); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* dung thu */
.trial { display: flex; gap: 18px; align-items: center; justify-content: space-between; background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 18px; }
.trial p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.trial .btn { flex: none; }
@media (max-width: 720px) { .trial { flex-direction: column; align-items: stretch; } }

/* cach nhan */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.path { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.path h3 { margin: 0; font-size: 20px; }
.path .price { font-size: 26px; font-weight: 700; }
.path .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.path ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }
.path .catch { font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 10px; }
.path .btn { margin-top: auto; }
.side-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* form */
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.tabs button { font: inherit; font-size: 14.5px; font-weight: 600; border: 0; background: var(--paper); color: var(--muted); padding: 10px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.field { display: grid; gap: 5px; margin-bottom: 15px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.hint { font-size: 12.5px; color: var(--muted); }
.req { color: var(--neg); }
.input { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; }
.input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.input.bad { border-color: var(--neg); }
.err { display: none; font-size: 12.5px; color: var(--neg); }
.field.has-err .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ea-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pick { display: flex; gap: 9px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; cursor: pointer; }
.pick input { width: 16px; height: 16px; accent-color: var(--ink); }
.pick .price-tag { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.notice { font-size: 13.5px; padding: 11px 13px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); margin-bottom: 15px; }
.notice.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.consent { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); margin: 4px 0 16px; }
.consent input { flex: none; width: 16px; height: 16px; margin-top: 4px; accent-color: var(--ink); }
.summary { display: grid; gap: 5px; font-size: 14px; padding: 12px; border-radius: 8px; border: 1px dashed var(--line-2); margin-bottom: 15px; }
.summary div { display: flex; justify-content: space-between; }
.summary .total { border-top: 1px solid var(--line); padding-top: 6px; font-weight: 700; }
.hp { position: absolute; left: -9999px; }
.qr-row { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.qr-row img { width: 96px; height: 96px; border: 1px solid var(--line); border-radius: 8px; }
.done { text-align: left; }
.done h3 { margin: 0 0 6px; font-size: 21px; }
.ref { font-family: ui-monospace, Consolas, monospace; background: var(--bg); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }
.next-list { margin: 14px 0 18px; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }

/* faq + footer */
.faq { display: grid; gap: 22px; max-width: 840px; }
.faq-grid { display: grid; gap: 8px; }
.faq-cat { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.faq-no { display: inline-block; min-width: 1.7em; color: var(--muted); font-variant-numeric: tabular-nums; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
footer { background: var(--paper); border-top: 1px solid var(--line); padding: 32px 0; font-size: 13.5px; color: var(--muted); }
footer .wrap { display: grid; gap: 12px; }
footer h4 { margin: 0; color: var(--ink); font-size: 14.5px; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.foot-row a { color: var(--muted); margin-left: 14px; }

@media (max-width: 900px) {
  .hero .wrap, .proc, .form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .nav.open { display: grid; position: absolute; top: 62px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px; gap: 2px; }
  .nav.open a { padding: 9px 0; }
  .menu-btn { display: inline-flex; margin-left: auto; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 8px; padding: 6px 8px; cursor: pointer; }
  .top .wrap { gap: 10px; }
  .hero { padding: 36px 0 28px; }
  .lead { font-size: 16.5px; }
  .cta .btn { flex: 1; }
  .tbl-wrap { display: none; }
  .ea-cards { display: grid; gap: 12px; }
  .ea-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
  .ea-card h3 { margin: 0 0 2px; font-size: 17px; }
  .ea-card p { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
  .ea-card dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-size: 14px; }
  .ea-card dt { color: var(--ink-2); }
  .ea-card dd { margin: 0; text-align: right; }
  .fit, .paths, .row2, .ea-pick { grid-template-columns: 1fr; }
  section.block { padding: 44px 0; }
  .form, .path, .fit-col { padding: 18px; }
  .foot-row a { margin: 0 12px 0 0; }
}


/* ================= bieu do ================= */
.hero-chart { margin: 34px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 14px; }
.hero-chart figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.hc-title { font-weight: 700; font-size: 15px; }
.hc-stats { font-size: 14.5px; color: var(--ink-2); }
.hc-stats b { font-size: 20px; }
.chart { position: relative; height: 240px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.c-line { fill: none; stroke: var(--chart, var(--accent)); stroke-width: 2.2; }
.c-area { fill: var(--chart-fill, rgba(31, 95, 139, .10)); }
.c-zero { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 4 4; }
.c-ddbox { fill: var(--dd-fill, rgba(179, 64, 47, .12)); stroke: var(--neg); stroke-width: 1; stroke-dasharray: 3 3; }
.c-lbl { position: absolute; bottom: -2px; font-size: 12px; color: var(--muted); }
.c-start { left: 0; } .c-end { right: 0; }
.c-ddl { top: 6px; bottom: auto; transform: translateX(-50%); color: var(--neg); font-weight: 600; white-space: nowrap; background: var(--paper); padding: 0 6px; border-radius: 4px; }
.hc-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.spark-cell { width: 170px; }
.spark { width: 160px; height: 44px; display: block; margin-left: auto; }
.spark .c-line { stroke-width: 1.6; }
.ea-card .spark { width: 100%; height: 56px; margin: 0 0 10px; }

/* ================= nut doi kieu (ban mau) ================= */
.style-switch { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; gap: 4px; align-items: center; background: #111; color: #fff; padding: 6px 8px; border-radius: 999px; font-size: 12.5px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.style-switch span { padding: 0 4px 0 6px; opacity: .7; }
.style-switch button { font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: 5px 11px; background: transparent; color: #fff; cursor: pointer; }
.style-switch button[aria-pressed="true"] { background: #fff; color: #111; }

/* ================= KIEU FINTECH ================= */
[data-style="fintech"] {
  --bg: #f4f6fb; --paper: #ffffff; --ink: #0d1b2e; --ink-2: #3c4a5e; --muted: #6b778a; --line: #e2e7f0; --line-2: #cfd7e4;
  --accent: #2563eb; --accent-soft: #eaf1ff; --gold: #2563eb; --pos: #059669; --neg: #dc2626; --radius: 16px;
  --chart: #3b82f6; --chart-fill: rgba(59, 130, 246, .18);
}
[data-style="fintech"] body { font-size: 16px; }
[data-style="fintech"] .top { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); }
[data-style="fintech"] .hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(59,130,246,.45), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(16,185,129,.22), transparent 60%),
    linear-gradient(180deg, #0b1b33, #0d2444);
  color: #eef3fb; padding: 64px 0 56px;
}
[data-style="fintech"] .hero .kicker { color: #7fb0ff; }
[data-style="fintech"] .hero h1 { font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.02em; }
[data-style="fintech"] .hero .lead { color: #b8c6dc; }
[data-style="fintech"] .hero .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
[data-style="fintech"] .hero .btn-primary { background: #3b82f6; border-color: #3b82f6; color: #fff; }
[data-style="fintech"] .hero .facts-box { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e7eef9; }
[data-style="fintech"] .hero .facts-box h2 { color: #fff; }
[data-style="fintech"] .hero .facts-box ul { color: #c4d1e6; }
[data-style="fintech"] .hero .facts-box li::before { color: #7fb0ff; }
[data-style="fintech"] .hero-chart { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); --paper: #10284a; }
[data-style="fintech"] .hero-chart .hc-title { color: #fff; }
[data-style="fintech"] .hero-chart .hc-stats { color: #b8c6dc; }
[data-style="fintech"] .hero-chart .pos { color: #34d399; }
[data-style="fintech"] .hero-chart .neg, [data-style="fintech"] .hero-chart .c-ddl { color: #fca5a5; }
[data-style="fintech"] .hero-chart .c-lbl, [data-style="fintech"] .hero-chart .hc-note { color: #8ea2c0; }
[data-style="fintech"] .hero-chart .c-line { stroke: #60a5fa; }
[data-style="fintech"] .hero-chart .c-zero { stroke: rgba(255,255,255,.25); }
[data-style="fintech"] .hero-chart .c-ddbox { fill: rgba(248,113,113,.16); stroke: #f87171; }
[data-style="fintech"] .money { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); border-left-color: #34d399; color: #c4d1e6; }
[data-style="fintech"] .money b { color: #fff; }
[data-style="fintech"] section.block { border-top: 0; }
[data-style="fintech"] .sec-head h2 { font-weight: 800; letter-spacing: -.015em; }
[data-style="fintech"] .tbl-wrap, [data-style="fintech"] .fit-col, [data-style="fintech"] .path, [data-style="fintech"] .form, [data-style="fintech"] details, [data-style="fintech"] .ea-card { box-shadow: 0 1px 2px rgba(13,27,46,.04), 0 8px 24px rgba(13,27,46,.06); border-color: transparent; }
[data-style="fintech"] .btn-primary { background: #2563eb; border-color: #2563eb; }
[data-style="fintech"] .btn-primary:hover { background: #1d4ed8; }
[data-style="fintech"] .tabs button[aria-selected="true"] { background: #2563eb; }
[data-style="fintech"] .lang button[aria-pressed="true"] { background: #2563eb; }
[data-style="fintech"] .trial { background: linear-gradient(90deg, #eaf1ff, #e8fbf3); border-color: transparent; }
[data-style="fintech"] .path:last-child { outline: 2px solid #2563eb; }
[data-style="fintech"] footer { background: #0b1b33; color: #8ea2c0; border-top: 0; }
[data-style="fintech"] footer h4 { color: #fff; }
[data-style="fintech"] footer .foot-row { border-top-color: rgba(255,255,255,.12); }
[data-style="fintech"] footer .foot-row a { color: #b8c6dc; }

/* ================= KIEU TERMINAL ================= */
[data-style="terminal"] {
  --bg: #0a0d10; --paper: #0f1418; --ink: #e6edf3; --ink-2: #b6c2cd; --muted: #7d8a96; --line: #1f2a33; --line-2: #2b3843;
  --accent: #22d3ee; --accent-soft: #0f1e24; --gold: #f5c542; --pos: #22c55e; --neg: #f43f5e; --radius: 6px;
  --warn-bg: #1d1a0d; --warn-line: #4a3f15;
  --chart: #22c55e; --chart-fill: rgba(34, 197, 94, .14); --dd-fill: rgba(244, 63, 94, .14);
}
[data-style="terminal"] body { background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 28px 28px; }
[data-style="terminal"] .num, [data-style="terminal"] .hc-stats b, [data-style="terminal"] .kicker, [data-style="terminal"] th, [data-style="terminal"] .c-lbl, [data-style="terminal"] .ref, [data-style="terminal"] .price { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; }
[data-style="terminal"] .kicker { color: var(--gold); letter-spacing: .12em; }
[data-style="terminal"] .kicker::before { content: "> "; color: var(--pos); }
[data-style="terminal"] h1 { font-weight: 800; letter-spacing: -.02em; }
[data-style="terminal"] .top { background: rgba(10,13,16,.92); backdrop-filter: blur(8px); }
[data-style="terminal"] .hero { border-bottom: 1px solid var(--line); }
[data-style="terminal"] .btn { background: transparent; border-color: var(--line-2); color: var(--ink); border-radius: 4px; }
[data-style="terminal"] .btn-primary { background: var(--pos); border-color: var(--pos); color: #04130a; }
[data-style="terminal"] .btn-primary:hover { background: #16a34a; }
[data-style="terminal"] .lang button[aria-pressed="true"], [data-style="terminal"] .tabs button[aria-selected="true"] { background: var(--pos); color: #04130a; }
[data-style="terminal"] section.block.alt { background: rgba(15,20,24,.85); }
[data-style="terminal"] .hero-chart, [data-style="terminal"] .tbl-wrap, [data-style="terminal"] .facts-box { border-color: var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
[data-style="terminal"] .hero-chart { background: #0b1013; }
[data-style="terminal"] th { background: #0b1013; color: var(--gold); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
[data-style="terminal"] tbody tr:hover { background: #121a20; }
[data-style="terminal"] .badge.no { background: rgba(244,63,94,.15); }
[data-style="terminal"] .badge.yes { background: rgba(34,197,94,.15); }
[data-style="terminal"] .placeholder { background: #2a2108; color: #f5c542; border-color: #6b5615; }
[data-style="terminal"] .proto { background: #2a2108; color: #f5c542; border-color: #4a3f15; }
[data-style="terminal"] .money { border-left-color: var(--pos); }


/* ================= dai so ve du an ================= */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 36px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 4px; }
.stat b { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--accent); letter-spacing: -.01em; }
.stat span { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
[data-style="fintech"] .stat { box-shadow: 0 1px 2px rgba(13,27,46,.04), 0 8px 24px rgba(13,27,46,.06); border-color: transparent; }
[data-style="terminal"] .stat b { color: var(--pos); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* bieu do + hop tien nam full chieu ngang duoi hero */
.hero .wrap + .wrap { display: block; }



/* ================= 25/11: dai so noi bat, pass view, gia, dich vu, cong cu, lien he ================= */
.band { padding: 72px 0; color: #eef3fb; text-align: center;
  background: radial-gradient(800px 360px at 15% 0%, rgba(59,130,246,.40), transparent 60%), radial-gradient(700px 360px at 90% 100%, rgba(16,185,129,.26), transparent 60%), linear-gradient(180deg, #0b1b33, #0d2444); }
.band .kicker { color: #7fb0ff; }
.band h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.015em; margin: 8px 0 36px; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.big { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 26px 16px 22px; display: grid; gap: 2px; justify-items: center; }
.big b { font-size: clamp(44px, 6vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff, #8fc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big em { font-style: normal; font-weight: 700; font-size: 17px; color: #fff; margin-top: 6px; }
.big > span { font-size: 14px; color: #b8c6dc; line-height: 1.45; max-width: 220px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.chip-b { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); color: #d6f7e8; }
.chip-b svg { color: #34d399; flex: none; }

.pass-row { display: flex; align-items: center; gap: 14px; background: var(--accent-soft); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; font-size: 15px; color: var(--ink-2); }
.pass-row > svg { flex: none; color: var(--accent); }
.pass-row > span { flex: 1; }
.pass-row .btn { flex: none; }

.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
[data-style="fintech"] .price-row .path:last-child { outline: 0; }
[data-style="fintech"] .price-row .path:first-child { outline: 2px solid #2563eb; }
.trial-card { background: linear-gradient(160deg, #eaf1ff, #e8fbf3); }

.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-card { background: var(--paper); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; box-shadow: 0 1px 2px rgba(13,27,46,.04), 0 8px 24px rgba(13,27,46,.06); }
.svc-card h3 { margin: 0; font-size: 19px; }
.svc-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.svc-card .btn { margin-top: auto; }
.svc-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tools-h { margin: 40px 0 14px; font-size: 18px; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tool { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.tool:hover { border-color: var(--accent); transform: translateY(-1px); }
.tool b { display: block; font-size: 16.5px; }
.tool small { display: block; font-size: 13.5px; color: var(--muted); }
.tool-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #0d2444; color: #8fc0ff; }
.tool-go { margin-left: auto; color: var(--accent); font-size: 18px; }

.contact { padding: 68px 0; text-align: center; color: #eef3fb; background: linear-gradient(135deg, #1d4ed8, #0f766e); }
.contact h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin: 0 0 8px; }
.contact p { margin: 0 0 22px; color: #d5e3f7; }
.btn-lg { font-size: 17px; padding: 15px 28px; border-radius: 14px; }
.contact .btn-primary, [data-style="fintech"] .contact .btn-primary { background: #fff; color: #0d2444; border-color: #fff; }
.contact .btn-primary:hover, [data-style="fintech"] .contact .btn-primary:hover { background: #e8f0ff; }
.ct-safe { margin: 22px auto 0 !important; max-width: 640px; font-size: 13.5px; color: #c9daf2 !important; }
.ct-safe b { color: #fff; }
footer .foot-row span:last-child { display: flex; flex-wrap: wrap; gap: 4px 0; }

@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .band { padding: 52px 0; }
  .price-row, .svc, .tools { grid-template-columns: 1fr; }
  .pass-row { flex-direction: column; align-items: stretch; text-align: left; }
  .pass-row > svg { display: none; }
  .big { padding: 20px 10px 18px; }
}


/* ================= 25/11 toi: o gia 99 USD + 4 o dich vu ================= */
.offer { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-bottom: 18px; padding: 20px 24px; border-radius: var(--radius); color: #eef3fb;
  background: radial-gradient(500px 200px at 0% 0%, rgba(59,130,246,.5), transparent 70%), linear-gradient(120deg, #0d2444, #0f3a5f); }
.offer-price { display: grid; gap: 2px; }
.offer-price b { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; }
.offer-price span { font-size: 14px; color: #b8c6dc; }
.offer-inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 14.5px; color: #d5e3f7; }
.offer-inc li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.offer-inc li::before { content: "✓"; color: #34d399; font-weight: 700; }
.offer-cta { display: grid; gap: 8px; }
.offer .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.offer .btn-primary, [data-style="fintech"] .offer .btn-primary { background: #fff; color: #0d2444; border-color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(13,27,46,.04), 0 8px 24px rgba(13,27,46,.06); transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.tile b { font-size: 17px; line-height: 1.3; }
.tile small { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.tile-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #0d2444; color: #8fc0ff; margin-bottom: 4px; }
.tile:first-child .tile-ic { background: var(--accent); color: #fff; }
.tile-go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
@media (max-width: 980px) { .tiles { grid-template-columns: 1fr 1fr; } .offer { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }


/* ================= 25/11 khuya: bang gon hon, QR Telegram ================= */
td .ea-desc { white-space: nowrap; max-width: none; }
th { white-space: nowrap; }
p.notes { display: block; padding: 0; margin: 14px 0 0; }
.tg-qr { display: inline-block; margin: 0 0 18px; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); line-height: 0; }
.tg-qr img { display: block; width: 176px; height: 200px; }
.tg-name { font-weight: 500; opacity: .75; }

.tg-qr { display: block; width: 176px; margin: 0 auto 18px; }



/* ================= 25/11: 4 o so nam trong hero ================= */
.hero-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: center; text-align: center; }
.hero-nums .big { padding: 20px 12px 16px; border-radius: 16px; }
.hero-nums .big b { font-size: clamp(38px, 4.4vw, 54px); }
.hero-nums .big em { font-size: 15.5px; margin-top: 4px; }
.hero-nums .big > span { font-size: 13px; }
.hero .chips { margin: 30px 0 0; justify-content: flex-start; }
.hero .hero-chart { margin-top: 18px; }
@media (max-width: 720px) { .hero .chips { justify-content: center; } .hero-nums .big > span { display: none; } }
/* 29/11: o dau (8 nam trading) giu dong phu "15+ nam lap trinh" ca tren dien thoai */
@media (max-width: 720px) { .hero-nums .big:first-child > span { display: block; font-size: 12.5px; } }


/* ================= 25/11: 3 y chinh noi bat duoi tieu de ================= */
.hero-keys { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.hero-keys .key { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 12px; font-size: 17px; font-weight: 700; color: #fff;
  background: rgba(52, 211, 153, .16); border: 1.5px solid rgba(52, 211, 153, .6); }
.hero-keys .key svg { color: #34d399; flex: none; }
[data-style="light"] .hero-keys .key, :root:not([data-style]) .hero-keys .key { color: var(--ink); }
@media (max-width: 720px) { .hero-keys .key { font-size: 15.5px; padding: 8px 13px; } }


/* ================= 25/11: tieu de nho lai, cot he so lai/lo ================= */
[data-style="fintech"] .hero h1 { font-size: clamp(28px, 3.5vw, 42px); }
td.pf, dd.pf { font-weight: 700; color: var(--ink); }

td .ea-name { white-space: nowrap; }


/* 25/11: bang EA vua khung, khong bi cat ben phai */
table { min-width: 0; }
th, td { padding: 12px 10px; }
th { white-space: normal; line-height: 1.3; vertical-align: bottom; }
th:first-child, td:first-child { padding-left: 16px; }
th:last-child, td:last-child { padding-right: 16px; white-space: nowrap; }
.spark-cell { width: 130px; }
.spark { width: 120px; }

/* 25/11: 5 buoc test moi buoc mot dong */
.proc ol { gap: 8px; }
.proc ol li { white-space: nowrap; }
@media (max-width: 520px) { .proc ol li { white-space: normal; } }

/* 25/11: nut YouTube o khoi lien he */
.contact .yt-btn { margin-left: 10px; background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.contact .yt-btn:hover { background: rgba(255,255,255,.18); }
@media (max-width: 560px) { .contact .yt-btn { margin: 10px 0 0; } .contact .btn-lg { width: 100%; } }
/* 29/11: dong email trong muc lien he */
.ct-mail { margin: 18px 0 0 !important; font-size: 15px; }
.ct-mail a { color: #fff; font-weight: 700; }
/* o Chay that trong bang: nhan tron co cham xanh thay cho link tran */
a.live-pill, td.live a.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #e7f6ee; color: #0a7d4b; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s; }
a.live-pill:hover { background: #d3efe0; }
a.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgba(18,183,106,.18); }
.live-upd { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; white-space: nowrap; }
td.live .pos, td.live .neg { font-weight: 700; }
td.live .live-pill, td.live .new-tag { margin-top: 3px; }
/* 29/11: o dich vu rieng co hai nut lien he (Telegram + email) */
.tile-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.tile-acts .tile-go { margin-top: 0; text-decoration: none; }
.tile-acts .tile-go:hover { filter: brightness(.94); }
.tile:first-child .mail-btn, .tile:first-child:hover .mail-btn { background: rgba(255,255,255,.16); color: #fff; }

th.nowrap { white-space: nowrap; }

/* 25/11: cac dong phu nam tren mot dong o man hinh rong */
#data .sec-head { max-width: none; }
.ct-safe { max-width: 900px !important; }


/* 25/11: 4 o dich vu noi hon — moi o mot mau, nut dang vien thuoc */
#services { background: linear-gradient(180deg, #eef3ff, #f4f6fb); }
.tile { --tc: #2563eb; --tcs: rgba(37, 99, 235, .12); position: relative; overflow: hidden; padding: 24px 22px 22px; border: 0; border-top: 4px solid var(--tc);
  box-shadow: 0 2px 4px rgba(13,27,46,.05), 0 14px 34px rgba(13,27,46,.09); }
.tile:nth-child(2) { --tc: #7c3aed; --tcs: rgba(124, 58, 237, .12); }
.tile:nth-child(3) { --tc: #d97706; --tcs: rgba(217, 119, 6, .14); }
.tile:nth-child(4) { --tc: #059669; --tcs: rgba(5, 150, 105, .13); }
.tile::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--tcs); pointer-events: none; }
.tile:hover { transform: translateY(-5px); border-color: var(--tc); box-shadow: 0 4px 8px rgba(13,27,46,.06), 0 22px 44px rgba(13,27,46,.16); }
.tile .tile-ic, .tile:first-child .tile-ic { width: 58px; height: 58px; border-radius: 16px; background: var(--tc); color: #fff; box-shadow: 0 8px 18px var(--tcs); }
.tile b { font-size: 18px; }
.tile-go { align-self: flex-start; margin-top: auto; padding: 8px 15px; border-radius: 999px; background: var(--tcs); color: var(--tc); font-weight: 700; transition: background .15s, color .15s; }
.tile:hover .tile-go { background: var(--tc); color: #fff; }
.tile:first-child { background: linear-gradient(155deg, #1d4ed8, #2563eb 60%, #0ea5e9); color: #fff; border-top-color: #93c5fd; }
.tile:first-child small { color: #dbe8ff; }
.tile:first-child::after { background: rgba(255,255,255,.12); }
.tile:first-child .tile-ic { background: rgba(255,255,255,.18); box-shadow: none; }
.tile:first-child .tile-go { background: #fff; color: #1d4ed8; }
.tile:first-child:hover .tile-go { background: #e8f0ff; color: #1d4ed8; }
/* 29/11: 5 o = 2 dich vu rieng (hang tren, o rong) + 3 link gioi thieu (hang duoi) */
/* 29/11: 4 o (build EA, training, goi cai dat du lieu, may ao) => dung luoi 4 cot mac dinh */
.tile:nth-child(5) { --tc: #0891b2; --tcs: rgba(8, 145, 178, .13); }
.tile-price { font-weight: 800; font-size: 17px; color: var(--ink); }

/* 26/11: EA moi chua co so chay that */
.new-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft, #eaf1ff); color: var(--accent, #2563eb); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* review 27/11: tieu de dau trang ngat 3 dong co chu y; nut dien thoai khong rot dong; hoi dap 2 cot */
@media (min-width: 560px) { .hero h1 { white-space: pre-line; } }
@media (max-width: 560px) {
  .cta .btn { flex: 1 1 100%; justify-content: center; white-space: nowrap; }
  .offer-cta .btn { white-space: nowrap; padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 900px) { .faq { max-width: none; } .faq-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* 27/11: khoi gia thue bao goi - dong phu 2 dong (goi / gia) */
.offer-price span { white-space: pre-line; }

/* 29/11 (Trung: "xem tren mobile cung muot"): vung bam tren dien thoai >= 40px; bo lam mo nen thanh tren cung (sticky + blur lam cuon giat tren may yeu). */
html { -webkit-text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: rgba(37,99,235,.15); }
@media (max-width: 720px) {
  .lang button { padding: 11px 13px; font-size: 13px; }
  .menu-btn { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  a.live-pill, td.live a.live-pill { padding: 10px 14px; font-size: 13px; }
  footer .foot-row a { display: inline-block; padding: 11px 0; }
  .ct-mail a { display: inline-block; padding: 11px 0; }
  a[data-i18n="yt_more"] { display: inline-block; padding: 11px 0; }
  [data-style="fintech"] .top { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}
@media (max-width: 560px) { .contact .btn-lg { padding: 15px 16px; font-size: 16px; } .contact .btn-lg > span[data-i18n] { white-space: nowrap; } }
