/* Trang bán hàng KeepUNet. Màu theo giao diện phần mềm: tím đậm -> xanh mòng két, nút chính vàng ấm. */
:root {
  --ink: #1b1733;
  --text: #2c2a3d;
  --muted: #676482;
  --bg: #ffffff;
  --soft: #f5f3fc;
  --card: #ffffff;
  --line: #e6e2f3;
  --brand: #6c47ff;
  --brand-2: #14a0b4;
  --hero-a: #24124f;
  --hero-b: #3b1d8f;
  --hero-c: #0c6b7a;
  --cta: #ffcc3d;
  --cta-ink: #2a1a00;
  --ok: #1f9d5b;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(36, 18, 79, .35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1eefc;
    --text: #dcd8ee;
    --muted: #a19dbb;
    --bg: #12101d;
    --soft: #191627;
    --card: #1e1a2e;
    --line: #2d2842;
    --brand: #a48bff;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
h3 { font-size: 19px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
section { padding: clamp(56px, 8vw, 96px) 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: #cbbcff; margin: 0 0 12px; }
.eyebrow.dark { color: var(--brand); }
.sub { color: var(--muted); font-size: 18px; margin: 0 auto 36px; max-width: 640px; }
.note { color: var(--muted); font-size: 15px; margin-top: 22px; }

/* Nút */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 10px 30px -10px rgba(255, 196, 40, .8); }
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(255, 196, 40, .95); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-light { background: #fff; color: var(--hero-b); }
.btn-outline { color: var(--brand); border-color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-small { padding: 9px 18px; font-size: 15px; }
.btn-big { padding: 18px 32px; font-size: 18px; }

/* Thanh trên cùng */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(36, 18, 79, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -.01em; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu a:hover { color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 110px);
  background: radial-gradient(1200px 600px at 85% 10%, rgba(20, 160, 180, .45), transparent 60%),
              linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 50%, var(--hero-c) 100%);
}
.glow { position: absolute; inset: auto -10% -40% auto; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 61, .18), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.6vw, 62px); letter-spacing: -.03em; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(90deg, #ffe08a, #7fe3cf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.ticks li::before { content: "✓"; color: #7fe3cf; font-weight: 800; margin-right: 7px; }
.hero-shot { position: relative; }
.window { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
.window-bar { height: 26px; background: #ece9f7; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfc8e8; }
.hero .window { transform: perspective(2000px) rotateY(-4deg); }
.float {
  position: absolute; background: #fff; color: var(--text); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; line-height: 1.35;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45); display: flex; flex-direction: column; animation: bob 6s ease-in-out infinite;
}
.float b { color: #1b1733; font-size: 14px; }
.f1 { left: -28px; bottom: 18%; }
.f2 { right: -14px; top: -18px; animation-delay: -2s; }
.f3 { right: 8%; bottom: -26px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } .btn:hover { transform: none; } html { scroll-behavior: auto; } }

/* Nỗi lo */
.worry { background: var(--soft); }
.worry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.worry-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.worry-item span { font-size: 30px; }
.worry-item p { margin: 10px 0 0; color: var(--text); font-weight: 600; }
.worry-answer { text-align: center; max-width: 720px; margin: 34px auto 0; font-size: 19px; color: var(--muted); }
.worry-answer b { color: var(--ink); }

/* Tính năng */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat h3 { margin: 16px 0 8px; font-size: 18px; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Xem thực tế */
.tour { background: linear-gradient(180deg, var(--soft), var(--bg)); }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 30px 0 26px; }
.tabs button {
  border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 600; font-size: 15px;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tour-shot { max-width: 980px; margin: 0 auto; }
.tour-shot .window { box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.tour-shot figcaption { text-align: center; color: var(--muted); margin-top: 18px; font-size: 16px; }

/* Các bước */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 24px; }
.steps li::before {
  content: counter(s); position: absolute; top: -20px; left: 24px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.steps b { display: block; color: var(--ink); font-size: 19px; margin-bottom: 6px; }
.steps span { color: var(--muted); }

/* Tin cậy */
.trust { background: linear-gradient(135deg, var(--hero-a), var(--hero-b) 60%, var(--hero-c)); color: rgba(255, 255, 255, .88); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust h3 { color: #fff; margin-bottom: 10px; }
.trust p { margin: 0; }
.trust a { color: #ffe08a; }

/* Bảng giá */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 1020px; margin: 0 auto; }
.price { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; }
.price h3 { font-size: 20px; }
.amount { font-size: 44px; font-weight: 800; color: var(--ink); margin: 12px 0 0; letter-spacing: -.02em; line-height: 1.1; }
.amount small { font-size: 22px; margin-left: 4px; }
.per { color: var(--muted); margin: 6px 0 18px; font-size: 15px; }
.price ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price li { padding: 6px 0 6px 28px; position: relative; font-size: 15.5px; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.price .btn { width: 100%; }
.price.best { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-10px); }
.tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}

/* Mua */
.buy { background: var(--soft); }
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.buy-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.buy-step h3 { margin: 12px 0 6px; }
.buy-step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; }
.contact-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.contact {
  display: flex; flex-direction: column; min-width: 240px; padding: 16px 24px; border-radius: 16px; text-decoration: none;
  color: #fff; font-size: 18px; font-weight: 700; box-shadow: var(--shadow);
}
.contact b { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.contact.zalo { background: linear-gradient(135deg, #0068ff, #00a2ff); }
.contact.mail { background: linear-gradient(135deg, var(--hero-b), var(--hero-c)); }

/* Hỏi đáp */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-top: 12px; padding: 0 22px; }
.faq details:first-of-type { margin-top: 34px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Kêu gọi cuối */
.final {
  color: #fff; background: radial-gradient(800px 400px at 50% 0%, rgba(255, 204, 61, .2), transparent 60%),
    linear-gradient(135deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c));
}
.final h2 { color: #fff; max-width: 760px; margin: 0 auto 12px; }
.final p { color: rgba(255, 255, 255, .85); font-size: 19px; margin: 0 0 30px; }
.final .small { font-size: 14px; margin: 18px 0 0; color: rgba(255, 255, 255, .7); }

/* Chân trang */
.foot { background: #0f0c1c; color: #a9a5c2; padding: 48px 0 24px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot b { color: #fff; }
.foot a { color: #d9d2ff; }
.foot .brand { color: #fff; }
.copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }

/* Nút Zalo nổi */
.zalo-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #0068ff; color: #fff; font-weight: 800; font-size: 14px; text-decoration: none;
  box-shadow: 0 10px 30px -6px rgba(0, 104, 255, .7);
}
.zalo-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(0, 104, 255, .5); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .zalo-float::after { animation: none; } }

/* Màn hình nhỏ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero .window { transform: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .worry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .menu { display: none; }
  .bar { justify-content: space-between; }
  .feat-grid, .worry-grid, .steps, .trust-grid, .price-grid, .buy-grid, .foot-grid { grid-template-columns: 1fr; }
  .steps { gap: 34px; }
  .price.best { transform: none; order: -1; }
  .f1 { left: 4px; bottom: -22px; }
  .f2 { right: 4px; top: -24px; }
  .f3 { display: none; }
  .float { font-size: 12.5px; padding: 8px 11px; }
  .cta-row .btn { width: 100%; }
  .contact { min-width: 0; width: 100%; }
  .btn { white-space: normal; text-align: center; }
}
