/* VEX Filter — Landing & Shop (static) */
:root {
  --blue-50: #eef6ff;
  --blue-100: #d9ebff;
  --blue-200: #b8d9ff;
  --blue-400: #3b9bff;
  --blue-500: #0b7dff;
  --blue-600: #0066cc;
  --blue-700: #0a4d8c;
  --blue-800: #083a6b;
  --blue-900: #062a4f;
  --navy: #0b1f3a;
  --ink: #1a2332;
  --muted: #5a6a7e;
  --line: #e6eef7;
  --bg: #f7faff;
  --white: #ffffff;
  --success: #0d9f6e;
  --warn: #e6a700;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 77, 140, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 77, 140, 0.14);
  --font: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
ul { padding-left: 1.2rem; }
button, .btn { font-family: inherit; cursor: pointer; border: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: #cfe3ff;
  font-size: 0.9rem;
  padding: 0.55rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.topbar strong { color: #fff; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo-img {
  height: 48px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  display: block;
}
.logo-img--light {
  /* logo đen trên nền footer tối — nền sáng nhỏ cho dễ đọc */
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 0.25rem 0.5rem;
  height: 44px;
}
.logo-img--on-dark {
  /* admin sidebar tối: đảo nhẹ + nền trắng */
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 0.3rem 0.55rem;
  height: 42px;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-800));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(11, 125, 255, 0.35);
}
.logo span { color: var(--blue-600); font-weight: 600; font-size: 0.78rem; display: block; line-height: 1.1; }

.nav {
  display: flex;
  gap: 0.35rem 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}
.nav a:hover { color: var(--blue-600); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-600);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.28);
  transition: background .2s ease, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
}
.nav-cta:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 102, 204, 0.38);
}

.menu-btn {
  display: none;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, background .2s ease, border-color .2s ease, filter .2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 125, 255, 0.3);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 14px 32px rgba(11, 125, 255, 0.42);
  filter: brightness(1.05);
}
.btn-secondary {
  background: #fff;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-200);
}
.btn-secondary:hover { background: var(--blue-50); color: var(--blue-800); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 155, 255, 0.25), transparent),
    linear-gradient(160deg, #e8f3ff 0%, #f7faff 45%, #ffffff 100%);
  padding: 2.5rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(13, 159, 110, 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--navy);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.trust-pill {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-800);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.hero-visual {
  position: relative;
}
.hero-card {
  background: #fff;
  border-radius: 24px;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 125, 255, 0.1);
  overflow: hidden;
}
.hero-card img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 16/10;
  object-fit: cover;
}
/* Full banner — hiện hết chữ, không crop / không badge đè */
.hero-card--full {
  background: linear-gradient(180deg, #e8f3ff 0%, #fff 100%);
  padding: 0.5rem;
  overflow: visible;
}
.hero-card--full img {
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: transparent;
  display: block;
}
.hero-card--full:hover img {
  transform: none; /* không zoom crop chữ khi hover */
}
.video-card {
  width: 100%;
}
.video-placeholder {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(6, 58, 107, 0.88), rgba(11, 125, 255, 0.75)),
    url("../public/images/cau-tao.jpg") center/cover;
  min-height: 280px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 125, 255, 0.12);
}
.video-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 280px;
  padding: 2rem 1.25rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: transform .25s ease;
}
.video-link:hover { transform: scale(1.02); color: #fff; }
.video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-700, #0a4d8c);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  padding-left: 4px;
}
.video-caption {
  font-weight: 700;
  font-size: 1.15rem;
  max-width: 16rem;
}
.video-note {
  font-size: 0.88rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Performance test — HTML5 video */
.video-section {
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 55%, var(--bg) 100%);
}
.video-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #0b1f3a;
}
.video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 520px);
  object-fit: contain;
  background: #000;
  vertical-align: middle;
}
.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.25rem;
}
.video-frame--fb {
  background: #0b1f3a;
}
.fb-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.fb-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-fb-fallback {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #1877f2, #0a4d8c);
  color: #fff !important;
  text-decoration: none;
  transition: filter .15s ease;
}
.video-fb-fallback:hover {
  filter: brightness(1.06);
  color: #fff !important;
}
.video-fb-fallback .video-play {
  width: 48px;
  height: 48px;
  font-size: 1rem;
  flex-shrink: 0;
}
.video-fb-fallback strong {
  display: block;
  font-size: 1rem;
}
.video-fb-fallback small {
  display: block;
  opacity: 0.9;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

/* Partnership B2B */
.partner-section {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(11, 125, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
  padding: 4rem 0;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.15rem;
}
.partner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.partner-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: var(--navy);
}
.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.partner-cta-box {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue-800));
  color: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.partner-cta-text h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}
.partner-cta-text p {
  margin: 0 0 0.85rem;
  color: #c5daf5;
  line-height: 1.55;
}
.partner-bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: #e8f2ff;
  font-size: 0.95rem;
  line-height: 1.65;
}
.partner-cta-actions {
  display: grid;
  gap: 0.65rem;
}
.partner-cta-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.partner-cta-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.partner-note {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: #a8c4e8;
  text-align: center;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-cta-box {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}
.float-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -0.5rem;
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 210px;
  font-size: 0.88rem;
  animation: float-y 3.6s ease-in-out infinite;
}
.float-badge strong { display: block; font-size: 1.05rem; margin-bottom: 0.15rem; }

/* Sections */
section { padding: 4rem 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.section-label {
  display: inline-block;
  color: var(--blue-600);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Pain / benefits */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.pain-card, .feature-card, .product-card, .faq-item, .step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pain-card {
  padding: 1.4rem;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .25s ease;
}
.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.pain-card .pain-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.9rem;
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .25s ease, border-color .25s ease;
}
.pain-card:hover .pain-num {
  transform: translateY(-2px);
  background: var(--blue-100);
  border-color: var(--blue-200);
}
.pain-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--navy);
}
.pain-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Vehicle picker */
.vehicles {
  background: linear-gradient(180deg, #fff, var(--blue-50));
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.9rem;
}
.vehicle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0.75rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--ink);
  transition: border-color .25s ease, transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, color .2s ease;
  font-weight: 700;
}
.vehicle-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: var(--blue-700);
}
.vehicle-card img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.vehicle-card:hover img { transform: scale(1.08) translateY(-2px); }
.vehicle-card small {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Features / structure */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.feature-split img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li {
  display: flex;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  font-weight: 500;
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-50);
}

/* Compare */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
}
.compare-table th:nth-child(2) { background: var(--blue-600); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:nth-child(2) {
  background: var(--blue-50);
  font-weight: 600;
  color: var(--blue-800);
}
.compare-table td:nth-child(3) { color: var(--muted); }

/* Product catalog */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.filter-btn:hover { transform: translateY(-1px); }
.filter-btn.active { box-shadow: 0 6px 16px rgba(0, 102, 204, 0.28); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card .thumb {
  position: relative;
  background: linear-gradient(180deg, var(--blue-50), #fff);
  padding: 1rem;
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-card .thumb img {
  max-height: 150px;
  object-fit: contain;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .thumb img { transform: scale(1.07); }
.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.badge.warn { background: var(--warn); color: #1a1a1a; }
.product-body {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.product-body .vehicle-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--navy);
}
.product-body h3 a { color: inherit; }
.product-body .summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-700);
}
.price-old {
  font-size: 0.92rem;
  color: #99a6b8;
  text-decoration: line-through;
}
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.product-actions .btn { padding: 0.7rem 0.6rem; font-size: 0.9rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step-card {
  padding: 1.25rem;
  text-align: center;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  width: 40px; height: 40px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.step-card:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(0, 102, 204, 0.35);
}
.step-card h3 { margin: 0 0 0.4rem; font-size: 1.02rem; color: var(--navy); }
.step-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .25s ease;
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.stars,
.rating {
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.quote-card p { margin: 0 0 1rem; color: var(--ink); }
.quote-meta { font-size: 0.9rem; color: var(--muted); }
.quote-meta strong { color: var(--navy); display: block; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item { overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  transition: background .2s ease, color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--blue-50); }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.faq-item[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}
.faq-item .answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  margin: 0 1.25rem 0;
  animation: faq-open .35s cubic-bezier(.22,1,.36,1);
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(circle at 20% 50%, rgba(59,155,255,0.25), transparent 45%),
    linear-gradient(135deg, var(--navy), var(--blue-800));
  color: #fff;
  padding: 3.5rem 0;
}
.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { margin: 0 0 0.5rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band p { margin: 0; color: #c5daf5; max-width: 36rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Footer */
.footer {
  background: #071525;
  color: #a8bdd6;
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 {
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 1rem;
}
.footer a { color: #a8bdd6; display: block; padding: 0.25rem 0; }
.footer a:hover { color: #fff; }
.footer p { margin: 0.4rem 0; line-height: 1.55; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.88rem;
}

/* Product detail */
.breadcrumb {
  padding: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--blue-600); font-weight: 600; }
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.5rem 0 3rem;
  align-items: start;
}
.pd-gallery {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.pd-gallery .main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--blue-50);
  border-radius: 14px;
}
.thumbs {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.85rem;
}
.thumbs button {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  width: 72px; height: 72px;
}
.thumbs button.active { border-color: var(--blue-500); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--navy);
  line-height: 1.25;
}
.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.chip {
  background: var(--blue-50);
  color: var(--blue-800);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.pd-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1rem 0;
}
.pd-price .price { font-size: 1.8rem; }
.pd-desc { color: var(--muted); margin: 0 0 1.25rem; }
.pd-buy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.65rem;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.specs-table th, .specs-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.specs-table th {
  width: 40%;
  background: var(--blue-50);
  color: var(--navy);
  font-weight: 700;
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: 0; }

/* Page hero small */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue-700));
  color: #fff;
  padding: 2.5rem 0;
}
.page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.page-hero p { margin: 0; color: #c5daf5; max-width: 36rem; }

/* Empty / loading */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* Mobile */
@media (max-width: 900px) {
  .hero-grid,
  .feature-split,
  .pd-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .pain-grid,
  .product-grid,
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .float-badge { left: 0.5rem; bottom: 0.75rem; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    box-shadow: var(--shadow);
    animation: nav-drop .28s cubic-bezier(.22,1,.36,1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0.4rem; }
  .header { position: sticky; }
  .header-inner { position: relative; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pain-grid,
  .product-grid,
  .quote-grid,
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 1.5rem; }
  .product-actions { grid-template-columns: 1fr; }
  .topbar { display: none; }
}

/* ========== Animations ========== */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fade-left {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(13, 159, 110, 0.18);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(13, 159, 110, 0.08);
    transform: scale(1.15);
  }
}
@keyframes soft-glow {
  0%, 100% { box-shadow: var(--shadow-lg); }
  50% { box-shadow: 0 24px 56px rgba(11, 125, 255, 0.22); }
}
@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes nav-drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Hero entrance (on load) */
.hero-grid > div:first-child > .eyebrow,
.hero-grid > div:first-child > h1,
.hero-grid > div:first-child > .hero-lead,
.hero-grid > div:first-child > .hero-actions,
.hero-grid > div:first-child > .trust-row {
  opacity: 0;
  animation: fade-up 0.75s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-grid > div:first-child > .eyebrow { animation-delay: 0.05s; }
.hero-grid > div:first-child > h1 { animation-delay: 0.14s; }
.hero-grid > div:first-child > .hero-lead { animation-delay: 0.24s; }
.hero-grid > div:first-child > .hero-actions { animation-delay: 0.34s; }
.hero-grid > div:first-child > .trust-row { animation-delay: 0.44s; }

.hero-visual {
  opacity: 0;
  animation: fade-left 0.9s cubic-bezier(.22,1,.36,1) 0.2s forwards;
}
.hero-card {
  animation: soft-glow 4.5s ease-in-out infinite;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.hero-card:hover { transform: scale(1.015); }
.hero-card img {
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.hero-card:hover img { transform: scale(1.03); }

.trust-pill {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.trust-pill:hover {
  transform: translateY(-2px);
  border-color: var(--blue-200);
  box-shadow: 0 6px 14px rgba(10, 77, 140, 0.08);
}

/* Page hero (catalog) */
.page-hero h1,
.page-hero p {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(.22,1,.36,1) forwards;
}
.page-hero h1 { animation-delay: 0.05s; }
.page-hero p { animation-delay: 0.16s; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(.22,1,.36,1),
    transform 0.7s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
[data-reveal="left"] {
  transform: translateX(-28px);
}
[data-reveal="right"] {
  transform: translateX(28px);
}
[data-reveal="zoom"] {
  transform: scale(0.96);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children after parent is visible */
[data-stagger] > * {
  opacity: 0;
}
[data-stagger].is-visible > * {
  animation: fade-up 0.65s cubic-bezier(.22,1,.36,1) forwards;
}
[data-stagger].is-visible > *:nth-child(1) { animation-delay: 0.04s; }
[data-stagger].is-visible > *:nth-child(2) { animation-delay: 0.1s; }
[data-stagger].is-visible > *:nth-child(3) { animation-delay: 0.16s; }
[data-stagger].is-visible > *:nth-child(4) { animation-delay: 0.22s; }
[data-stagger].is-visible > *:nth-child(5) { animation-delay: 0.28s; }
[data-stagger].is-visible > *:nth-child(6) { animation-delay: 0.34s; }
[data-stagger].is-visible > *:nth-child(7) { animation-delay: 0.4s; }
[data-stagger].is-visible > *:nth-child(8) { animation-delay: 0.46s; }

/* Product cards re-rendered: animate in */
.product-grid .product-card {
  animation: fade-up 0.55s cubic-bezier(.22,1,.36,1) both;
}
.product-grid .product-card:nth-child(1) { animation-delay: 0.02s; }
.product-grid .product-card:nth-child(2) { animation-delay: 0.08s; }
.product-grid .product-card:nth-child(3) { animation-delay: 0.14s; }
.product-grid .product-card:nth-child(4) { animation-delay: 0.2s; }
.product-grid .product-card:nth-child(5) { animation-delay: 0.26s; }
.product-grid .product-card:nth-child(6) { animation-delay: 0.32s; }

/* Product detail entrance */
#productDetail .pd-gallery {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(.22,1,.36,1) 0.05s forwards;
}
#productDetail .pd-info {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(.22,1,.36,1) 0.16s forwards;
}
#productDetail .breadcrumb {
  opacity: 0;
  animation: fade-in 0.5s ease 0.02s forwards;
}
.pd-gallery .main-img {
  transition: opacity .3s ease, transform .4s ease;
}
.thumbs button {
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.thumbs button:hover {
  transform: translateY(-2px);
  border-color: var(--blue-300);
}
.thumbs button.active {
  box-shadow: 0 4px 12px rgba(11, 125, 255, 0.2);
}

/* Feature images */
.feature-split img {
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.feature-split img:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 48px rgba(10, 77, 140, 0.16);
}

/* CTA band subtle motion */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(59,155,255,0.18), transparent 50%);
  animation: float-y 8s ease-in-out infinite;
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }

/* Logo mark subtle pulse on hover */
.logo-mark {
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.logo:hover .logo-mark {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(11, 125, 255, 0.45);
}

/* Header shadow on scroll */
.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(10, 77, 140, 0.08);
  transition: box-shadow .3s ease;
}

/* Loading text soft pulse */
.product-grid > .muted {
  animation: fade-in 1.2s ease-in-out infinite alternate;
}

/* ── Floating contact (góc phải) ── */
.float-contact {
  position: fixed !important;
  right: 1rem !important;
  bottom: 1.15rem !important;
  left: auto !important;
  top: auto !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
  visibility: visible !important;
  opacity: 1 !important;
}
.float-contact > * {
  pointer-events: auto;
}
.float-contact__list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}
.float-contact__list[hidden] {
  display: none !important;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 168px;
  min-height: 52px;
  text-decoration: none !important;
  color: #1a2332 !important;
  background: #fff;
  border: 1px solid #e6eef7;
  border-radius: 999px;
  padding: 0.3rem 1rem 0.3rem 0.3rem;
  box-shadow: 0 8px 24px rgba(7, 21, 37, 0.16);
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  opacity: 1;
  transform: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.float-contact--always-open .float-contact__list {
  display: flex !important;
  gap: 0.6rem;
}
.float-btn:hover {
  transform: translateX(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(7, 21, 37, 0.22);
  color: #1a2332 !important;
}
.float-btn__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
  padding: 0;
}
.float-btn__img {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.float-btn__label {
  flex: 1;
  padding-right: 0.45rem;
  white-space: nowrap;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: #1a2332;
}
/* Cùng kiểu pill trắng — brand nằm trong icon tròn */
.float-btn--zalo,
.float-btn--msg,
.float-btn--phone {
  background: #fff;
  border-color: #e6eef7;
}
.float-btn--zalo .float-btn__label { color: #0068ff; }
.float-btn--msg .float-btn__label { color: #0084ff; }
.float-btn--phone .float-btn__label { color: #16a34a; }
.float-btn--shopee { display: none !important; }

/* Mobile: chỉ icon tròn, cùng size */
@media (max-width: 560px) {
  .float-contact--always-open .float-btn {
    min-width: 0;
    min-height: 0;
    width: 52px;
    height: 52px;
    padding: 2px;
    justify-content: center;
    border-radius: 50%;
  }
  .float-contact--always-open .float-btn__label {
    display: none;
  }
  .float-contact--always-open .float-btn__icon,
  .float-contact--always-open .float-btn__img {
    width: 48px;
    height: 48px;
  }
}

.float-contact__toggle {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(145deg, #0b7dff, #0a4d8c);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 10px 28px rgba(11, 125, 255, 0.45);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-contact__toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(11, 125, 255, 0.55);
}
.float-contact__toggle-close {
  display: none;
  font-size: 1.25rem;
  font-weight: 700;
}
.float-contact.is-open .float-contact__toggle-open {
  display: none;
}
.float-contact.is-open .float-contact__toggle-close {
  display: block;
}
.float-contact.is-open .float-contact__toggle {
  background: #0b1f3a;
}
.float-contact__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(11, 125, 255, 0.55);
  animation: float-pulse 2s ease-out infinite;
  pointer-events: none;
}
.float-contact.is-open .float-contact__pulse {
  display: none;
}
@keyframes float-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

@media (max-width: 560px) {
  .float-contact {
    right: 0.75rem;
    bottom: 0.85rem;
  }
  .float-btn__label {
    /* icon-only on very small if needed — keep label for clarity on VN market */
    font-size: 0.82rem;
  }
  .float-contact__toggle {
    width: 54px;
    height: 54px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  [data-stagger] > *,
  .hero-grid > div:first-child > *,
  .hero-visual,
  .page-hero h1,
  .page-hero p,
  .product-grid .product-card,
  #productDetail .pd-gallery,
  #productDetail .pd-info,
  #productDetail .breadcrumb {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .float-badge,
  .eyebrow::before,
  .hero-card,
  .cta-band::before,
  .float-contact__pulse,
  .float-btn {
    animation: none !important;
  }
  .float-btn {
    opacity: 1 !important;
    transform: none !important;
  }
}
