/*
Theme Name: AutoClick Pro
Theme URI: https://autoclick.pro
Author: AutoClick
Author URI: https://autoclick.pro
Description: Theme landing cho AutoClick - tien ich nhap chuot tu dong cho Chrome & Android. Port tu template tinh, ho tro dark mode, tin tuc dung post that, form lien he gui email.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autoclick-pro
*/
      button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]) { min-height: 2rem; }

      :root {
        --bg: #f4f5f2;
        --bg-raise: #ffffff;
        --bg-sink: #e9ebe6;
        --ink: #16191d;
        --ink-2: #4a5158;
        --ink-3: #7c848c;
        --line: #d9dcd4;
        --accent: #e8490f;
        --accent-ink: #ffffff;
        --accent-soft: #fdeee7;
        --green: #1d9e62;
        --green-soft: #e3f5ec;
        --pad-bg: #10151b;
        --pad-grid: rgba(255,255,255,.07);
        --pad-ink: #e8edf2;
        --shadow: 0 18px 44px -18px rgba(22,25,29,.28);
        --radius: 14px;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --bg: #0d1013;
          --bg-raise: #161a1f;
          --bg-sink: #11151a;
          --ink: #eef1f4;
          --ink-2: #a9b2ba;
          --ink-3: #6e7880;
          --line: #262c33;
          --accent: #ff6a2b;
          --accent-ink: #16100b;
          --accent-soft: #2b1a10;
          --green: #3ecf8e;
          --green-soft: #12291e;
          --pad-bg: #0a0e13;
          --pad-grid: rgba(255,255,255,.06);
          --pad-ink: #e8edf2;
          --shadow: 0 18px 44px -18px rgba(0,0,0,.7);
        }
      }
      * { box-sizing: border-box; }
      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.6;
        -webkit-font-smoothing: antialiased;
      }
      .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
      .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
      a { color: inherit; }
      h1, h2, h3 { line-height: 1.18; margin: 0; letter-spacing: -0.01em; }
      p { margin: 0; }

      /* ---------- Nav ---------- */
      .nav {
        position: sticky; top: 0; z-index: 50;
        background: color-mix(in srgb, var(--bg) 88%, transparent);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
      }
      .nav-in { display: flex; align-items: center; gap: 8px; height: 60px; }
      .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; margin-right: auto; min-height: 40px; }
      .brand-mark {
        width: 30px; height: 30px; border-radius: 9px; flex: none;
        background: var(--accent); color: var(--accent-ink);
        display: grid; place-items: center;
      }
      .brand-mark svg { display: block; }
      /* Danh sach menu desktop: reset list cua WordPress (<ul><li>) */
      .nav-links, .nav-links ul { list-style: none; margin: 0; padding: 0; }
      .nav-links { display: none; align-items: center; gap: 2px; }
      .nav-links li { position: relative; display: flex; list-style: none; }
      .nav-links li::marker { content: none; }
      .nav-links a {
        position: relative;
        text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 500;
        padding: 9px 13px; border-radius: 9px; min-height: 40px;
        display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
        transition: color .16s ease, background .16s ease;
      }
      .nav-links a:hover { color: var(--ink); background: var(--bg-sink); }
      .nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
      /* Muc dang xem */
      .nav-links > li.current-menu-item > a,
      .nav-links > li.current_page_item > a,
      .nav-links > li.current-menu-ancestor > a,
      .nav-links > li.current-page-ancestor > a,
      .nav-links > li > a.active {
        color: var(--ink); font-weight: 650; background: var(--bg-sink);
      }
      .nav-links > li.current-menu-item > a::before,
      .nav-links > li.current_page_item > a::before,
      .nav-links > li.current-menu-ancestor > a::before,
      .nav-links > li.current-page-ancestor > a::before,
      .nav-links > li > a.active::before {
        content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px;
        height: 2px; border-radius: 2px; background: var(--accent);
      }
      /* Muc co menu con */
      .nav-links .menu-item-has-children > a::after {
        content: ""; width: 6px; height: 6px; flex: none; margin-left: 1px;
        border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
        transform: translateY(-2px) rotate(45deg); opacity: .55;
      }
      .nav-links .sub-menu {
        position: absolute; top: calc(100% + 7px); left: 0; z-index: 60;
        min-width: 218px; display: grid; gap: 2px; padding: 6px;
        background: var(--bg-raise); border: 1px solid var(--line);
        border-radius: 12px; box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(-5px);
        transition: opacity .16s ease, transform .16s ease, visibility .16s;
      }
      .nav-links > li:hover > .sub-menu,
      .nav-links > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
      .nav-links .sub-menu li { display: block; }
      .nav-links .sub-menu a { width: 100%; border-radius: 8px; font-size: 14px; }
      .nav-links .sub-menu a::after { content: none; }
      @media (min-width: 760px) { .nav-links { display: flex; } }

      /* ---------- Buttons ---------- */
      .btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 9px;
        font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
        border-radius: 11px; border: 1px solid transparent;
        padding: 10px 20px; min-height: 48px; text-decoration: none;
        transition: transform .12s ease, background .15s ease, border-color .15s ease;
      }
      .btn:active { transform: translateY(1px); }
      .btn-accent { background: var(--accent); color: var(--accent-ink); }
      .btn-accent:hover { filter: brightness(1.07); }
      .btn-ghost { background: var(--bg-raise); border-color: var(--line); color: var(--ink); }
      .btn-ghost:hover { border-color: var(--ink-3); }
      .btn svg { flex: none; }
      .btn-sm { min-height: 40px; padding: 6px 16px; font-size: 14px; border-radius: 9px; }

      /* ---------- Hero ---------- */
      .hero { padding: 56px 0 8px; text-align: center; }
      .hero-badge {
        display: inline-flex; align-items: center; gap: 8px;
        background: var(--bg-raise); border: 1px solid var(--line);
        border-radius: 999px; padding: 6px 14px 6px 8px;
        font-size: 13.5px; font-weight: 500; color: var(--ink-2);
      }
      .hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
      .hero h1 { font-size: clamp(34px, 6.4vw, 58px); font-weight: 900; max-width: 820px; margin: 22px auto 0; }
      .hero h1 .hl { color: var(--accent); }
      .hero-sub { max-width: 620px; margin: 18px auto 0; color: var(--ink-2); font-size: clamp(16px, 2.4vw, 18.5px); }
      .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
      .hero-cta .btn { min-width: 218px; }
      .hero .hero-cta { display: grid; grid-template-columns: 1fr; justify-content: stretch; }
      @media (min-width: 620px) { .hero .hero-cta { grid-template-columns: 1fr 1fr; } }
      @media (min-width: 1040px) { .hero .hero-cta { grid-template-columns: repeat(4, 1fr); } }
      .hero .hero-cta .btn { min-width: 0; width: 100%; justify-content: flex-start; padding: 10px 16px; gap: 11px; }
      .hero .hero-cta .btn svg { margin-left: 2px; }
      .btn small { display: block; font-size: 11.5px; font-weight: 500; opacity: .75; line-height: 1.25; text-align: left; }
      .btn .btn-txt { text-align: left; line-height: 1.3; }
      .hero-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
      .hero-specs {
        display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
        margin: 38px auto 0; padding: 18px 0 4px; max-width: 860px;
        border-top: 1px solid var(--line);
      }
      @media (max-width: 719px) {
        .hero-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; justify-content: stretch; }
      }
      .spec { text-align: center; }
      .spec b { display: block; font-size: 19px; font-weight: 800; }
      .spec span { font-size: 13px; color: var(--ink-3); }

      /* ---------- Demo console ---------- */
      .section { padding: 64px 0 8px; }
      .sec-head { max-width: 640px; margin-bottom: 26px; }
      .sec-head h2 { font-size: clamp(25px, 4vw, 34px); font-weight: 800; }
      .sec-head p { margin-top: 10px; color: var(--ink-2); }
      .console {
        background: var(--bg-raise); border: 1px solid var(--line);
        border-radius: 20px; box-shadow: var(--shadow); overflow: hidden;
      }
      .console-bar {
        display: flex; align-items: center; gap: 8px;
        padding: 12px 18px; border-bottom: 1px solid var(--line);
        font-size: 13.5px; color: var(--ink-2); font-weight: 500;
      }
      .console-bar .win-dot { width: 11px; height: 11px; border-radius: 50%; }
      .console-bar .spacer { margin-left: auto; }
      .status-pill {
        display: inline-flex; align-items: center; gap: 7px;
        font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
        background: var(--bg-sink); color: var(--ink-2);
      }
      .status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
      .status-pill.on { background: var(--green-soft); color: var(--green); }
      .status-pill.on .dot { background: var(--green); animation: pulse 1s infinite; }
      @keyframes pulse { 50% { opacity: .35; } }
      .console-body { display: grid; grid-template-columns: 1fr; }
      @media (min-width: 900px) { .console-body { grid-template-columns: 380px 1fr; } }
      .panel { padding: 22px; display: flex; flex-direction: column; gap: 20px; }
      @media (min-width: 900px) { .panel { border-right: 1px solid var(--line); } }
      .field label, .field .flabel { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; letter-spacing: .01em; }
      .field .val { color: var(--accent); font-weight: 700; }
      input[type="range"] { width: 100%; accent-color: var(--accent); height: 32px; cursor: pointer; }
      .range-marks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); margin-top: -2px; }
      .seg { display: flex; background: var(--bg-sink); border-radius: 10px; padding: 4px; gap: 4px; }
      .seg button {
        flex: 1; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
        border: 0; border-radius: 7px; padding: 8px 4px; min-height: 38px;
        background: transparent; color: var(--ink-2);
      }
      .seg button[aria-pressed="true"] { background: var(--bg-raise); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.14); }
      .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
      .num-input {
        width: 100%; font: inherit; font-size: 15px; padding: 9px 12px; min-height: 42px;
        border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink);
      }
      .num-input:disabled { opacity: .45; }
      .chips { display: flex; flex-wrap: wrap; gap: 8px; }
      .chip {
        font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
        border: 1px solid var(--line); background: var(--bg); color: var(--ink-2);
        border-radius: 999px; padding: 7px 14px; min-height: 38px;
      }
      .chip:hover { border-color: var(--accent); color: var(--accent); }
      .run-row { display: flex; gap: 10px; align-items: stretch; margin-top: auto; }
      .btn-run {
        flex: 1; font-size: 16px; font-weight: 700; border-radius: 11px; min-height: 52px;
        background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer;
        display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: inherit;
      }
      .btn-run.stop { background: #c92a2a; color: #fff; }
      .btn-reset {
        font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 52px; padding: 0 16px;
        border-radius: 11px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2);
      }
      kbd {
        font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 700;
        background: var(--bg-sink); border: 1px solid var(--line); border-bottom-width: 2px;
        border-radius: 6px; padding: 2px 7px;
      }
      .hotkey-hint { font-size: 13px; color: var(--ink-3); text-align: center; }

      /* Test pad */
      .pad-zone { display: flex; flex-direction: column; }
      .pad {
        position: relative; flex: 1; min-height: 340px; overflow: hidden;
        background:
          linear-gradient(var(--pad-grid) 1px, transparent 1px),
          linear-gradient(90deg, var(--pad-grid) 1px, transparent 1px),
          var(--pad-bg);
        background-size: 28px 28px;
        cursor: crosshair; touch-action: manipulation; user-select: none; -webkit-user-select: none;
      }
      .pad-hint {
        position: absolute; inset: auto 0 14px; text-align: center; pointer-events: none;
        color: rgba(232,237,242,.45); font-size: 13px; padding: 0 16px;
      }
      .crosshair { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; opacity: 0; transition: opacity .15s; }
      .crosshair::before, .crosshair::after { content: ""; position: absolute; background: var(--accent); }
      .crosshair::before { left: 50%; top: 0; width: 2px; height: 100%; margin-left: -1px; }
      .crosshair::after { top: 50%; left: 0; height: 2px; width: 100%; margin-top: -1px; }
      .crosshair .ring { position: absolute; inset: 6px; border: 2px solid var(--accent); border-radius: 50%; }
      .pad:hover .crosshair, .pad.touched .crosshair { opacity: .9; }
      .ripple {
        position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
        border: 2px solid var(--accent); pointer-events: none;
        animation: rip .45s ease-out forwards;
      }
      .ripple.dbl { border-color: #ffd43b; }
      .ripple.rgt { border-color: #4dabf7; }
      @keyframes rip { from { transform: scale(.4); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
      .pad-stats {
        display: grid; grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid var(--line); background: var(--bg-raise);
      }
      .pad-stat { padding: 14px 10px; text-align: center; }
      .pad-stat + .pad-stat { border-left: 1px solid var(--line); }
      .pad-stat b { display: block; font-size: clamp(19px, 3.4vw, 26px); font-weight: 700; }
      .pad-stat span { font-size: 12px; color: var(--ink-3); font-weight: 500; }


      /* ---------- Static showcase mock ---------- */
      .chip-on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
      .fake-range { position: relative; height: 6px; border-radius: 3px; background: var(--bg-sink); margin: 13px 0 10px; }
      .fake-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); }
      .fake-knob {
        position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%;
        background: var(--bg-raise); border: 2px solid var(--accent);
        transform: translate(-50%, -50%); box-shadow: 0 1px 4px rgba(0,0,0,.2);
      }
      .seg span {
        flex: 1; font-size: 13.5px; font-weight: 600; text-align: center;
        border-radius: 7px; padding: 8px 4px; min-height: 38px;
        display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2);
      }
      .seg span.seg-on { background: var(--bg-raise); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.14); }
      .crosshair.show { opacity: .9; }
      .ripple.still { animation: none; }
      .ripple.still.r2 { transform: scale(2); opacity: .55; }
      .ripple.still.r3 { transform: scale(3.1); opacity: .28; }
      span.btn-run { display: inline-flex; }

      /* ---------- Features ---------- */
      .feat-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
      @media (min-width: 640px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
      @media (min-width: 980px) { .feat-grid { grid-template-columns: 1fr 1fr 1fr; } }
      .feat {
        background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 22px;
      }
      .feat .ic {
        width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
        background: var(--accent-soft); color: var(--accent); margin-bottom: 14px;
      }
      .feat h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 7px; }
      .feat p { font-size: 14.5px; color: var(--ink-2); }

      /* ---------- Platforms ---------- */
      .plat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
      @media (min-width: 860px) { .plat-grid { grid-template-columns: 1fr 1fr; } }
      @media (min-width: 860px) { .plat-grid.plat-3 { grid-template-columns: 1fr 1fr; } }
      @media (min-width: 1120px) { .plat-grid.plat-3 { grid-template-columns: repeat(3, 1fr); } }
      @media (min-width: 860px) { .plat-grid.plat-4 { grid-template-columns: 1fr 1fr; } }
      .plat {
        background: var(--bg-raise); border: 1px solid var(--line); border-radius: 20px;
        padding: 26px; display: flex; flex-direction: column; gap: 0;
      }
      .plat-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 6px; }
      .plat-top > div { padding-top: 2px; }
      .plat-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; }
      .plat-logo.chrome { background: #e8f3ec; }
      .plat-logo.android { background: #e6f4ea; }
      .plat-logo.windows { background: #e8eefc; }
      .plat-logo.apple { background: #eceef1; }
      @media (prefers-color-scheme: dark) {
        .plat-logo.chrome, .plat-logo.android, .plat-logo.windows, .plat-logo.apple { background: #1c2420; }
        .vt-badge { background: #16251d; }
      }
      .plat h3 { font-size: 21px; font-weight: 800; }
      .plat .plat-sub { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
      .plat > p { color: var(--ink-2); font-size: 15px; margin: 10px 0 18px; }
      .steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
      .steps li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
      .steps .n {
        flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
        background: var(--accent-soft); color: var(--accent);
        font-size: 13px; font-weight: 700; display: grid; place-items: center;
      }
      .steps b { color: var(--ink); font-weight: 600; }
      .plat .btn { margin-top: auto; width: 100%; }
      .plat-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; font-size: 13px; color: var(--ink-3); justify-content: center; }
      .plat-meta > span + span::before { content: "·"; margin-right: 9px; opacity: .55; }

      /* ---------- FAQ ---------- */
      .faq { max-width: 760px; }
      details {
        background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
        margin-bottom: 10px; overflow: hidden;
      }
      summary {
        cursor: pointer; font-weight: 600; font-size: 15.5px; padding: 16px 20px;
        list-style: none; display: flex; align-items: center; gap: 12px; min-height: 52px;
      }
      summary::-webkit-details-marker { display: none; }
      summary .chev { margin-left: auto; color: var(--ink-3); transition: transform .2s; flex: none; }
      details[open ] summary .chev { transform: rotate(180deg); }
      details .ans { padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; }

      /* ---------- Final CTA / footer ---------- */
      .final {
        margin-top: 72px; border-radius: 22px; padding: 44px 28px; text-align: center;
        background: var(--pad-bg); color: var(--pad-ink);
      }
      .final h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
      .final p { color: rgba(232,237,242,.65); margin: 12px auto 26px; max-width: 480px; }
      .final .hero-cta { margin-top: 0; }
      footer { padding: 34px 0 44px; text-align: center; color: var(--ink-3); font-size: 13.5px; }
      footer .f-brand { font-weight: 700; color: var(--ink-2); }

      /* ---------- Toast ---------- */
      .toast {
        position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 80px);
        background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500;
        padding: 12px 20px; border-radius: 11px; z-index: 100; max-width: min(92vw, 480px);
        text-align: center; transition: transform .3s ease; box-shadow: var(--shadow);
      }
      .toast.show { transform: translate(-50%, 0); }

      /* ---------- Page views (WordPress: one view per request, always shown) ---------- */
      [data-view] { display: block; animation: pageIn .25s ease; }
      @keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
      .menu-btn {
        display: none; align-items: center; justify-content: center;
        width: 42px; height: 42px; border-radius: 9px; cursor: pointer;
        border: 1px solid var(--line); background: var(--bg-raise); color: var(--ink);
      }
      @media (max-width: 759px) { .menu-btn { display: inline-flex; } .nav .btn-sm { display: none; } }
      .mobile-menu { display: none; border-top: 1px solid var(--line); padding: 6px 20px 16px; background: var(--bg); }
      .mobile-menu.open { display: block; }
      /* Danh sach menu mobile */
      .m-list, .m-list ul { list-style: none; margin: 0; padding: 0; }
      .m-list li { list-style: none; }
      .m-list li::marker { content: none; }
      .m-list > li + li { border-top: 1px solid var(--line); }
      .m-list a {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 13px 10px; min-height: 48px; border-radius: 10px;
        text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2);
      }
      .m-list a::after {
        content: ""; width: 7px; height: 7px; flex: none;
        border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
        transform: rotate(-45deg); opacity: .4;
      }
      .m-list a:active { background: var(--bg-sink); }
      .m-list .current-menu-item > a,
      .m-list .current_page_item > a,
      .m-list .current-menu-ancestor > a,
      .m-list a.active {
        color: var(--accent); font-weight: 700; background: var(--accent-soft);
      }
      .m-list .sub-menu {
        margin: 0 0 6px 12px; padding-left: 10px; border-left: 2px solid var(--line);
      }
      .m-list .sub-menu li + li { border-top: 1px solid var(--line); }
      .m-list .sub-menu a { font-size: 14.5px; min-height: 42px; color: var(--ink-3); }
      /* Khu tai ve trong menu mobile (nut o thanh tren bi an duoi 760px) */
      .m-cta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
      .m-cta-label { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); padding: 0 2px 2px; }
      .m-cta .btn { width: 100%; }

      .page-hero { padding: 54px 0 4px; }
      .crumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 14px; }
      .crumb a { color: var(--accent); text-decoration: none; font-weight: 600; }
      .page-hero h1 { font-size: clamp(30px, 5.4vw, 46px); font-weight: 900; max-width: 780px; }
      .page-hero .lead { margin-top: 14px; color: var(--ink-2); font-size: clamp(15.5px, 2.2vw, 18px); max-width: 680px; }
      .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
      .toc a {
        text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
        border: 1px solid var(--line); background: var(--bg-raise);
        border-radius: 999px; padding: 8px 15px; min-height: 38px; display: inline-flex; align-items: center;
      }
      .toc a:hover { border-color: var(--accent); color: var(--accent); }

      .prose { max-width: 800px; padding-bottom: 8px; }
      .prose section { margin-top: 36px; }
      .prose h2 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
      .prose h3 { font-size: 16.5px; font-weight: 700; margin: 20px 0 6px; }
      .prose p { color: var(--ink-2); margin-bottom: 12px; }
      .prose ul { color: var(--ink-2); padding-left: 20px; margin: 0 0 12px; }
      .prose li { margin-bottom: 6px; }
      .note-box { background: var(--accent-soft); border-radius: var(--radius); padding: 18px 20px; color: var(--ink-2); font-size: 15px; margin-top: 28px; }
      .note-box b { color: var(--ink); }

      .grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
      @media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
      .cmp-row { display: flex; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
      .cmp-row:first-of-type { border-top: 0; }
      .cmp-row b { flex: none; width: 128px; color: var(--ink); font-weight: 600; }
      .cmp-row span { color: var(--ink-2); }

      /* ---------- News ---------- */
      .news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
      @media (min-width: 700px) { .news-grid { grid-template-columns: 1fr 1fr; } }
      .news-card {
        background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 22px; display: flex; flex-direction: column;
      }
      .news-card.featured { grid-column: 1 / -1; }
      @media (min-width: 700px) { .news-card.featured { flex-direction: row; gap: 26px; align-items: stretch; } .news-card.featured .news-thumb { flex: 0 0 42%; height: auto; min-height: 190px; margin-bottom: 0; } }
      .news-thumb {
        height: 118px; border-radius: 10px; margin-bottom: 16px;
        background: linear-gradient(var(--pad-grid) 1px, transparent 1px), linear-gradient(90deg, var(--pad-grid) 1px, transparent 1px), var(--pad-bg);
        background-size: 24px 24px; color: var(--accent);
        display: grid; place-items: center;
      }
      .news-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
      .tag { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
      .news-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
      .news-card.featured h3 { font-size: clamp(20px, 3vw, 25px); }
      .news-card p { font-size: 14.5px; color: var(--ink-2); }
      .read-more { margin-top: auto; padding-top: 16px; color: var(--accent); font-weight: 700; text-decoration: none; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
      .article { max-width: 760px; padding-bottom: 8px; }
      .article h1 { font-size: clamp(27px, 5vw, 40px); font-weight: 900; margin: 12px 0; }
      .article-body p { color: var(--ink-2); margin-bottom: 14px; font-size: 16.5px; }
      .article-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
      .article-body ul { color: var(--ink-2); padding-left: 20px; margin: 0 0 14px; }
      .article-body li { margin-bottom: 6px; }
      .back-link { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }

      /* ---------- Contact ---------- */
      .contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
      @media (min-width: 900px) { .contact-grid { grid-template-columns: 1.55fr 1fr; } }
      .form-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
      .form-card .field { margin-bottom: 18px; }
      textarea.num-input { min-height: 130px; resize: vertical; }
      .side-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 14px; }
      .side-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
      .side-card p, .side-card li { font-size: 14.5px; color: var(--ink-2); }
      .side-card ul { padding-left: 18px; margin: 0; }
      .side-card li { margin-bottom: 6px; }
      .side-card a { color: var(--accent); font-weight: 600; text-decoration: none; }
      .result-box { display: none; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
      .result-box.show { display: block; }
      .result-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
      .result-box > p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; }
      pre.msg {
        white-space: pre-wrap; word-break: break-word; background: var(--bg-sink); color: var(--ink);
        border-radius: 10px; padding: 16px; font-family: "JetBrains Mono", monospace; font-size: 13px; line-height: 1.55; margin: 0 0 14px;
      }
      .result-actions { display: flex; flex-wrap: wrap; gap: 10px; }

      footer .f-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-bottom: 14px; }
      footer .f-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; padding: 6px 2px; }
      footer .f-links a:hover { color: var(--accent); }
      footer .f-links ul { display: contents; }
      footer .f-links li, footer .f-links ul li { list-style: none; margin: 0; padding: 0; display: inline-flex; }
      footer .f-links li::marker { content: none; }

      /* ---------- Kiem tra an toan (ma bam + VirusTotal) ---------- */
      .proof-grid { display: grid; gap: 18px; margin-bottom: 30px; }
      @media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
      .proof {
        margin: 0; background: var(--bg-raise); border: 1px solid var(--line);
        border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
      }
      .proof-img { position: relative; display: block; background: var(--bg-sink); }
      .proof-img img { display: block; width: 100%; height: auto; }
      .proof-zoom {
        position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
        padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
        background: rgba(17, 21, 25, .82); color: #fff; backdrop-filter: blur(4px);
        opacity: 0; transform: translateY(5px); transition: opacity .18s ease, transform .18s ease;
      }
      .proof-img:hover .proof-zoom, .proof-img:focus-visible .proof-zoom { opacity: 1; transform: none; }
      @media (hover: none) { .proof-zoom { opacity: 1; transform: none; } }
      .proof figcaption { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; }
      .proof-badge {
        align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
        padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
        background: var(--green-soft); color: var(--green);
      }
      .proof-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
      .proof figcaption b { font-size: 16px; font-weight: 700; }
      .proof-name { font-size: 12.5px; color: var(--ink-2); word-break: break-all; }
      .proof-meta { font-size: 13px; color: var(--ink-3); line-height: 1.6; word-break: break-word; }
      .proof-link {
        align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 3px;
        font-size: 14px; font-weight: 600; color: var(--accent);
      }
      .proof-sub { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
      .proof-lead { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; max-width: 640px; }

      .lightbox {
        position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
        padding: 24px; background: rgba(10, 13, 16, .88); overflow: auto;
      }
      .lightbox[hidden] { display: none; }
      .lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; background: #fff; }
      .lightbox-close {
        position: fixed; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%;
        border: 0; cursor: pointer; display: grid; place-items: center;
        background: rgba(255, 255, 255, .14); color: #fff;
      }
      .lightbox-close:hover { background: rgba(255, 255, 255, .26); }
      body.lb-open { overflow: hidden; }

      .vt-grid { display: grid; gap: 16px; }
      @media (min-width: 760px) { .vt-grid { grid-template-columns: 1fr 1fr; } }
      .vt-card {
        background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 20px; display: flex; flex-direction: column; gap: 12px;
      }
      .vt-head { display: flex; align-items: center; gap: 12px; }
      .vt-badge {
        width: 44px; height: 44px; border-radius: 12px; flex: none;
        display: grid; place-items: center; background: var(--green-soft); color: var(--green);
      }
      .vt-head h3 { font-size: 16px; font-weight: 700; }
      .vt-sub { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
      .vt-k { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
      .vt-hash {
        display: block; font-family: "JetBrains Mono", ui-monospace, monospace;
        font-size: 12px; line-height: 1.6; word-break: break-all;
        background: var(--bg-sink); color: var(--ink); border-radius: 10px; padding: 11px 12px;
      }
      .vt-shot { margin: 0; }
      .vt-shot img {
        display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line);
      }
      .vt-shot figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 7px; }
      .vt-card .btn { margin-top: auto; }
      .vt-how { margin-top: 22px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
      .vt-how h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
      .vt-how p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; }
      .vt-cmd {
        display: block; white-space: pre-wrap; word-break: break-word;
        background: var(--pad-bg); color: var(--pad-ink); border-radius: 10px; padding: 14px 15px;
        font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12.5px; line-height: 1.7;
      }
      .vt-cmd + .vt-cmd { margin-top: 9px; }

      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .ripple { animation: none; opacity: 0; }
        .status-pill.on .dot { animation: none; }
        .btn { transition: none; }
      }
