/**
 * VIETSOFT AI — Design System & Core Stylesheet (v4.0 Pro Max)
 * Chuẩn UI/UX Mobile & Tablet Siêu Mượt · Glassmorphism · High Contrast · Touch-First Responsive
 */

:root, [data-theme="dark"] {
  /* ── 1. Color Palette (Dark Theme / High Contrast) ── */
  --void: #08090B;
  --surface: #101319;
  --surface-2: #171B23;
  --surface-3: #1E232C;
  --line: #242A34;
  --line-soft: #1A1F27;

  /* ── 2. Ink / Typography Colors ── */
  --ink: #F1F3F7;
  --ink-2: #98A2B2;
  --ink-3: #6B7686;

  /* ── 3. Brand & Accent Tokens ── */
  --gold: #E8B54B;
  --gold-deep: #C9922F;
  --gold-soft: #2A2213;
  --cyan: #4FD1D9;
  --cyan-soft: #12262A;
  --good: #57C98A;
  --good-soft: #12261C;
  --bad: #F26B62;
  --bad-soft: #2A1615;

  /* ── Surface Transparencies & Shadows ── */
  --nav-bg: rgba(8, 9, 11, 0.88);
  --topbar-bg: #060709;
  --glass-bg: rgba(16, 19, 25, 0.85);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* ── 4. Spacing & Radius ── */
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --r-xl: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* ── 5. Typography Scale ── */
  --f-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

[data-theme="light"] {
  /* ── 1. Color Palette (Light Theme / Crisp & High Contrast) ── */
  --void: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --surface-3: #E2E8F0;
  --line: #CBD5E1;
  --line-soft: #E2E8F0;

  /* ── 2. Ink / Typography Colors ── */
  --ink: #0F172A;
  --ink-2: #475569;
  --ink-3: #64748B;

  /* ── 3. Brand & Accent Tokens (Adapted for Light Background) ── */
  --gold: #D97706;
  --gold-deep: #B45309;
  --gold-soft: #FEF3C7;
  --cyan: #0284C7;
  --cyan-soft: #E0F2FE;
  --good: #16A34A;
  --good-soft: #DCFCE7;
  --bad: #DC2626;
  --bad-soft: #FEE2E2;

  /* ── Surface Transparencies & Shadows ── */
  --nav-bg: rgba(255, 255, 255, 0.92);
  --topbar-bg: #F1F5F9;
  --glass-bg: rgba(255, 255, 255, 0.92);
  --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* ── Reset & Baseline ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
body.menu-locked {
  overflow: hidden !important;
  touch-action: none;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-family: inherit; font-size: 16px; } /* Prevent auto-zoom on iOS */

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--f-mono); }
.tnum { font-variant-numeric: tabular-nums; }
h1, h2, h3, h4, h5, h6 { margin: 0; letter-spacing: -0.025em; font-weight: 800; line-height: 1.22; word-break: normal; overflow-wrap: break-word; }
p { margin: 0; word-break: normal; overflow-wrap: break-word; }
.lede { color: var(--ink-2); font-size: clamp(14.5px, 3.5vw, 17px); line-height: 1.7; max-width: 58ch; }

.grad-text {
  background: linear-gradient(100deg, var(--gold) 10%, var(--cyan) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline-block;
  white-space: nowrap;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* ── Interactive Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--r-s);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-gold {
  background: var(--gold);
  color: #14100A;
  box-shadow: 0 0 0 1px var(--gold-deep) inset;
}
.btn-gold:hover { background: #F3C466; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(232,181,75,.25); }

.btn-cyan {
  background: var(--cyan);
  color: #051A1E;
}
.btn-cyan:hover { background: #6CE0E7; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(79,209,217,.25); }

.btn-line {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn-line:hover {
  border-color: var(--ink-3);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15.5px;
  border-radius: var(--r-m);
}
.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

/* ── Theme Toggle Button ── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.theme-toggle:active svg { transform: rotate(45deg); }
[data-theme="dark"] .theme-icon-light, :root:not([data-theme="light"]) .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark, :root:not([data-theme="light"]) .theme-icon-dark { display: inline-block; color: var(--gold); }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: inline-block; color: var(--cyan); }

/* ── Cart Button & Cart Drawer ── */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.cart-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: #14100A;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--void);
}

.vs-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 0.2s var(--ease);
}
.vs-drawer-panel {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  animation: slideInRight 0.28s var(--ease);
}
.vs-drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vs-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.vs-drawer-foot {
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  background: var(--surface-2);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ── Topbar ── */
.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-3);
  padding: 8px 0;
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--gold); }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  background: #123468;
  border-radius: 9px;

  width: 42px;
  height: 42px;
  object-fit: contain;
  display: inline-block;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.logo:hover .logo-img {
  background: #123468;
  border-radius: 9px;

  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(232, 181, 75, 0.35);
}
.logo-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}
.logo-title, .logo-text .brand-name {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-viet {
  color: #FFFFFF !important;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
}
[data-theme="light"] .brand-viet {
  color: #154B96 !important;
}
.brand-soft {
  color: #E8B54B !important;
  background: linear-gradient(135deg, #FFE28A 0%, #FFDD6B 30%, #F7B733 65%, #E0912A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFDD6B 0%, #F7B733 50%, #E0912A 100%);
  color: #123468 !important;
  -webkit-text-fill-color: #123468;
  font-size: 11.5px;
  font-weight: 900;
  padding: 1.5px 7px;
  border-radius: 6px;
  margin-left: 6px;
  letter-spacing: 0.8px;
  border: 1px solid rgba(79, 209, 217, 0.7);
  box-shadow: 0 0 10px rgba(79, 209, 217, 0.4);
  vertical-align: middle;
}
.brand-sub {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #8A7D53 !important;
  text-transform: uppercase;
  margin-top: 3px;
}
.logo > span:not(.logo-title):not(.logo-text) {
  color: #FFFFFF !important;
  font-weight: 850;
  font-size: 18.5px;
  letter-spacing: -0.02em;
}
[data-theme="light"] .logo > span:not(.logo-title):not(.logo-text) {
  color: #0F172A !important;
}

/* Footer specific large logo enhancement */
footer .logo, .foot-col .logo, .foot .logo {
  gap: 14px;
  margin-bottom: 16px;
  display: inline-flex;
}
footer .logo .logo-img, .foot-col .logo .logo-img, .foot .logo .logo-img {
  background: #123468;
  border-radius: 9px;

  width: 50px;
  height: 50px;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}
footer .logo .brand-viet, .foot-col .logo .brand-viet, footer .logo .logo-title, .foot-col .logo .logo-title {
  font-size: 22px;
}
footer .logo .brand-soft, .foot-col .logo .brand-soft {
  font-size: 22px;
}
footer .logo .brand-ai, .foot-col .logo .brand-ai {
  font-size: 13px;
  padding: 2px 8px;
}
footer .logo .brand-sub, .foot-col .logo .brand-sub {
  font-size: 10px;
  letter-spacing: 2px;
  color: #8A7D53 !important;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex: none;
  background: linear-gradient(145deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: grid;
  place-items: center;
  color: #14100A;
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 800;
}
.crumb { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.crumb b { color: var(--ink-2); font-weight: 600; }
.nav-sp { flex: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.nav-links a {
  transition: color 0.18s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
[data-theme="light"] .nav-links a { color: #0F172A; }
[data-theme="light"] .nav-links a:hover { color: #D97706; }

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 6px 10px;
  border-radius: var(--r-s);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
[data-theme="light"] .nav-drop-btn {
  color: #0F172A;
}
.nav-drop-btn:hover, .nav-dropdown:hover .nav-drop-btn, .nav-dropdown.open .nav-drop-btn {
  color: var(--gold);
  background: var(--surface-2);
}
[data-theme="light"] .nav-drop-btn:hover, [data-theme="light"] .nav-dropdown:hover .nav-drop-btn, [data-theme="light"] .nav-dropdown.open .nav-drop-btn {
  color: #D97706;
  background: #F1F5F9;
}
.drop-arrow {
  transition: transform 0.22s var(--ease);
}
.nav-dropdown:hover .drop-arrow, .nav-dropdown.open .drop-arrow {
  transform: rotate(180deg);
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-l);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 181, 75, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  transform: translateY(6px);
  z-index: 100;
}
/* Cầu nối vô hình chống mất hover khi rê chuột qua khoảng hở 8px */
.nav-drop-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
  pointer-events: auto;
}
[data-theme="light"] .nav-drop-menu {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
}
.nav-dropdown:hover .nav-drop-menu, .nav-dropdown.open .nav-drop-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-s);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}
[data-theme="light"] .nav-drop-item {
  color: #0F172A;
}
.nav-drop-item:hover {
  background: var(--surface-2);
  transform: translateX(3px);
}
[data-theme="light"] .nav-drop-item:hover {
  background: #F1F5F9;
}
.drop-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.drop-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}
.drop-text b {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}
[data-theme="light"] .drop-text b {
  color: #0F172A;
}
.drop-text small {
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.35;
}
[data-theme="light"] .drop-text small {
  color: #64748B;
}
.drop-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(232, 181, 75, 0.2);
  color: var(--gold);
  border: 1px solid rgba(232, 181, 75, 0.4);
}
[data-theme="light"] .drop-badge {
  background: #FEF3C7;
  color: #B45309;
  border-color: #FCD34D;
}
.drop-badge.free {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.35);
}
[data-theme="light"] .drop-badge.free {
  background: #DCFCE7;
  color: #15803D;
  border-color: #86EFAC;
}

/* Nav Item - San Pham Moi Ra Mat */
.nav-new-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #0284C7 !important;
  font-weight: 750 !important;
  transition: all 0.2s var(--ease) !important;
  padding: 6px 10px !important;
  border-radius: var(--r-s) !important;
}
[data-theme="dark"] .nav-new-item {
  color: #38BDF8 !important;
}
.nav-new-item:hover {
  background: var(--surface-2) !important;
  color: var(--gold) !important;
  transform: translateY(-1px);
}
[data-theme="light"] .nav-new-item:hover {
  background: #F1F5F9 !important;
  color: #D97706 !important;
}
.badge-new-pill {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 850;
  background: #DC2626;
  color: #FFFFFF !important;
  padding: 1.5px 6px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

/* Menu Item - Dat hang phan mem (khong nen vang, dong bo mau menu) */
.nav-btn-highlight {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: transparent !important;
  border: none !important;
  color: var(--ink-2) !important;
  font-weight: 700 !important;
  padding: 6px 9px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: all 0.2s var(--ease) !important;
  position: relative !important;
  animation: none !important;
  box-shadow: none !important;
  letter-spacing: normal !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}
[data-theme="light"] .nav-btn-highlight {
  color: #0F172A !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.nav-btn-highlight > span:not(.nav-hot-badge),
.nav-btn-highlight strong,
.nav-btn-highlight b {
  color: inherit !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}
.nav-btn-highlight:hover {
  background: var(--surface-2) !important;
  color: var(--gold) !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}
[data-theme="light"] .nav-btn-highlight:hover {
  background: #F1F5F9 !important;
  color: #D97706 !important;
}
.nav-btn-highlight:hover > span:not(.nav-hot-badge) {
  color: inherit !important;
}
.nav-pulse-dot {
  display: none !important;
}
.nav-hot-badge,
.nav-btn-highlight .nav-hot-badge,
.nav-btn-highlight:hover .nav-hot-badge {
  font-family: var(--f-mono);
  font-size: 9px !important;
  font-weight: 850 !important;
  background: #DC2626 !important;
  color: #FFFFFF !important;
  padding: 1.5px 5px !important;
  border-radius: 4px !important;
  letter-spacing: 0.4px !important;
  display: inline-block !important;
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.35) !important;
  line-height: 1.2 !important;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-cta .btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  border-radius: var(--r-s);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 5px 9px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  color: var(--ink-3);
  transition: all 0.18s var(--ease);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--gold); color: #14100A; }

/* Animated Burger Button */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  transition: all 0.2s var(--ease);
  position: relative;
  z-index: 101;
  flex-shrink: 0;
}
.burger:hover { border-color: var(--gold); }
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Section & Layout ── */
section { position: relative; }
.sec { padding: 88px 0; position: relative; }
.sec-head { max-width: 68ch; margin-bottom: 44px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }

/* ── Pricing Cards ── */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.plan:hover { border-color: var(--ink-3); transform: translateY(-3px); }
.plan.best {
  border-color: var(--sp, var(--gold));
  background: linear-gradient(180deg, var(--sp-soft, var(--gold-soft)), var(--surface) 48%);
  box-shadow: 0 20px 50px rgba(232, 181, 75, 0.08);
}
.plan-tag {
  position: absolute;
  top: -11px;
  left: 18px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--sp, var(--gold));
  color: #14100A;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan-name {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.plan.best .plan-name { color: var(--sp, var(--gold)); }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }
.plan-price em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.plan-was { font-size: 11.5px; color: var(--ink-3); text-decoration: line-through; display: block; }
.plan .btn { width: 100%; margin-top: auto; min-height: 44px; font-size: 13.5px; }

/* ── Tables & Scroll Wrapper ── */
.tbl-wrap, .bundle-table {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
thead th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  padding: 14px 20px;
  background: var(--surface-2);
}
tbody td {
  padding: 16px 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-2);
}
tbody tr:hover { background: var(--surface-2); }

.tbl-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gold);
  padding: 8px 12px;
  background: var(--gold-soft);
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
}

/* ── Scroll Reveal ── */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ── Brand Story & Flexible Content Layouts ── */
.story-hero-card {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--surface-2) 60%);
  border: 1px solid rgba(232, 181, 75, .35);
  border-radius: var(--r-xl);
  padding: 38px 32px;
  margin-bottom: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.story-hero-in {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
}
.story-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}
.story-card-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 28px;
}
.story-impact-box {
  border: 1px solid rgba(79, 209, 217, .3);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--cyan-soft) 0%, var(--surface-2) 60%);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}

/* ── Expandable Text Block with (+) Button ── */
.expandable-block {
  position: relative;
  width: 100%;
}
.expand-content {
  display: none;
  margin-top: 12px;
  animation: expandFadeIn 0.3s ease;
}
@keyframes expandFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.btn-expand-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(232, 181, 75, 0.12);
  border: 1px solid rgba(232, 181, 75, 0.45);
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.22s var(--ease);
  font-family: inherit;
  user-select: none;
}
.btn-expand-more:hover {
  background: var(--gold);
  color: #14100A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 181, 75, 0.3);
}
.btn-expand-more .expand-icon {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn-expand-more.active {
  background: rgba(79, 209, 217, 0.18);
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-expand-more.btn-expand-cyan {
  background: rgba(79, 209, 217, 0.12);
  border-color: rgba(79, 209, 217, 0.45);
  color: var(--cyan);
}
.btn-expand-more.btn-expand-cyan:hover {
  background: var(--cyan);
  color: #0E1217;
}

/* ── Author & Trust Section (Modern Tech & High Contrast) ── */
.author-box {
  border: 1.5px solid rgba(232, 181, 75, 0.6);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(28, 38, 56, 0.98) 0%, rgba(16, 22, 34, 0.98) 100%);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(232, 181, 75, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.author-box::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 181, 75, 0.22) 0%, rgba(79, 209, 217, 0.08) 50%, transparent 70%);
  pointer-events: none;
}
.author-photo {
  width: 130px;
  height: 130px;
  border-radius: 26px;
  border: 3px solid #E8B54B;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 30px rgba(232, 181, 75, 0.5);
  flex-shrink: 0;
  position: relative;
  background: #0E1217;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.author-box:hover .author-photo {
  transform: scale(1.04);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.7), 0 0 40px rgba(232, 181, 75, 0.7);
}
.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: #14100A;
  background: linear-gradient(135deg, #FFD066 0%, #E8B54B 100%);
  border: 1px solid #FFE082;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(232, 181, 75, 0.35);
}
.author-name-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.author-name-text {
  font-size: 26px;
  font-weight: 850;
  color: #FFFFFF !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.author-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.8);
  border: 1.5px solid #FFFFFF;
}
.author-bio-text {
  font-size: 15px;
  color: #E2E8F0 !important;
  line-height: 1.7;
  max-width: 60ch;
  margin: 0;
  font-weight: 450;
}
.author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.author-tag-item {
  font-size: 12.5px;
  color: #F8FAFC !important;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(232, 181, 75, 0.45);
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.author-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  min-width: 180px;
}
.author-actions .btn-gold {
  background: linear-gradient(135deg, #FFB800 0%, #E07B00 100%) !important;
  color: #14100A !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(224, 123, 0, 0.45) !important;
}
.author-actions .btn-line {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  font-weight: 700 !important;
}
.author-actions .btn-line:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #FFFFFF !important;
}

/* ── Floating Mobile Bottom Action Dock ── */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 990;
  display: none;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}
.dock-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.dock-btn:active { transform: scale(0.95); }
.dock-btn.line {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
}
.dock-btn.primary {
  background: var(--gold);
  color: #14100A;
  box-shadow: 0 4px 14px rgba(232, 181, 75, 0.35);
}
.dock-btn.secondary {
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(79, 209, 217, 0.3);
}

/* Backdrop for Mobile Navigation Drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================================================= */
/* 📱 TABLET RESPONSIVE BREAKPOINTS (768px <= width <= 1024px)              */
/* ========================================================================= */
@media (max-width: 1024px) {
  .topbar { display: none; }
  .nav-cta { display: none !important; }
  .burger { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.45);
    padding: 80px 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
    overflow-y: auto;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links.nav-open {
    right: 0;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    padding: 12px 14px;
    border-radius: var(--r-m);
    background: var(--surface-2);
    border: 1px solid var(--line-soft);
    transition: all 0.2s var(--ease);
  }
  .nav-links a:hover, .nav-links a:active {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-soft);
  }

  /* Grid Layouts for Tablet */
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .timeline { grid-template-columns: repeat(2, 1fr) !important; }
  .timeline.bottom-row { grid-template-columns: repeat(2, 1fr) !important; }
  .quote-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .port-grid { grid-template-columns: 1fr !important; }
  .about-box { grid-template-columns: 1fr !important; gap: 40px; }
  .overview-row { grid-template-columns: 1fr !important; gap: 36px; }
  .overview-row.flip .ov-media { order: 0 !important; }
  .author-box { grid-template-columns: 1fr !important; text-align: center; gap: 24px; padding: 32px 20px !important; }
  .author-photo { margin: 0 auto; }
  .author-name-wrap { justify-content: center; }
  .author-tags { justify-content: center; }
  .author-actions { width: 100%; }
  .author-actions .btn { width: 100%; margin: 0 auto; }
  .foot-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 28px; }
  .strip-in { grid-template-columns: repeat(2, 1fr) !important; }
  .stats { grid-template-columns: repeat(2, 1fr) !important; }
  .lic-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .final { grid-template-columns: 1fr !important; text-align: center; gap: 20px; }
  .final-cta { justify-content: center; }
  .story-hero-in, .story-grid-2, .story-impact-box { grid-template-columns: 1fr !important; }

  .glass-stat, .glass-auth, .exp-badge {
    position: static !important;
    margin-top: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ========================================================================= */
/* 📱 TABLET & MEDIUM SCREENS (width <= 1000px)                             */
/* ========================================================================= */
@media (max-width: 1000px) {
  .nav-in {
    height: 62px;
    gap: 12px;
  }
  .logo {
    gap: 10px;
  }
  .logo-img {
  background: #123468;
  border-radius: 9px;

    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .logo-title, .brand-viet, .brand-soft {
    font-size: 17px;
  }
  .brand-ai {
    font-size: 10.5px;
    padding: 1px 6px;
  }
}

/* ========================================================================= */
/* 📱 SMARTPHONE BREAKPOINTS (width <= 768px)                                */
/* ========================================================================= */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .wrap { padding: 0 16px !important; max-width: 100% !important; box-sizing: border-box !important; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: clamp(22px, 6vw, 30px); }
  h1 { font-size: clamp(22px, 6.5vw, 32px) !important; line-height: 1.25 !important; letter-spacing: -0.02em; margin-bottom: 14px; }
  h1 span { word-break: normal; }
  .lede { font-size: 15px !important; line-height: 1.65 !important; max-width: 100% !important; }

  /* Navigation Bar on Mobile */
  .nav-in {
    height: 58px;
    padding: 0 12px !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .nav-in > .btn, .nav-in > .nav-cta, .nav-in .nav-cta {
    display: none !important;
  }
  .nav-sp {
    flex: 1;
    min-width: 4px;
  }
  .logo {
    gap: 9px;
  }
  .logo-img {
  background: #123468;
  border-radius: 9px;

    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .logo-title, .brand-viet, .brand-soft {
    font-size: 16px;
  }
  .brand-ai {
    font-size: 10px;
    padding: 1px 5px;
    margin-left: 4px;
  }
  .crumb {
    display: none;
  }

  /* Footer Mobile Logo */
  footer .logo, .foot-col .logo, .foot .logo {
    font-size: 20px;
    gap: 12px;
    margin-bottom: 14px;
  }
  footer .logo .logo-img, .foot-col .logo .logo-img, .foot .logo .logo-img {
  background: #123468;
  border-radius: 9px;

    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  footer .logo .brand-viet, .foot-col .logo .brand-viet,
  footer .logo .brand-soft, .foot-col .logo .brand-soft,
  footer .logo .logo-title, .foot-col .logo .logo-title {
    font-size: 20px;
  }
  footer .logo .brand-ai, .foot-col .logo .brand-ai {
    font-size: 11px;
    padding: 1.5px 6px;
  }
  footer .logo .brand-sub, .foot-col .logo .brand-sub {
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  /* Hero & CTA full width on mobile */
  .hero-cta, .hero-btns, .final-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta .btn, .hero-btns .btn, .final-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  /* 1-Column Responsive Grids */
  .plans { grid-template-columns: 1fr !important; }
  .bento-grid { grid-template-columns: 1fr !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .timeline { grid-template-columns: 1fr !important; }
  .timeline.bottom-row { grid-template-columns: 1fr !important; }
  .quote-grid { grid-template-columns: 1fr !important; }
  .foot-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .strip-in { grid-template-columns: 1fr !important; }
  .stats { grid-template-columns: 1fr !important; }
  .lic-grid { grid-template-columns: 1fr !important; }
  .impact-row { grid-template-columns: 1fr !important; }
  .ov-list { grid-template-columns: 1fr !important; }
  .ba { grid-template-columns: 1fr !important; gap: 16px; }
  .story-hero-in, .story-grid-2, .story-impact-box { grid-template-columns: 1fr !important; }
  .story-hero-card { padding: 22px 16px !important; }
  .story-card-box { padding: 20px 16px !important; }
  .story-impact-box { padding: 20px 16px !important; gap: 20px !important; }

  /* All Images, Sliders & Media Scaling on Mobile */
  .bento-media, .port-media, .about-media, .ov-media, .hero-mockup, .feature-media, .mockup-main, .hero-carousel {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  .hero-carousel {
    aspect-ratio: 16 / 10 !important;
    max-height: 220px !important;
  }
  .slide-caption {
    padding: 8px 10px 6px !important;
    background: linear-gradient(0deg, rgba(8,9,11,0.96) 0%, rgba(8,9,11,0.75) 75%, transparent 100%) !important;
  }
  .slide-tag {
    font-size: 8.5px !important;
    padding: 2px 5px !important;
    margin-bottom: 2px !important;
  }
  .slide-caption h4 {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .slide-caption p {
    display: none !important;
  }
  .slider-arrow {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
  }
  .slider-arrow.prev { left: 6px !important; }
  .slider-arrow.next { right: 6px !important; }
  .slider-dots {
    bottom: 6px !important;
    right: 8px !important;
    gap: 3px !important;
  }
  .slider-dots .dot {
    width: 4px !important;
    height: 4px !important;
  }
  .slider-dots .dot.active {
    width: 12px !important;
  }
  
  /* Floating Stats Scale Down */
  .glass-stat {
    position: static !important;
    margin-top: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    gap: 10px !important;
  }
  .glass-stat .gi {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }
  .glass-stat .gi svg {
    width: 18px !important;
    height: 18px !important;
  }
  .glass-stat b {
    font-size: 18px !important;
  }
  .glass-stat span {
    font-size: 11.5px !important;
  }
  
  /* Floating Auth Box Scale Down */
  .glass-auth {
    position: static !important;
    margin-top: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    gap: 8px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }
  .green-dots-group {
    gap: 5px !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
  }
  .g-pulse-dot {
    width: 6px !important;
    height: 6px !important;
  }
  .g-pulse-dot.active {
    width: 14px !important;
  }
  .glass-auth span {
    font-size: 11.5px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .bento-media img, .port-media img, .about-media img, .ov-media img, .feature-media img, .mockup-main img {
    max-height: 190px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }
  .author-photo {
    width: 100px !important;
    height: 100px !important;
    border-radius: 14px !important;
    margin: 0 auto 12px !important;
  }
  .exp-badge {
    position: static !important;
    margin-top: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
  }
  .exp-badge b {
    font-size: 22px !important;
  }

  /* Activate Mobile Bottom Quick Action Dock */
  .dock {
    display: flex !important;
  }

  /* Table horizontal scroll + swipe hint */
  .tbl-wrap, .bundle-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-radius: var(--r-m);
  }
  table {
    min-width: 520px;
  }
  .tbl-swipe-hint {
    display: flex !important;
  }

  /* Modals full width on mobile */
  .vs-modal-card {
    width: 95% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 20px 16px !important;
  }
  .vs-pay-box {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    text-align: center;
  }
  .vs-bank-details {
    text-align: left;
  }
}

/* ========================================================================= */
/* 📱 SMALL MOBILE DEVICES (width <= 480px)                                  */
/* ========================================================================= */
@media (max-width: 480px) {
  h1 { font-size: clamp(20px, 6.2vw, 26px) !important; line-height: 1.28 !important; }
  .lede { font-size: 14px !important; line-height: 1.6 !important; }
  .nav-in {
    height: 56px;
    padding: 0 12px;
    gap: 8px;
  }
  .logo {
    gap: 8px;
  }
  .logo-img {
  background: #123468;
  border-radius: 9px;

    width: 32px;
    height: 32px;
    border-radius: 7px;
  }
  .logo-title, .brand-viet, .brand-soft {
    font-size: 15px;
  }
  .brand-ai {
    font-size: 9px;
    padding: 1px 4px;
    margin-left: 3px;
    border-radius: 4px;
  }
  .logo > span:not(.logo-title):not(.logo-text) {
    font-size: 15px;
  }

  /* Footer Mobile */
  footer .logo, .foot-col .logo, .foot .logo {
    font-size: 18px;
    gap: 10px;
  }
  footer .logo .logo-img, .foot-col .logo .logo-img, .foot .logo .logo-img {
  background: #123468;
  border-radius: 9px;

    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  footer .logo .brand-viet, .foot-col .logo .brand-viet,
  footer .logo .brand-soft, .foot-col .logo .brand-soft,
  footer .logo .logo-title, .foot-col .logo .logo-title {
    font-size: 18px;
  }
  footer .logo .brand-ai, .foot-col .logo .brand-ai {
    font-size: 10px;
    padding: 1px 5px;
  }
  footer .logo .brand-sub, .foot-col .logo .brand-sub {
    font-size: 8.5px;
    letter-spacing: 1.2px;
  }

  .dock-btn { font-size: 12px; padding: 0 8px; }
  .dock { left: 8px; right: 8px; bottom: 8px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
}

/* ========================================================================= */
/* 📱 ULTRA COMPACT SCREENS (width <= 360px)                                 */
/* ========================================================================= */
@media (max-width: 360px) {
  .logo-img {
  background: #123468;
  border-radius: 9px;

    width: 28px;
    height: 28px;
  }
  .logo-title, .brand-viet, .brand-soft {
    font-size: 14px;
  }
  .brand-ai {
    display: none;
  }
}


/* Light theme logo-img */
[data-theme="light"] .logo-img {
  background: #154B96;
  box-shadow: 0 4px 14px rgba(21, 75, 150, 0.25);
}

/* ========================================================================= */
/* ☀️ LIGHT THEME COMPREHENSIVE HIGH-CONTRAST SYSTEM                        */
/* ========================================================================= */
[data-theme="light"] {
  --nav-bg: rgba(255, 255, 255, 0.94);
  --topbar-bg: #F8FAFC;
  --glass-bg: rgba(255, 255, 255, 0.94);
}

/* Light Theme - Hero Section & Mockup Showcase */
[data-theme="light"] .hero {
  background: radial-gradient(900px 520px at 12% 6%, rgba(217, 119, 6, 0.08), transparent 62%),
              radial-gradient(820px 560px at 92% 24%, rgba(2, 132, 199, 0.07), transparent 62%),
              #F8FAFC;
}
[data-theme="light"] .hero::after {
  background-image: linear-gradient(rgba(203, 213, 225, 0.4) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(203, 213, 225, 0.4) 1px, transparent 1px);
}

/* Hero Carousel & Mockup Main */
[data-theme="light"] .hero-carousel,
[data-theme="light"] .mockup-main {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

/* Slide Caption in Light Theme */
[data-theme="light"] .slide-caption {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 60%, transparent 100%) !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  backdrop-filter: blur(12px) !important;
}
[data-theme="light"] .slide-caption h4 {
  color: #0F172A !important;
}
[data-theme="light"] .slide-caption p {
  color: #475569 !important;
}

/* Glass Stat Card (Top-Right "90% Thời gian tiết kiệm") */
[data-theme="light"] .glass-stat {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1.5px solid rgba(217, 119, 6, 0.35) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
}
[data-theme="light"] .glass-stat .gi {
  background: rgba(254, 243, 199, 0.9) !important;
}
[data-theme="light"] .glass-stat .gi svg {
  color: #D97706 !important;
}
[data-theme="light"] .glass-stat b {
  color: #B45309 !important;
}
[data-theme="light"] .glass-stat span {
  color: #475569 !important;
  font-weight: 600 !important;
}

/* Glass Auth Card (Bottom-Left "1 Tài khoản · Đa phần mềm · 1 Máy") */
[data-theme="light"] .glass-auth {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.35) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
}
[data-theme="light"] .glass-auth:hover {
  background: #FFFFFF !important;
  border-color: #0284C7 !important;
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.25) !important;
}
[data-theme="light"] .glass-auth span {
  color: #0F172A !important;
  font-weight: 800 !important;
}
[data-theme="light"] .g-pulse-dot {
  background: rgba(16, 185, 129, 0.25) !important;
  border: 1.5px solid #10B981 !important;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.3) !important;
}
[data-theme="light"] .g-pulse-dot:hover {
  background: #10B981 !important;
  box-shadow: 0 0 12px #10B981 !important;
}
[data-theme="light"] .g-pulse-dot.active {
  background: #059669 !important;
  border-color: #059669 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6) !important;
}

/* Slider Controls in Light Theme */
[data-theme="light"] .slider-arrow {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
}
[data-theme="light"] .slider-arrow:hover {
  background: #D97706 !important;
  color: #FFFFFF !important;
  border-color: #D97706 !important;
}
[data-theme="light"] .slider-dots .dot {
  background: rgba(15, 23, 42, 0.25) !important;
}
[data-theme="light"] .slider-dots .dot.active {
  background: #D97706 !important;
}

/* Bento Cards & Service Cards in Light Theme */
[data-theme="light"] .bento-card,
[data-theme="light"] .srv-card,
[data-theme="light"] .quote-card,
[data-theme="light"] .port-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .bento-card:hover,
[data-theme="light"] .srv-card:hover,
[data-theme="light"] .quote-card:hover,
[data-theme="light"] .port-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1) !important;
}
[data-theme="light"] .bento-media {
  background: #F8FAFC !important;
  border-bottom: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .srv-icon {
  background: #FEF3C7 !important;
  border-color: #FDE68A !important;
  color: #D97706 !important;
}

/* Impact numbers and stats in Light Theme */
[data-theme="light"] .impact-row,
[data-theme="light"] .strip {
  background: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
}
[data-theme="light"] .impact-cell,
[data-theme="light"] .stat {
  background: #FFFFFF !important;
}

/* Author Trust Box in Light Theme */
[data-theme="light"] .author-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%) !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .author-name-text {
  color: #0F172A !important;
  text-shadow: none !important;
}
[data-theme="light"] .author-bio-text {
  color: #475569 !important;
}
[data-theme="light"] .author-tag-item {
  color: #1E293B !important;
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
}
[data-theme="light"] .author-actions .btn-line {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
}
[data-theme="light"] .author-actions .btn-line:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
}

/* Experience Badge in Light Theme */
[data-theme="light"] .exp-badge {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFFFF 100%) !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1) !important;
}
[data-theme="light"] .exp-badge b {
  color: #B45309 !important;
}
[data-theme="light"] .exp-badge span {
  color: #0F172A !important;
}

/* FAQ in Light Theme */
[data-theme="light"] .faq {
  background: #E2E8F0 !important;
  border-color: #E2E8F0 !important;
}
[data-theme="light"] .faq details {
  background: #FFFFFF !important;
}
[data-theme="light"] summary:hover {
  background: #F8FAFC !important;
}

/* Contact CTA Banner in Light Theme */
[data-theme="light"] .contact-cta {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFFFF 55%) !important;
  border: 1px solid #FDE68A !important;
}

/* Mobile Quick Action Dock in Light Theme */
[data-theme="light"] .dock {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 1px solid #E2E8F0 !important;
}

/* ==========================================================================
   VIETSOFT STANDARDIZED HEADER & NAVIGATION SYSTEM (ĐỒNG NHẤT 100% CÁC TRANG)
   Bao gồm: Menu 1 hàng, Dropdown sản phẩm, Cụm công cụ (Giỏ hàng, Theme,
   Ngôn ngữ, Menu 3 gạch Portal) & Menu con Burger Dropdown
   ========================================================================== */

/* Thanh điều hướng (Navbar Desktop & Mobile Drawer) */
.nav .wrap{max-width:1440px !important; padding:0 16px !important; margin:0 auto !important; width:100% !important;}
.nav-in{display:flex !important; justify-content:space-between !important; align-items:center !important; gap:10px !important; height:60px !important; max-width:1440px !important; width:100% !important; margin:0 auto !important; padding:0 16px !important;}
.logo{font-size:16.5px !important; gap:7px !important; flex-shrink:0 !important;}
.logo-img{width:34px !important; height:34px !important;}
.nav-links{display:flex !important; gap:6px !important; font-size:13px !important; font-weight:700 !important; align-items:center !important; white-space:nowrap !important; flex-wrap:nowrap !important; margin-left:auto !important;}
.nav-links a{white-space:nowrap !important; flex-shrink:0 !important; padding:6px 9px !important; border-radius:6px !important; font-size:13px !important;}
.nav-links a:hover{color:var(--gold) !important;}
.nav-drop-btn{padding:6px 9px !important; font-size:13px !important; gap:4px !important;}
.nav-btn-highlight{padding:6px 9px !important; font-size:13px !important; gap:5px !important; background:transparent !important; box-shadow:none !important; border:none !important;}
.nav-new-item{gap:5px !important; font-size:12.5px !important; padding:6px 9px !important;}
.badge-new-pill, .nav-hot-badge{font-size:9px !important; padding:1.5px 5px !important;}
.nav-close-btn{display:none !important;}

/* Nút 3 gạch Burger (hiển thị trên tất cả các màn hình theo chuẩn hình 2) */
.burger {
  display: inline-flex !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: var(--r-s) !important;
  border: 1px solid var(--line) !important;
  background: var(--surface-2) !important;
  color: var(--ink) !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  flex-direction: column !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
  transition: all .2s var(--ease) !important;
}
.burger:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  transform: translateY(-1px);
}
.burger span, .burger .burger-bar {
  display: block !important;
  width: 18px !important;
  height: 2px !important;
  background: var(--ink) !important;
  border-radius: 2px !important;
  transition: transform .25s var(--ease), opacity .2s var(--ease), background .2s var(--ease) !important;
}
.burger:hover span, .burger:hover .burger-bar {
  background: var(--gold) !important;
}
.burger[aria-expanded="true"] span:nth-child(1),
.burger[aria-expanded="true"] .burger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg) !important;
}
.burger[aria-expanded="true"] span:nth-child(2),
.burger[aria-expanded="true"] .burger-bar:nth-child(2) {
  opacity: 0 !important;
}
.burger[aria-expanded="true"] span:nth-child(3),
.burger[aria-expanded="true"] .burger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg) !important;
}

/* Nhóm công cụ trên thanh Nav: Giỏ hàng, Đổi Sáng/Tối, Ngôn ngữ, Menu 3 gạch */
.nav-tools-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}
.nav-tool-btn {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  background: var(--surface-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-s) !important;
  color: var(--ink) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all .2s var(--ease) !important;
  position: relative !important;
  flex-shrink: 0 !important;
}
.nav-tool-btn:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  transform: translateY(-1px);
}
.nav-tool-btn.cart-btn svg,
.nav-tool-btn.theme-toggle svg {
  color: var(--ink) !important;
}
.nav-tool-btn:hover svg {
  color: var(--gold) !important;
}

/* Badge số lượng Giỏ Hàng (Màu cam tròn chuẩn hình 2) */
.cart-count {
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
  background: #FF5A1F !important;
  color: #FFFFFF !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  border-radius: 50% !important;
  min-width: 17px !important;
  height: 17px !important;
  line-height: 17px !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 2px !important;
  box-shadow: 0 2px 6px rgba(255, 90, 31, 0.5) !important;
  box-sizing: border-box !important;
}

/* Bộ chuyển đổi ngôn ngữ (VI | EN) */
.nav-tools-group .lang-switch {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--surface-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-s) !important;
  padding: 2px !important;
  gap: 2px !important;
  height: 36px !important;
  box-sizing: border-box !important;
}
.nav-tools-group .lang-switch .lang-btn {
  padding: 4px 7px !important;
  font-family: var(--f-mono) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  border-radius: 4px !important;
  border: none !important;
  background: transparent !important;
  color: var(--ink-3) !important;
  cursor: pointer !important;
  transition: all .18s var(--ease) !important;
  line-height: 1.2 !important;
}
.nav-tools-group .lang-switch .lang-btn:hover {
  color: var(--ink) !important;
}
.nav-tools-group .lang-switch .lang-btn.active {
  background: var(--gold) !important;
  color: #14100A !important;
}

/* Ẩn bớt thanh menu chữ ngang khi màn hình hẹp */
@media (max-width: 1180px) {
  .nav-links {
    display: none !important;
  }
}

/* ========================================================
   BURGER DROPDOWN SUBMENU (Menu con điều hướng chính & quản trị)
   Mở gọn gàng ngay dưới nút ba gạch, chứa các liên kết chính:
   Quản lý tài khoản, Kích hoạt phần mềm, Bảng giá, v.v.
   ======================================================== */
.burger-dropdown {
  position: relative !important;
  display: inline-flex !important;
}

.burger-menu-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  width: 330px !important;
  max-width: 92vw !important;
  background: var(--surface, #0f172a) !important;
  border: 1.5px solid var(--line, rgba(255, 255, 255, 0.12)) !important;
  border-radius: var(--r-l, 14px) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 24px rgba(232, 181, 75, 0.1) !important;
  display: flex !important;
  flex-direction: column !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: translateY(8px) scale(0.98) !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s !important;
  z-index: 1000 !important;
  max-height: calc(100vh - 80px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Cầu nối vô hình cho menu 3 gạch */
.burger-menu-dropdown::after {
  content: '' !important;
  position: absolute !important;
  top: -16px !important;
  left: 0 !important;
  right: 0 !important;
  height: 16px !important;
  background: transparent !important;
  pointer-events: auto !important;
}

/* Mũi nhọn tam giác trỏ nhẹ lên nút 3 gạch */
.burger-menu-dropdown::before {
  content: '' !important;
  position: absolute !important;
  top: -6px !important;
  right: 13px !important;
  width: 10px !important;
  height: 10px !important;
  background: var(--surface, #0f172a) !important;
  border-top: 1.5px solid var(--line, rgba(255, 255, 255, 0.12)) !important;
  border-left: 1.5px solid var(--line, rgba(255, 255, 255, 0.12)) !important;
  transform: rotate(45deg) !important;
  z-index: 1 !important;
}

[data-theme="light"] .burger-menu-dropdown {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15) !important;
}
[data-theme="light"] .burger-menu-dropdown::before {
  background: #FFFFFF !important;
  border-top: 1.5px solid #CBD5E1 !important;
  border-left: 1.5px solid #CBD5E1 !important;
}

.burger-dropdown.open .burger-menu-dropdown {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

/* Phần đầu Menu con: Header nhẹ */
.bmenu-head {
  padding: 12px 14px !important;
  background: var(--surface-2, rgba(255, 255, 255, 0.03)) !important;
  border-bottom: 1px solid var(--line-soft, rgba(255, 255, 255, 0.08)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
[data-theme="light"] .bmenu-head {
  background: #F8FAFC !important;
  border-bottom: 1px solid #E2E8F0 !important;
}
.bmenu-badge-portal {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--f-mono) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: var(--gold, #E8B54B) !important;
  letter-spacing: 0.5px !important;
}
.bmenu-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 11px !important;
  color: var(--ink-3, #94A3B8) !important;
}
.bmenu-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10B981 !important;
  box-shadow: 0 0 6px #10B981 !important;
}

/* Danh sách link điều hướng chính */
.bmenu-body {
  padding: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  max-height: calc(85vh - 70px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
.bmenu-label {
  font-family: var(--f-mono) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  color: var(--ink-3, #94A3B8) !important;
  padding: 8px 10px 4px !important;
  text-transform: uppercase !important;
}
.bmenu-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 10px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: var(--ink, #F8FAFC) !important;
  transition: all 0.16s var(--ease) !important;
}
[data-theme="light"] .bmenu-item {
  color: #1E293B !important;
}
.bmenu-item:hover {
  background: var(--surface-2, rgba(255, 255, 255, 0.06)) !important;
  color: var(--gold, #E8B54B) !important;
  transform: translateX(2px) !important;
}
[data-theme="light"] .bmenu-item:hover {
  background: #F1F5F9 !important;
  color: #D97706 !important;
}
.bmenu-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: var(--surface-2, rgba(255, 255, 255, 0.05)) !important;
  border: 1px solid var(--line-soft, rgba(255, 255, 255, 0.08)) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
}
.bmenu-item:hover .bmenu-icon {
  border-color: var(--gold, #E8B54B) !important;
  background: rgba(232, 181, 75, 0.12) !important;
}
.bmenu-text {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
.bmenu-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.bmenu-desc {
  font-size: 11px !important;
  color: var(--ink-3, #94A3B8) !important;
  line-height: 1.25 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.bmenu-badge {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  padding: 2px 5px !important;
  border-radius: 4px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
.bmenu-badge.hot {
  background: #FF5A1F !important;
  color: #FFFFFF !important;
}
.bmenu-badge.good {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10B981 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}
.bmenu-arrow {
  color: var(--ink-3, #94A3B8) !important;
  font-size: 14px !important;
  opacity: 0.5 !important;
  transition: transform 0.16s var(--ease) !important;
}
.bmenu-item:hover .bmenu-arrow {
  opacity: 1 !important;
  transform: translateX(2px) !important;
  color: var(--gold, #E8B54B) !important;
}

.bmenu-item.highlight {
  background: transparent !important;
  border: 1px solid var(--line-soft, rgba(255, 255, 255, 0.08)) !important;
}
.bmenu-item.highlight .bmenu-title {
  color: inherit !important;
}
[data-theme="light"] .bmenu-item.highlight {
  background: transparent !important;
  border-color: #E2E8F0 !important;
}
[data-theme="light"] .bmenu-item.highlight .bmenu-title {
  color: #1E293B !important;
}

.bmenu-divider {
  height: 1px !important;
  background: var(--line-soft, rgba(255, 255, 255, 0.08)) !important;
  margin: 4px 6px !important;
}
[data-theme="light"] .bmenu-divider {
  background: #E2E8F0 !important;
}

/* Footer hỗ trợ trong menu con */
.bmenu-foot {
  padding: 10px 12px !important;
  background: var(--surface-2, rgba(255, 255, 255, 0.02)) !important;
  border-top: 1px solid var(--line-soft, rgba(255, 255, 255, 0.08)) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
[data-theme="light"] .bmenu-foot {
  background: #F8FAFC !important;
  border-top: 1px solid #E2E8F0 !important;
}
.bmenu-foot-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 11.5px !important;
  color: var(--ink-2, #CBD5E1) !important;
}
[data-theme="light"] .bmenu-foot-row {
  color: #475569 !important;
}
.bmenu-foot-row a {
  font-weight: 700 !important;
  color: var(--gold, #E8B54B) !important;
  text-decoration: none !important;
}
[data-theme="light"] .bmenu-foot-row a {
  color: #D97706 !important;
}
.bmenu-foot-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  margin-top: 4px !important;
}
.bmenu-foot-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 6px 8px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  text-align: center !important;
  transition: all 0.16s var(--ease) !important;
}
.bmenu-btn-zalo {
  background: #0068FF !important;
  color: #FFFFFF !important;
}
.bmenu-btn-zalo:hover {
  background: #0052CC !important;
}
.bmenu-btn-mail {
  background: var(--surface-2, rgba(255, 255, 255, 0.06)) !important;
  color: var(--ink, #F8FAFC) !important;
  border: 1px solid var(--line-soft, rgba(255, 255, 255, 0.12)) !important;
}
[data-theme="light"] .bmenu-btn-mail {
  background: #FFFFFF !important;
  color: #1E293B !important;
  border: 1px solid #CBD5E1 !important;
}
.bmenu-btn-mail:hover {
  border-color: var(--gold, #E8B54B) !important;
  color: var(--gold, #E8B54B) !important;
}

/* ═══════════════════════════════════════════════════════════════
   ORDER FORM BOX — Nền Xanh Băng Tuyết (Soft Cyan Theme) & Nút Vàng Cam
   ═══════════════════════════════════════════════════════════════ */
.order-form-container {
  border: 1.5px solid #BAE6FD;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #F1F5F9 100%);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .45), 0 0 40px rgba(2, 132, 199, .15);
  position: relative;
  overflow: hidden;
  color: #0F172A;
}
.order-form-container::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, .12) 0%, transparent 70%);
  pointer-events: none;
}
.order-form-container .form-title-wrap {
  margin-bottom: 22px;
}
.order-form-container .eyebrow,
.order-form-container .order-eyebrow {
  color: #0284C7 !important;
  font-weight: 850;
  font-size: 12px;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.order-form-container .eyebrow::before,
.order-form-container .order-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2.5px;
  background: #0284C7 !important;
  border-radius: 2px;
}
.order-form-container .form-title-wrap h3 {
  font-size: clamp(24px, 3vw, 32px);
  color: #0F172A;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.order-form-container .form-title-wrap p {
  font-size: 15px;
  color: #334155;
  line-height: 1.65;
  font-weight: 550;
  margin: 0;
}
.order-form-container .form-title-wrap p b {
  color: #0F172A;
  font-weight: 800;
}
.order-form-container .form-group label {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
}
.order-form-container .form-group label span.req {
  color: #DC2626;
  font-weight: 900;
}
.order-form-container .form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-family: var(--f-sans);
  font-size: 14.5px;
  font-weight: 600;
  transition: all .2s var(--ease);
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.order-form-container .form-control::placeholder {
  color: #64748B;
  font-weight: 500;
  font-size: 14px;
}
.order-form-container .form-control:focus {
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, .22);
  background: #FFFFFF;
}
.order-form-container textarea.form-control {
  height: auto;
  min-height: 94px;
  padding: 12px 16px;
  resize: vertical;
}
.order-form-container .chip-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: all .2s var(--ease);
  text-align: center;
  user-select: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .04);
}
.order-form-container .chip-label:hover {
  background: #F0F9FF;
  border-color: #0284C7;
  color: #0284C7;
  box-shadow: 0 3px 8px rgba(2, 132, 199, .18);
  transform: translateY(-1px);
}
.order-form-container .chip-item input:checked + .chip-label {
  background: linear-gradient(135deg, #FFB800 0%, #D97706 100%) !important;
  border: 1px solid #B45309 !important;
  color: #FFFFFF !important;
  font-weight: 850 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 14px rgba(217, 119, 6, .42);
  transform: translateY(-1px);
}
.order-form-container .btn-order-submit {
  width: 100%;
  height: 52px;
  font-size: 15.5px;
  font-weight: 900;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FFB800 0%, #D97706 100%) !important;
  border: 1px solid #B45309 !important;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(217, 119, 6, .45) !important;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all .22s var(--ease);
  text-decoration: none;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.order-form-container .btn-order-submit:hover {
  background: linear-gradient(135deg, #FFC425 0%, #E07B00 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 119, 6, .6) !important;
}
.order-form-container .order-sidebar {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--r-l);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.order-form-container .contact-person-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E2E8F0;
}
.order-form-container .contact-person-avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 2.5px solid #0284C7;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(2, 132, 199, .25);
}
.order-form-container .contact-person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-form-container .contact-person-info h4 {
  font-size: 16.5px;
  color: #0F172A;
  font-weight: 850;
  margin: 0 0 3px;
}
.order-form-container .contact-person-info p {
  font-size: 12.5px;
  color: #D97706;
  font-weight: 800;
  margin: 0;
}
.order-form-container .sidebar-subhead {
  font-size: 12px;
  font-weight: 850;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: block;
  margin-bottom: 10px;
}
.order-form-container .direct-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .02);
  transition: all .2s var(--ease);
  text-decoration: none;
}
.order-form-container .direct-contact-item:hover {
  background: #F0F9FF;
  border-color: #0284C7;
  color: #0284C7;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, .15);
}
.order-form-container .direct-contact-item svg {
  width: 18px;
  height: 18px;
  color: #0284C7;
  flex-shrink: 0;
}
.order-form-container .direct-contact-item b {
  color: #D97706;
  font-weight: 850;
}
.order-form-container .order-promo-box {
  background: #F0F9FF;
  border: 1.5px solid #BAE6FD;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: #1E293B;
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(2, 132, 199, .08);
}
.order-form-container .order-promo-box b {
  color: #0284C7;
  font-weight: 850;
}
.order-form-container .sidebar-badge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.order-form-container .sidebar-badge-item {
  font-size: 13.5px;
  color: #0F172A;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 9px;
}
.order-form-container .sidebar-badge-item svg {
  color: #16A34A;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
