/* VNCLabs — trang giới thiệu (giao diện sáng). Cùng ngôn ngữ thiết kế với ứng dụng: chàm–tím, nét gạch chân vàng vẽ tay, bảng vẽ của màn hình đăng nhập. */
:root {
  --bg: #f5f6fb;
  --surface: #ffffff;
  --surface-2: #f8f9fd;
  --line: #e4e7f0;
  --line-2: #cfd4e3;
  --text: #151925;
  --text-2: #4a5163;
  --muted: #737a8e;
  --accent: #4f46e5;
  --accent-2: #9333ea;
  --accent-soft: #eef0ff;
  --accent-text: #4338ca;
  --yellow: #f5a200;
  --ok: #0f9d63;
  --grad: linear-gradient(90deg, #4f46e5, #9333ea);
  --grad-text: linear-gradient(90deg, #4f46e5, #9333ea 62%, #db2777);
  --shadow-1: 0 1px 2px rgb(20 24 40 / 0.05), 0 4px 14px -6px rgb(20 24 40 / 0.08);
  --shadow-2: 0 24px 60px -24px rgb(40 36 110 / 0.35);
  --r: 18px;
  --font: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --hand: "Mali", "Be Vietnam Pro", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
section[id], h3[id] { scroll-margin-top: 80px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
:focus-visible { outline: 3px solid rgb(79 70 229 / 0.5); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
.nb { white-space: nowrap; }

/* ── nút ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; transition: transform .12s, filter .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 13px; }
.btn.block { width: 100%; }
.btn.primary { color: #fff; background: var(--grad); box-shadow: 0 12px 26px -12px rgb(79 70 229 / 0.65); }
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* ── điều hướng ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand b { font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a:not(.btn) { padding: 8px 13px; border-radius: 9px; color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .15s, background .15s; }
.nav-links a:not(.btn):hover { color: var(--accent-text); background: var(--accent-soft); }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; padding: 0; margin-left: auto; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); background: radial-gradient(800px 480px at 8% -8%, rgb(110 107 255 / 0.2), transparent 62%), radial-gradient(700px 460px at 100% 10%, rgb(236 72 153 / 0.14), transparent 62%), radial-gradient(600px 420px at 70% 100%, rgb(245 162 0 / 0.12), transparent 62%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(79 70 229 / 0.16) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 80%); mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 80%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--accent-text); background: var(--accent-soft); border: 1px solid #d9dcff; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgb(245 162 0 / 0.22); }
.mini-badge { margin-left: 4px; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; color: #92400e; background: #fef3c7; }
.hero h1 { margin: 18px 0 18px; font-size: clamp(34px, 4.8vw, 54px); line-height: 1.13; font-weight: 800; letter-spacing: -0.025em; }
.hl { position: relative; display: inline-block; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.underline { position: absolute; left: -2%; bottom: -10px; width: 104%; height: 14px; overflow: visible; }
.underline path { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 330; stroke-dashoffset: 330; animation: draw 1.1s .5s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-2); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--text-2); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* bảng vẽ (giống màn hình đăng nhập) */
.hero-visual { position: relative; padding: 22px; }
.board { position: relative; border-radius: 22px; padding: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2), 0 0 0 8px rgb(79 70 229 / 0.05); transform: rotate(-1.2deg); }
.board svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.board .draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: board-draw 7s ease-in-out infinite; }
.board .d2 { animation-delay: .6s; }
.board .d3 { animation-delay: 1.3s; }
.board .d4 { animation-delay: 2.1s; }
.board .d5 { animation-delay: 2.7s; }
.board .d6 { animation-delay: 3.2s; }
@keyframes board-draw { 0% { stroke-dashoffset: 400; opacity: 1; } 35%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.board .hand { animation: board-hand 7s ease-in-out infinite; }
@keyframes board-hand {
  0% { transform: translate(80px, 60px); } 14% { transform: translate(104px, 126px); } 28% { transform: translate(190px, 60px); }
  44% { transform: translate(250px, 90px); } 58% { transform: translate(262px, 146px); } 72% { transform: translate(128px, 56px); } 100% { transform: translate(80px, 60px); }
}
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px -12px rgb(40 36 110 / 0.35); animation: float 6s ease-in-out infinite; }
.chip b { padding: 1px 7px; border-radius: 6px; background: var(--grad); color: #fff; font-size: 12px; }
.chip svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip.c1 { left: -8px; top: 9%; }
.chip.c2 { right: -6px; bottom: 16%; animation-delay: -2s; }
.chip.c3 { left: 6%; bottom: -4px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-9px); } }

/* ── khối chung ── */
.sec { padding: 92px 0; }
.sec.alt { background: #fff; border-block: 1px solid var(--line); }
.sec-head { max-width: 740px; margin: 0 auto 48px; text-align: center; }
.sec-head h2, .dl-copy h2 { margin: 14px 0 12px; font-size: clamp(27px, 3.4vw, 40px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.sec-head p { color: var(--text-2); font-size: 17px; }
.sub-title { margin: 76px 0 10px; text-align: center; font-size: clamp(23px, 2.6vw, 31px); line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; }
.sub-title.left { margin-top: 0; text-align: left; }
.sub-lead { max-width: 680px; margin: 0 auto 30px; text-align: center; color: var(--text-2); font-size: 16.5px; }
.sub-lead.left { margin: 12px 0 22px; text-align: left; }
h2 em, h3 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 26px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .2s, border-color .2s, box-shadow .2s; }
.sec.alt .card { background: var(--surface-2); }
.card:hover { transform: translateY(-3px); border-color: #b9bdfb; box-shadow: 0 18px 40px -22px rgb(79 70 229 / 0.45); }
.card h3 { font-size: 18px; font-weight: 700; margin: 16px 0 8px; letter-spacing: -0.01em; }
.card p { color: var(--text-2); font-size: 15px; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--accent); background: var(--accent-soft); border: 1px solid #d9dcff; }
.ico svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.note-line { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }

/* ── hai sản phẩm ── */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: box-shadow .2s, transform .2s; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.product.alt { background: linear-gradient(170deg, #fff, #f7f3ff); }
.product h3 { margin-top: 12px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.product-sub { color: var(--accent-text); font-weight: 600; margin-top: 2px; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.badge.ok { color: #0b7a4b; background: #e2f6ec; }
.badge.soon { color: #92400e; background: #fef3c7; }
.checks { display: grid; gap: 13px; }
.checks.sm { gap: 9px; margin: 18px 0 22px; }
.checks li { position: relative; padding-left: 32px; color: var(--text-2); font-size: 15.5px; }
.checks.sm li { font-size: 14.5px; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #e2f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d63' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks.sm li::before { width: 18px; height: 18px; top: 2px; }
.checks b { color: var(--text); font-weight: 600; }
.shot { margin-top: auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 16px 36px -22px rgb(20 24 40 / 0.5); }
.shot img { display: block; width: 100%; height: auto; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ── quy trình ── */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, rgb(79 70 229 / 0.4) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 6px; }
.num { position: relative; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: var(--hand); font-size: 24px; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 0 0 7px #fff, 0 14px 30px -10px rgb(79 70 229 / 0.6); }
.step h4 { margin: 18px 0 8px; font-size: 18px; font-weight: 700; }
.step p { color: var(--text-2); font-size: 15px; }

/* ── ảnh ứng dụng ── */
.shots { margin-top: 76px; display: grid; gap: 22px; }
.shots-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.window { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-2); }
.window.big { max-width: 1040px; width: 100%; margin-inline: auto; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f1f3fa; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin: 0 auto; transform: translateX(-26px); font-size: 12.5px; color: var(--muted); }
.window img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.window figcaption { padding: 14px 18px 16px; font-size: 14.5px; color: var(--text-2); border-top: 1px solid var(--line); }
.window figcaption b { color: var(--text); }
.motion-shots { margin-bottom: 40px; }

/* ── mẫu video ── */
.tpl { padding: 14px 14px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .2s, border-color .2s, box-shadow .2s; }
.tpl:hover { transform: translateY(-3px); border-color: #b9bdfb; box-shadow: 0 18px 40px -22px rgb(79 70 229 / 0.45); }
.tpl-media { position: relative; border-radius: 11px; overflow: hidden; aspect-ratio: 16 / 9; background: #fff; border: 1px solid var(--line); }
.tpl-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 10px; top: 10px; padding: 2px 9px; border-radius: 7px; font: 600 11.5px var(--font); color: #fff; background: rgb(15 20 40 / 0.62); backdrop-filter: blur(4px); }
.tpl h4 { margin: 16px 6px 6px; font-size: 17.5px; font-weight: 700; }
.tpl p { margin: 0 6px; color: var(--text-2); font-size: 14.5px; }
.ph { display: grid; place-items: center; border: 0; }
.ph-ic { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 20px; background: rgb(255 255 255 / 0.3); border: 1px solid rgb(255 255 255 / 0.5); backdrop-filter: blur(6px); }
.ph-ic svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ph-news { background: linear-gradient(135deg, #3a8f94, #4d6f9e); }
.ph-quiz { background: linear-gradient(135deg, #5fae7c, #5f7fc0); }
.ph-soon { background: repeating-linear-gradient(135deg, #f1f3fa 0 12px, #f8f9fd 12px 24px); border: 1px dashed var(--line-2); }
.ph-soon .ph-ic { background: #fff; border-color: var(--line-2); }
.ph-soon .ph-ic svg { stroke: var(--muted); }
.tpl.soon { border-style: dashed; box-shadow: none; }

/* ── giọng đọc ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; margin-top: 84px; }
.voice-card { padding: 26px; border-radius: 22px; background: linear-gradient(160deg, #f1f0ff, #fff); border: 1px solid #d9dcff; box-shadow: var(--shadow-2); }
.voice-top { display: flex; gap: 8px; margin-bottom: 22px; }
.lang { padding: 5px 13px; border-radius: 99px; font-size: 13px; font-weight: 600; border: 1px solid var(--line-2); background: #fff; color: var(--text-2); }
.lang.vi { color: #fff; background: var(--grad); border-color: transparent; }
.wave { display: flex; align-items: center; gap: 4px; height: 76px; padding: 0 4px; }
.wave i { flex: 1; min-width: 3px; height: var(--h, 16%); border-radius: 4px; background: var(--grad); animation: wave 1.5s ease-in-out infinite; animation-delay: calc(var(--d) * -0.09s); }
@keyframes wave { 0%, 100% { height: 14%; } 50% { height: 92%; } }
.voice-line { margin: 18px 0 16px; font-family: var(--hand); font-size: 19px; line-height: 1.5; color: var(--text); }
.voice-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.voice-meta span { padding: 4px 11px; border-radius: 8px; font-size: 12.5px; color: var(--text-2); background: #fff; border: 1px solid var(--line); }

/* ── bảng giá ── */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.plan.hot { border-color: #8b86f5; background: linear-gradient(170deg, #f1f0ff, #fff); box-shadow: 0 30px 60px -28px rgb(79 70 229 / 0.55); }
.plan .badge-hot { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); white-space: nowrap; }
.plan h3 { font-size: 19px; font-weight: 700; }
.plan .price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.plan-sub { color: var(--text-2); font-size: 14.5px; margin-bottom: 18px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 24px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #e2f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d63' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan li b { color: var(--text); font-weight: 700; }
.plan .btn { width: 100%; }

/* ── tải xuống ── */
.dl { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.dl-steps { display: grid; gap: 16px; counter-reset: d; }
.dl-steps li { position: relative; padding-left: 52px; counter-increment: d; }
.dl-steps li::before { content: counter(d); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 700 17px var(--hand); background: var(--accent-soft); border: 1px solid #d9dcff; color: var(--accent-text); }
.dl-steps b { display: block; font-size: 16.5px; }
.dl-steps span { color: var(--text-2); font-size: 14.5px; }
.dl-card { padding: 30px; border-radius: 24px; text-align: center; background: linear-gradient(170deg, #f1f0ff, #fff); border: 1px solid #d9dcff; box-shadow: var(--shadow-2); }
.dl-card img { margin: 0 auto 10px; border-radius: 16px; box-shadow: 0 16px 36px -10px rgb(79 70 229 / 0.55); }
.dl-card h3 { font-size: 22px; font-weight: 800; }
.muted { color: var(--muted); font-size: 14px; margin: 4px 0 20px; }
.badge.ok-now { color: #0b7a4b; background: #e2f6ec; }
.dl-notes { margin-top: 22px; display: grid; gap: 9px; text-align: left; }
.dl-notes li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 13.5px; }
.dl-notes li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.dl-notes b { color: var(--text); font-weight: 600; }

/* ── hỏi đáp ── */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); transition: border-color .2s, background .2s, box-shadow .2s; }
.faq details[open] { border-color: #b9bdfb; background: #fff; box-shadow: var(--shadow-1); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); font-size: 15.5px; }

/* ── chân trang ── */
.foot { border-top: 1px solid var(--line); padding: 54px 0 0; background: #fff; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 0.7fr)); gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 380px; color: var(--muted); font-size: 14.5px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.foot-col a { color: var(--text-2); font-size: 14.5px; }
.foot-col a:hover { color: var(--accent-text); }
.foot-bottom { margin-top: 40px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ── xem ảnh lớn ── */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgb(15 18 35 / 0.82); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 96vw; max-height: 92vh; border-radius: 12px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.6); }
.lb-x { position: absolute; right: -6px; top: -14px; width: 38px; height: 38px; border-radius: 50%; border: 0; font-size: 24px; line-height: 1; cursor: pointer; background: #fff; color: #151925; box-shadow: 0 6px 18px rgb(0 0 0 / .4); }

/* ── hiện dần khi cuộn ── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── màn hình nhỏ ── */
@media (max-width: 1020px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .steps::before { display: none; }
  .hero-in, .split, .dl { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .nav-links { position: absolute; left: 0; right: 0; top: 66px; margin: 0; padding: 12px 20px 20px; flex-direction: column; align-items: stretch; background: rgb(255 255 255 / 0.98); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgb(20 24 40 / .3); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 10px; font-size: 16px; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots-2 { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .sec { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .g3, .plans, .steps { grid-template-columns: 1fr; }
  .chip.c2 { display: none; }
  .btn.lg { width: 100%; }
  .cta-row { flex-direction: column; }
  .sec-head { margin-bottom: 34px; }
  .product { padding: 24px 18px 22px; }
  .sub-title { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .underline path { stroke-dashoffset: 0; }
  .board .draw { stroke-dashoffset: 0; opacity: 1; }
  .board .hand { transform: translate(262px, 146px); }
}

/* ── chatbot ── */
.chatbot { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chatbot > .bot-panel { margin-bottom: 4px; }
.bot-fab { border: 0; padding: 0; background: var(--grad); }
.chatbot.open .bot-fab { box-shadow: 0 0 0 4px rgb(79 70 229 / .25), 0 12px 26px -8px rgb(20 24 60 / 0.55); }
.bot-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 290px)); min-height: 200px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgb(40 36 110 / 0.5); animation: pop .25s cubic-bezier(.16, 1, .3, 1); }
.bot-panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, #4f46e5, #9333ea); }
.bot-head b { display: block; font-size: 15.5px; }
.bot-head small { opacity: .85; font-size: 12.5px; }
.bot-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 800; font-size: 14px; background: rgb(255 255 255 / 0.22); }
.bot-x { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: #fff; background: rgb(255 255 255 / 0.18); }
.bot-x:hover { background: rgb(255 255 255 / 0.3); }
.bot-log { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f8f9fd; }
.bot-msg { display: flex; flex-direction: column; gap: 8px; max-width: 88%; }
.bot-msg.me { align-self: flex-end; align-items: flex-end; }
.bot-bubble { padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.bot-msg.bot .bot-bubble { background: #fff; border: 1px solid var(--line); border-top-left-radius: 5px; }
.bot-msg.me .bot-bubble { color: #fff; background: var(--grad); border-top-right-radius: 5px; }
.bot-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.bot-actions a { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); border: 1px solid #d9dcff; }
.bot-actions a:hover { background: #e2e5ff; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.bot-chips { display: flex; gap: 6px; padding: 10px 12px 4px; overflow-x: auto; background: #fff; border-top: 1px solid var(--line); scrollbar-width: none; }
.bot-chips::-webkit-scrollbar { display: none; }
.bot-chips button { flex: none; padding: 6px 12px; border-radius: 99px; font-size: 13px; cursor: pointer; border: 1px solid var(--line-2); background: #fff; color: var(--text-2); white-space: nowrap; }
.bot-chips button:hover { border-color: var(--accent); color: var(--accent-text); }
.bot-form { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.bot-form input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); font: inherit; font-size: 14.5px; background: var(--surface-2); outline: none; }
.bot-form input:focus { border-color: var(--accent); background: #fff; }
.bot-form button { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 12px; cursor: pointer; color: #fff; background: var(--grad); }
.bot-form button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 600px) {
  .chatbot { right: 12px; bottom: 12px; }
  .bot-panel { width: calc(100vw - 24px); height: min(560px, calc(100vh - 270px)); }
}
@media (prefers-reduced-motion: reduce) { .bot-panel, .typing i { animation: none; } }

/* ── biểu tượng nổi Zalo / Messenger (trên biểu tượng chatbot) ── */
.dock { display: contents; }
.dock-btn { border: 0; padding: 0; font: inherit; position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 12px 26px -8px rgb(20 24 60 / 0.55); transition: transform .15s, filter .15s; cursor: pointer; }
.dock-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dock-btn.zalo { background: #0068ff; }
.dock-btn.zalo svg { width: 42px; height: 42px; }
.dock-btn .zt { fill: #fff; stroke: none; font: 800 16.5px/1 var(--font); letter-spacing: -.02em; }
.dock-btn.robot { color: #fff; border: 0; }
.dock-btn.mess { background: radial-gradient(circle at 20% 105%, #ff7061 0%, #ff5280 28%, #a033ff 62%, #0099ff 100%); }
.dock-btn.mess svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
.dock-btn:hover, .dock-btn:focus-visible { transform: translateY(-2px) scale(1.06); filter: brightness(1.06); }
.dock-btn::after { content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); padding: 7px 12px; border-radius: 9px; font: 600 13px/1.2 var(--font); white-space: nowrap; color: #fff; background: #1b1d2b; box-shadow: 0 10px 24px -8px rgb(0 0 0 / .5); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.dock-btn:hover::after, .dock-btn:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 600px) { .dock-btn { width: 46px; height: 46px; } .dock-btn svg { width: 23px; height: 23px; } .dock-btn.mess svg { width: 27px; height: 27px; } .dock-btn.zalo svg { width: 38px; height: 38px; } .dock-btn::after { display: none; } .chatbot { gap: 10px; } }

/* ── chân trang: thông tin quản trị viên ── */
.foot-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.foot-admin { color: var(--text-2); }
.foot-admin b { color: var(--text); font-weight: 600; }
.foot-admin a { color: var(--accent-text); font-weight: 500; }
.foot-admin a:hover { text-decoration: underline; }
.foot-link { padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px; color: var(--text-2); text-align: left; cursor: pointer; }
.foot-link:hover { color: var(--accent-text); }

/* ── liên kết "Tải về" trên header: avatar mascot + nhãn ở góc trên bên phải ── */
.dl-mascot { position: relative; display: inline-flex; align-items: center; flex: none; margin-left: 14px; padding-right: 60px; transform-origin: 30% 100%; animation: mmShake 3.6s ease-in-out 1.2s infinite; }
.dl-mascot:hover { animation-play-state: paused; }
.mm-icon { display: block; flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 14px; background: linear-gradient(150deg, #eef0ff 0%, #fbe7f3 100%); border: 2px solid #fff; box-shadow: 0 0 0 1.5px #d9dcff, 0 8px 18px -8px rgb(79 70 229 / .55); transition: transform .2s, box-shadow .2s; }
.dl-mascot:hover .mm-icon { transform: translateY(-1px) scale(1.06); box-shadow: 0 0 0 1.5px #a5a8ff, 0 12px 22px -8px rgb(79 70 229 / .6); }
.mm-art { display: block; width: 100%; height: 100%; }
/* nhãn: bám vào góc trên bên phải của avatar, chồng lên khoảng 1/4 phía trên nhưng không che mặt */
.dl-text { position: absolute; top: 3px; left: 29px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 9px 0 7px; border-radius: 99px; font-size: 12.5px; line-height: 1; font-weight: 800; letter-spacing: 0; white-space: nowrap; color: #fff; background: var(--grad); border: 2px solid #fff; box-shadow: 0 6px 14px -4px rgb(79 70 229 / .6); transition: transform .2s; }
.dl-text::before { content: ""; width: 10px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0 5-5m-5 5-5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.dl-mascot:hover .dl-text { transform: translateY(-1px); }
.mm-bob { animation: mmBob 2.8s ease-in-out infinite; }
.mm-cape-l { transform-box: fill-box; transform-origin: 100% 0; animation: mmCapeL 2s ease-in-out infinite; }
.mm-cape-r { transform-box: fill-box; transform-origin: 0 0; animation: mmCapeR 2s ease-in-out .3s infinite; }
.mm-eyes { transform-box: fill-box; transform-origin: center; animation: mmBlink 4.4s infinite; }
@keyframes mmBob { 50% { transform: translateY(-3px); } }
@keyframes mmCapeL { 50% { transform: rotate(5deg) skewY(3deg); } }
@keyframes mmCapeR { 50% { transform: rotate(-5deg) skewY(-3deg); } }
@keyframes mmBlink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
/* lắc qua phải rồi trả về chỗ cũ */
@keyframes mmShake {
  0%, 55%, 100% { transform: translateX(0) rotate(0); }
  61% { transform: translateX(8px) rotate(3deg); }
  67% { transform: translateX(-3px) rotate(-2deg); }
  73% { transform: translateX(6px) rotate(2deg); }
  80% { transform: translateX(-1px) rotate(-1deg); }
  88% { transform: translateX(2px) rotate(1deg); }
  95% { transform: translateX(0) rotate(0); }
}
@keyframes mmNudge { 0%, 70%, 100% { transform: translateX(0); } 82% { transform: translateX(4px); } }
@media (max-width: 860px) {
  .dl-mascot { margin-left: auto; }
  .burger { margin-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mm-bob, .mm-cape-l, .mm-cape-r, .mm-eyes { animation: none; }
  .dl-mascot { animation: mmNudge 6s ease-in-out infinite; }
}

/* chatbot: khung chat bên trái cột biểu tượng, đáy ngang với nút robot (máy tính); điện thoại giữ khung phía trên */
@media (min-width: 601px) {
  .chatbot { display: grid; grid-template-columns: auto 52px; grid-auto-rows: 52px; column-gap: 0; row-gap: 12px; align-items: end; justify-items: end; }
  .chatbot .dock-btn { grid-column: 2; }
  .chatbot > .bot-panel { grid-column: 1; grid-row: 1 / span 3; align-self: end; margin: 0 14px 0 0; height: min(600px, calc(100vh - 112px)); min-height: 320px; animation-name: popLeft; }
  @keyframes popLeft { from { opacity: 0; transform: translateX(14px) scale(.97); } }
}

/* ═══════════════════════ BẢN ĐIỆN THOẠI (bán hàng, không tải về) ═══════════════════════ */
[hidden] { display: none !important; }
.only-mob { display: none !important; }
.is-mobile .only-mob { display: var(--d, block) !important; }
.is-mobile .only-desk { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
a, button { -webkit-tap-highlight-color: transparent; }

/* khối "chạy trên máy tính" ở phần Tải xuống (chỉ điện thoại) */
.dl-mobile { text-align: center; }
.dlm-card { margin-top: 26px; padding: 22px 18px 20px; border-radius: 24px; text-align: left; background: linear-gradient(170deg, #f1f0ff, #fff); border: 1px solid #d9dcff; box-shadow: var(--shadow-2); }
.dlm-laptop { display: block; width: 150px; margin: -6px auto 14px; filter: drop-shadow(0 12px 14px rgb(79 70 229 / .25)); }
.dlm-steps { display: grid; gap: 12px; margin: 0 0 18px; counter-reset: s; }
.dlm-steps li { position: relative; padding-left: 40px; counter-increment: s; font-size: 14.5px; color: var(--text-2); }
.dlm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 700 14px var(--hand); color: var(--accent-text); background: var(--accent-soft); border: 1px solid #d9dcff; }
.dlm-steps b { display: block; color: var(--text); font-size: 15.5px; }
.dlm-actions { display: grid; gap: 10px; }
.dlm-actions .btn { width: 100%; }
.dlm-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

/* ghi chú "cần máy tính" ở đầu trang (chỉ điện thoại) */
.mob-note { margin-top: 20px; padding: 14px; border-radius: 18px; background: #fff; border: 1px dashed #b9bdfb; display: flex; align-items: center; gap: 12px; text-align: left; }
.mob-note svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mob-note p { font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.mob-note p b { color: var(--text); }
.mob-note .btn { margin-top: 8px; }

/* chip giá ở hero */
.price-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 99px; font-weight: 700; color: var(--accent-text); background: var(--accent-soft); border: 1px solid #d9dcff; }

/* gợi ý vuốt ngang */
.swipe-hint { align-items: center; justify-content: center; gap: 6px; margin: -10px 0 4px; font-size: 13px; color: var(--muted); }
.swipe-hint i { display: inline-block; animation: swipeNudge 1.4s ease-in-out infinite; font-style: normal; }
@keyframes swipeNudge { 50% { transform: translateX(6px); } }

/* nút nổi nhỏ gọn hơn & chừa vùng an toàn (iPhone) */
@media (max-width: 860px) {
  .chatbot { right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .nav-in { height: 62px; gap: 10px; }
  .nav-links { top: 62px; }
  html { scroll-padding-top: 66px; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2, .dl-copy h2 { font-size: 26px; }
  .sec-head p { font-size: 15.5px; }
  .sub-title { font-size: 22px; margin-top: 46px; }
  .sub-lead { font-size: 15px; margin-bottom: 20px; }

  /* hero */
  .hero { padding: 26px 0 40px; }
  .hero h1 { font-size: 32px; margin: 14px 0 12px; }
  .lead { font-size: 15.5px; }
  .eyebrow { font-size: 12px; }
  .cta-row { gap: 10px; margin-top: 20px; }
  .trust { gap: 6px 14px; margin-top: 18px; font-size: 13.5px; }
  .hero-visual { padding: 14px 4px 0; margin-top: 4px; }
  .board { transform: none; border-radius: 18px; padding: 8px; }
  .board svg { border-radius: 10px; }
  .chip { font-size: 12.5px; padding: 7px 11px; }
  .chip.c1 { left: 0; top: 0; }
  .chip.c3 { left: 6%; bottom: -10px; }

  /* các cụm vuốt ngang: mẫu video, bảng giá, ảnh ứng dụng */
  .tpl-grid, .plans, .shots-2 { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 14px 16px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .tpl-grid::-webkit-scrollbar, .plans::-webkit-scrollbar, .shots-2::-webkit-scrollbar { display: none; }
  .tpl-grid > .tpl { flex: 0 0 78%; scroll-snap-align: center; }
  .plans > .plan { flex: 0 0 80%; scroll-snap-align: center; }
  .shots-2 > .window { flex: 0 0 90%; scroll-snap-align: center; }
  .plan { padding: 26px 20px 22px; }
  .plan.hot { transform: translateY(-4px); }
  .plan .btn { height: 48px; }

  /* tính năng: dạng hàng gọn */
  .g3 { grid-template-columns: 1fr; gap: 12px; }
  .card.feat { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; padding: 16px; border-radius: 18px; }
  .card.feat .ico { grid-row: 1 / span 2; width: 46px; height: 46px; }
  .card.feat h3 { margin: 0 0 4px; font-size: 16.5px; }
  .card.feat p { font-size: 14.5px; }
  .card:hover, .tpl:hover, .product:hover { transform: none; }

  /* quy trình: dòng thời gian dọc */
  .steps { grid-template-columns: 1fr; row-gap: 0; margin-top: 4px; }
  .step { position: relative; display: grid; grid-template-columns: 54px 1fr; column-gap: 14px; text-align: left; padding: 0 0 22px; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 26px; top: 56px; bottom: 2px; border-left: 2px dashed rgb(79 70 229 / .35); }
  .step .num { grid-row: 1 / span 2; box-shadow: 0 0 0 5px #fff, 0 10px 22px -8px rgb(79 70 229 / .55); }
  .sec.alt .step .num { box-shadow: 0 0 0 5px #fff, 0 10px 22px -8px rgb(79 70 229 / .55); }
  .step h4 { margin: 4px 0 2px; font-size: 17px; }

  /* hai sản phẩm */
  .product { padding: 22px 16px 18px; border-radius: 22px; }
  .product h3 { font-size: 26px; }
  .product-actions .btn { flex: 1; }

  /* giọng đọc + hỏi đáp + chân trang */
  .split { gap: 28px; margin-top: 56px; }
  .voice-card { padding: 18px; }
  .voice-line { font-size: 17px; }
  .faq summary { padding: 15px 16px; font-size: 15.5px; }
  .faq details p { padding: 0 16px 16px; font-size: 15px; }
  .foot { padding-top: 38px; }
  .foot-bottom { margin-top: 28px; }

  /* khung chat: dùng chiều cao động của trình duyệt di động, chữ nhập ≥16px để iPhone không tự phóng to */
  .bot-panel { width: calc(100vw - 24px); height: min(560px, calc(100vh - 290px)); }
  @supports (height: 100dvh) { .bot-panel { height: min(560px, calc(100dvh - 290px)); } }
  .bot-form input { font-size: 16px; }
  .bot-chips button { padding: 8px 13px; }

  /* xem ảnh app to: kéo ngang để xem hết */
  .lightbox { width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; overflow: auto; background: rgb(15 18 35 / .94); -webkit-overflow-scrolling: touch; }
  .lightbox img { max-width: none; max-height: none; width: 230vw; border-radius: 0; margin: 64px 0 28px; box-shadow: none; }
  .lb-x { position: fixed; right: 14px; top: 14px; width: 42px; height: 42px; }
  .lightbox::after { content: "Kéo ngang để xem hết · bấm × để đóng"; position: fixed; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 12.5px; color: rgb(255 255 255 / .75); pointer-events: none; }
}

/* thiết bị cảm ứng: đủ lớn để chạm */
.is-mobile .btn { min-height: 46px; }
.is-mobile .nav-links a:not(.btn) { padding: 14px 10px; }

/* toast nhỏ (đã sao chép link) */
.toast-lite { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 80; max-width: min(92vw, 420px); padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.4; text-align: center; color: #fff; background: #1b1d2b; box-shadow: 0 16px 36px -10px rgb(0 0 0 / .55); opacity: 0; transform: translate(-50%, 10px); transition: opacity .25s, transform .25s; }
.toast-lite.on { opacity: 1; transform: translate(-50%, 0); }
.dlm-h { margin: 14px 0 10px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.is-mobile .dl-mascot { display: none; }
.is-mobile .burger { margin-left: auto; }
