/* Trang giới thiệu GH Pay (/) — cùng bộ màu, font với app mobile. */
:root {
  --accent: #1e40af;
  --accent-2: #2f5bd8;
  --accent-soft: #dde5f7;
  --navy: #0a1740;
  --navy-2: #0f1f56;
  --yellow: #facc15;
  --bg: #f5f7fc;
  --surface: #ffffff;
  --surface-2: #eef2fb;
  --text: #0a1740;
  --muted: #4a5470;
  --border: #dce2ef;
  --success: #0f6b45;
  --radius: 24px;
  --shadow: 0 20px 60px -20px rgba(10, 23, 64, .25);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Sora", "Be Vietnam Pro", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070d24; --surface: #0f1733; --surface-2: #141e40; --text: #e8ecf8; --muted: #a3acc6;
    --border: #232d52; --accent-soft: #1b2757; --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070d24; --surface: #0f1733; --surface-2: #141e40; --text: #e8ecf8; --muted: #a3acc6;
  --border: #232d52; --accent-soft: #1b2757; --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(10, 23, 64, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 19px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { color: var(--yellow); font-weight: 700; }
.links { display: none; gap: 28px; margin-left: auto; color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 500; }
.links a:hover { color: #fff; }
.nav .cta { display: none; }
.menu-btn { margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .links { display: flex; }
  .nav .cta { display: inline-flex; }
  .menu-btn { display: none; }
}
.drawer { display: none; position: fixed; inset: 68px 0 auto; z-index: 49; background: var(--navy); padding: 8px 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.drawer.open { display: grid; gap: 4px; }
.drawer a { color: #fff; padding: 12px 4px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.drawer .btn { margin-top: 12px; justify-content: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(250, 204, 21, .6); }
.btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.btn.primary { background: var(--accent); color: #fff; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.store { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 16px; border-radius: 16px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .22); transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 28px; height: 28px; }
.store span { display: grid; line-height: 1.15; text-align: left; }
.store small { font-size: 11px; opacity: .8; }
.store b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.store.soon { opacity: .55; cursor: default; }
.store.soon:hover { transform: none; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; padding: 120px 0 72px; overflow: hidden;
  background: radial-gradient(900px 520px at 85% 10%, rgba(47, 91, 216, .75), transparent 70%),
              radial-gradient(700px 500px at 10% 100%, rgba(250, 204, 21, .10), transparent 70%),
              linear-gradient(180deg, #0a1740 0%, #10225f 60%, #1e40af 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 20%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 70%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 60%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 10% 80%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 60% 45%, #fff 50%, transparent 51%); }
.hero .wrap { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 150px 0 110px; } .hero .wrap { grid-template-columns: 1.05fr .95fr; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.pill i { font-style: normal; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); font-weight: 800; margin: 22px 0 18px; }
.hero h1 span { color: var(--yellow); }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .8); max-width: 540px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .stores { margin-top: 28px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero .meta svg { width: 18px; height: 18px; color: var(--yellow); }

.stage { position: relative; height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
@media (min-width: 960px) { .stage { height: 640px; } }
.phone { position: absolute; border-radius: 42px; padding: 9px; background: #0b1020; box-shadow: 0 40px 90px -25px rgba(0, 0, 0, .65), inset 0 0 0 2px #2b3350; }
.phone img { border-radius: 34px; width: 100%; height: auto; }
.stage .p1 { width: 270px; left: 50%; top: 0; transform: translateX(-12%); z-index: 2; }
.stage .p2 { width: 230px; left: 50%; top: 70px; transform: translateX(-100%) rotate(-7deg); opacity: .96; z-index: 1; }
@media (min-width: 960px) { .stage .p1 { width: 300px; } .stage .p2 { width: 255px; } }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); font-size: 13px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-family: var(--num); font-size: 15px; }
.float .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #dff3e8; color: var(--success); flex-shrink: 0; }
.float .ic svg { width: 20px; height: 20px; }
.float.f1 { right: -8px; bottom: 96px; }
.float.f2 { left: -4px; top: 150px; animation-delay: -3s; }
.float.f2 .ic { background: var(--accent-soft); color: var(--accent); }
.float .code { font-family: var(--num); font-weight: 700; letter-spacing: .12em; font-size: 16px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 420px) { .float.f1 { right: 0; bottom: 70px; } .float.f2 { left: 0; top: 110px; } .stage .p2 { transform: translateX(-92%) rotate(-7deg); } }

/* ---------- trust strip ---------- */
.trust { background: var(--navy); color: rgba(255, 255, 255, .8); border-top: 1px solid rgba(255, 255, 255, .06); }
.trust .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
@media (min-width: 820px) { .trust .wrap { grid-template-columns: repeat(4, 1fr); } }
.trust div { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.trust b { display: block; color: #fff; font-size: 15px; }
.trust svg { width: 26px; height: 26px; color: var(--yellow); flex-shrink: 0; }

/* ---------- sections ---------- */
section.block { padding: 88px 0; }
@media (max-width: 719px) { section.block { padding: 64px 0; } }
.eyebrow { display: inline-block; color: var(--accent-2); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.title { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; margin: 10px 0 14px; }
.sub { color: var(--muted); font-size: 17px; max-width: 620px; }
.head { margin-bottom: 44px; }
.head.center { text-align: center; }
.head.center .sub { margin: 0 auto; }

/* bento tính năng */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(4, 1fr); } .bento .big { grid-column: span 2; grid-row: span 2; } .bento .wide { grid-column: span 4; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 24px; align-items: center; } .bento .wide .ic { margin: 0; grid-row: span 2; } .bento .wide h3 { margin: 0; } .bento .wide .chips { grid-column: 3; grid-row: 1 / span 2; margin: 0; max-width: 420px; justify-content: flex-end; } }
.card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
:root[data-theme="dark"] .card .ic { color: #9db4ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card .ic { color: #9db4ff; } }
/* thẻ vàng / thẻ xanh lớn giữ màu icon riêng ở cả chế độ tối */
:root .card.accent .ic, :root[data-theme="dark"] .card.accent .ic { color: var(--navy); }
:root .card.big .ic, :root[data-theme="dark"] .card.big .ic { color: var(--yellow); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card.accent .ic { color: var(--navy); } :root:not([data-theme="light"]) .card.big .ic { color: var(--yellow); } }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card.big { background: linear-gradient(160deg, #1e40af 0%, #0a1740 100%); color: #fff; border: 0; padding: 32px 32px 0; display: flex; flex-direction: column; }
.card.big .ic { background: rgba(255, 255, 255, .12); color: var(--yellow); }
.card.big h3 { font-size: 28px; }
.card.big p { color: rgba(255, 255, 255, .78); max-width: 380px; }
.card.big .shot { margin: 28px auto 0; width: 280px; border-radius: 34px 34px 0 0; padding: 9px 9px 0; background: #0b1020; box-shadow: 0 -10px 60px -20px rgba(0, 0, 0, .6); }
.card.big .shot img { border-radius: 26px 26px 0 0; height: 360px; object-fit: cover; object-position: top; width: 100%; }
.card.accent { background: var(--yellow); border: 0; color: var(--navy); }
.card.accent p { color: rgba(10, 23, 64, .75); }
.card.accent .ic { background: rgba(10, 23, 64, .1); color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 600; }

/* showcase xen kẽ */
.show { display: grid; gap: 40px; align-items: center; padding: 36px 0; }
@media (min-width: 900px) { .show { grid-template-columns: 1fr 1fr; gap: 80px; } .show.rev .txt { order: 2; } }
.show .txt h3 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin: 10px 0 14px; }
.show .txt p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--success); margin-top: 1px; }
.visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.visual::before { content: ""; position: absolute; inset: 8% 10%; border-radius: 40px; background: radial-gradient(closest-side, rgba(47, 91, 216, .28), transparent); filter: blur(10px); }
.visual .phone { position: relative; width: 290px; }

/* bảo mật */
.secure { background: linear-gradient(180deg, #0a1740, #0f1f56); color: #fff; overflow: hidden; }
.secure .eyebrow { color: var(--yellow); }
.secure .sub { color: rgba(255, 255, 255, .72); }
.secure .grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .secure .grid { grid-template-columns: 1.15fr .85fr; } }
.sec-list { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .sec-list { grid-template-columns: 1fr 1fr; } }
.sec-list div { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.sec-list svg { width: 26px; height: 26px; color: var(--yellow); margin-bottom: 12px; }
.sec-list b { display: block; font-size: 17px; margin-bottom: 6px; }
.sec-list p { color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.secure .visual::before { background: radial-gradient(closest-side, rgba(250, 204, 21, .18), transparent); }

/* các bước */
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.step::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--navy); color: var(--yellow); font: 700 18px var(--num); margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* hỏi đáp */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--num); color: var(--accent-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* kêu gọi tải app */
.cta-band { padding: 0 0 88px; }
.cta-box { position: relative; overflow: hidden; border-radius: 32px; padding: 48px 28px; color: #fff; text-align: center;
  background: radial-gradient(600px 300px at 90% 0%, rgba(250, 204, 21, .18), transparent 70%), linear-gradient(135deg, #1e40af, #0a1740); }
@media (min-width: 720px) { .cta-box { padding: 64px 48px; } }
.cta-box h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.cta-box p { color: rgba(255, 255, 255, .78); margin: 12px auto 28px; max-width: 520px; }
.cta-box .stores { justify-content: center; }
.cta-box .web { display: inline-block; margin-top: 18px; color: rgba(255, 255, 255, .85); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* chân trang */
footer { border-top: 1px solid var(--border); padding: 48px 0 32px; font-size: 14.5px; color: var(--muted); }
footer .cols { display: grid; gap: 32px; }
@media (min-width: 820px) { footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
footer .brand { color: var(--text); }
footer .brand b { color: var(--accent-2); }
footer h4 { margin: 0 0 12px; color: var(--text); font-size: 15px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a:hover { color: var(--accent-2); }
footer .note { margin-top: 14px; max-width: 360px; }
footer .copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* hiện dần khi cuộn */
/* chỉ ẩn khi có JS (không có JS vẫn thấy đủ nội dung) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .float { animation: none; } html { scroll-behavior: auto; } }

/* điện thoại nhỏ: khung máy vừa màn hình, hai nút store trên một hàng */
@media (max-width: 560px) {
  .stage { height: 470px; }
  .stage .p1 { width: 228px; transform: translateX(-30%); }
  .stage .p2 { width: 186px; top: 56px; transform: translateX(-96%) rotate(-7deg); }
  .float { font-size: 12px; padding: 10px 12px 10px 10px; gap: 10px; }
  .float b { font-size: 14px; }
  .float .ic { width: 32px; height: 32px; border-radius: 10px; }
  .stores { flex-wrap: nowrap; gap: 10px; }
  .store { flex: 1 1 0; min-width: 0; height: 54px; padding: 0 12px 0 10px; gap: 8px; border-radius: 14px; }
  .store svg { width: 22px; height: 22px; flex-shrink: 0; }
  .store small { font-size: 10px; }
  .store b { font-size: 15px; }
  .sec-list div { padding: 18px; }
}

/* chọn ngôn ngữ */
.lang { position: relative; margin-left: auto; }
@media (min-width: 900px) { .lang { margin-left: 0; } }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px;
  color: #fff; font-weight: 600; font-size: 14px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; border-radius: 16px; background: #fff; color: var(--navy);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .45); display: grid; z-index: 60; }
.lang-list a { padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; }
.lang-list a:hover { background: #eef2fb; }
.lang-list a[aria-current] { background: #eef2fb; font-weight: 700; color: var(--accent); }
.menu-btn { margin-left: 8px; }
@media (max-width: 899px) { .nav .lang { display: none; } .menu-btn { margin-left: auto; } }
.drawer-langs { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 4px; }
.drawer-langs a { border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.drawer-langs a[aria-current] { background: var(--yellow); color: var(--navy); border-color: var(--yellow); font-weight: 700; }

/* Nút tải APK trực tiếp (Android) */
.apk-btn { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 16px; border-radius: 16px; margin-top: 12px;
  background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); transition: transform .15s, background .15s; }
.apk-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .14); }
.apk-btn svg { width: 26px; height: 26px; color: #a4c639; }
.apk-btn span { display: grid; line-height: 1.15; text-align: left; }
.apk-btn small { font-size: 11px; opacity: .8; }
.apk-btn b { font-size: 16px; font-weight: 600; }
.cta-box .apk-btn { margin-top: 14px; }
