/* Claude: trang giới thiệu GlassBox Ink, bản 2 (15/11/2026). Chỉ giao diện sáng (anh bỏ chế độ tối).
   Màu theo packages/net_ui/lib/src/tokens.g.dart. Hiệu ứng chỉ dùng transform/opacity để không lag. */
:root {
  --desk: #F7F6F2; --chrome: #F4F1EA; --surface: #FBFAF6; --surface2: #F2EFE8;
  --line: #D2CBBD; --ink: #1F1C26; --muted: #6D6778; --off: #B9B3C4;
  --accent: #5B3FC4; --accent-soft: #EBE5FC;
  --ok: #2F8A4C;
  --paper: #FDFCF7; --grid: rgba(184,198,224,.42); --grid-fine: rgba(219,226,239,.6);
  --rainbow: linear-gradient(100deg, #5B3FC4, #9b4dff 30%, #e5487d 58%, #ff8a00 82%, #f5c400);
  --shadow: 0 1px 2px rgba(31,28,38,.05), 0 10px 28px -14px rgba(31,28,38,.22);
  --shadow-lg: 0 2px 6px rgba(31,28,38,.05), 0 36px 70px -32px rgba(60,40,140,.38);
  --radius: 18px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Dancing Script", "Segoe Script", cursive;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--desk); color: var(--ink); font: 400 17px/1.6 var(--font); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
section { scroll-margin-top: 70px; }

.grid-bg, .paper {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(var(--grid-fine) 1px, transparent 1px), linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.paper { background-color: var(--paper); }

.logo { width: 36px; height: 36px; flex: none; }
.logo rect { fill: #5B3FC4; }
.logo path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Màn mở đầu (vẽ bằng canvas, js/intro.js) ===== */
.intro { position: fixed; inset: 0; z-index: 100; cursor: pointer; transition: opacity .3s ease; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro.gone { opacity: 0; pointer-events: none; }
html.no-intro .intro { display: none; }

/* ===== Thanh trên ===== */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: var(--rainbow); }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,246,242,.95); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-color: rgba(210,203,189,.6); box-shadow: 0 6px 20px -16px rgba(31,28,38,.4); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface2); }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: none; place-items: center; cursor: pointer; margin-left: auto; }
.icon-btn svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; padding: 12px 16px 20px; background: var(--desk);
    border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s ease; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px; font-size: 17px; }
  .icon-btn { display: grid; }
  .nav .btn-sm { display: none; }
}

/* ===== Nút ===== */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 22px; border-radius: 14px; border: 0; cursor: pointer; font: 800 16px/1.1 var(--font); text-decoration: none;
  background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(91,63,196,.9); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(91,63,196,1); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent); transition: transform .7s ease; }
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost::after { background: linear-gradient(90deg, transparent, rgba(91,63,196,.14), transparent); }
.btn.zalo { background: #0068FF; box-shadow: 0 10px 24px -12px rgba(0,104,255,.9); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.btn small { display: block; font-weight: 600; opacity: .85; font-size: 12px; margin-top: 3px; }

/* ===== Hero ===== */
.hero { position: relative; padding: 52px 0 0; overflow: hidden; isolation: isolate; }
.hero .grid-bg { position: absolute; inset: 0; z-index: -2;
  -webkit-mask: radial-gradient(ellipse 85% 75% at 50% 25%, #000 25%, transparent 75%); mask: radial-gradient(ellipse 85% 75% at 50% 25%, #000 25%, transparent 75%); }
.glow-bg { position: absolute; z-index: -1; left: 50%; top: -260px; width: 1300px; height: 1000px; margin-left: -650px; pointer-events: none;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(91,63,196,.26), transparent),
    radial-gradient(closest-side at 72% 34%, rgba(229,72,125,.16), transparent),
    radial-gradient(closest-side at 52% 66%, rgba(255,138,0,.12), transparent);
  animation: glow 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes glow { to { transform: translate3d(40px, 30px, 0) rotate(8deg) scale(1.06); } }
.hero-text { text-align: center; max-width: 900px; margin: 0 auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); box-shadow: var(--shadow); max-width: 100%; }
.chip b { background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.hero h1 { font-size: clamp(38px, 6.6vw, 80px); font-weight: 900; margin-top: 22px; letter-spacing: -.03em; }
.hero h1 .line2 { display: block; }
.grad-text { background: var(--rainbow); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hand-word { position: relative; display: inline-block; white-space: nowrap; }
.hand-word svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .5em; overflow: visible; }
.hand-word svg path { fill: none; stroke: url(#rainbow); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.go .hand-word svg path { animation: draw 1.1s .5s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 20px auto 0; max-width: 660px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); }

.window { position: relative; border-radius: 16px; overflow: hidden; background: #f4f1ea; border: 1px solid rgba(210,203,189,.9); box-shadow: var(--shadow-lg); }
.window video, .window img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #f4f1ea; }
.hero-stage { position: relative; margin: 50px auto 0; max-width: 1100px; perspective: 1600px; }
.hero-stage .window { transform: rotateX(16deg) scale(.95); transform-origin: 50% 0; will-change: transform; }
.float-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 14px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.float-chip i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.float-chip i svg { width: 17px; height: 17px; }
.fc1 { left: -26px; top: 18%; } .fc2 { right: -30px; top: 40%; animation-delay: -2s; } .fc3 { left: 7%; bottom: -20px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 760px) { .float-chip { display: none; } .hero-stage .window { transform: none !important; } }

.marquee { margin-top: 64px; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee-track { display: flex; gap: 46px; width: max-content; padding: 16px 0; animation: marquee 38s linear infinite; will-change: transform; }
.marquee span { white-space: nowrap; font-family: var(--hand); font-size: 27px; font-weight: 700; color: var(--muted); }
.marquee span::before { content: "✦"; font-family: var(--font); font-size: 14px; color: var(--accent); margin-right: 46px; vertical-align: middle; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ===== Mục chung ===== */
.sec { padding: 104px 0; }
.sec.tight { padding-top: 30px; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.kicker { position: relative; display: inline-block; font-family: var(--hand); font-size: 29px; font-weight: 700; color: var(--accent); }
.kicker::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -2px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5c20-4 40-4 60-1s36 3 56-2' fill='none' stroke='%23e5487d' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
  clip-path: inset(0 100% 0 0); transition: clip-path .9s .3s cubic-bezier(.6,.1,.2,1); }
.in .kicker::after { clip-path: inset(0 0 0 0); }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; margin-top: 6px; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

/* ===== Tab + video ===== */
.show { display: grid; grid-template-columns: 330px 1fr; gap: 30px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 6px; }
.tab { position: relative; text-align: left; border: 1px solid transparent; background: transparent; color: inherit; padding: 13px 16px 15px;
  border-radius: 14px; cursor: pointer; font: inherit; transition: background .25s, border-color .25s, transform .25s; }
.tab:hover { background: var(--surface); transform: translateX(3px); }
.tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); transform: none; }
.tab h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.tab h3 i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; transition: background .25s, color .25s; }
.tab[aria-selected="true"] h3 i { background: var(--accent); color: #fff; }
.tab h3 i svg { width: 18px; height: 18px; }
.tab p { color: var(--muted); font-size: 15px; margin: 6px 0 0 42px; display: none; }
.tab[aria-selected="true"] p { display: block; animation: fadeUp .35s ease both; }
.tab .bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--surface2); display: none; overflow: hidden; }
.tab[aria-selected="true"] .bar { display: block; }
.tab .bar b { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--rainbow); transform-origin: 0 50%; transform: scaleX(0); }
.show-stage { position: sticky; top: 86px; }
.show-stage video { transition: opacity .3s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.show-stage video.swap { opacity: 0; transform: scale(.97); }
.tab-desc { display: none; text-align: center; color: var(--muted); margin-top: 14px; font-size: 15px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 940px) {
  .show { grid-template-columns: 1fr; }
  .show-stage { position: relative; top: 0; order: -1; }
  .tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; scroll-snap-align: start; padding: 10px 12px 14px; }
  .tab:hover { transform: none; }
  .tab h3 { font-size: 15px; white-space: nowrap; }
  .tab p { display: none !important; }
  .tab-desc { display: block; }
}

/* ===== Viết tay ===== */
.write { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center; }
.write-paper { border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; overflow: hidden; aspect-ratio: 4 / 3.1; }
.write-paper svg { width: 100%; height: 100%; }
.write-paper .margin { position: absolute; left: 13%; top: 0; bottom: 0; width: 1.5px; background: rgba(229,72,77,.35); }
.hw text { font-family: var(--hand); font-weight: 700; }
.write h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; }
.write p.big { color: var(--muted); font-size: 18px; margin-top: 14px; }
.pens { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pen-chip { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: transform .2s; }
.pen-chip:hover { transform: translateY(-2px); }
.pen-chip .sw { width: 14px; height: 14px; border-radius: 50%; }
.tray-img { margin-top: 24px; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; max-width: 560px; }
@media (max-width: 900px) { .write { grid-template-columns: 1fr; gap: 34px; } }

/* ===== Lưới tính năng ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card { position: relative; grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; overflow: hidden; box-shadow: var(--shadow); }
.card.wide { grid-column: span 3; }
.card h3 { font-size: 21px; font-weight: 800; margin-top: 16px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.ic svg { width: 24px; height: 24px; }
.card .media { margin: 20px -26px -26px; border-top: 1px solid var(--line); background: var(--surface2); padding: 18px; display: grid; place-items: center; }
.card .media img { border-radius: 12px; box-shadow: var(--shadow); max-height: 260px; width: auto; }
.mini { height: 150px; margin: 18px -26px -26px; border-top: 1px solid var(--line); background: var(--surface2); }
.mini svg { width: 100%; height: 100%; }
.pdf-page { fill: #fff; stroke: var(--line); }
.pdf-line { stroke: var(--off); stroke-width: 4; stroke-linecap: round; }
@media (max-width: 980px) { .card, .card.wide { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .card, .card.wide { grid-column: auto; } }

/* Thẻ nghiêng + vầng sáng theo chuột */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.tilt:hover { --ty: -4px; box-shadow: var(--shadow-lg); }
.glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 0;
  background: radial-gradient(340px circle at var(--gx, 50%) var(--gy, 50%), rgba(91,63,196,.13), transparent 60%); }
.glow:hover::before { opacity: 1; }
.glow > * { position: relative; z-index: 1; }

/* ===== Ảnh chụp ===== */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 26px; margin: 0 -16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; }
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 min(760px, 86vw); scroll-snap-align: center; margin: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s; transform: scale(var(--s, 1)); opacity: var(--o, 1); }
.shot .window img { aspect-ratio: 1366 / 768; pointer-events: none; }
.shot figcaption { margin-top: 12px; font-weight: 800; color: var(--muted); text-align: center; }

/* ===== Tải về ===== */
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.dl-card.me { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-lg); }
.dl-card .os { width: 52px; height: 52px; border-radius: 16px; background: var(--surface2); display: grid; place-items: center; }
.dl-card .os svg { width: 28px; height: 28px; }
.dl-card h3 { font-size: 22px; font-weight: 800; }
.dl-card .req { color: var(--muted); font-size: 14.5px; flex: 1; }
.dl-card .meta { font-size: 13px; color: var(--muted); font-weight: 700; }
.note-mac { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14.5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; counter-reset: s; }
.step { padding: 22px; border-radius: var(--radius); border: 1.5px dashed var(--line); }
.step::before { counter-increment: s; content: counter(s); font-family: var(--hand); font-size: 40px; font-weight: 700; color: var(--accent); line-height: 1; }
.step h4 { margin: 8px 0 6px; font-size: 17px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .dl, .steps { grid-template-columns: 1fr; } }

/* ===== Bảng giá ===== */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.plan h3 { font-size: 19px; font-weight: 800; }
.plan .old { color: var(--muted); text-decoration: line-through; font-weight: 700; font-size: 15px; min-height: 24px; margin-top: 6px; }
.plan .price { font-size: 36px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.plan .price small { font-size: 17px; font-weight: 800; }
.plan .off { position: absolute; top: 20px; right: 18px; background: #e5487d; color: #fff; font-weight: 900; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B3FC4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .btn { margin-top: 12px; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan.hi { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #5B3FC4, #9b4dff, #e5487d, #ff8a00) border-box; box-shadow: 0 24px 50px -28px rgba(91,63,196,.7); }
@keyframes spin-border { to { --ang: 360deg; } }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* ===== Mua và hỗ trợ ===== */
.buy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; }
.buy-qr { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.buy-qr .qr { width: 210px; padding: 14px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.buy-qr h3 { font-size: 24px; font-weight: 900; }
.buy-qr ol { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 15.5px; display: grid; gap: 4px; }
.contact { display: grid; gap: 16px; }
.sup { position: relative; display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); text-decoration: none; overflow: hidden; }
.sup h3 { font-size: 18px; font-weight: 800; }
.sup p { color: var(--muted); font-size: 15px; margin-top: 2px; word-break: break-word; }
.sup .arrow { margin-left: auto; color: var(--accent); flex: none; width: 22px; height: 22px; transition: transform .25s; }
.sup:hover .arrow { transform: translateX(4px); }
.ic.zalo { background: #E5F0FF; color: #0068FF; }
@media (max-width: 900px) { .buy { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .buy-qr { grid-template-columns: 1fr; text-align: center; justify-items: center; } .buy-qr ol { text-align: left; } }

/* ===== Hỏi đáp ===== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 20px; color: var(--muted); }

/* ===== Cuối trang ===== */
.final { position: relative; text-align: center; border-radius: 28px; padding: 70px 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 40%), rgba(91,63,196,.16), transparent 60%); }
.final h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; }
.final p { color: var(--muted); margin-top: 12px; font-size: 18px; }
footer { padding: 44px 0 60px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ===== Hiện dần ===== */
.rv { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv.tilt.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); }
.rv.settled { transition-delay: 0s; }
.rv-h { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.go .rv-h { opacity: 1; transform: none; }
.split .w { display: inline-block; opacity: 0; transform: translate3d(0, .5em, 0) rotate(3deg); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.9,.25,1.15); transition-delay: calc(var(--i) * 55ms); }
.split.in .w { opacity: 1; transform: none; }

.lazy-sec { content-visibility: auto; contain-intrinsic-size: auto 900px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .rv, .rv-h, .split .w { opacity: 1; transform: none; }
  .hero-stage .window { transform: none !important; }
  .hand-word svg path { stroke-dashoffset: 0; }
  .kicker::after { clip-path: none; }
}
.buy-qr .qr { height: auto; aspect-ratio: 480 / 464; }
.contact { align-content: center; }

/* ===== Claude: bản 3 (15/11/2026): đếm ngược ưu đãi, màn hình tải riêng ===== */
.dl-hint { text-align: center; margin-top: 22px; color: var(--muted); font-weight: 700; }

/* Đếm ngược ưu đãi */
.sale { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; align-items: center; margin: 0 auto 26px; max-width: 980px;
  padding: 20px 26px 26px; border-radius: 22px; border: 2px solid transparent; overflow: hidden;
  background: linear-gradient(120deg, #FBF8FF, #FFF7FA) padding-box, linear-gradient(120deg, #5B3FC4, #e5487d, #ff8a00) border-box;
  box-shadow: 0 24px 50px -30px rgba(229,72,125,.55); }
.sale-tag { display: inline-flex; align-items: center; gap: 6px; background: #e5487d; color: #fff; font-weight: 900; font-size: 13px; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.sale-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.sale-t { margin-top: 8px; font-size: 18px; font-weight: 700; }
.sale-t b { color: #e5487d; }
.cd { display: flex; gap: 10px; }
.cd-u { display: grid; justify-items: center; gap: 4px; }
.cd-n { position: relative; min-width: 62px; padding: 10px 6px; border-radius: 14px; text-align: center; font: 900 30px/1 var(--font); font-variant-numeric: tabular-nums;
  color: #fff; background: linear-gradient(180deg, #6A4BDC, #4A2FB8); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), 0 10px 20px -12px rgba(74,47,184,.9); }
.cd-n.tick { animation: tick .45s cubic-bezier(.2,.8,.2,1); }
@keyframes tick { from { transform: translateY(-14%); opacity: .35; } }
.cd-u small { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sale-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(91,63,196,.12); overflow: hidden; }
.sale-bar b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #5B3FC4, #e5487d, #ff8a00); transform-origin: 0 50%; transform: scaleX(1); border-radius: inherit; }
.sale.over .cd, .sale.over .sale-bar { display: none; }
@media (max-width: 700px) { .sale { grid-template-columns: 1fr; text-align: center; padding: 18px 16px 22px; } .cd { justify-content: center; } .cd-n { min-width: 54px; font-size: 26px; } }

/* Màn hình tải riêng */
.dlp { position: fixed; inset: 0; z-index: 90; background: var(--desk); transform: translate3d(0, 100%, 0); transition: transform .55s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.dlp.open { transform: none; }
.dlp[hidden] { display: none; }
.dlp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(247,246,242,.96); }
.dlp-back { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 8px 14px; font: 800 15px var(--font); color: var(--ink); cursor: pointer; }
.dlp-back svg { width: 18px; height: 18px; transform: scaleX(-1); }
.dlp-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background-image: radial-gradient(closest-side at 80% 0%, rgba(91,63,196,.12), transparent), radial-gradient(closest-side at 0% 30%, rgba(229,72,125,.08), transparent); }
.dlp-wrap { width: min(920px, 100% - 32px); margin: 0 auto; padding: 34px 0 70px; }
.dlp-head { display: flex; gap: 20px; align-items: center; }
.dlp-os { width: 76px; height: 76px; flex: none; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #7A5CF0, #4A2FB8); box-shadow: 0 18px 34px -16px rgba(74,47,184,.9); }
.dlp-os svg { width: 40px; height: 40px; }
.dlp-k { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--accent); font-size: 14px; }
.dlp-spin { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid rgba(91,63,196,.25); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.dlp.started .dlp-spin { border: 0; background: var(--ok) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/10px no-repeat; animation: none; }
.dlp.started .dlp-k { color: var(--ok); }
@keyframes spin { to { transform: rotate(360deg); } }
.dlp-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; margin-top: 4px; }
.dlp-sub { color: var(--muted); margin-top: 6px; }
.dlp-sub a { color: var(--accent); font-weight: 800; }
.dlp-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: #FFF6DF; border: 1px solid #F3D28A; }
.dlp-note-i { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #F5B400; color: #fff; font-weight: 900; }
.dlp-note p { font-size: 16px; color: #5E4610; }
.dlp-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: st; position: relative; }
.dlp-steps li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; counter-increment: st;
  opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.25s + var(--i) * .12s); }
.dlp.open .dlp-steps li { opacity: 1; transform: none; }
.dlp-steps li::before { content: counter(st); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 900 20px var(--font); color: #fff;
  background: linear-gradient(135deg, #7A5CF0, #5B3FC4); box-shadow: 0 10px 20px -10px rgba(91,63,196,.9); position: relative; z-index: 1; }
.dlp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: -18px; width: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px); }
.dlp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 20px; box-shadow: var(--shadow); min-width: 0; }
.dlp-card h3 { font-size: 19px; font-weight: 900; }
.dlp-card p { color: var(--muted); margin-top: 6px; }
.dlp-card b { color: var(--ink); }
.dlp-card figure { margin: 14px 0 0; }
.dlp-card img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: zoom-in; box-shadow: 0 14px 30px -20px rgba(31,28,38,.5); }
.dlp-card img.narrow { max-width: 340px; }
.dlp-card img.mid { max-width: 560px; }
.dlp-card .miss { display: grid; place-items: center; min-height: 110px; border-radius: 12px; border: 1.5px dashed var(--line); color: var(--muted); font-weight: 700; font-size: 14px; text-align: center; padding: 16px; }
.dlp-done { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 30px; padding: 22px 24px; border-radius: 20px;
  background: linear-gradient(120deg, #EFE9FF, #FDF1F6); border: 1px solid #DCCFFB; }
.dlp-done h3 { font-size: 20px; font-weight: 900; }
.dlp-done p { color: var(--muted); margin-top: 4px; }
.dlp-done-a { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .dlp-head { flex-direction: column; align-items: flex-start; } .dlp-steps li { grid-template-columns: 38px 1fr; gap: 10px; } .dlp-steps li::before { width: 34px; height: 34px; font-size: 16px; } .dlp-steps li:not(:last-child)::after { left: 16px; top: 40px; } .dlp-card { padding: 14px; } }
html.dlp-lock, html.dlp-lock body { overflow: hidden; }
.zoom { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(20,14,40,.82); cursor: zoom-out; padding: 20px; animation: fadeIn .2s ease; }
.zoom[hidden] { display: none; }
.zoom img { max-width: 94vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); background: #fff; }
@keyframes fadeIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dlp { transition: none; } .dlp-steps li { opacity: 1; transform: none; } }

/* Claude: màn hướng dẫn Gemini (15/11/2026) */
.dlp.guide .dlp-spin { display: none; }
.dlp-steps li.part { display: block; counter-increment: none; margin: 8px 0 -4px; }
.dlp-steps li.part::before, .dlp-steps li.part::after { display: none; }
.dlp-steps li.part span { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 900; font-size: 14px; letter-spacing: .01em; }
.dlp-card .tip { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #EEF7F0; color: #24553A; font-size: 15px; }
.dlp-card a, .dlp-done a:not(.btn) { color: var(--accent); font-weight: 800; }
.ans-link { display: inline-block; margin-top: 6px; color: var(--accent); font-weight: 800; text-decoration: none; }
.ans-link:hover { text-decoration: underline; }
