/* PAuto Website — xanh/trắng, hiện đại, nhẹ (không font/thư viện ngoài). */
:root {
  --blue-900: #0b2a6b; --blue-800: #0f3a8f; --blue-700: #1349b8; --blue-600: #1d5fe0; --blue-500: #2f74ff; --blue-100: #e6efff; --blue-50: #f3f7ff;
  --ink: #0f1b33; --ink-2: #3b4a66; --muted: #6b7a96; --line: #e3e9f4; --bg: #ffffff; --bg-soft: #f6f9ff;
  --ok: #16a34a; --warn: #f59e0b; --bad: #dc2626; --gold: #f5b301;
  --radius: 18px; --radius-sm: 12px; --shadow: 0 10px 30px rgba(18, 52, 120, .08); --shadow-lg: 0 20px 50px rgba(18, 52, 120, .14);
  --wrap: 1160px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; line-height: 1.55; overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-500), var(--blue-800)); color: #fff; display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 6px 14px rgba(29,95,224,.35); }
.menu { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.menu a { color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); text-decoration: none; }
.menu .btn { margin-left: 6px; color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .menu { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .25s ease; }
  .menu.open { transform: translateY(0); }
  .menu a { padding: 14px 12px; font-size: 1rem; }
  .menu .btn { margin: 8px 0 0; text-align: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none !important; }
.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; box-shadow: 0 8px 18px rgba(29,95,224,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(29,95,224,.35); }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: #cfdcf5; }
.btn-ghost:hover { background: var(--blue-50); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); background: var(--blue-100); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 56px 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.card p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 80px; background: radial-gradient(1200px 500px at 85% -10%, #dbe8ff 0%, rgba(219,232,255,0) 60%), linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 900; background: linear-gradient(135deg, var(--blue-600), var(--blue-900)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.hero .tagline { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.hero .lead { font-size: 1.08rem; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .9rem; color: var(--ink-2); box-shadow: 0 4px 12px rgba(18,52,120,.05); }
.pill b { color: var(--blue-700); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* phone mock (minh hoạ giao diện, không phải ảnh chụp) */
.phone { width: 270px; max-width: 78vw; aspect-ratio: 9 / 19; margin: 0 auto; border-radius: 40px; background: #0d1830; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3a5e; position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 90px; height: 22px; transform: translateX(-50%); background: #0d1830; border-radius: 0 0 14px 14px; z-index: 2; }
.screen { height: 100%; border-radius: 30px; background: #f4f7fd; overflow: hidden; display: flex; flex-direction: column; }
.screen-top { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: #fff; padding: 40px 14px 14px; font-weight: 800; }
.screen-top small { display: block; font-weight: 600; opacity: .85; font-size: .72rem; }
.screen-body { padding: 10px; display: grid; gap: 8px; }
.trip { background: #fff; border-radius: 12px; padding: 10px; font-size: .72rem; color: var(--ink-2); box-shadow: 0 3px 8px rgba(18,52,120,.07); }
.trip b { color: var(--ink); font-size: .78rem; display: block; margin-bottom: 4px; }
.trip .act { margin-top: 8px; background: var(--blue-600); color: #fff; text-align: center; border-radius: 8px; padding: 6px; font-weight: 800; }
.trip.new { outline: 2px solid var(--blue-500); animation: pulse 2.4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,116,255,.35); } 50% { box-shadow: 0 0 0 8px rgba(47,116,255,0); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .hero .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- audience / steps ---------- */
.aud { display: flex; align-items: center; gap: 14px; }
.aud .icon { margin: 0; flex: none; }
.steps { counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(29,95,224,.3); }

/* ---------- screenshots ---------- */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; -webkit-overflow-scrolling: touch; justify-content: center; }
.shot { scroll-snap-align: center; aspect-ratio: 9 / 19; border-radius: 28px; background: linear-gradient(160deg, #eef4ff, #dfe9fb); border: 2px dashed #b9cdf2; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .85rem; padding: 18px; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }

/* ---------- video ---------- */
.video { max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--blue-800), var(--blue-600)); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); }
.video video, .video iframe { width: 100%; height: 100%; border: 0; }
.video .soon { text-align: center; padding: 20px; }
.video .play { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; margin: 0 auto 12px; }

/* ---------- download band ---------- */
.band { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); color: #fff; border-radius: 26px; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; box-shadow: var(--shadow-lg); }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.85); }
.store { display: inline-flex; align-items: center; gap: 10px; background: #0b1020; color: #fff; border-radius: 12px; padding: 10px 18px; min-height: 52px; font-weight: 700; border: 1px solid rgba(255,255,255,.2); }
.store small { display: block; font-weight: 500; font-size: .72rem; opacity: .8; }
.store.disabled { opacity: .6; cursor: default; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 30px 22px; } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 1.15rem; letter-spacing: .02em; }
.plan .price { font-size: 1.7rem; font-weight: 900; color: var(--blue-700); }
.plan .price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 900; }
.plan li.no::before { content: "✕"; color: var(--bad); }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--blue-500); box-shadow: 0 18px 40px rgba(29,95,224,.22); }
.plan.top { background: linear-gradient(180deg, #0f2d75, #0b1f52); color: #fff; border-color: #0b1f52; }
.plan.top .price, .plan.top h3 { color: #fff; }
.plan.top .price small, .plan.top ul { color: rgba(255,255,255,.85); }
.plan.top li::before { color: var(--gold); }
.badge { position: absolute; top: -12px; right: 16px; font-size: .75rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; color: #fff; background: var(--blue-600); box-shadow: 0 6px 12px rgba(29,95,224,.3); }
.badge.gold { background: linear-gradient(135deg, #f7c948, #e09b00); color: #3b2500; }
.plan.selected { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* ---------- checkout ---------- */
.checkout { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.stepcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stepcard[aria-disabled="true"] { opacity: .55; }
.stephead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.stephead .n { width: 32px; height: 32px; border-radius: 50%; background: var(--blue-600); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.stephead h2, .stephead h3 { font-size: 1.15rem; margin: 0; }
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.input { flex: 1 1 220px; min-height: 50px; border: 1.5px solid #cfdcf5; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; }
.input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,116,255,.15); }
.msg { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.msg.ok { background: #ecfdf3; color: #0f6b34; } .msg.bad { background: #fef2f2; color: #9b1c1c; } .msg.info { background: var(--blue-50); color: var(--blue-800); }
.account { display: flex; gap: 14px; align-items: center; background: var(--bg-soft); border-radius: 14px; padding: 14px; margin-top: 12px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--blue-800)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; flex: none; }
.account b { display: block; font-size: 1.05rem; }
.plan-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .plan-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pick { position: relative; text-align: left; background: #fff; border: 1.5px solid #cfdcf5; border-radius: 14px; padding: 14px 12px; cursor: pointer; font: inherit; color: var(--ink); }
.pick b { display: block; } .pick span { color: var(--blue-700); font-weight: 800; } .pick small { display: block; color: var(--muted); margin-top: 4px; }
.pick[aria-pressed="true"] { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(47,116,255,.18); }
.pick[disabled] { opacity: .45; cursor: not-allowed; }
.pay-box { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
@media (max-width: 640px) { .pay-box { grid-template-columns: 1fr; } }
.qr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; width: 240px; max-width: 100%; margin: 0 auto; }
.rows { display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 8px 0; font-size: .95rem; }
.row .k { color: var(--muted); } .row .v { font-weight: 700; text-align: right; word-break: break-all; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy { margin-left: 8px; font: inherit; font-size: .8rem; border: 1px solid #cfdcf5; background: #fff; color: var(--blue-700); border-radius: 8px; padding: 2px 8px; cursor: pointer; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 8px 12px; border-radius: 999px; background: #fff7e6; color: #8a5a00; }
.status.paid { background: #ecfdf3; color: #0f6b34; } .status.expired { background: #fef2f2; color: #9b1c1c; }
.success { text-align: center; padding: 18px 6px; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: #ecfdf3; color: var(--ok); font-size: 2.2rem; display: grid; place-items: center; margin: 0 auto 12px; }
.test-banner { background: #fff7e6; color: #8a5a00; border: 1px solid #ffe2a8; border-radius: 12px; padding: 10px 14px; font-weight: 700; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 4px 12px rgba(18,52,120,.04); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-600); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* ---------- contact + footer ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; background: linear-gradient(135deg, #eef4ff, #ffffff); border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); }
.contact-actions { display: grid; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink); font-weight: 700; }
.contact-item:hover { text-decoration: none; border-color: #b9cdf2; }
.contact-item small { display: block; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; padding: 24px; } }
.site-footer { background: #0b1830; color: rgba(255,255,255,.75); padding: 48px 0 28px; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.85); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-grid h3 { color: #fff; font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: .9rem; text-align: center; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- prose (điều khoản/chính sách/hướng dẫn) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; color: var(--ink-2); }
.prose p { color: var(--ink-2); }
.note { background: var(--blue-50); border-left: 4px solid var(--blue-500); padding: 12px 14px; border-radius: 10px; color: var(--blue-900); }
.soon-sub { color: rgba(255,255,255,.8); margin: 6px 0 0; }
.footer-about { margin-top: 12px; }

/* Hero: screenshot thật trong khung điện thoại — không cắt nội dung (contain), không méo (giữ tỉ lệ ảnh) */
.app-screen { position: relative; background: #fff; }
.app-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: top center; display: block; }
.app-shot.missing { display: none; }
.shot-empty { height: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .85rem; padding: 18px; background: linear-gradient(160deg, #eef4ff, #dfe9fb); }
.app-shot:not(.missing) + .shot-empty { display: none; }

/* ---------- MỘT TRANG (one-page): không menu, không hiệu ứng chuyển cảnh ---------- */
.reveal { opacity: 1; transform: none; transition: none; }
.scroll-hint { margin-top: 18px; color: var(--blue-700); font-weight: 600; }
.app-figure { margin: 0; }
.phone-sm { width: 300px; max-width: 82vw; }
.band-slim { margin-top: 28px; padding: 28px; }
#mua-goi { margin-top: 28px; }
.footer-simple { text-align: center; display: grid; gap: 8px; justify-items: center; }
.footer-legal a { color: inherit; text-decoration: underline; }
.plan .btn[data-goi] { width: 100%; }
.back-home { margin-left: auto; font-weight: 600; }
/* Ảnh app thật chỉ hiện 1 lần mỗi thiết bị: máy tính ở đầu trang (cạnh tiêu đề), điện thoại ở mục "Hình ảnh ứng dụng". */
@media (max-width: 900px) { .hero-shot { display: none; } }
@media (min-width: 901px) { #giao-dien { display: none; } }
/* Điện thoại: thẻ 2 cột, gọn hơn để vuốt nhanh tới phần Thanh toán */
@media (max-width: 600px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 14px; }
  .card h3 { font-size: .98rem; }
  .card p { font-size: .88rem; }
  .icon { width: 38px; height: 38px; margin-bottom: 10px; }
  section { padding: 44px 0; }
  .section-head { margin-bottom: 22px; }
}
@media (max-width: 600px) { .steps { row-gap: 26px; } .step { padding-top: 26px; } .step::before { left: 14px; width: 30px; height: 30px; top: -14px; } }

/* ---------- trang thanh toán (15/10): dải giảm 5% + giá gạch ngang ---------- */
.promo-bar { display: block; text-align: center; padding: 10px 16px; background: linear-gradient(90deg, #f59e0b, #f97316); color: #fff; font-weight: 600; text-decoration: none; }
.promo-bar b { font-weight: 800; }
.scroll-hint a { color: inherit; text-decoration: none; }
.old-price { color: var(--ink-2); font-weight: 500; font-size: .7em; margin-right: 4px; opacity: .75; }
.price .save { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fef3c7; color: #b45309; font-size: .55em; font-weight: 700; vertical-align: middle; }
.pick .old-price { font-size: .85em; }
.section-slim { padding: 8px 0 36px; }
.section-slim .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.plan.top .old-price { color: #cbd5e1; opacity: .9; }

/* [16/10] ghi chú nâng gói + thẻ mua thêm lượt */
#plan-note .note { font-size: .86em; font-style: italic; color: var(--muted); border-left: 3px solid #f0b429; padding: 6px 10px; margin: 10px 0 0; background: #fffbeb; border-radius: 6px; }
.pick-topup { border-style: dashed; }
.pick-topup .badge { background: #e8f7ee; color: #157347; }
.plan.topup { border-style: dashed; border-color: #9fd4b4; }
.badge.green { background: #16a34a; color: #fff; }

/* ---------- [PH-20261106-06] chuyển sang bản web (nhấp nháy) + hướng dẫn cài ---------- */
.to-web { background: linear-gradient(180deg, #e9fbf2, #fff); padding: 14px 0 12px; text-align: center; border-bottom: 1px solid var(--line); }
.to-web-btn { display: block; max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: 16px; background: linear-gradient(90deg, #1F7A50, #34C27E); color: #fff; font-weight: 900; font-size: clamp(1.25rem, 5.2vw, 1.6rem); line-height: 1.25; box-shadow: 0 8px 22px rgba(31,122,80,.35); animation: toWebBlink 1.2s ease-in-out infinite; }
.to-web-btn:hover { text-decoration: none; filter: brightness(1.05); }
@keyframes toWebBlink { 0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(52,194,126,.75), 0 8px 22px rgba(31,122,80,.35); } 50% { opacity: .78; transform: scale(1.025); box-shadow: 0 0 0 10px rgba(52,194,126,0), 0 8px 22px rgba(31,122,80,.35); } }
.to-web-sub { margin: 10px auto 10px; max-width: 560px; color: var(--ink-2); font-size: 1rem; }
.to-web-sub b { color: #1F7A50; }
.to-web-guide { font: inherit; font-weight: 800; font-size: 1rem; color: #1F7A50; background: #fff; border: 2px solid #34C27E; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; }
.guide-modal { position: fixed; inset: 0; z-index: 100; background: rgba(15,27,51,.55); display: grid; place-items: center; padding: 16px; }
.guide-modal[hidden] { display: none; }
.guide-card { position: relative; width: 100%; max-width: 440px; max-height: 90vh; overflow: auto; background: #fff; border-radius: 20px; padding: 22px 20px 20px; box-shadow: var(--shadow-lg); }
.guide-card h3 { font-size: 1.3rem; margin-right: 36px; }
.guide-card h4 { margin: 14px 0 6px; font-size: 1.05rem; color: #1F7A50; }
.guide-card ol { margin: 0; padding-left: 22px; color: var(--ink-2); }
.guide-card li { margin: 4px 0; }
.guide-note { margin: 14px 0 14px; font-size: .92rem; color: var(--muted); }
.guide-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-soft); font-size: 1.1rem; cursor: pointer; }
.phone-note { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: #fff8e6; border: 1px solid #f5d27a; color: var(--ink-2); font-size: .92rem; }

/* ===== [PH-20261113-02, Phong 13/11] trang thanh toán bản 5: logo xanh lá, chữ "Trang thanh toán", 2 gói nằm ngang trên điện thoại, thẻ gói + nút xanh lá ===== */
/* bản 2 */
#thanh-toan { padding-top: 22px; }
@media (max-width: 600px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plans > :not(.plan) { grid-column: 1 / -1; }
  .plan { padding: 16px 10px 12px; }
  .plan h3 { font-size: 1rem; }
  .plan .price { font-size: 1.25rem; }
  .plan .price small { font-size: .75rem; display: block; }
  .plan ul { font-size: .8rem; gap: 5px; margin: 8px 0 12px; }
  .plan li { gap: 4px; }
  .plan .btn { font-size: .85rem; padding-left: 6px; padding-right: 6px; }
}
/* bản 3 */
.logo-img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 6px 14px rgba(29,95,224,.30); }
.pay-title { font-size: 1.55rem; font-weight: 900; letter-spacing: .01em; color: var(--ink); margin-left: 4px; }
.nav { height: 70px; }
.plans-desc { margin: 14px auto 0; max-width: 720px; text-align: center; font-size: .92rem; }
#thanh-toan .section-head { margin-bottom: 16px; }
/* bản 4 */
:root { --g-900: #0f4d31; --g-700: #1F7A50; --g-500: #2fae6f; --g-100: #e3f6ec; --g-50: #f3fbf6; }
.logo-img { box-shadow: 0 6px 14px rgba(31,122,80,.30); }
.site-footer .logo-img { width: 40px; height: 40px; border-radius: 10px; box-shadow: none; }
#thanh-toan { background: linear-gradient(180deg, var(--g-50), #fff 60%); }
#thanh-toan .eyebrow { color: var(--g-700); background: var(--g-100); }
#thanh-toan .btn-primary { background: linear-gradient(135deg, var(--g-500), var(--g-700)); box-shadow: 0 8px 18px rgba(31,122,80,.28); }
#thanh-toan .stephead .n { background: var(--g-700); }
#thanh-toan .input:focus { border-color: var(--g-500); box-shadow: 0 0 0 4px rgba(47,174,111,.15); }
.plans .plan { border-radius: 20px; border: 1px solid #dbe7e0; box-shadow: 0 10px 26px rgba(15,77,49,.10); background: #fff; }
.plans .plan h3 { color: var(--g-900); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.plans .plan .price { color: var(--g-900); font-size: 1.55rem; line-height: 1.1; margin-top: 4px; }
.plans .plan .price small { color: #6b7a72; font-weight: 600; font-size: .78rem; }
.plans .plan .per-month { color: var(--g-700); font-weight: 700; font-size: .85rem; }
.plans .plan ul { border-top: 1px dashed #d4e4da; padding-top: 10px; }
.plans .plan li::before { content: "✓"; color: #fff; background: var(--g-500); width: 16px; height: 16px; border-radius: 50%; font-size: .65rem; display: inline-grid; place-items: center; flex: none; margin-top: 2px; }
.plans .plan.featured { border: 2px solid var(--g-500); background: linear-gradient(180deg, var(--g-50), #fff 55%); box-shadow: 0 16px 34px rgba(31,122,80,.22); }
.plans .plan .badge { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; top: -13px; }
.plans .plan .btn { border-radius: 14px; font-weight: 800; }
#thanh-toan .plans .plan:not(.featured) .btn-primary { background: #fff; color: var(--g-700); border: 2px solid var(--g-500); box-shadow: none; }
.pick { border-radius: 16px; }
.pick[aria-pressed="true"] { position: relative; border: 2px solid var(--g-500) !important; background: var(--g-50) !important; box-shadow: 0 8px 20px rgba(31,122,80,.18); }
.pick[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--g-700); color: #fff; font-weight: 900; font-size: .8rem; display: grid; place-items: center; }
.pick b, .pick span { color: var(--g-900); }
/* bản 5 */
.site-header { background: rgba(255,255,255,.86); border-bottom: 1px solid rgba(15,77,49,.08); box-shadow: 0 1px 0 rgba(255,255,255,.6), 0 4px 16px rgba(15,77,49,.05); }
.nav { height: 72px; }
.logo { gap: 12px; }
.logo-img { width: 44px; height: 44px; border-radius: 12px; }
.pay-title { font-size: 1.5rem; font-weight: 900; letter-spacing: -.01em; color: #0f2a1d; margin: 0; }
#thanh-toan { background: radial-gradient(900px 360px at 50% 0%, #e6f7ee 0%, rgba(230,247,238,0) 70%), linear-gradient(180deg, #f4fbf7 0%, #ffffff 70%); padding-top: 24px; padding-bottom: 40px; }
#thanh-toan .section-head { margin-bottom: 24px; }
#thanh-toan .eyebrow { margin-bottom: 8px; padding: 6px 14px; font-size: .75rem; }
#thanh-toan h2 { font-size: 1.5rem; letter-spacing: -.01em; color: #0f2a1d; }
.plans { gap: 12px; align-items: stretch; padding-top: 8px; }
.plans .plan { border-radius: 20px; padding: 24px 12px 16px; border: 1px solid #dcebe2; background: #fff;
  box-shadow: 0 1px 2px rgba(15,77,49,.06), 0 4px 8px rgba(15,77,49,.05), 0 16px 32px rgba(15,77,49,.08); }
.plans .plan h3 { font-size: .8rem; letter-spacing: .08em; color: #1F7A50; }
.plans .plan .price { font-size: 1.75rem; font-weight: 900; letter-spacing: -.02em; color: #0f2a1d; margin-top: 8px; line-height: 1; }
.plans .plan .price .dong { font-size: .55em; vertical-align: .55em; margin-left: 1px; font-weight: 800; }
.plans .plan .price small { display: block; margin-top: 6px; font-size: .78rem; letter-spacing: 0; color: #6b7a72; }
.plans .plan .per-month, .plans .plan .per-day { font-size: .78rem; font-weight: 700; color: #1F7A50; margin-top: 4px; }
.plans .plan .per-day { display: inline-block; align-self: flex-start; background: #e3f6ec; border-radius: 999px; padding: 2px 8px; margin-top: 8px; }
.plans .plan ul { margin: 16px 0; padding-top: 16px; gap: 8px; font-size: .82rem; line-height: 1.35; color: #34443b; border-top: 1px dashed #d4e4da; }
.plans .plan li::before { width: 16px; height: 16px; font-size: .62rem; }
.plans .plan.featured { border: 2.5px solid #2fae6f; background: linear-gradient(180deg, #effaf4 0%, #ffffff 60%); transform: scale(1.02);
  box-shadow: 0 2px 4px rgba(31,122,80,.10), 0 10px 20px rgba(31,122,80,.14), 0 24px 44px rgba(31,122,80,.20); }
.plans .plan .badge { top: -14px; padding: 6px 12px; font-size: .74rem; font-weight: 900; color: #fff; background: linear-gradient(135deg, #ffb020, #f97316); box-shadow: 0 6px 14px rgba(249,115,22,.35); }
#thanh-toan .plans .plan .btn { min-height: 48px; border-radius: 999px; font-size: .9rem; padding: 0 8px; }
#thanh-toan .plans .plan.featured .btn-primary { background: linear-gradient(135deg, #34c27e, #1F7A50); box-shadow: 0 8px 18px rgba(31,122,80,.35); }
.plans-desc { margin: 24px auto 0; padding: 12px 16px; background: rgba(227,246,236,.6); border: 1px solid #d4ecdf; border-radius: 14px; font-size: .85rem; line-height: 1.5; color: #3f5247; }
.plans > p.muted, .plans .stack-note { font-size: .82rem; }
.checkout { margin-top: 32px; }
.stepcard { border-radius: 20px; border: 1px solid #e1ece6; padding: 20px 16px; box-shadow: 0 1px 2px rgba(15,77,49,.05), 0 8px 24px rgba(15,77,49,.06); }
.stephead h3 { font-size: 1.05rem; color: #0f2a1d; }
#thanh-toan .stephead .n { background: linear-gradient(135deg, #34c27e, #1F7A50); box-shadow: 0 4px 10px rgba(31,122,80,.3); }
#phone-form { flex-direction: column; align-items: stretch; gap: 12px; }
#phone { min-height: 56px; border-radius: 16px; border: 1.5px solid #cfe3d7; font-size: 1.1rem; padding-left: 48px; flex: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%231F7A50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='3'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") no-repeat 16px center; }
#thanh-toan #phone:focus { border-color: #2fae6f; box-shadow: 0 0 0 4px rgba(47,174,111,.18); }
#thanh-toan #lookup-btn, #thanh-toan #create-btn { width: 100%; min-height: 52px; border-radius: 999px; font-size: 1rem; background: linear-gradient(135deg, #34c27e, #1F7A50); box-shadow: 0 8px 18px rgba(31,122,80,.3); }
#thanh-toan #create-btn:disabled { background: #cfe3d7; box-shadow: none; color: #fff; }
.phone-note { border-radius: 14px; }
.pick { border-radius: 16px; border-color: #d7e6dd; padding: 16px 12px; }
.pick .badge { background: linear-gradient(135deg, #ffb020, #f97316); color: #fff; }
/* bản 5 */
.nav { height: 64px; }
#thanh-toan { padding-top: 12px; }
#thanh-toan .section-head { margin-bottom: 16px; }
#thanh-toan .eyebrow { margin-bottom: 6px; }
#thanh-toan h2 { font-size: 1.35rem; }
.plans .plan { padding: 20px 12px 14px; }
.plans .plan .per-day { margin-top: 6px; }
.plans .plan ul { margin: 10px 0 12px; padding-top: 10px; gap: 6px; }
/* máy tính: 2 gói giữa trang, câu "Đang còn hạn…" nằm dưới 2 gói (không lọt sang cột 3) */
.plans > :not(.plan) { grid-column: 1 / -1; }
@media (min-width: 601px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-left: auto; margin-right: auto; } }
