/* ============================================================
   MÀU SẮC — giao diện sáng (mặc định) và tối
   ============================================================ */
:root {
  --bg: #f6f7fb;
  --bg-alt: rgba(255, 255, 255, .45);
  --surface: rgba(255, 255, 255, .72);
  --surface-solid: #ffffff;
  --surface-hover: rgba(255, 255, 255, .92);
  --input-bg: rgba(255, 255, 255, .9);
  --topbar: rgba(246, 247, 251, .72);
  --text: #0f1222;
  --muted: #5d6478;
  --border: rgba(15, 18, 34, .09);
  --border-strong: rgba(15, 18, 34, .16);
  --primary: #5b5bf0;
  --primary-soft: rgba(91, 91, 240, .1);
  --accent: #f43f5e;
  --success: #10b981;
  --chat-bg: rgba(241, 243, 250, .8);
  --msg-in: #ffffff;
  --aurora-1: rgba(99, 102, 241, .28);
  --aurora-2: rgba(14, 165, 233, .22);
  --aurora-3: rgba(217, 70, 239, .16);
  --shadow: 0 10px 30px rgba(15, 18, 34, .07);
  --shadow-lg: 0 30px 60px rgba(49, 46, 129, .16);
  --glow: 0 10px 24px rgba(99, 102, 241, .35);
  --toast-bg: #111827;
  --toast-fg: #ffffff;
  --overlay: rgba(15, 18, 34, .35);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0c16;
    --bg-alt: rgba(255, 255, 255, .02);
    --surface: rgba(22, 25, 42, .62);
    --surface-solid: #141728;
    --surface-hover: rgba(30, 34, 56, .8);
    --input-bg: rgba(10, 12, 22, .6);
    --topbar: rgba(10, 12, 22, .65);
    --text: #e8eaf5;
    --muted: #9aa2b8;
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .16);
    --primary: #8b8cff;
    --primary-soft: rgba(129, 140, 248, .14);
    --chat-bg: rgba(10, 12, 22, .55);
    --msg-in: #1d2136;
    --aurora-1: rgba(99, 102, 241, .32);
    --aurora-2: rgba(14, 165, 233, .2);
    --aurora-3: rgba(217, 70, 239, .18);
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
    --glow: 0 10px 30px rgba(99, 102, 241, .45);
    --toast-bg: #e8eaf5;
    --toast-fg: #0f1222;
    --overlay: rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0c16;
  --bg-alt: rgba(255, 255, 255, .02);
  --surface: rgba(22, 25, 42, .62);
  --surface-solid: #141728;
  --surface-hover: rgba(30, 34, 56, .8);
  --input-bg: rgba(10, 12, 22, .6);
  --topbar: rgba(10, 12, 22, .65);
  --text: #e8eaf5;
  --muted: #9aa2b8;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --primary: #8b8cff;
  --primary-soft: rgba(129, 140, 248, .14);
  --chat-bg: rgba(10, 12, 22, .55);
  --msg-in: #1d2136;
  --aurora-1: rgba(99, 102, 241, .32);
  --aurora-2: rgba(14, 165, 233, .2);
  --aurora-3: rgba(217, 70, 239, .18);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
  --glow: 0 10px 30px rgba(99, 102, 241, .45);
  --toast-bg: #e8eaf5;
  --toast-fg: #0f1222;
  --overlay: rgba(0, 0, 0, .55);
  color-scheme: dark;
}
:root {
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #0ea5e9 100%);
  --grad-text: linear-gradient(90deg, #6366f1, #a855f7, #0ea5e9, #6366f1);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Chuyển màu mượt khi bấm đổi sáng/tối */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease !important;
}

/* ============================================================
   NỀN TẢNG
   ============================================================ */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--muted); }
::selection { background: rgba(99, 102, 241, .25); }

/* Nền cực quang chuyển động chậm */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; background: var(--aurora-1); top: -12vw; left: -8vw; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; background: var(--aurora-2); top: 10vh; right: -12vw; animation: drift 26s ease-in-out -6s infinite alternate-reverse; }
.aurora i:nth-child(3) { width: 36vw; height: 36vw; background: var(--aurora-3); bottom: -14vw; left: 30vw; animation: drift 30s ease-in-out -12s infinite alternate; }
@keyframes drift { to { transform: translate(6vw, 4vh) scale(1.12); } }

.grad-text {
  background: var(--grad-text); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }

/* Phần đầu trang hiện ngay khi tải */
.intro { animation: fade-up .9s var(--ease) var(--rd, 0s) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } }

/* Hiện dần khi cuộn tới */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--rd, 0s), transform .8s var(--ease) var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in.settled { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s, background-color .3s; }

/* ============================================================
   NÚT BẤM
   ============================================================ */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: var(--glow); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(110%); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 14px 34px rgba(99, 102, 241, .45); }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--surface-hover); }
.btn-block { width: 100%; }
.icon-btn { border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 8px; transition: background-color .2s, color .2s; }
.icon-btn:hover { background: var(--primary-soft); color: var(--text); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ============================================================
   THANH ĐẦU TRANG
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--topbar); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.topbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 30px rgba(0, 0, 0, .06); }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); font-size: 1.2rem; letter-spacing: -.02em; white-space: nowrap; }
/* Logo thương hiệu: chữ A mái nhà + chấm tím (agent) · chữ Agentaly AI */
.logo { --brand-dot: #4520F5; }
.logo-mark { display: block; width: 34px; height: 34px; flex: none; transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-2px); }
.logo-dot { fill: var(--brand-dot); }
.logo-word b { font-weight: 800; color: var(--brand-dot); }
:root[data-theme="dark"] .logo, .footer .logo { --brand-dot: #8B7BFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo { --brand-dot: #8B7BFF; } }
/* Icon 3D dùng chung */
.i3d { display: block; filter: drop-shadow(0 4px 6px rgba(15, 18, 34, .18)); user-select: none; -webkit-user-drag: none; }
@keyframes wiggle { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; color: var(--muted); font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--primary-soft); }
.toolbar { display: flex; align-items: center; gap: 8px; }

/* Nút chuyển ngôn ngữ VI / US */
.lang-switch {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px;
  border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface);
}
.lang-switch button {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 6px;
  border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 700; color: var(--muted);
  padding: 6px 10px; border-radius: 9px; cursor: pointer; transition: color .3s;
}
.lang-switch button[aria-pressed="true"] { color: #fff; }
.lang-switch svg { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.lang-pill {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 9px; background: var(--grad); box-shadow: var(--glow);
  transition: transform .4s var(--ease);
}
:root[lang="en"] .lang-pill { transform: translateX(100%); }

/* Nút sáng / tối */
.icon-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.icon-toggle:hover { border-color: var(--primary); transform: rotate(-8deg); }
.icon-toggle svg { width: 19px; height: 19px; animation: spin-in .5s var(--ease); }
.icon-toggle .i-sun { display: none; color: #fbbf24; }
:root[data-theme="dark"] .icon-toggle .i-sun { display: block; }
:root[data-theme="dark"] .icon-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .icon-toggle .i-moon { display: none; }
}
@keyframes spin-in { from { transform: rotate(-120deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

.cart-btn {
  display: flex; align-items: center; gap: 8px; position: relative; height: 40px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  border-radius: 12px; padding: 0 14px; font: inherit; font-weight: 600; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.cart-btn:hover { border-color: var(--primary); background: var(--surface-hover); }
.badge { background: linear-gradient(135deg, #f43f5e, #fb7185); color: #fff; border-radius: 99px; font-size: .72rem; min-width: 20px; padding: 0 6px; text-align: center; line-height: 20px; }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ============================================================
   ĐẦU TRANG (HERO) & BANNER
   ============================================================ */
.hero { padding: 76px 0 84px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 6px 14px; border-radius: 99px; font-size: .85rem; font-weight: 600; color: var(--primary);
  background: var(--primary-soft); border: 1px solid var(--border);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 30px; }
.hero-stats li { position: relative; padding-left: 14px; }
.hero-stats li::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--grad); }
.hero-stats strong { display: block; font-size: 1.2rem; font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: .85rem; }

.banner { position: relative; padding: 72px 0 40px 40px; }
.chat {
  position: relative; z-index: 1; border-radius: 24px; max-width: 410px; margin-left: auto; overflow: hidden;
  background: var(--surface); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  animation: rise 1s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(30px) rotate(-1deg); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.chat-head strong { display: block; font-size: .92rem; }
.chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #fde2ef, #ffe4cc); border: 1px solid rgba(244, 114, 182, .35); flex: none; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--success); }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
.chat-channels { margin-left: auto; display: flex; gap: 4px; }
.chat-channels b { font-size: .65rem; font-weight: 600; padding: 2px 7px; border-radius: 99px; color: #fff; }
.ch-zalo { background: #0068ff; }
.ch-mess { background: linear-gradient(135deg, #a033ff, #ff5c87); }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--chat-bg); min-height: 300px; }
.msg { margin: 0; max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: .86rem; line-height: 1.45; animation: pop .45s var(--ease) var(--d, 0s) both; }
.msg.in { align-self: flex-start; background: var(--msg-in); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; box-shadow: 0 6px 16px rgba(99, 102, 241, .25); }
.typing { display: flex; gap: 4px; padding: 12px 14px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .5; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: .8rem; white-space: nowrap;
  animation: pop .55s var(--ease) var(--d, 0s) both, bob 5s ease-in-out calc(var(--d, 0s) + .6s) infinite;
}
.float strong { display: block; font-size: .82rem; }
.float small { color: var(--muted); }
.float em { color: var(--success); font-style: normal; font-weight: 700; }
.float-1 { top: 0; left: 0; }
.float-2 { bottom: 70px; left: -30px; }
.float-3 { bottom: 4px; right: -10px; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -7px; } }
@keyframes blink { 50% { opacity: 1; } }

/* Ô icon màu chuyển sắc dùng chung */
/* Ô chứa icon 3D dùng chung */
.float-icon, .feature-icon {
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, .14), rgba(14, 165, 233, .1));
  border: 1px solid var(--border);
}
.float-icon { width: 38px; height: 38px; border-radius: 11px; }

/* ============================================================
   CÁC PHẦN NỘI DUNG
   ============================================================ */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.kicker {
  display: inline-block; margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head p { margin: 0; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.search input {
  padding: 10px 14px 10px 38px; border: 1px solid var(--border-strong); border-radius: 12px; font: inherit; min-width: 230px;
  background: var(--input-bg); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border-strong); background: var(--surface); border-radius: 99px; padding: 6px 14px;
  font: inherit; font-size: .88rem; cursor: pointer; color: var(--muted); transition: all .25s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--primary); }
.chip.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--glow); }

/* Thẻ gói dịch vụ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .8s var(--ease) var(--rd, 0s);
}
/* Viền gradient hiện khi rê chuột */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2; pointer-events: none;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.js .card.reveal.in:hover { transform: translateY(-6px); }
.card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
/* Ảnh chụp thật + lớp màu thương hiệu + icon 3D ở góc */
.photo { position: relative; width: 100%; height: 100%; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(10, 12, 22, .55) 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--c1) 28%, transparent), transparent 55%);
}
.card:hover .photo > img { transform: scale(1.07); filter: saturate(1.1); }
.photo-badge {
  position: absolute; left: 14px; bottom: 12px; z-index: 1; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .45s var(--ease);
}
.card:hover .photo-badge { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
.placeholder {
  position: relative; overflow: hidden; width: 100%; height: 100%; display: grid; place-items: center; color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .28) 0 18%, transparent 19%),
    radial-gradient(circle at 10% 95%, rgba(255, 255, 255, .16) 0 22%, transparent 23%),
    linear-gradient(135deg, var(--c1), var(--c2));
}
.placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .25) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform .9s var(--ease);
}
.card:hover .placeholder::after { transform: translateX(100%); }
.ph-icon {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(255, 255, 255, .4);
  backdrop-filter: blur(4px); transition: transform .45s var(--ease);
}
.card:hover .ph-icon { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
.sale { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, #f43f5e, #fb7185); color: #fff; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; box-shadow: 0 6px 14px rgba(244, 63, 94, .35); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .74rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.card h3 { font-size: 1.08rem; margin: 0; }
.card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.card .card-desc { flex: 0; }
.card-features { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: .88rem; flex: 1; align-content: start; }
.card-features li { padding-left: 26px; position: relative; }
.card-features li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c7cf5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 0; }
.price strong { font-size: 1.3rem; font-weight: 800; }
.price s { color: var(--muted); font-size: .9rem; }
.price-note { color: var(--muted); font-size: .8rem; }
.card .btn { margin-top: 14px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Quy trình & điểm mạnh */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.steps li {
  counter-increment: step; position: relative; padding: 24px; border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(14px); border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .8s var(--ease) var(--rd, 0s);
}
.steps li:hover { box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; box-shadow: var(--glow);
}
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 24px; }
.feature {
  padding: 24px; border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(14px); border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s, opacity .8s var(--ease) var(--rd, 0s);
}
.feature:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.js .feature.reveal.in:hover, .js .steps li.reveal.in:hover { transform: translateY(-4px); }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 14px; transition: transform .4s var(--ease); }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.1); }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); margin: 0; }

/* Hỏi đáp */
.faq { display: grid; gap: 12px; margin-top: 24px; }
details {
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface); backdrop-filter: blur(14px);
  padding: 0 20px; transition: border-color .3s, box-shadow .3s, opacity .8s var(--ease), transform .8s var(--ease);
}
details[open] { border-color: var(--border-strong); box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 600; padding: 18px 32px 18px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c7cf5' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .35s var(--ease);
}
details[open] summary::after { transform: rotate(135deg); }
details p { color: var(--muted); margin: 0 0 18px; animation: fade-down .35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* Chân trang (luôn nền tối) */
.footer { position: relative; background: #0b0e1c; color: #c9cee0; padding: 56px 0 24px; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--grad); opacity: .7; }
.footer .logo { color: #fff; }
.footer-muted { color: #8f97ad; }
.footer a { color: #fff; transition: color .2s; }
.footer a:hover { color: #a5b4fc; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.founder { display: grid; gap: 2px; align-content: start; }
.founder strong { color: #fff; font-size: 1.05rem; }
.founder-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 36px; padding-top: 18px; font-size: .9rem; color: #8f97ad; }

/* ============================================================
   GIỎ HÀNG, FORM, THÔNG BÁO
   ============================================================ */
.overlay { position: fixed; inset: 0; background: var(--overlay); backdrop-filter: blur(4px); z-index: 30; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--surface-solid); z-index: 40; display: flex; flex-direction: column;
  border-left: 1px solid var(--border); box-shadow: var(--shadow-lg);
  transform: translateX(105%); transition: transform .45s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 1.2rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--border); display: grid; gap: 12px; }
.total-row { display: flex; justify-content: space-between; align-items: center; }
.total-row strong { font-size: 1.25rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--border); animation: pop .35s var(--ease); }
.line-name { font-weight: 600; }
.line-price { color: var(--muted); font-size: .9rem; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 30px; height: 30px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: 8px; cursor: pointer; font: inherit; transition: border-color .2s, background-color .2s; }
.qty button:hover { border-color: var(--primary); background: var(--primary-soft); }
.qty span { min-width: 26px; text-align: center; }
.remove { border: 0; background: none; color: var(--accent); cursor: pointer; font: inherit; font-size: .85rem; padding: 0; justify-self: start; }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: var(--overlay); backdrop-filter: blur(6px); animation: fade .3s; }
.modal-card {
  background: var(--surface-solid); border: 1px solid var(--border); border-radius: 22px;
  width: min(520px, 100%); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: modal-in .45s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.form { display: grid; gap: 14px; padding: 20px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.form input:not([type=radio]), .form textarea {
  padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: 12px; font: inherit;
  background: var(--input-bg); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
fieldset { border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 14px; display: grid; gap: 6px; }
legend { font-weight: 500; font-size: .92rem; padding: 0 4px; }
.form .radio { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.form .radio input { accent-color: var(--primary); }
.done { padding: 28px 24px; text-align: center; }
.done h3 { font-size: 1.3rem; }
.done-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399); color: #fff; box-shadow: 0 12px 28px rgba(16, 185, 129, .35);
  animation: pop .5s var(--ease);
}
.done-icon svg { width: 32px; height: 32px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 0 12px; }
.qr { width: 260px; margin: 16px auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.bank-info { background: var(--primary-soft); border-radius: 12px; padding: 12px 16px; text-align: left; font-size: .92rem; margin: 12px 0 18px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%);
  background: var(--toast-bg); color: var(--toast-fg); padding: 11px 18px; border-radius: 12px; z-index: 60;
  box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500;
  transition: transform .4s var(--ease), opacity .4s; opacity: 0; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   MÀN HÌNH NHỎ
   ============================================================ */
@media (max-width: 960px) {
  .nav { display: none; }
  .toolbar { margin-left: auto; }
}
@media (max-width: 820px) {
  .hero { padding: 44px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 12px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-stats strong { font-size: 1rem; }
  .hero-stats span { font-size: .78rem; }
  .banner { padding: 76px 0 60px; }
  .chat { margin-inline: auto; }
  .float-1 { top: 0; left: auto; right: 0; }
  .float-2 { display: none; }
  .float-3 { bottom: 8px; right: auto; left: 0; }
  .section { padding: 60px 0; }
  .filters, .search, .search input { width: 100%; }
}
@media (max-width: 560px) {
  .topbar-inner { gap: 10px; }
  .topbar .logo > span:last-child { display: none; }
  .cart-label { display: none; }
  .cart-btn { padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   GIAO DIỆN CHÂN THẬT — bớt hiệu ứng, bề mặt đặc, mô phỏng sản phẩm thật
   ============================================================ */
:root {
  --aurora-1: rgba(99, 102, 241, .10);
  --aurora-2: rgba(14, 165, 233, .07);
  --aurora-3: rgba(217, 70, 239, .05);
  --surface: #FFFFFF;
  --surface-hover: #FFFFFF;
  --glow: 0 6px 16px rgba(91, 91, 240, .22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --aurora-1: rgba(99, 102, 241, .14);
    --aurora-2: rgba(14, 165, 233, .08);
    --aurora-3: rgba(217, 70, 239, .06);
    --surface: #141728;
    --surface-hover: #191D33;
    --glow: 0 6px 18px rgba(0, 0, 0, .4);
  }
}
:root[data-theme="dark"] {
  --aurora-1: rgba(99, 102, 241, .14);
  --aurora-2: rgba(14, 165, 233, .08);
  --aurora-3: rgba(217, 70, 239, .06);
  --surface: #141728;
  --surface-hover: #191D33;
  --glow: 0 6px 18px rgba(0, 0, 0, .4);
}
.grad-text { animation: none; background-size: 100% 100%; }
.btn-primary::after { display: none; }
.card, .feature, .steps li, details, .btn-ghost, .chip, .lang-switch, .icon-toggle, .cart-btn { backdrop-filter: none; -webkit-backdrop-filter: none; }
.card:hover { transform: translateY(-3px); }
.js .card.reveal.in:hover { transform: translateY(-3px); }
.card::before { display: none; }
.card { box-shadow: 0 1px 2px rgba(15, 18, 34, .04), 0 8px 24px rgba(15, 18, 34, .05); }
.card:hover { box-shadow: 0 2px 4px rgba(15, 18, 34, .05), 0 16px 36px rgba(15, 18, 34, .09); }
.placeholder::after, .ph-icon { transition: transform .3s var(--ease); }
.feature-icon { background: none; border: 0; width: auto; height: auto; justify-content: start; }
.photo-badge { background: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .9); }

/* Điện thoại hiển thị khung chat Zalo OA */
.banner { position: relative; display: grid; place-items: center; padding: 24px 0 48px; }
.phone {
  position: relative; z-index: 1; width: 360px; border-radius: 40px; overflow: hidden;
  border: 10px solid #0F1222; background: #E2E8F0;
  box-shadow: 0 40px 80px rgba(15, 18, 34, .22), 0 0 0 1px rgba(255, 255, 255, .06);
  animation: rise 1s var(--ease) both; font-size: 14px; color: #0F1222;
}
.zl-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; color: #fff; background: linear-gradient(90deg, #0068FF, #0A8CFF); }
.zl-avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 3px; }
.zl-title { flex: 1; display: grid; line-height: 1.25; }
.zl-title strong { font-size: 15px; }
.zl-title small { font-size: 12px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.zl-oa { font-size: 10px; font-weight: 700; background: #FFB800; color: #0F1222; border-radius: 4px; padding: 0 5px; }
.zl-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px 16px; min-height: 380px; background: #E2E8F0; }
.zl-date { align-self: center; margin: 0 0 4px; font-size: 11.5px; color: #64748B; background: rgba(255, 255, 255, .65); padding: 2px 10px; border-radius: 99px; }
.zl-row { display: flex; align-items: end; gap: 6px; animation: pop .45s var(--ease) var(--d, 0s) both; }
.zl-row.me { justify-content: end; }
.zl-mini { width: 26px; height: 26px; border-radius: 50%; background: #fff; padding: 2px; flex: none; }
.zl-msg { margin: 0; max-width: 78%; padding: 9px 12px; border-radius: 14px; background: #fff; line-height: 1.45; box-shadow: 0 1px 1px rgba(15, 18, 34, .06); }
.zl-row.me .zl-msg { background: #D7E8FF; }
.zl-card { width: 230px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 1px 1px rgba(15, 18, 34, .06); display: grid; gap: 6px; font-size: 13px; }
.zl-card-head { display: flex; justify-content: space-between; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid #E2E8F0; }
.zl-card-line { display: flex; justify-content: space-between; gap: 8px; color: #475569; }
.zl-card-line b { color: #0F1222; }
.zl-card-btn { margin-top: 4px; text-align: center; font-weight: 700; color: #0068FF; background: #EAF3FF; border-radius: 10px; padding: 7px; }
.zl-input { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; color: #94A3B8; border-top: 1px solid #E2E8F0; }
.zl-input svg { color: #0068FF; }

/* Thông báo agent gửi về (giống thông báo trên điện thoại) */
.note {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; width: 300px;
  background: #FFFFFF; color: #0F1222; border: 1px solid rgba(15, 18, 34, .08); border-radius: 16px;
  padding: 12px 14px; box-shadow: 0 14px 34px rgba(15, 18, 34, .14);
  animation: pop .55s var(--ease) var(--d, 0s) both, bob 6s ease-in-out calc(var(--d, 0s) + .6s) infinite;
}
.note img { flex: none; }
.note small { display: block; font-size: 12px; color: #64748B; }
.note strong { display: block; font-size: 14px; line-height: 1.35; }
.note em { color: #059669; font-style: normal; font-weight: 700; }
.note-1 { top: 70px; left: -20px; }
.note-2 { top: 46%; right: -36px; }
.note-3 { bottom: 70px; left: -40px; }

/* Google Sheet nhận đơn */
.res-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; margin-top: 32px; align-items: start; }
.sheet { background: #FFFFFF; color: #202124; border: 1px solid #DADCE0; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 28px rgba(15, 18, 34, .08); font-size: 14px; }
.sheet-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #E3E3E3; }
.sheet-bar strong { display: block; font-weight: 600; }
.sheet-bar small { color: #5F6368; font-size: 12px; }
.sheet-logo { display: grid; grid-template-columns: 1fr; gap: 3px; width: 26px; height: 32px; padding: 9px 6px 6px; border-radius: 4px; background: #0F9D58; flex: none; }
.sheet-logo i { display: block; height: 2px; background: #fff; border-radius: 1px; }
.sheet-scroll { overflow-x: auto; }
.sheet-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.sheet-table th, .sheet-table td { border: 1px solid #E2E3E3; padding: 9px 12px; text-align: left; }
.sheet-table th { background: #F8F9FA; color: #5F6368; font-weight: 600; font-size: 12.5px; }
.sheet-table td:first-child, .sheet-table th:first-child { background: #F8F9FA; color: #80868B; text-align: center; width: 36px; padding: 9px 6px; }
.sheet-table tr.hl td { background: #E8F0FE; }
.sheet-table tr.hl td:first-child { background: #D2E3FC; color: #1A73E8; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; }
.pill.new { background: #E6F4EA; color: #137333; }
.pill.ok { background: #E8F0FE; color: #1967D2; }
.pill.ship { background: #FEF7E0; color: #B06000; }
.pill.done { background: #F1F3F4; color: #5F6368; }
.sheet-tabs { display: flex; gap: 2px; padding: 0 12px; background: #F8F9FA; border-top: 1px solid #E3E3E3; font-size: 13px; color: #5F6368; }
.sheet-tabs span { padding: 9px 14px; }
.sheet-tabs .active { background: #fff; color: #188038; font-weight: 600; border-bottom: 3px solid #188038; }

/* Tin báo cáo buổi sáng trên Zalo */
.report { background: #E2E8F0; color: #0F1222; border-radius: 18px; padding: 16px; box-shadow: 0 8px 28px rgba(15, 18, 34, .08); }
.report-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.report-head img { background: #fff; border-radius: 50%; padding: 3px; }
.report-head strong { display: block; font-size: 15px; }
.report-head small { color: #64748B; font-size: 12px; }
.report-msg { background: #fff; border-radius: 14px; padding: 16px; display: grid; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.report-msg p { margin: 0; }
.report-title { font-weight: 700; font-size: 16px; }
.report-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.report-stats div { background: #F1F5F9; border-radius: 12px; padding: 10px 12px; }
.report-stats small { display: block; color: #64748B; font-size: 12px; }
.report-stats b { font-size: 20px; }
.report-stats em { margin-left: 6px; color: #059669; font-style: normal; font-weight: 700; font-size: 13px; }
.report-warn { background: #FFF7ED; color: #9A3412; border-radius: 10px; padding: 8px 12px; font-weight: 600; }

/* Người sáng lập */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.about-photo { width: 280px; height: 280px; object-fit: cover; border-radius: 28px; box-shadow: 0 20px 44px rgba(15, 18, 34, .14); }
.about-body h2 { margin-bottom: 4px; }
.about-role { color: var(--muted); margin: 0 0 18px; font-weight: 500; }
.about blockquote { margin: 0 0 24px; padding: 4px 0 4px 20px; border-left: 4px solid var(--primary); font-size: 1.2rem; line-height: 1.6; color: var(--text); }

@media (max-width: 960px) {
  .res-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .banner { padding: 16px 0 40px; }
  .phone { width: min(340px, 100%); }
  .note { width: 260px; }
  .note-1 { top: -10px; left: auto; right: 0; }
  .note-2 { display: none; }
  .note-3 { bottom: 0; left: 0; }
  .about { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .about-photo { width: 180px; height: 180px; }
}

/* Thông báo đặt ra mép ngoài điện thoại để không che nội dung chat */
.banner { padding: 56px 0 72px; }
.phone { width: 340px; }
.note-1 { top: 8px; left: auto; right: -12px; }
.note-2 { display: none; }
.note-3 { bottom: 14px; left: -28px; }
:root[data-theme="dark"] .phone { border-color: #2A2F4A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone { border-color: #2A2F4A; } }
@media (max-width: 820px) {
  .banner { padding: 56px 0 64px; }
  .note-1 { top: 0; right: 0; }
  .note-3 { bottom: 0; left: 0; }
}

.note-3 { bottom: -8px; }
@media (max-width: 820px) { .note-3 { bottom: -4px; } }

/* ============================================================
   THU HÚT NGƯỜI DÙNG — cam kết, ví dụ theo ngành, máy tính, ưu đãi, nút Zalo
   ============================================================ */
.guarantees { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.guarantees li { display: flex; align-items: center; gap: 8px; }
.guarantees li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: #10B981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Ví dụ theo ngành */
.uc-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.uc-tab {
  display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-weight: 600;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.uc-tab:hover { border-color: var(--primary); }
.uc-tab.active { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.uc-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; animation: fade-up .45s var(--ease); }
.uc-chat { display: flex; flex-direction: column; gap: 10px; background: #E2E8F0; border-radius: 16px; padding: 18px; color: #0F1222; }
.uc-msg { margin: 0; max-width: 85%; padding: 10px 14px; border-radius: 14px; background: #fff; line-height: 1.5; box-shadow: 0 1px 1px rgba(15, 18, 34, .06); }
.uc-msg.me { align-self: end; background: #D7E8FF; }
.uc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.uc-list li { position: relative; padding-left: 32px; font-size: 1.02rem; }
.uc-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c7cf5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.uc-note { margin-top: 14px; font-size: .9rem; }

/* Máy tính tiết kiệm */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.calc-form h2 { margin-bottom: 18px; }
.calc-field { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; margin-bottom: 18px; font-weight: 500; }
.calc-field output { font-weight: 800; color: var(--primary); font-size: 1.1rem; }
.calc-field input { grid-column: 1 / -1; width: 100%; accent-color: var(--primary); }
.calc-result { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: 0 16px 40px rgba(15, 18, 34, .08); }
.calc-big small { display: block; color: var(--muted); font-size: .9rem; }
.calc-big b { font-size: 2.3rem; font-weight: 800; line-height: 1.15; color: var(--text); }
.calc-big + .calc-big b { color: #059669; }
.calc-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); }
.calc-note { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }

/* Dải ưu đãi */
.offer { padding: 64px 0; }
.offer-inner { display: flex; align-items: center; gap: 28px; padding: 36px 40px; border-radius: 26px; color: #fff; background: linear-gradient(120deg, #4F46E5, #7C3AED 55%, #0EA5E9); box-shadow: 0 24px 50px rgba(79, 70, 229, .3); }
.offer-text { flex: 1; }
.offer-text h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.offer-text p { margin: 0; color: rgba(255, 255, 255, .88); }
.btn-light { background: #fff; color: #3730A3; font-weight: 700; white-space: nowrap; }
.btn-light:hover { background: #EEF2FF; }

/* Nút Zalo nổi */
.zalo-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 25; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%; background: #0068FF; color: #fff;
  box-shadow: 0 10px 24px rgba(0, 104, 255, .4); transition: transform .25s var(--ease);
}
.zalo-fab:hover { transform: scale(1.08); color: #fff; }
.zalo-fab-text { position: relative; font-weight: 800; font-size: .82rem; letter-spacing: .02em; }
.zalo-fab-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0068FF; animation: fab-ring 2.2s ease-out infinite; }
@keyframes fab-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

@media (max-width: 820px) {
  .uc-panel, .calc { grid-template-columns: 1fr; }
  .uc-panel { padding: 18px; }
  .offer-inner { flex-direction: column; align-items: start; padding: 28px; }
  .offer-inner img { width: 72px; height: 72px; }
  .zalo-fab { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

/* Nút LinkedIn */
.btn-linkedin svg { color: #0A66C2; }
.btn-linkedin:hover { border-color: #0A66C2; color: #0A66C2; }

/* Câu chuyện người sáng lập */
.about { align-items: start; }
.story { margin: 0 0 26px; padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.story h3 { font-size: 1.15rem; margin-bottom: 10px; }
.story p { margin: 0 0 12px; color: var(--muted); line-height: 1.7; }
.story-sign { margin: 4px 0 0 !important; color: var(--text) !important; font-weight: 600; font-style: italic; }

/* Form đăng ký tư vấn */
.form-intro { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--text); font-size: .92rem; line-height: 1.5; }
.form select { padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: 12px; font: inherit; background: var(--input-bg); color: var(--text); }
.form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.price-from { color: var(--muted); font-size: .85rem; font-weight: 500; }
.consult-btn { background: var(--primary); border-color: var(--primary); color: #fff; }
.consult-btn:hover { background: var(--primary); filter: brightness(1.08); border-color: var(--primary); }

/* Menu không xuống dòng; ẩn menu sớm hơn vì nút Đăng ký tư vấn dài hơn nút giỏ hàng cũ */
.nav a, .cart-btn { white-space: nowrap; }
@media (max-width: 1180px) { .nav { display: none; } .toolbar { margin-left: auto; } }

/* Chân trang: bấm số điện thoại để chọn gọi hoặc nhắn Zalo */
.pick { position: relative; display: inline-block; }
.pick-btn { border: 0; background: none; padding: 0; font: inherit; color: #fff; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.pick-btn:hover { color: #a5b4fc; }
.pick-menu {
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 30; display: grid; min-width: 200px; padding: 6px;
  background: #FFFFFF; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); animation: pop .2s var(--ease);
}
.pick-menu[hidden] { display: none; }
.footer .pick-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #0F1222; font-weight: 600; white-space: nowrap; }
.footer .pick-menu a:hover { background: #EEF2FF; color: #0F1222; }
.pick-menu svg { color: #059669; }
.pick-zalo { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: #0068FF; color: #fff; font-size: 11px; }

.pick-menu { bottom: auto; top: calc(100% + 8px); left: auto; right: 0; }

/* Tiêu đề đầu trang dài hơn: giảm nhẹ cỡ chữ để không quá 4 dòng */
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); }

/* Vấn đề (pain point) */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.pain { display: flex; gap: 20px; align-items: start; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.pain img { flex: none; }
.pain h3 { font-size: 1.12rem; margin-bottom: 6px; }
.pain p { margin: 0; color: var(--muted); }
.pain .pain-cost { margin-top: 10px; color: #DC2626; font-weight: 600; font-size: .95rem; }
:root[data-theme="dark"] .pain .pain-cost { color: #F87171; }
.pain-bridge { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); background: var(--primary-soft); border: 1px solid var(--border); }
.pain-bridge p { flex: 1; margin: 0; }
@media (max-width: 820px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain { padding: 20px; }
  .pain img { width: 52px; height: 52px; }
  .pain-bridge { flex-direction: column; align-items: start; }
}

/* ============================================================
   TONE MÀU THEO GOMETAP: giấy ngà, mực xanh đen, teal, tím phụ
   ============================================================ */
:root {
  --bg: #f7f7f4;
  --bg-alt: rgba(255, 255, 255, .5);
  --surface: rgba(255, 255, 255, .78);
  --surface-hover: rgba(255, 255, 255, .95);
  --topbar: rgba(247, 247, 244, .8);
  --text: #0b1513;
  --muted: #6b7672;
  --border: rgba(11, 21, 19, .08);
  --border-strong: rgba(11, 21, 19, .14);
  --primary: #0c7a6d;
  --primary-soft: #eef8f6;
  --chat-bg: rgba(238, 243, 241, .85);
  --aurora-1: rgba(31, 195, 195, .2);
  --aurora-2: rgba(107, 63, 220, .1);
  --aurora-3: rgba(244, 203, 193, .28);
  --shadow: 0 1px 2px rgba(11, 21, 19, .04), 0 6px 16px -8px rgba(11, 21, 19, .1);
  --shadow-lg: 0 1px 2px rgba(11, 21, 19, .05), 0 28px 56px -20px rgba(11, 21, 19, .22);
  --glow: 0 10px 24px -8px rgba(12, 122, 109, .45);
  --grad: linear-gradient(135deg, #0f8577 0%, #0b6158 100%);
  --grad-text: linear-gradient(90deg, #0c7a6d, #1fa9a0, #6b3fdc, #0c7a6d);
  --toast-bg: #0b1513;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1513; --surface: rgba(20, 34, 31, .7); --surface-solid: #12201d; --surface-hover: rgba(26, 44, 40, .85);
    --topbar: rgba(11, 21, 19, .72); --text: #e9f0ee; --muted: #93a29d; --input-bg: rgba(8, 16, 14, .6);
    --primary: #3fcfbd; --primary-soft: rgba(63, 207, 189, .12); --msg-in: #17271f; --chat-bg: rgba(8, 16, 14, .55);
    --aurora-1: rgba(31, 195, 195, .18); --aurora-2: rgba(107, 63, 220, .14); --aurora-3: rgba(31, 195, 195, .06);
    --glow: 0 10px 28px -8px rgba(31, 195, 195, .4); --grad-text: linear-gradient(90deg, #3fcfbd, #8ff0e6, #a58bff, #3fcfbd);
  }
}
:root[data-theme="dark"] {
  --bg: #0b1513; --surface: rgba(20, 34, 31, .7); --surface-solid: #12201d; --surface-hover: rgba(26, 44, 40, .85);
  --topbar: rgba(11, 21, 19, .72); --text: #e9f0ee; --muted: #93a29d; --input-bg: rgba(8, 16, 14, .6);
  --primary: #3fcfbd; --primary-soft: rgba(63, 207, 189, .12); --msg-in: #17271f; --chat-bg: rgba(8, 16, 14, .55);
  --aurora-1: rgba(31, 195, 195, .18); --aurora-2: rgba(107, 63, 220, .14); --aurora-3: rgba(31, 195, 195, .06);
  --glow: 0 10px 28px -8px rgba(31, 195, 195, .4); --grad-text: linear-gradient(90deg, #3fcfbd, #8ff0e6, #a58bff, #3fcfbd);
}
/* Nút chính: khối mực đặc như GoMetap, rê chuột chuyển teal */
.btn-primary { background: #0b1513; color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 21, 19, .5); }
.btn-primary:hover { background: #0c7a6d; box-shadow: 0 14px 30px -10px rgba(12, 122, 109, .55); }
:root[data-theme="dark"] .btn-primary { background: #3fcfbd; color: #0b1513; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { background: #3fcfbd; color: #0b1513; } }
.consult-btn { background: #0b1513; border-color: #0b1513; }
.consult-btn:hover { background: #0c7a6d; border-color: #0c7a6d; filter: none; }
.msg.out { box-shadow: 0 6px 16px -6px rgba(12, 122, 109, .4); }
.chip.active { background: #0b1513; }
:root[data-theme="dark"] .chip.active { background: #3fcfbd; color: #0b1513; }
/* Dải ưu đãi: thẻ teal đậm có vệt sáng */
.offer-inner { color: #fff; background: radial-gradient(120% 80% at 100% 0%, rgba(31, 195, 195, .45), transparent 60%), linear-gradient(160deg, #0f8577, #0a4f48); box-shadow: 0 28px 56px -20px rgba(10, 79, 72, .5); }
.offer-text p { color: rgba(255, 255, 255, .85); }
.btn-light { color: #0b1513; }
.btn-light:hover { background: #eef8f6; }
/* Thẻ sản phẩm: lớp phủ ảnh nhẹ hơn */
.photo::after { background: linear-gradient(180deg, transparent 55%, rgba(11, 21, 19, .35) 100%); }/* Icon nét một màu (thay icon 3D) theo tone teal của GoMetap */
.lic { display: inline-grid; place-items: center; flex: none; width: var(--s, 44px); height: var(--s, 44px); border-radius: calc(var(--s, 44px) * .28); background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(12, 122, 109, .12); }
.lic svg { width: 52%; height: 52%; }
.feature-icon .lic, .pain .lic { --s: 52px; }
.uc-tab .lic { border: 0; }
.uc-tab.active .lic { background: var(--primary); color: #fff; }
:root[data-theme="dark"] .uc-tab.active .lic { color: #0b1513; }
.photo-badge { background: rgba(255, 255, 255, .92); }
.photo-badge .lic, .ph-icon .lic { background: none; border: 0; }
.offer-inner .lic { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: #fff; }
.note .lic { --s: 40px; }
@media (max-width: 640px) { .offer-inner .lic { --s: 72px; } .pain .lic { --s: 46px; } }
.photo-badge .lic, .ph-icon .lic { color: #0c7a6d; }
/* Video giới thiệu: ngang trên máy tính, dọc trên điện thoại */
.intro-video { position: relative; border-radius: 24px; overflow: hidden; background: #0b1513; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.intro-video video { display: block; width: 100%; height: auto; background: #0b1513; }
.intro-video .iv-tall { display: none; }
.iv-note { margin: 12px 0 0; font-size: .85rem; text-align: center; }
@media (max-width: 640px) {
  .intro-video { max-width: 380px; margin: 0 auto; }
  .intro-video .iv-wide { display: none; }
  .intro-video .iv-tall { display: block; }
}
