* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #5B54D6;
  --primary-dark: #4842B8;
  --primary-light: #EEEDFE;
  --primary-lighter: #F5F4FE;
  --text: #1A1A2E;
  --text-secondary: #5F5E7A;
  --text-tertiary: #9B9AAB;
  --bg: #FFFFFF;
  --bg-secondary: #FAFAFC;
  --bg-tertiary: #F5F5F8;
  --border: #E8E8EE;
  --border-strong: #D5D5DE;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --android: #4ADE80;
  --shadow-sm: 0 1px 2px rgba(91, 84, 214, 0.05);
  --shadow-md: 0 4px 12px rgba(91, 84, 214, 0.08);
  --shadow-lg: 0 12px 32px rgba(91, 84, 214, 0.12);
}
html { scroll-behavior: smooth; }
/* Lưới an toàn chống cuộn ngang — không thay cho việc sửa từng khối tràn */
html, body { overflow-x: clip; }
body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* display: block — login.css (≤764px) biến .container thành flex-column + align-items: flex-start,
   làm mọi khối con co theo nội dung, dồn trái và không chịu co lại (bảng so sánh đẩy tràn trang). */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ======= NAV ======= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; flex-direction: row; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--primary);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.logo-icon svg { width: 22px; height: 22px; }
.nav-logo .b-max { color: var(--text); }
.nav-logo .b-sub { color: var(--primary); margin-left: 2px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 600; font-size: 14px;
  padding: 11px 20px; border: none;
  transition: all 0.18s ease;
  cursor: pointer; white-space: nowrap;
  /* angular-material.css ép <button> dùng Roboto (trang không nạp) ⇒ nút <button> và nút <a> lệch font */
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-lighter); }
/* font-family: login.css ép .btn-login dùng Roboto (trang không nạp) ⇒ rơi về serif trên điện thoại */
.btn-login {
  background: var(--primary-lighter); color: var(--primary-dark);
  border: 1.5px solid var(--primary-light); font-weight: 600;
  font-family: inherit;
}
.btn-login:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); }
.btn-login svg { stroke: var(--primary-dark); }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 11px; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle svg { width: 24px; height: 24px; }

/* ======= HERO ======= */
.hero { padding: 48px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary-dark);
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 500;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: 48px; font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--primary); position: relative; display: inline-block; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: var(--primary-light); z-index: -1; border-radius: 4px;
}
.hero-sub { font-size: 17px; color: var(--text-secondary); line-height: 1.65; max-width: 520px; margin-bottom: 32px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-helper {
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 28px;
}
.hero-helper a {
  color: var(--primary); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--primary-light);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.hero-helper a:hover { text-decoration-color: var(--primary); }
.hero-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 480px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-secondary); }
.trust-check {
  width: 18px; height: 18px; border-radius: 50%; background: var(--primary-light);
  display: grid; place-items: center; flex-shrink: 0;
}
.trust-check svg { width: 10px; height: 10px; stroke: var(--primary); }

/* Hero mockup */
.hero-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
}
.mockup-bar {
  background: var(--bg-tertiary);
  padding: 9px 12px;
  display: flex; gap: 6px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-url { margin-left: 12px; font-size: 11px; color: var(--text-tertiary); padding: 2px 10px; background: #fff; border-radius: 4px; flex: 1; max-width: 180px; }
.mockup-app-header {
  background: #fff; padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mockup-app-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.05em; }
.mockup-filter-bar {
  background: linear-gradient(135deg, #9B7BE0 0%, #7A5FCC 100%);
  padding: 16px 20px; color: #fff;
}
.mfb-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.mfb-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mfb-input {
  background: #fff; color: var(--text);
  padding: 6px 10px; border-radius: 4px; font-size: 11px;
  border: 1px solid rgba(255,255,255,0.3);
}
.mfb-btn {
  background: #4F8FE8; color: #fff; border: 0;
  padding: 6px 18px; border-radius: 4px; font-size: 11px;
  font-weight: 600; letter-spacing: 0.05em; cursor: pointer;
  font-family: inherit;
}
.mfb-summary {
  margin-left: auto; font-size: 11px; line-height: 1.5;
}
.mfb-summary strong { font-size: 13px; }
.mockup-table-real {
  background: #fff; padding: 14px 16px;
}
.mtr-head {
  display: grid; grid-template-columns: 30px 70px 70px 60px 1fr;
  gap: 8px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 10px; font-weight: 600; color: #9B7BE0;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.mtr-row {
  display: grid; grid-template-columns: 30px 70px 70px 60px 1fr;
  gap: 8px; padding: 9px 0;
  font-size: 11px; color: var(--text);
  border-bottom: 1px solid var(--bg-tertiary);
}
.mtr-row:last-child { border-bottom: 0; }
.mtr-blue { color: #4F8FE8; font-weight: 500; }

/* ======= SECTIONS COMMON ======= */
section { padding: 80px 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  color: var(--primary); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.section-sub { font-size: 16.5px; color: var(--text-secondary); line-height: 1.65; }

/* ======= PROOF (khách hàng thực tế) ======= */
.proof { background: var(--bg-secondary); padding: 72px 0; }
.proof-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.proof figure { position: relative; margin: 0; overflow: hidden; background: var(--bg-tertiary); }
.proof figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proof figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.45;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
}
.proof-main { border-radius: 18px; box-shadow: var(--shadow-lg); }
.proof-main figcaption { font-size: 14px; padding: 40px 18px 14px; }
.proof-main figcaption b { font-size: 16px; font-weight: 700; }
.proof-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.proof-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proof-gal figure { aspect-ratio: 1 / 1; border-radius: 14px; }
/* Dải nền đặc: ảnh bill có chữ đen trên giấy trắng, nền chuyển sắc không đủ tách chữ chú thích */
.proof-gal figcaption { padding: 8px 12px; background: rgba(20,20,43,0.86); }
.proof-video {
  display: flex; align-items: center; gap: 16px; flex: 1;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px;
  transition: all 0.2s;
}
.proof-video:hover, .proof-video:focus { border-color: var(--primary); box-shadow: var(--shadow-md); color: inherit; text-decoration: none; }
.proof-video-thumb {
  position: relative; flex: none; width: 96px; aspect-ratio: 9 / 16;
  border-radius: 10px; overflow: hidden; background: #000;
}
.proof-video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proof-video-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.proof-video-text strong { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--text); }
.proof-video-text > span { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.proof-video-dur {
  font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--primary);
  background: var(--primary-lighter); border: 1px solid var(--primary-light);
  border-radius: 100px; padding: 3px 10px; margin-top: 2px;
}
.proof-cta { text-align: center; margin-top: 28px; }
.btn-zalo { background: #0068FF; color: #fff; }
.btn-zalo:hover, .btn-zalo:focus { background: #0052CC; color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,104,255,0.3); }
.btn-zalo svg { width: 18px; height: 18px; }

/* ======= HOW IT WORKS ======= */
.how-it-works { background: #fff; padding: 80px 0; }
.how-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}
.how-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 26px;
  transition: all 0.25s; position: relative;
  display: flex; flex-direction: column;
}
.how-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.how-card.how-offline { border: 2px solid var(--primary); background: linear-gradient(135deg, #fff 0%, var(--primary-lighter) 100%); }
.how-card.how-online { border: 2px solid #4ADE80; background: linear-gradient(135deg, #fff 0%, #F0FDF4 100%); }
.how-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.how-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary); display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.how-icon-wrap svg { width: 26px; height: 26px; stroke: #fff; }
.how-icon-online { background: #16A34A; }
.how-tag {
  font-size: 10px; font-weight: 700; padding: 5px 11px;
  border-radius: 100px; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.how-tag-offline { background: var(--primary-light); color: var(--primary-dark); }
.how-tag-online { background: #DCFCE7; color: #15803D; }
.how-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.how-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 18px; }
.how-features { list-style: none; margin-bottom: 18px; flex-grow: 1; }
.how-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 14px; color: var(--text);
  font-weight: 500;
}
.how-check {
  flex-shrink: 0; width: 18px; height: 18px;
  background: var(--primary); color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; margin-top: 1px;
}
.how-online .how-check { background: #16A34A; }
.how-platform {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: rgba(255,255,255,0.6);
  border-radius: 10px; font-size: 12.5px;
  color: var(--text-secondary); font-weight: 500;
  border: 1px solid var(--border);
}
.how-sync {
  display: flex; align-items: center; justify-content: center;
  min-width: 100px;
}
.sync-arrow-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.sync-cloud {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-lighter);
  display: grid; place-items: center;
  border: 2px solid var(--primary);
  animation: floatCloud 3s ease-in-out infinite;
}
.sync-cloud svg { width: 32px; height: 32px; stroke: var(--primary); }
@keyframes floatCloud {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.sync-arrow {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-tertiary); font-size: 11px; font-weight: 600;
}
.sync-arrow svg { width: 18px; height: 18px; }
.sync-arrow.sync-up svg { transform: rotate(-90deg); color: var(--primary); }
.sync-arrow.sync-down svg { transform: rotate(90deg); color: #16A34A; }
.how-note {
  background: var(--primary-lighter); border-radius: 14px;
  padding: 18px 22px; display: flex; gap: 14px; align-items: center;
  max-width: 800px; margin: 0 auto;
  color: var(--text); font-size: 14px; line-height: 1.6;
}
.how-note strong { color: var(--primary-dark); }
.how-note-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--primary); border-radius: 10px;
  display: grid; place-items: center; color: #fff;
}
.how-note-icon svg { width: 18px; height: 18px; }

/* ======= INDUSTRIES ======= */
.industries { background: var(--bg-secondary); padding: 64px 0; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; overflow: visible; }
.industry-card {
  background: #fff; padding: 24px 20px; border-radius: 14px;
  border: 1px solid var(--border); text-align: left;
  transition: all 0.2s; position: relative;
  display: flex; flex-direction: column;
}
.industry-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry-card.industry-featured { border: 2px solid var(--primary); background: linear-gradient(135deg, #fff 0%, var(--primary-lighter) 100%); margin-top: 12px; }
.industry-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 10px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px; letter-spacing: 0.05em;
  text-transform: uppercase; white-space: nowrap;
}
.industry-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); display: grid; place-items: center;
  margin-bottom: 14px;
}
.industry-icon svg { width: 24px; height: 24px; stroke: var(--primary); }
.industry-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.industry-card > p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; flex-grow: 1; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.industry-tags span {
  font-size: 11px; padding: 3px 9px; border-radius: 100px;
  background: var(--primary-light); color: var(--primary-dark);
  font-weight: 500;
}

/* ======= RETAIL SPOTLIGHT ======= */
.retail-spotlight { padding: 80px 0; background: #fff; }
.retail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.retail-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.retail-feat { display: flex; gap: 12px; align-items: flex-start; }
.retail-feat-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--primary-light); display: grid; place-items: center;
  flex-shrink: 0;
}
.retail-feat-icon svg { width: 18px; height: 18px; stroke: var(--primary); }
.retail-feat h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.retail-feat p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.retail-visual { position: relative; }
.retail-card-stack { position: relative; min-height: 380px; }
.retail-receipt {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 24px; box-shadow: var(--shadow-md);
  transform: rotate(-2deg); position: relative; z-index: 2;
  max-width: 360px; margin: 0 auto;
}
.receipt-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed var(--border-strong); margin-bottom: 14px; }
.receipt-header strong { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; }
.receipt-header span { font-size: 11px; color: var(--text-tertiary); }
.receipt-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.r-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; font-size: 13px; }
.r-row span:nth-child(2) { color: var(--text-tertiary); }
.r-row span:nth-child(3) { font-weight: 600; color: var(--text); text-align: right; min-width: 70px; }
.receipt-total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px dashed var(--border-strong);
  font-size: 15px; margin-bottom: 8px;
}
.receipt-total strong { color: var(--primary); font-size: 18px; font-weight: 700; }
.receipt-pay { font-size: 11px; color: var(--success); text-align: center; padding-top: 8px; border-top: 1px solid var(--border); }
.retail-stat-card {
  background: var(--primary); color: #fff;
  border-radius: 14px; padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  position: absolute; bottom: 0; right: 10%; z-index: 3;
  transform: rotate(3deg);
  min-width: 220px;
}
.rsc-label { font-size: 12px; opacity: 0.85; margin-bottom: 4px; }
.rsc-value { font-size: 22px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.02em; }
.rsc-trend { font-size: 11px; opacity: 0.9; }

/* ======= PAIN POINTS ======= */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  background: var(--bg-secondary);
  border-left: 3px solid var(--danger);
  padding: 22px 24px; border-radius: 0 12px 12px 0;
}
.pain-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.pain-card h3::before { content: '✕'; color: var(--danger); font-weight: 700; }
.pain-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ======= FEATURES ======= */
.features { background: var(--bg-secondary); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  background: #fff; padding: 28px 24px; border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat-card:hover::before { transform: scaleX(1); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-light); display: grid; place-items: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 26px; height: 26px; stroke: var(--primary); }
.feat-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.feat-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ======= COMPARE ======= */
.compare-hint { display: none; font-size: 12.5px; color: var(--text-secondary); text-align: right; margin-bottom: 8px; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; font-size: 14px; }
/* Cột "Tiêu chí" đứng yên khi vuốt ngang bảng */
.compare-table th:first-child, .compare-table td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; }
.compare-table thead th { background: var(--bg-tertiary); font-weight: 600; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.compare-table thead th:first-child { background: var(--bg-tertiary); z-index: 3; }
.compare-table thead th.us {
  background: var(--primary); color: #fff; text-align: center;
  font-weight: 700; position: relative; z-index: 1; padding-top: 34px;
}
.compare-table thead th.us::before {
  content: '★ Khuyên dùng'; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  background: #FFD93D; color: #1A1A2E; font-size: 10px; padding: 3px 10px; border-radius: 100px;
  font-weight: 700; letter-spacing: 0.05em; white-space: nowrap;
}
.compare-table tbody tr { border-bottom: 1px solid var(--border); }
.compare-table tbody tr:last-child { border-bottom: 0; }
.compare-table td:first-child { font-weight: 500; color: var(--text); }
.compare-table td.us-col { background: var(--primary-lighter); text-align: center; font-weight: 600; color: var(--primary-dark); }
.compare-table td.center { text-align: center; }
.compare-note { font-size: 12.5px; color: var(--text-secondary); text-align: center; margin-top: 12px; }
.check-icon { color: var(--success); font-weight: 700; }
.x-icon { color: var(--danger); }
.partial { color: var(--warning); }

/* ======= ONBOARDING ======= */
.onboarding { background: #fff; padding: 80px 0; }
.onboard-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 48px;
  position: relative;
}
.onboard-step {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 22px;
  position: relative; transition: all 0.25s;
}
.onboard-step:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.onboard-num {
  position: absolute; top: -10px; right: 18px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 4px 11px; border-radius: 100px;
}
.onboard-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-light); display: grid; place-items: center;
  margin-bottom: 14px;
}
.onboard-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.onboard-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.onboard-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.support-promise {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; border-radius: 20px;
  padding: 32px 36px; display: flex; gap: 28px; align-items: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.support-promise::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.06); pointer-events: none;
}
.sp-icon {
  flex-shrink: 0; width: 64px; height: 64px;
  background: rgba(255,255,255,0.18); border-radius: 16px;
  display: grid; place-items: center;
  backdrop-filter: blur(8px);
}
.sp-icon svg { width: 30px; height: 30px; stroke: #fff; }
.sp-content { flex: 1; position: relative; }
.sp-content h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.sp-content > p { font-size: 14px; opacity: 0.92; line-height: 1.6; margin-bottom: 16px; max-width: 600px; }
.sp-channels { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-channel {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.15); padding: 9px 14px;
  border-radius: 10px; transition: all 0.18s;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; text-decoration: none;
}
.sp-channel:hover { background: rgba(255,255,255,0.25); transform: translateY(-1px); }
.sp-channel svg { width: 18px; height: 18px; }
.sp-channel div { display: flex; flex-direction: column; line-height: 1.2; }
.sp-channel span { font-size: 10px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.05em; }
.sp-channel strong { font-size: 13px; font-weight: 600; }

/* ======= VIDEOS ======= */
.videos { background: var(--bg-secondary); padding: 80px 0; }
.videos-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.video-featured {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.video-embed {
  position: relative; width: 100%; padding-top: 56.25%;
  background: #000;
}
.video-embed iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 0;
}
/* Ảnh bìa + nút phát: iframe YouTube chỉ được chèn khi khách bấm */
.video-embed-short { padding-top: 177.78%; }
.video-play {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: block; padding: 0; border: 0; background: #000; overflow: hidden;
}
.video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-featured .video-play img { transform: scale(1.04); }
.video-play::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(26,26,46,0.3); transition: background 0.2s; }
.video-play:hover::after { background: rgba(26,26,46,0.18); }
.video-play-icon {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E11D48'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/26px no-repeat;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.proof-video-thumb .video-play-icon, .video-short .video-play-icon { width: 40px; height: 40px; background-size: 18px; }
.video-short {
  display: flex; align-items: center; gap: 14px;
  padding: 10px; border-radius: 12px; background: var(--primary-lighter);
}
.video-short-player { flex: none; width: 108px; border-radius: 10px; overflow: hidden; }
.video-short.playing { flex-direction: column; align-items: stretch; }
.video-short.playing .video-short-player { width: 100%; max-width: 280px; margin: 0 auto; }
.video-short + .video-list-title { margin-top: 10px; }
.video-info { padding: 22px 24px; }
.video-tag {
  display: inline-block; background: var(--primary-light);
  color: var(--primary-dark); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 100px; margin-bottom: 10px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.video-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.video-info p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }
.video-list {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.video-list-title {
  font-size: 11px; font-weight: 600; color: var(--text-tertiary);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px;
}
.video-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 10px;
  transition: background 0.15s; cursor: pointer;
}
.video-item:hover { background: var(--bg-secondary); }
.video-thumb {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--primary-light);
  display: grid; place-items: center; flex-shrink: 0;
}
.video-thumb svg { width: 20px; height: 20px; stroke: var(--primary); }
.video-meta { flex: 1; min-width: 0; }
.video-meta h4 { font-size: 13px; font-weight: 600; margin-bottom: 2px; line-height: 1.35; }
.video-meta span { font-size: 11px; color: var(--text-tertiary); }
.video-coming { opacity: 0.7; }
.video-list-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: var(--primary-lighter);
  border-radius: 10px; font-size: 13px; font-weight: 600;
  color: var(--primary); margin-top: 6px;
  transition: all 0.15s;
}
.video-list-cta:hover { background: var(--primary-light); }
.video-list-cta svg { width: 14px; height: 14px; }

/* ======= PRICING ======= */
.pricing { background: var(--bg-secondary); }
.billing-toggle {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 600px; margin: 0 auto 36px;
  background: #fff; padding: 8px; border-radius: 14px;
  border: 1px solid var(--border);
}
.bill-opt {
  background: transparent; border: 0; cursor: pointer;
  padding: 12px 14px; border-radius: 10px; text-align: center;
  font-family: inherit; transition: all 0.2s;
  display: flex; flex-direction: column; gap: 2px;
  position: relative;
}
.bill-opt-label { font-size: 14px; font-weight: 600; color: var(--text); }
.bill-opt-sub { font-size: 11px; color: var(--text-tertiary); }
.bill-opt:hover { background: var(--bg-tertiary); }
.bill-opt.active { background: var(--primary); }
.bill-opt.active .bill-opt-label { color: #fff; }
.bill-opt.active .bill-opt-sub { color: rgba(255,255,255,0.85); }
.bill-badge {
  position: absolute; top: -8px; right: -6px;
  background: #FFD93D; color: #1A1A2E;
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 100px;
  text-transform: uppercase; white-space: nowrap;
}
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: #fff; padding: 32px 28px; border-radius: 18px;
  border: 1px solid var(--border); position: relative;
  transition: all 0.25s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 100px; letter-spacing: 0.05em;
}
.price-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.price-tagline { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; }
.price-amount { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.price-amount small { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.price-amount-sub { font-size: 13px; color: var(--text-tertiary); margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.price-features { list-style: none; margin-bottom: 26px; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 14px; color: var(--text-secondary);
}
.price-features li::before {
  content: ''; flex-shrink: 0; margin-top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%235B54D6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}
.price-card .btn { width: 100%; }
.pricing-note {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  margin-top: 32px; padding: 14px 22px;
  background: var(--primary-lighter); border-radius: 12px;
  color: var(--primary-dark); font-size: 13.5px; font-weight: 500;
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.pricing-note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary); }

/* ======= TRUST ======= */
.trust-band { background: var(--primary); color: #fff; padding: 56px 0; }
.trust-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.trust-stat-num { font-size: 36px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.trust-stat-label { font-size: 13.5px; opacity: 0.85; line-height: 1.5; }

/* ======= FAQ ======= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden; transition: all 0.2s;
}
.faq-item:hover { border-color: var(--primary); }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; background: none; border: 0; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--text); text-align: left;
  font-family: inherit; cursor: pointer;
}
.faq-icon {
  width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.25s;
  color: var(--primary);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 18px; }
.faq-a p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; }

/* ======= DOWNLOAD ======= */
.download { background: var(--bg-secondary); }
.dl-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 24px; transition: all 0.25s;
  display: flex; flex-direction: column;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.dl-card-platform {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  background: var(--bg-tertiary); padding: 5px 11px; border-radius: 100px;
  margin-bottom: 18px; align-self: flex-start;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.dl-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.dl-card-icon svg { width: 28px; height: 28px; }
.dl-card-icon-green { background: #DCFCE7; }
.dl-card-icon-green svg { stroke: #16A34A; }
.dl-card-icon-purple { background: var(--primary-light); }
.dl-card-icon-purple svg { stroke: var(--primary); }
.dl-card-icon-amber { background: #FEF3C7; }
.dl-card-icon-amber svg { stroke: #D97706; }
.dl-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.dl-card > p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.dl-card-features { list-style: none; margin-bottom: 22px; flex-grow: 1; }
.dl-card-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-secondary); padding: 4px 0;
}
.dl-card-features li::before {
  content: ''; flex-shrink: 0; margin-top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='%235B54D6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}
.dl-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  transition: all 0.18s; border: none; cursor: pointer;
  font-family: inherit;
}
.dl-android { background: var(--android); color: #1A1A2E; }
.dl-android:hover { background: #22C55E; color: #fff; transform: translateY(-1px); }
.dl-windows { background: #fff; color: var(--text); border: 1.5px solid var(--border-strong); }
.dl-windows:hover { border-color: var(--primary); color: var(--primary); }
.dl-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ======= CTA SECTION ======= */
.cta-final {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
}
.cta-final::before, .cta-final::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.cta-final::before {
  width: 400px; height: 400px; top: -150px; right: -150px;
  background: rgba(255,255,255,0.06);
}
.cta-final::after {
  width: 300px; height: 300px; bottom: -120px; left: -100px;
  background: rgba(255,255,255,0.04);
}
.cta-final-inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.cta-final h2 { font-size: 36px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-final p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; line-height: 1.6; }
.cta-form {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px;
  max-width: 720px; margin: 0 auto 24px;
}
.cta-form input, .cta-form select {
  padding: 13px 16px; border-radius: 10px; border: 0;
  background: rgba(255,255,255,0.15); color: #fff;
  font-size: 14px; font-family: inherit;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
}
.cta-form input::placeholder { color: rgba(255,255,255,0.65); }
.cta-form input:focus, .cta-form select:focus { outline: 2px solid #fff; background: rgba(255,255,255,0.22); }
.cta-form select { color: rgba(255,255,255,0.65); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.cta-form select option { color: var(--text); background: #fff; }
.cta-form select.has-value { color: #fff; }
.btn-white { background: #fff; color: var(--primary); font-family: inherit; font-weight: 700; padding: 13px 24px; border-radius: 10px; border: 0; font-size: 14px; cursor: pointer; transition: all 0.18s; white-space: nowrap; min-width: 130px; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* ======= TOAST ======= */
.app-toast {
  position: fixed; top: 24px; left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #10B981; color: #fff;
  padding: 14px 22px; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  max-width: 90%; z-index: 2000;
  opacity: 0; pointer-events: none;
  transition: all 0.35s ease;
}
.app-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.app-toast svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-form-note {
  display: flex; align-items: center; gap: 8px;
  justify-content: center; margin-top: 14px;
  font-size: 13px; color: rgba(255,255,255,0.85);
  line-height: 1.55; max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.cta-form-note svg { width: 16px; height: 16px; flex-shrink: 0; color: #4ADE80; }
.cta-hotline { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-zalo-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #0068FF;
  padding: 13px 26px; border-radius: 100px;
  font-size: 15px; font-weight: 700;
  transition: all 0.18s; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.cta-zalo-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.cta-zalo-primary svg { width: 22px; height: 22px; }
.cta-phones { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.cta-phones a { display: flex; align-items: center; gap: 8px; opacity: 0.95; transition: opacity 0.15s; color: #fff; text-decoration: none; font-size: 14px; }
.cta-phones a:hover { opacity: 1; text-decoration: underline; }
.cta-phones a svg { width: 16px; height: 16px; }
.cta-hotline-note { font-size: 13px; opacity: 0.8; }

/* ======= ZALO PRIMARY CHANNEL ======= */
.sp-channel-zalo {
  background: #fff !important; color: #0068FF !important;
  border: 0 !important; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
}
.sp-channel-zalo::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: 12px; padding: 2px;
  background: linear-gradient(135deg, #FFD93D, #FF6B6B);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  animation: zaloPulse 2s ease-in-out infinite;
}
@keyframes zaloPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.sp-channel-zalo svg { color: #0068FF; }
.sp-channel-zalo span { color: #FF6B6B !important; opacity: 1 !important; font-weight: 700 !important; }
.sp-channel-zalo strong { color: #0068FF !important; }

/* ======= FLOATING ZALO ======= */
.floating-zalo {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 999;
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #0068FF 0%, #0052CC 100%);
  color: #fff; padding: 12px 20px 12px 14px;
  border-radius: 100px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.4);
  transition: all 0.25s ease;
  animation: floatBounce 3s ease-in-out infinite;
}
.floating-zalo:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 32px rgba(0, 104, 255, 0.5); }
@keyframes floatBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.fz-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #0068FF;
  display: grid; place-items: center;
  flex-shrink: 0; position: relative;
}
.fz-icon svg { width: 24px; height: 24px; }
.fz-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
  animation: zaloPing 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes zaloPing { 0% { transform: scale(0.95); opacity: 0.7; } 100% { transform: scale(1.4); opacity: 0; } }
.fz-text { display: flex; flex-direction: column; line-height: 1.2; }
.fz-text strong { font-size: 14px; font-weight: 700; }
.fz-text span { font-size: 11px; opacity: 0.9; }

/* ======= FOOTER ======= */
footer { background: #14142B; color: rgba(255,255,255,0.7); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo-icon { width: 36px; height: 36px; }
.footer-brand-text { font-weight: 700; font-size: 17px; color: #fff; }
.footer-brand-text span { color: var(--primary); }
.footer-tagline { font-size: 14px; line-height: 1.65; max-width: 320px; margin-bottom: 18px; }
.footer-contact { font-size: 13px; line-height: 1.8; }
.footer-contact strong { color: #fff; }
.footer-contact a { color: #4ADE80; font-weight: 600; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
/* Dưới 1024px xếp dọc, canh trái: dòng phiên bản không bao giờ nằm dưới nút Zalo nổi (góc phải dưới) */
@media (max-width: 1023px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ======= AUTH MODAL ======= */
.auth-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20, 20, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.auth-modal.open { display: flex; }
/* Thông báo của login.js ("Tên đăng nhập bị trùng!", "Email bị trùng!"…) là md-toast, z-index 105 ⇒ nằm SAU nền mờ của
   hộp (1000) và khách không đọc được. "body" để thắng angular-material.css nạp sau file này. */
body md-toast { z-index: 1100; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
.auth-modal-content {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 460px;
  padding: 32px 32px 28px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  max-height: 92vh; overflow-y: auto;
  animation: modalSlideUp 0.25s ease;
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-tertiary); border: 0; cursor: pointer;
  display: grid; place-items: center; transition: all 0.15s;
}
.auth-close:hover { background: var(--border); }
.auth-close svg { width: 18px; height: 18px; color: var(--text-secondary); }
.auth-logo {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.auth-logo .logo-icon { width: 52px; height: 52px; border-radius: 12px; }
.auth-logo .logo-icon svg { width: 32px; height: 32px; }
.auth-brand { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }
.auth-brand span { color: var(--primary); }
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: var(--bg-tertiary); padding: 5px;
  border-radius: 12px; margin-bottom: 22px;
}
.auth-tab {
  background: transparent; border: 0;
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--text-secondary);
  font-family: inherit; cursor: pointer;
  transition: all 0.18s;
}
.auth-tab.active { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.auth-switch {
  text-align: center; font-size: 13px;
  color: var(--text-secondary); margin-top: 4px;
}
.auth-switch a {
  color: var(--primary); font-weight: 600;
  text-decoration: none; margin-left: 4px;
}
.auth-switch a:hover { text-decoration: underline; }
.auth-footer-note {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--text-secondary); line-height: 1.55;
}
.auth-footer-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--primary); margin-top: 1px; }

/* ======= DMAX CHẤM CÔNG (TASK-046) ======= */
/* Link neo: chừa chỗ cho thanh nav khi cuộn tới mục */
section[id] { scroll-margin-top: 72px; }
.chamcong { background: linear-gradient(180deg, var(--primary-lighter) 0%, #fff 100%); }
.cc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.cc-visual { position: relative; min-width: 0; }
.cc-photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #fff; }
.cc-photo img { display: block; width: 100%; height: auto; }
.cc-badge {
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12); font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35;
}
.cc-badge small { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-secondary); }
.cc-badge-1 { left: -16px; bottom: 28px; }
.cc-badge-2 { right: -12px; top: 22px; background: #FFD93D; }
.cc-badge-2 small { color: #6b5200; }
.cc-text { min-width: 0; }
.cc-new {
  display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 100px;
  background: #FFD93D; color: #5a4500; font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
}
.cc-modes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.cc-mode {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px;
  background: #fff; border: 1.5px solid var(--primary-light); font-size: 14px; font-weight: 600; color: var(--primary-dark);
}
.cc-mode svg { width: 18px; height: 18px; stroke: var(--primary); }
.cc-cta {
  margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1.5px dashed var(--primary);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cc-cta-text strong { display: block; font-size: 16px; color: var(--text); }
.cc-cta-text span { font-size: 13.5px; color: var(--text-secondary); }
.cc-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* Mockup màn hình báo cáo (vẽ lại từ phần mềm thật, tên nhân viên là tên mẫu) */
.cc-report { margin-top: 56px; }
.cc-report-head { text-align: center; margin-bottom: 20px; }
.cc-report-head h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.cc-report-head p { font-size: 15px; color: var(--text-secondary); }
/* Vẽ lại đúng bố cục phần mềm WinForms thật (ảnh user gửi 05/10/2026): tiêu đề chữ mảnh + "Đang kết nối",
   3 link menu, chọn ngày, 4 nút lớn, lưới DataGridView cột tiếng Anh, giờ hh:mm:ss, Total dạng giờ.phút */
.cc-win { font-family: "Segoe UI", Tahoma, Arial, sans-serif; background: #F0F0F0; border: 1px solid #8A8A8A; border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,0.18); overflow: hidden; color: #000; }
.cc-win-bar { display: flex; align-items: center; height: 32px; background: #fff; font-size: 12px; color: #1a1a1a; border-bottom: 1px solid #E5E5E5; }
.cc-win-ico { width: 16px; height: 16px; margin: 0 8px 0 10px; border-radius: 3px; background: #0067C0; color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cc-win-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-win-ctl { margin-left: auto; display: flex; height: 100%; flex: none; }
.cc-win-ctl span { width: 46px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #333; }
.cc-win-ctl span:last-child { font-size: 15px; }
.cc-win-body { padding: 12px 16px 16px; }
.cc-win-app { display: flex; align-items: baseline; gap: 40px; flex-wrap: wrap; }
.cc-win-app b { font-size: 24px; font-weight: 300; color: #444; white-space: nowrap; }
.cc-win-app span { font-size: 15px; color: #222; white-space: nowrap; }
.cc-win-tabs { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 12.5px; color: #222; }
.cc-win-tabs span { white-space: nowrap; }
.cc-win-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0 24px; font-size: 12.5px; }
.cc-date { background: #fff; border: 1px solid #7A7A7A; padding: 2px 6px; white-space: nowrap; min-width: 92px; }
.cc-date::after { content: " \25A6\25BE"; color: #666; font-size: 10px; float: right; margin-left: 6px; }
.cc-win-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 48px; margin: 18px 0 18px 80px; font-size: 12.5px; }
.cc-tbtn { background: #FBFBFB; border: 1px solid #CCCCCC; padding: 15px 34px; white-space: nowrap; color: #222; }
.cc-tbtn.xls { margin-left: auto; padding: 12px 16px; }
.cc-grid-box { background: #fff; border: 1px solid #828790; overflow: hidden; }
.cc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cc-table th { background: #fff; color: #000; font-weight: 400; text-align: left; padding: 5px 7px; border: 1px solid #E0E0E0; border-top: 0; white-space: nowrap; }
.cc-table td { padding: 3px 7px; border: 1px solid #E0E0E0; white-space: nowrap; }
.cc-table tr:last-child td { border-bottom: 0; }
.cc-table .rh { width: 18px; padding: 0 2px; text-align: center; font-size: 9px; color: #333; border-left: 0; }
.cc-table td.t, .cc-table th.t { text-align: left; }
.cc-table tr.sel td.c-stt { background: #0078D7; color: #fff; }
.cc-report-note { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13.5px; color: var(--text-secondary); }
.cc-report-note span::before { content: "✓ "; color: #16A34A; font-weight: 700; }
.pain-link { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--primary); }
.pain-link:hover { color: var(--primary-dark); }
/* Nav 7 link không vừa 1 hàng dưới 1200px (container Bootstrap 750 / 970px) ⇒ chữ xuống dòng, nút tràn mép.
   Lỗi có sẵn từ bản 6 link (901–1199px); từ 1199px trở xuống dùng menu ☰. JS: NAV_COLLAPSE. */
@media (max-width: 1199px) {
  .nav-links, .nav-cta .btn-login { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 900px) {
  .cc-grid { grid-template-columns: 1fr; gap: 32px; }
  .cc-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .cc-badge-1 { left: 10px; bottom: 12px; }
  .cc-badge-2 { right: 10px; top: 10px; }
  .cc-report { margin-top: 40px; }
  .cc-table .c-pos, .cc-table .c-day, .cc-table .c-dow, .cc-table .c-id { display: none; }
  .cc-win-tools { margin-left: 0; gap: 10px; }
  .cc-tbtn { padding: 10px 16px; }
  .cc-win-dates { margin-left: 0; }
}
@media (max-width: 540px) {
  .cc-badge { font-size: 13px; padding: 8px 11px; }
  .cc-badge small { font-size: 11.5px; }
  .cc-cta-btns, .cc-cta-btns .btn { width: 100%; }
  /* Màn hẹp: chỉ giữ Tên / Vào / Ra / Tổng — bảng không bao giờ rộng hơn khung */
  /* Giữ Vào 2 / Ra 2: ẩn đi thì dòng ca gãy (Tổng 9:18) nhìn như cộng sai */
  .cc-table .c-stt { display: none; }
  .cc-table .ss { display: none; }
  .cc-table th, .cc-table td { padding: 6px 4px; font-size: 12px; }
  .cc-win-body { padding: 10px; }
  .cc-win-app { gap: 12px; }
  .cc-win-app b { font-size: 19px; }
  .cc-tbtn { padding: 8px 10px; }
  .cc-tbtn.xls { padding: 8px 10px; }
  .cc-win-ctl span { width: 34px; }
  .cc-table .rh { display: none; }
  .cc-table td.n { white-space: normal; }
  .cc-tbtn.xls { margin-left: 0; }
  .cc-report-head h3 { font-size: 19px; }
}

@media (max-width: 360px) {
  .cc-table th, .cc-table td { padding: 7px 2px; font-size: 10.5px; }
}

/* ======= 3 SẢN PHẨM + BÁO CÁO TRÊN ĐIỆN THOẠI + THANH "XEM NHANH" (TASK-047) ======= */
.products-line { padding: 64px 0 72px; background: radial-gradient(circle at 15% 0%, #4338CA 0%, transparent 45%), radial-gradient(circle at 90% 100%, #7C3AED 0%, transparent 40%), #1E1B4B; color: #fff; }
.products-line .eyebrow { color: #FDE68A; }
.products-line .section-title { color: #fff; }
.products-line .section-sub { color: rgba(255,255,255,.78); }
.pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pl-card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; color: var(--text); text-decoration: none; box-shadow: 0 20px 50px rgba(0,0,0,.35); transition: transform .2s, box-shadow .2s; border-top: 5px solid var(--acc); }
.pl-card:hover, .pl-card:focus { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0,0,0,.45); color: var(--text); text-decoration: none; }
.pl-cafe { --acc: #F97316; --acc-dark: #C2410C; --acc-soft: #FFF1E6; }
.pl-shop { --acc: #16A34A; --acc-dark: #15803D; --acc-soft: #E8F5EC; }
.pl-time { --acc: #6366F1; --acc-dark: #4338CA; --acc-soft: #EEF2FF; }
.pl-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.pl-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pl-cafe .pl-img img { filter: brightness(1.25) saturate(1.1); }
.pl-card:hover .pl-img img { transform: scale(1.05); }
.pl-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); }
.pl-chip { position: absolute; left: 14px; bottom: 12px; z-index: 1; background: var(--acc); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px; }
.pl-badge { position: absolute; right: 12px; top: 12px; z-index: 1; font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 100px; background: #FFD93D; color: #5a4500; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.pl-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pl-card h3 { font-size: 23px; font-weight: 800; margin-bottom: 4px; color: var(--acc-dark); }
.pl-tag { font-size: 14.5px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.pl-card ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.pl-card li { font-size: 14px; padding: 5px 0 5px 26px; position: relative; }
.pl-card li::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--acc-soft); color: var(--acc-dark); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pl-btn { position: relative; display: block; text-align: center; padding: 12px; border-radius: 12px; background: var(--acc); color: #fff; font-weight: 700; font-size: 15px; }
.pl-card:hover .pl-btn { background: var(--acc-dark); }
.pl-btn .arr { display: inline-block; animation: arrNudge 1.6s ease-in-out infinite; }
@keyframes arrNudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.pl-fit { display: block; margin-top: 6px; font-size: 20px; letter-spacing: 6px; }
.pl-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; font-size: 14px; color: rgba(255,255,255,.85); }
.pl-trust span::before { content: "✓ "; color: #86EFAC; font-weight: 800; }
/* Gợi ý bấm/chạm — nói thẳng là chạm được. Chữ "Chạm…" cho màn cảm ứng, "Bấm…" cho chuột */
.tap-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 16px; border-radius: 100px; background: rgba(255,255,255,.14); border: 1px dashed rgba(255,255,255,.5); color: #fff; font-size: 14.5px; font-weight: 600; }
.tap-hint .hand { display: inline-block; font-size: 20px; animation: tapHand 1.4s ease-in-out infinite; }
@keyframes tapHand { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px) scale(.92); } }
.pt-lbl i, .tap-hint i { font-style: normal; }
.t-touch { display: none; }
@media (hover: none) { .t-touch { display: inline; } .t-mouse { display: none; } }

.phone-show { padding: 80px 0; background: linear-gradient(180deg, #F0FDF4 0%, #fff 100%); overflow: hidden; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ps-text { min-width: 0; }
.ps-text .eyebrow { color: #15803D; }
.ps-list { list-style: none; padding: 0; margin: 0 0 26px; }
.ps-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.ps-list b { display: block; }
.ps-list span { color: var(--text-secondary); font-size: 14px; }
.ps-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #DCFCE7; color: #15803D; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ps-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ps-note { margin-top: 12px; font-size: 13px; color: var(--text-secondary); }
.ps-phones { position: relative; height: 560px; min-width: 0; }
.ps-phone { position: absolute; width: 260px; border-radius: 40px; background: #111; padding: 30px 10px 12px; box-shadow: 0 30px 60px rgba(15,23,42,.28); }
.ps-phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 76px; height: 14px; border-radius: 12px; background: #111; z-index: 2; }
.ps-phone img { display: block; width: 100%; height: auto; border-radius: 6px 6px 30px 30px; }
.ps-phone.p1 { left: 6%; top: 0; transform: rotate(-4deg); }
.ps-phone.p2 { right: 4%; top: 50px; transform: rotate(4deg); }
.ps-tag { position: absolute; z-index: 3; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 30px rgba(0,0,0,.15); font-size: 13.5px; font-weight: 700; color: var(--text); }
.ps-tag small { display: block; font-weight: 500; color: var(--text-secondary); font-size: 12px; }
.ps-tag.t1 { left: 0; bottom: 40px; } .ps-tag.t2 { right: 0; top: 8px; }

.hero-fit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 24px; font-size: 14px; }
.hero-fit span { color: var(--text-secondary); }
.hero-fit b { font-weight: 600; background: #fff; border: 1.5px solid var(--primary-light); border-radius: 100px; padding: 5px 12px; color: var(--text); }
.hero-badge.go { background: var(--primary); color: #fff !important; font-weight: 700; padding: 8px 16px; box-shadow: 0 6px 16px rgba(91,84,214,.3); }
.hero-badge.go::before { background: #FDE68A !important; }
.hero-badge.go .arr { display: inline-block; animation: arrDown 1.4s ease-in-out infinite; }
@keyframes arrDown { 50% { transform: translateY(3px); } }

/* Nhãn chương 1/3 – 2/3 – 3/3 ở đầu mỗi mục sản phẩm */
.chap { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .4px; padding: 6px 14px; border-radius: 100px; color: #fff; }
.chap-cafe { background: #F97316; } .chap-shop { background: #16A34A; } .chap-time { background: #6366F1; }
.chap-cta { margin-top: 24px; }

/* Thanh "Xem nhanh": fixed top 0, ẩn sẵn; JS cuối trang thêm .pt-show khi dải #san-pham đã cuộn qua.
   KHÔNG dùng tên class "show": Bootstrap có .show { display: block !important } làm thanh mất flex
   (tab dồn trái, xuống 2 hàng ở màn hẹp).
   Nếu sau này sửa BUG-044-12 cho .nav dính thật thì thanh này sẽ đè nav ⇒ phải đổi top theo chiều cao nav. */
.ptabs { position: fixed; top: 0; left: 0; right: 0; z-index: 95; display: flex; justify-content: center; gap: 6px; padding: 8px 10px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); box-shadow: 0 6px 18px rgba(0,0,0,.06); transform: translateY(-110%); visibility: hidden; transition: transform .25s, visibility 0s .25s; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs > :first-child { margin-left: auto; } .ptabs > :last-child { margin-right: auto; }
/* visibility: thanh đang ẩn thì 4 tab không được nằm trong thứ tự phím Tab */
.ptabs.pt-show { transform: none; visibility: visible; transition: transform .25s; }
.ptabs a { flex: none; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--text); padding: 7px 14px; border-radius: 100px; border: 1.5px solid var(--border); text-decoration: none; box-shadow: 0 2px 0 rgba(0,0,0,.06); }
.ptabs a:active { transform: translateY(1px); }
.ptabs a.on[data-p=cafe] { background: #F97316; border-color: #F97316; color: #fff; }
.ptabs a.on[data-p=shop] { background: #16A34A; border-color: #16A34A; color: #fff; }
.ptabs a.on[data-p=time] { background: #6366F1; border-color: #6366F1; color: #fff; }
.ptabs .pt-price { border-color: var(--primary); color: var(--primary); }
.pt-lbl { flex: none; align-self: center; font-size: 12.5px; color: var(--text-secondary); font-weight: 600; }
.pt-short { display: none; }
.ptabs.hint a[data-p] { animation: ptPulse 1s ease-in-out 3; }
@keyframes ptPulse { 50% { box-shadow: 0 0 0 4px rgba(91,84,214,.25); } }

@media (prefers-reduced-motion: reduce) { .tap-hint .hand, .pl-btn .arr, .hero-badge.go .arr, .hero-badge.go::before, .ptabs.hint a { animation: none !important; } }
@media (max-width: 900px) {
  .pl-grid { grid-template-columns: 1fr; gap: 18px; max-width: 520px; margin: 0 auto; }
  .products-line { padding: 48px 0 56px; }
  .phone-show { padding: 56px 0; }
  .ps-grid { grid-template-columns: 1fr; gap: 28px; }
  .ps-phones { height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
  .ps-phone { width: 200px; border-radius: 32px; padding: 24px 8px 10px; }
  .ps-phone img { border-radius: 5px 5px 24px 24px; }
  .ps-phone::before { top: 8px; width: 56px; height: 10px; }
}
/* Các ngưỡng của thanh "Xem nhanh" là số đo thật (Playwright) để 4 tab luôn nằm một hàng từ 351px trở lên:
   tab đầu ghi đủ "Cafe & Nhà hàng" cần 608px; rút gọn "Cafe·NH" + cỡ thường cần 550px; cỡ gọn + nhãn cần 487px; cỡ gọn không nhãn cần 412px; cỡ nhỏ nhất cần 351px. */
@media (max-width: 640px) { .pt-full { display: none; } .pt-short { display: inline; } }
@media (max-width: 560px) { .ptabs { gap: 5px; padding: 7px 8px; } .ptabs a { font-size: 13px; padding: 6px 10px; } }
/* Nhãn ẩn thì tab đầu phải nhận margin auto thay nó, nếu không cả hàng dồn về bên trái */
@media (max-width: 500px) { .pt-lbl { display: none; } .pt-lbl + a { margin-left: auto; } }
@media (max-width: 400px) {
  .ps-phones { height: 400px; }
  .ps-phone { width: 168px; }
  .ps-tag { font-size: 12.5px; padding: 8px 10px; }
}
/* 2 nút của chương 1 không đủ chỗ đứng cạnh nhau ở 401–461px và 901–991px (cột chữ chỉ ~327px): xếp dọc, rộng bằng nhau */
@media (max-width: 480px), (min-width: 901px) and (max-width: 991px) { .ps-cta .btn { width: 100%; } }
/* 3 thẻ còn hẹp (901–1199px): nút "Xem Dmax Cafe & Nhà Hàng" xuống 2 dòng ⇒ cho 3 nút cao bằng nhau */
@media (min-width: 901px) and (max-width: 1199px) { .pl-btn { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 68px; padding: 10px 8px; font-size: 14px; } }
@media (max-width: 420px) { .ptabs { gap: 3px; padding: 7px 3px; } .ptabs a { font-size: 12px; padding: 6px 7px; } }
/* Dưới 351px 4 tab không vừa: cuộn ngang ngay trong thanh (thanh cuộn đã ẩn), trang không bị tràn */
@media (max-width: 350px) { .ptabs { justify-content: flex-start; } }

/* ======= MOBILE ======= */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-login, .nav-cta .nav-call { display: none; }
  .nav-cta .btn-primary { white-space: nowrap; }
  .menu-toggle { display: block; }
  .how-grid { grid-template-columns: 1fr; }
  .how-sync { display: none; }
  .proof { padding: 56px 0; }
  .proof-grid { grid-template-columns: 1fr; gap: 10px; }
  .proof-side, .proof-gal { gap: 10px; }
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 34px; }
  .hero-mockup { transform: none; max-width: 480px; margin: 0 auto; }
  section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .industry-grid, .pain-grid, .feat-grid, .price-grid, .trust-band-grid, .dl-cards-grid, .onboard-steps { grid-template-columns: repeat(2, 1fr); }
  .download-grid, .retail-grid, .videos-grid { grid-template-columns: 1fr; }
  .retail-features { grid-template-columns: 1fr; }
  .retail-stat-card { right: 5%; }
  /* Chọn gói: giữ 3 cột gọn; padding-top chừa chỗ để badge "Khuyên dùng" nằm trong khung */
  .billing-toggle { gap: 4px; padding: 12px 5px 5px; }
  .bill-opt { padding: 10px 4px; }
  .bill-opt-label { font-size: 13px; }
  .bill-badge { top: -9px; right: auto; left: 50%; transform: translateX(-50%); }
  .support-promise { flex-direction: column; gap: 20px; padding: 28px 24px; text-align: center; }
  .sp-content > p { margin-left: auto; margin-right: auto; }
  .sp-channels { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-form { grid-template-columns: 1fr; }
}
/* Dưới 700px bảng so sánh (min-width 640px) mới thực sự phải vuốt ngang */
@media (max-width: 700px) {
  .compare-hint { display: block; }
  .compare-table th:first-child, .compare-table td:first-child { box-shadow: 2px 0 4px -2px rgba(0,0,0,0.12); }
  .sp-channels { flex-direction: column; align-items: center; }
  .sp-channel { width: 100%; max-width: 340px; text-align: left; }
}
@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .nav-inner { gap: 8px; }
  /* Clearfix ::before/::after của Bootstrap .container thành flex item rộng 0, ăn thêm 2 khoảng gap */
  .nav-inner::before, .nav-inner::after { display: none; }
  .nav-logo { gap: 8px; font-size: 15px; white-space: nowrap; }
  .nav-logo .logo-icon { width: 34px; height: 34px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-primary { padding: 9px 10px; font-size: 13.5px; }
  .menu-toggle { padding: 6px; }
  .hero h1 { font-size: 28px; }
  /* min-width: 0 — nếu không, cột lưới giãn theo bề rộng tối thiểu của mockup và chữ hero bị cắt ở màn hình hẹp */
  .hero-text, .hero-mockup-wrap { min-width: 0; }
  .hero-trust { grid-template-columns: 1fr; }
  .proof-cta .btn { width: 100%; }
  .industry-grid, .pain-grid, .feat-grid, .price-grid, .dl-cards-grid { grid-template-columns: 1fr; }
  .trust-band-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .compare-table { min-width: 560px; }
  .compare-table th, .compare-table td { padding: 14px 12px; font-size: 13.5px; }
  .compare-table th:first-child, .compare-table td:first-child { width: 150px; min-width: 150px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .cta-final h2 { font-size: 26px; }
  /* Nút Zalo nổi: tròn 56px, chỉ icon; chừa đáy footer để nút không che dòng cuối */
  .floating-zalo {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)); right: 16px;
    width: 56px; height: 56px; padding: 0; gap: 0; justify-content: center;
    animation: none;
  }
  .fz-text { display: none; }
  .fz-icon { width: 36px; height: 36px; }
  .fz-icon svg { width: 20px; height: 20px; }
  footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
/* Điện thoại hẹp (360px và nhỏ hơn): header phải còn đủ logo + nút đăng ký + ☰ */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
}
/* Thu cột bảng mô phỏng ở hero để cột "Số HĐ" không bị khung .hero-mockup cắt */
@media (max-width: 374px) {
  .mockup-table-real { padding: 14px 12px; }
  .mtr-head, .mtr-row { grid-template-columns: 22px 60px 60px 46px 1fr; gap: 6px; }
}
@media (max-width: 350px) {
  .nav-logo .logo-icon { display: none; }
}

/* ======= OVERRIDE: ng-include forms bên trong modal ======= */
.auth-modal-content .form-group { margin-bottom: 14px; }
.auth-modal-content .form-control {
  padding: 11px 14px; border-radius: 9px; border: 1.5px solid var(--border);
  font-size: 14px; font-family: 'Be Vietnam Pro', sans-serif;
  background: #fff; width: 100%; transition: all 0.15s;
}
.auth-modal-content .form-control:focus {
  outline: 0; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.auth-modal-content .btn {
  padding: 13px 22px; font-size: 14px; font-weight: 700;
  border-radius: 10px; width: 100%; cursor: pointer; border: none;
  display: flex; align-items: center; justify-content: center;
}
.auth-modal-content .btn-primary { background: var(--primary); color: #fff; }
.auth-modal-content .btn-primary:hover { background: var(--primary-dark); }
.auth-modal-content label {
  font-size: 13px; font-weight: 500; color: var(--text);
  margin-bottom: 6px; display: block;
}

/* Login error box */
.auth-modal-content .login-error-box {
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: 9px;
  padding: 10px 14px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
  color: #DC2626; font-size: 13px; font-weight: 500;
  animation: loginShake 0.45s ease;
}
.auth-modal-content .login-error-box svg { width: 16px; height: 16px; flex-shrink: 0; }
@keyframes loginShake {
  0%, 100% { transform: translateX(0); }
  15%, 55% { transform: translateX(-6px); }
  35%, 75% { transform: translateX(6px); }
}
.auth-modal-content .login-field-error { border-color: #EF4444 !important; }
/* Auth modal — button override (solid purple, keep color on disabled) */
.auth-modal-content .btn-login {
  background: #5B54D6 !important; color: #fff !important; border: none !important;
}
.auth-modal-content .btn-login:not([disabled]):hover { background: #4a44c0 !important; }
.auth-modal-content .btn-login[disabled] {
  background: #5B54D6 !important; color: #fff !important;
  opacity: 0.82; cursor: not-allowed;
}
.auth-modal-content .btn-login.btn-login-success { background: #16A34A !important; opacity: 1 !important; }
/* Spinner inside button */
.btn-loading-content { display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-spinner {
  width: 15px; height: 15px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  border-radius: 50%; animation: btnSpin 0.65s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
/* Progress bar — top of modal */
.login-progress-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 20px 20px 0 0; overflow: hidden; background: rgba(91,84,214,0.1);
}
.login-progress-bar::after {
  content: ''; position: absolute; top: 0; height: 100%;
  width: 42%; background: #5B54D6;
  animation: progressSlide 1.1s ease-in-out infinite;
}
@keyframes progressSlide { 0% { left: -42%; } 100% { left: 142%; } }
/* Input label — fix focus color to brand purple */
.auth-modal-content md-input-container.md-input-focused label,
.auth-modal-content md-input-container.md-input-focused .md-char-counter { color: #5B54D6 !important; }

/* Hotline nổi bật — Cam kết section */
.sp-channel-hotline {
  background: #FFD93D !important; color: #1A1A2E !important;
  border: 0 !important; font-weight: 700; position: relative;
}
.sp-channel-hotline:hover { background: #FFC300 !important; transform: translateY(-1px); }
.sp-channel-hotline svg { color: #1A1A2E !important; }
.sp-channel-hotline span { color: rgba(26,26,46,0.65) !important; opacity: 1 !important; }
.sp-channel-hotline strong { color: #1A1A2E !important; font-size: 14px !important; }
/* Chip nằm cùng hàng với nhãn "Hotline" (trước đây position: absolute nên đè lên chữ) */
.sp-channel-hotline-badge {
  display: inline-block; margin-left: 6px; vertical-align: 1px;
  background: var(--primary); color: #fff; font-style: normal;
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em;
  padding: 1px 7px; border-radius: 100px; text-transform: uppercase; white-space: nowrap;
}

/* Footer hotline nổi bật */
.footer-hotline-highlight {
  display: flex; align-items: center; gap: 6px;
  border-left: 3px solid #FFD93D; padding-left: 8px; margin: 6px 0;
}
.footer-hotline-highlight strong { color: #FFD93D; }
.footer-hotline-highlight a { color: #FFD93D !important; font-weight: 700; font-size: 15px; }

/* ======= KHUNG NHIỀU TRANG (TASK-051) ======= */
/* Tên class tự đặt (nav-dd, dd-open, m-open, nav-on, sn-on) — KHÔNG dùng "show" / "open" / "dropdown" của Bootstrap
   (bẫy TASK-047: .show { display: block !important } làm mất flex). */

/* --- Menu: mục "Sản phẩm ▾" thả xuống --- */
.nav-links a.nav-on, .nav-dd-btn.nav-on { color: var(--primary); font-weight: 600; }
.nav-dd { position: relative; }
/* font-family: angular-material.css ép <button> dùng Roboto (trang không nạp) */
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 0; padding: 8px 0;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color 0.15s;
}
.nav-dd-btn:hover, .nav-dd.dd-open .nav-dd-btn { color: var(--primary); }
.nav-dd-caret { width: 14px; height: 14px; flex: none; transition: transform 0.15s; }
.nav-dd.dd-open .nav-dd-caret { transform: rotate(180deg); }
.nav-dd-menu {
  display: none; position: absolute; top: 100%; left: -14px; z-index: 101;
  min-width: 270px; padding: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.nav-dd.dd-open .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; line-height: 1.35; }
.nav-dd-menu a:hover, .nav-dd-menu a.nav-on { background: var(--primary-lighter); }
.nav-dd-menu b { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.nav-dd-menu small { display: block; font-size: 12.5px; font-weight: 400; color: var(--text-secondary); }
.nav-m-extra { display: none; }
/* Máy có chuột: rê vào là mở (bấm vẫn mở / đóng được — JS) */
@media (hover: hover) and (min-width: 1200px) {
  .nav-dd:hover .nav-dd-menu { display: block; }
  .nav-dd:hover .nav-dd-btn { color: var(--primary); }
}

/* --- Menu ☰ (≤ 1199px — khớp NAV_COLLAPSE trong landing.js) --- */
@media (max-width: 1199px) {
  /* position: absolute (không phải fixed): .nav có backdrop-filter nên phần tử fixed bên trong bị neo theo chính .nav
     chứ không theo màn hình — menu chỉ cao vài px và chữ đè lên nội dung trang. */
  .nav-links.m-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    height: calc(100vh - 68px); height: calc(100dvh - 68px); overflow-y: auto;
    padding: 24px 20px; background: #fff;
    border-bottom: 1px solid var(--border); animation: menuSlide 0.2s ease;
  }
  .nav-links.m-open > a { padding: 14px 16px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--text); }
  .nav-links.m-open > a.nav-on { color: var(--primary); font-weight: 600; }
  /* Trong menu ☰ "Sản phẩm" là nhãn, 4 sản phẩm luôn mở và thụt lề */
  .nav-links.m-open .nav-dd-btn { width: 100%; justify-content: flex-start; padding: 14px 16px 6px; font-size: 15px; font-weight: 700; color: var(--text); cursor: default; }
  .nav-links.m-open .nav-dd-caret { display: none; }
  .nav-links.m-open .nav-dd-menu { display: block; position: static; min-width: 0; padding: 0 0 6px 16px; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .nav-links.m-open .nav-dd-menu a { padding: 10px 16px; }
  .nav-links.m-open .nav-m-extra { display: block; border-top: 1px solid var(--border); margin-top: 12px; padding-top: 16px; }
  .nav-m-extra .btn-login { width: 100%; justify-content: center; }
  .nav-links .nav-m-call, .nav-links .nav-m-call:hover {
    display: flex; justify-content: center; align-items: center; width: 100%; margin-top: 8px; padding: 12px;
    background: #16A34A; color: #fff; border-radius: 10px; font-weight: 600; font-size: 14px;
  }
  .nav-links .nav-m-zalo, .nav-links .nav-m-zalo:hover {
    display: flex; justify-content: center; align-items: center; width: 100%; margin-top: 8px; padding: 12px;
    background: #0068FF; color: #fff; border-radius: 10px; font-weight: 600; font-size: 14px;
  }
}

/* --- Trang con: dòng đường dẫn + thanh mục dính --- */
.crumb { font-size: 13px; color: var(--text-tertiary); margin-bottom: 14px; }
.crumb a { color: var(--text-secondary); }
.crumb a:hover { color: var(--primary); }
/* top do landing.js đặt = mép dưới thanh menu: thanh menu chỉ dính trong màn hình đầu (angular-material.css đặt
   body cao 100% nên vùng dính của .nav hết ở đó), cuộn qua thì thanh này lên sát mép trên. */
.secnav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
/* flex-direction / align-items: login.css (≤ 764px) biến .container thành flex-column + align-items: flex-start */
.secnav-in { display: flex; flex-direction: row; align-items: center; gap: 6px; padding-top: 8px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.secnav-in::-webkit-scrollbar { display: none; }
/* Clearfix ::before/::after của Bootstrap .container thành flex item rộng 0, ăn thêm 2 khoảng gap */
.secnav-in::before, .secnav-in::after { display: none; }
.secnav a { flex: none; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--text-secondary); padding: 7px 14px; border-radius: 100px; border: 1.5px solid transparent; transition: color 0.15s, background 0.15s; }
.secnav a:hover { color: var(--primary); }
.secnav a.sn-on { background: var(--primary-light); border-color: var(--primary-light); color: var(--primary-dark); }
/* Link neo tới một khối nằm TRONG section (video, form): chừa chỗ cho thanh mục dính như section[id] (72px) */
.secnav ~ section [id] { scroll-margin-top: 72px; }
/* /huong-dan/ không có thanh mục dính nhưng 2 khối video có mã neo riêng (#video-topping, #video-dmax-car): chừa chỗ
   cho thanh menu như section[id] (BUG-051-04) */
.video-short[id], .video-row[id] { scroll-margin-top: 72px; }
@media (max-width: 560px) { .secnav a { font-size: 13px; padding: 6px 11px; } }

/* --- Thanh dưới điện thoại. G1b (user duyệt 2026-10-09): ≤ 640px ẩn nút Zalo nổi, thay bằng thanh Gọi · Zalo · Tư vấn --- */
.mbar { display: none; }
@media (max-width: 640px) {
  .floating-zalo { display: none; }
  /* z-index 98: nằm dưới thanh menu (100) và hộp đăng nhập (1000) ⇒ mở menu ☰ / hộp đăng nhập thì thanh bị che, không cần JS */
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.97); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(20,20,43,0.08);
  }
  .mbar-btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text); background: #fff; border: 1.5px solid var(--border-strong); }
  .mbar-btn svg { width: 18px; height: 18px; flex: none; }
  .mbar-zalo { background: #0068FF; border-color: #0068FF; color: #fff; }
  .mbar-cta { background: var(--primary); border-color: var(--primary); color: #fff; }
  /* Chừa đáy chân trang để thanh không che dòng phiên bản */
  footer { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}

/* ======= KHUÔN TRANG CON (TASK-051) ======= */
/* Trang con ngắn hơn trang đơn cũ: khoảng đệm giữa các khối gọn lại. Bộ chọn .pg-sub > section thắng các khối cũ
   tự đặt padding riêng (.proof 72px, .how-it-works 80px, .phone-show 80px…). */
.pg-sub > section { padding: 48px 0; }
.pg-sub > section.hero { padding: 28px 0 44px; }
.pg-sub .section-header { margin-bottom: 26px; }
.pg-sub .section-title { font-size: 30px; margin-bottom: 12px; }
.pg-sub .hero .hero-badge { margin-bottom: 14px; }
.pg-sub .hero .hero-sub { margin-bottom: 22px; }
.alt-bg { background: var(--bg-secondary); }
/* Hero của /sieu-thi/ và /cham-cong/: <h1> dùng lại chữ của tiêu đề chương cũ */
.hero h1.section-title { font-size: 40px; line-height: 1.18; margin-bottom: 16px; text-align: left; }
.hero-lead { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; max-width: 560px; }
.hero .retail-visual, .hero .cc-visual { min-width: 0; }
.hero-ctas-sub { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .chap { margin-bottom: 14px; }
.hero .cc-modes { margin-bottom: 22px; }
.retail-features.feat-wide { max-width: 900px; margin: 0 auto; }
.pg-sub .cc-report { margin-top: 0; }
.pg-sub .cc-cta { max-width: 860px; margin: 0 auto; }
/* Đầu trang của /bao-gia/, /huong-dan/, /lien-he/ */
.page-head { padding: 28px 0 0; }
.page-head .crumb { margin-bottom: 0; }
.pg-sub > section.page-head { padding: 28px 0 0; }
.pg-sub > section.page-head + section { padding-top: 28px; }

/* Lưới 1 / 2 cột cho khối chỉ còn vài thẻ sau khi chia theo trang */
.pain-grid.cols-2, .industry-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }
.pain-grid.cols-1 { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }

/* Thẻ gập (<details>): chữ nằm sẵn trong HTML, bấm mới mở */
.fold-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.fold { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.fold:hover, .fold[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.fold > summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: ''; flex: none; width: 22px; height: 22px; margin-left: auto; transition: transform 0.2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B54D6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/18px no-repeat;
}
.fold[open] > summary::after { transform: rotate(180deg); }
.fold > summary h3 { flex: 1; min-width: 0; margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.fold > summary .feat-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; margin: 0; }
.fold > summary .feat-icon svg { width: 21px; height: 21px; }
.fold > p { padding: 0 16px 16px 68px; font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
/* Thẻ gập rộng cả hàng (khối "Cách hoạt động") */
.fold-wide { margin-top: 18px; }
.fold-wide .industry-grid { margin-top: 6px; }
.pain-grid + .fold-wide { margin-top: 22px; }
.fold-wide > summary { padding: 18px 20px; align-items: flex-start; }
.fold-wide > summary::after { margin-top: 2px; }
.fold-wide .fold-sum { flex: 1; min-width: 0; }
.fold-wide .fold-sum .eyebrow { margin-bottom: 4px; }
.fold-wide .fold-sum h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.fold-wide .fold-sum p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; margin: 0; }
.fold-wide .fold-body { padding: 8px 20px 22px; }

/* Hình ảnh & video của trang con */
.media-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.media-grid.two { grid-template-columns: 1fr 1.4fr; }
.media-grid figure, .media-vid { position: relative; margin: 0; height: 300px; border-radius: 16px; overflow: hidden; background: var(--bg-tertiary); }
.media-vid .video-embed { position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding-top: 0; }
.media-vid-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 44px 14px 12px; background: linear-gradient(180deg, transparent, rgba(20,20,43,0.92)); color: #fff; pointer-events: none; }
.media-vid-cap strong { font-size: 15px; font-weight: 700; line-height: 1.3; }
.media-vid-cap span { font-size: 13px; opacity: 0.9; line-height: 1.45; }
.media-vid-cap em { font-style: normal; font-size: 12px; font-weight: 700; color: #FDE68A; }
.media-vid-cap .video-tag { align-self: flex-start; margin-bottom: 4px; }
.media-vid.playing .media-vid-cap { display: none; }

/* Giá tóm tắt */
.price-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.price-sum-card { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px; text-align: center; }
.price-sum-card.featured { border: 2px solid var(--primary); }
.price-sum-card .price-name { margin-bottom: 2px; }
.price-sum-card .price-tagline { margin-bottom: 0; }
.price-sum-card .price-amount { font-size: 22px; margin-bottom: 0; }
.more-link { display: inline-block; margin-top: 20px; font-size: 14.5px; font-weight: 600; color: var(--primary); }
.more-link:hover { color: var(--primary-dark); text-decoration: underline; }
.center { text-align: center; }

/* Chân trang: 5 khối (giới thiệu + 4 cột link) nằm trên MỘT hàng ở máy tính — bản 2.3.0 khai 4 cột nên cột "Pháp lý"
   rơi xuống hàng hai; điện thoại xếp 2 cột link cạnh nhau cho ngắn trang. Không ẩn link nào. */
@media (min-width: 901px) { .footer-grid { grid-template-columns: 1.7fr 1.25fr 1fr 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* Kêu gọi cuối trang con (không có form — G5c) + sản phẩm khác */
.sub-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: 18px; background: var(--primary); color: #fff; }
.sub-cta-box h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 0; color: #fff; }
.sub-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sub-cta-btns .btn-white { display: inline-flex; align-items: center; justify-content: center; min-width: 0; text-decoration: none; }
.sub-cta-btns .btn-white:hover { color: var(--primary-dark); }
.other-products { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 20px; font-size: 14px; color: var(--text-secondary); }
.other-products a { padding: 6px 14px; border-radius: 100px; border: 1.5px solid var(--primary-light); background: #fff; color: var(--primary-dark); font-weight: 600; }
.other-products a:hover { border-color: var(--primary); background: var(--primary-lighter); }

@media (max-width: 900px) {
  .pg-sub > section { padding: 34px 0; }
  .pg-sub > section.hero { padding: 20px 0 36px; }
  .pg-sub .section-title { font-size: 24px; }
  .hero h1.section-title { font-size: 30px; }
  .fold-grid { grid-template-columns: 1fr; gap: 10px; }
  .media-grid, .media-grid.two { grid-template-columns: 1fr 1fr; }
  .media-grid > :first-child { grid-column: span 2; height: 230px; }
  .media-grid figure, .media-vid { height: 260px; }
  .media-grid.two > * { grid-column: span 2; }
  .media-grid.two .media-vid { height: auto; aspect-ratio: 16 / 9; }
  .sub-cta-box { padding: 24px 20px; }
  .sub-cta-box h2 { font-size: 22px; }
}
@media (max-width: 540px) {
  .hero h1.section-title { font-size: 26px; }
  .pain-grid.cols-2, .industry-grid.cols-2 { grid-template-columns: 1fr; }
  .price-sum { grid-template-columns: 1fr; gap: 10px; }
  .price-sum-card { flex-direction: row; justify-content: space-between; gap: 10px; text-align: left; padding: 12px 16px; }
  .price-sum-card .price-amount { font-size: 18px; white-space: nowrap; }
  .fold > p { padding-left: 16px; }
  .sub-cta-btns, .sub-cta-btns .btn, .sub-cta-btns .btn-white { width: 100%; }
}

/* ======= TRANG CHỦ MỚI (TASK-051) ======= */
.pg-home > section { padding: 44px 0; }
.pg-home > section.hero { padding: 36px 0 36px; }
.pg-home .hero h1 { font-size: 42px; }
.pg-home .hero .hero-sub { margin-bottom: 24px; }
.pg-home .section-header { margin-bottom: 28px; }
.pg-home .section-title { font-size: 30px; margin-bottom: 12px; }

/* ① 5 ô "Bạn kinh doanh gì?" */
.biz { min-width: 0; }
.biz-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 12px; }
.biz-label span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-tertiary); }
.biz-label i { font-style: normal; }
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.biz-tile { display: block; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); transition: all 0.18s; }
.biz-tile:hover, .biz-tile:focus { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; text-decoration: none; }
.biz-tile b { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.biz-tile span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
.biz-tile.biz-wide { grid-column: 1 / -1; background: #14142B; border-color: #14142B; }
.biz-tile.biz-wide b { color: #fff; }
.biz-tile.biz-wide span { color: #C3C5D6; }

/* ② Dải 4 sản phẩm (bản 2.3.0 có 3 thẻ) */
.pl-car { --acc: #0284C7; --acc-dark: #075985; --acc-soft: #E0F2FE; }
.pl-grid.four { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pl-grid.four .pl-body { padding: 16px 16px 18px; }
.pl-grid.four .pl-card h3 { font-size: 20px; }
.pl-grid.four .pl-tag { font-size: 13.5px; margin-bottom: 8px; }
.pl-grid.four .pl-card ul { margin-bottom: 10px; }
.pl-grid.four .pl-card li { font-size: 13.5px; padding-top: 4px; padding-bottom: 4px; }
.pl-grid.four .pl-btn { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 56px; padding: 8px; font-size: 14px; line-height: 1.3; }
.pl-price { margin-bottom: 10px; font-size: 14.5px; font-weight: 700; color: var(--acc-dark); }
.pg-home .products-line { padding: 44px 0 46px; }
.pg-home .pl-img { aspect-ratio: 16 / 9; }
.pg-home .pl-trust { margin-top: 22px; }
@media (min-width: 641px) and (max-width: 1199px) { .pl-grid.four { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; } }
/* Điện thoại: thẻ nằm ngang (ảnh trái, chữ phải) — 4 thẻ dọc như bản cũ dài hơn 2 màn hình */
@media (max-width: 640px) {
  .pl-grid.four { grid-template-columns: 1fr; gap: 12px; max-width: none; }
  .pl-grid.four .pl-card { flex-direction: row; border-top: 0; border-left: 5px solid var(--acc); border-radius: 16px; }
  .pl-grid.four .pl-img { flex: none; width: 34%; aspect-ratio: auto; }
  .pl-grid.four .pl-chip { left: 6px; right: 6px; bottom: 8px; padding: 4px 6px; font-size: 10.5px; line-height: 1.25; text-align: center; border-radius: 8px; }
  .pl-grid.four .pl-badge { right: 6px; top: 6px; font-size: 10.5px; padding: 3px 8px; }
  .pl-grid.four .pl-body { padding: 12px 12px 12px 14px; min-width: 0; }
  .pl-grid.four .pl-card h3 { font-size: 17.5px; }
  .pl-grid.four .pl-tag { font-size: 12.5px; margin-bottom: 6px; }
  .pl-grid.four .pl-card li { font-size: 12.5px; padding: 2px 0 2px 22px; }
  .pl-grid.four .pl-card li::before { top: 2px; width: 16px; height: 16px; font-size: 10px; }
  .pl-price { margin-bottom: 8px; font-size: 13px; }
  .pl-grid.four .pl-btn { min-height: 0; padding: 8px 6px; font-size: 12.5px; border-radius: 10px; }
}

/* ③ Dải "Năng lực" */
.pg-home > section.cap-wrap { padding: 44px 0 0; }
.cap-band { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 18px; overflow: hidden; background: #14142B; color: #fff; }
.cap-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 30px 36px; }
.cap-text .eyebrow { margin: 0; padding: 4px 12px; border-radius: 100px; background: #2C2E4A; color: #C7D2FE; font-size: 12px; }
.cap-text h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.cap-text p { margin: 0 0 6px; font-size: 15px; line-height: 1.6; color: #C3C5D6; }
.cap-img { position: relative; min-height: 230px; background: #33364F; }
.cap-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ④ Vì sao chọn Dmax */
.why-stats { padding: 22px 16px; border-radius: 16px; background: var(--primary); color: #fff; }
.why-stats .trust-stat-num { font-size: 30px; margin-bottom: 2px; }
.why-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.why-step { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-size: 14.5px; font-weight: 600; color: var(--text); transition: border-color 0.15s; }
.why-step:hover { border-color: var(--primary); color: var(--text); }
.why-step b { flex: none; font-size: 13px; font-weight: 800; color: var(--primary); }
.why-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.why-photos figure { position: relative; margin: 0; height: 170px; border-radius: 14px; overflow: hidden; background: var(--bg-tertiary); }
.why-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.why-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.4; background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.pg-home .more-link { margin-top: 16px; }

/* ⑤ Form tư vấn rút gọn */
.pg-home > section.cta-final { padding: 44px 0; }
.pg-home .cta-final h2 { font-size: 30px; margin-bottom: 8px; }
.pg-home .cta-final p { margin-bottom: 22px; }

@media (max-width: 900px) {
  .pg-home > section { padding: 36px 0; }
  .pg-home > section.hero { padding: 24px 0 32px; }
  .pg-home .hero h1 { font-size: 30px; }
  .pg-home .section-title { font-size: 24px; }
  .pg-home > section.cap-wrap { padding: 32px 0 0; }
  .cap-band { grid-template-columns: 1fr; }
  .cap-img { order: -1; min-height: 170px; }
  .cap-text { padding: 20px 20px 24px; }
  .cap-text h2 { font-size: 23px; }
  .why-steps { grid-template-columns: 1fr 1fr; gap: 8px; }
  .why-step { padding: 10px 12px; font-size: 13.5px; }
  .pg-home > section.cta-final { padding: 40px 0; }
  .pg-home .cta-final h2 { font-size: 24px; }
}
@media (max-width: 640px) {
  .pg-home .hero h1 { font-size: 27px; }
  .biz-grid { gap: 8px; }
  .biz-tile { padding: 12px 12px; }
  .biz-tile b { font-size: 14.5px; }
  .biz-tile span { font-size: 12px; }
  .why-stats { padding: 18px 10px; }
  .why-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-photos figure { height: 150px; }
  /* G1b — user duyệt 2026-10-09: điện thoại ẩn ảnh khách hàng thứ 3 (còn nguyên ở /sieu-thi/) */
  .why-photos figure:nth-child(3) { display: none; }
}

/* ======= BÁO GIÁ / HƯỚNG DẪN / LIÊN HỆ (TASK-051) ======= */
/* <h1> của 3 trang này dùng lại chữ tiêu đề khối cũ (N15, N17, N20) */
.cta-final h1 { font-size: 36px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.02em; }
.pg-sub > section.page-head + section.cta-final { padding-top: 48px; }
a.price-sum-card { transition: border-color 0.15s, box-shadow 0.15s; }
a.price-sum-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; }
/* Video Dmax Car ở /huong-dan/ */
.video-row { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; margin-top: 24px; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.video-row .more-link { margin-top: 12px; }
@media (max-width: 900px) {
  .cta-final h1 { font-size: 26px; }
  .video-row { grid-template-columns: 1fr; }
}

/* ======= TRANG MỚI: GIẢI PHÁP DOANH NGHIỆP + DMAX CAR (TASK-051) ======= */
.hero-photo { min-width: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #000; }
.hero-photo img { display: block; width: 100%; height: auto; }
.pg-sub .hero .hero-fit { margin: 0 0 22px; }
.pg-sub .hero .hero-fit b { font-size: 13px; }

/* Vấn đề → giải pháp (mỗi hàng: đang gặp / giải quyết) */
.vg-rows { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.vg-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; }
.vg-row p { margin: 0; padding: 14px 18px 14px 44px; position: relative; font-size: 14.5px; line-height: 1.55; }
.vg-row p::before { position: absolute; left: 16px; top: 13px; font-weight: 800; }
.vg-bad { background: #FEF2F2; color: #7F1D1D; }
.vg-bad::before { content: '✕'; color: var(--danger); }
.vg-good { color: var(--text); }
.vg-good::before { content: '✓'; color: var(--success); }

/* Thẻ chế độ / mảng việc */
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mode-grid.four { grid-template-columns: repeat(4, 1fr); }
.mode-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.mode-card b { display: block; font-size: 16px; font-weight: 700; color: var(--primary-dark); }
.mode-card p { margin: 4px 0 0; font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.mode-grid.four .mode-card { text-align: center; }
/* Dãy bước đánh số */
.step-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; counter-reset: none; }
.step-row.five { grid-template-columns: repeat(5, 1fr); }
.step-row li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--primary-lighter); border: 1px solid var(--primary-light); font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.35; }
.step-row li b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; }
.sub-h { margin: 28px 0 0; font-size: 18px; font-weight: 700; text-align: center; }
/* Danh sách có dấu ✓ hai cột */
.check-box { margin-top: 18px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.check-box h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.check-grid li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.check-grid li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 800; }

/* Thư viện ảnh: 1 video lớn + 3 ảnh */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px; height: 480px; }
.gallery-main { grid-row: 1 / -1; height: auto; }
.gallery figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-tertiary); }
.gallery figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; color: #fff; font-size: 13px; font-weight: 500; background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.chip-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.chip-list span { color: var(--text-secondary); }
.chip-list b { font-weight: 600; background: #fff; border: 1.5px solid var(--primary-light); border-radius: 100px; padding: 5px 12px; color: var(--text); }

/* Khối chữ + ảnh màn hình (Dmax Car) */
.feat-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: center; }
.feat-split.rev > :first-child { order: 2; }
.feat-split .section-title { text-align: left; }
.feat-split p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.feat-split .eyebrow { margin-bottom: 8px; }
/* Danh sách bước đánh số có mô tả (quy trình 5 bước Dmax Car) */
.num-list { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: num; display: grid; gap: 10px; }
.num-list li { counter-increment: num; position: relative; padding-left: 40px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.num-list li::before { content: counter(num); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; }
.num-list b { color: var(--text); }
.vg-bad b { font-weight: 700; }
/* Lưới 2×2 thẻ tính năng, ảnh màn hình nằm cuối thẻ (thẻ cùng hàng thẳng mép ảnh) */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; scroll-margin-top: 120px; }
.feat-card .eyebrow { align-self: flex-start; margin-bottom: 8px; }
.feat-title { margin: 0 0 10px; font-size: 21px; font-weight: 800; line-height: 1.3; color: var(--text); }
.feat-card > p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.feat-card .num-list { margin-top: 6px; }
.feat-card .shot { margin-top: auto; box-shadow: none; }
.feat-card > :nth-last-child(2) { margin-bottom: 18px; }
.check-grid.one { grid-template-columns: 1fr; }
.check-grid li b { color: var(--text); }
/* Một video đứng riêng, căn giữa */
.video-solo { max-width: 760px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }

/* Form riêng 5 ô (Dmax Car, Giải pháp doanh nghiệp) — cùng kiểu ô nhập với form demo N20 */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 720px; margin: 0 auto 18px; text-align: left; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; font-size: 14px; font-family: inherit;
  background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.18);
}
.lead-form textarea { resize: vertical; min-height: 84px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,0.65); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid #fff; background: rgba(255,255,255,0.22); }
.lead-form select { color: rgba(255,255,255,0.65); appearance: none; -webkit-appearance: none; }
.lead-form select.has-value { color: #fff; }
.lead-form select option { color: var(--text); background: #fff; }
.lead-form .btn-white { width: 100%; }

@media (max-width: 900px) {
  .vg-row { grid-template-columns: 1fr; }
  .mode-grid, .mode-grid.four { grid-template-columns: 1fr 1fr; }
  .step-row, .step-row.five { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .gallery figure { height: 150px; }
  .gallery figure:last-child { grid-column: 1 / -1; height: 200px; }
  .feat-split, .feat-split.rev { grid-template-columns: 1fr; gap: 18px; }
  .feat-split.rev > :first-child { order: 0; }
  .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .mode-grid { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .feat-card { padding: 18px 16px; }
  .feat-title { font-size: 19px; }
}

/* ============================================================
   TASK-059 — Khối Phiên bản (Pro / Go), Báo cáo web, Pro máy tính
   Màu: chính #5B54D6 · Zalo #0068FF · Gọi (xanh lá) #16A34A
   ============================================================ */

/* Dòng giới thiệu 2 phiên bản ở hero */
.hero-versions { font-size: 14.5px; line-height: 1.6; color: var(--text); max-width: 520px; margin: -14px 0 26px; padding: 12px 16px; background: var(--primary-lighter); border: 1.5px solid var(--primary-light); border-radius: 12px; }
.hero-versions strong { color: var(--primary-dark); font-weight: 700; }

/* Nút Gọi xanh lá đi cặp với .btn-zalo */
.btn-call { background: #16A34A; color: #fff; }
.btn-call:hover, .btn-call:focus { background: #15803D; color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(22,163,74,0.3); }
.btn-call svg { width: 18px; height: 18px; }
/* Hàng Zalo + Gọi đi cặp */
.cta-pair { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-pair .btn { flex: 1 1 160px; }

/* ---- Khối Phiên bản ---- */
#phien-ban { background: var(--bg-secondary); }
.ver-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; margin-bottom: 36px; }
.ver-card { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-sm); }
.ver-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.ver-shot { border-radius: 12px; overflow: hidden; background: var(--bg-tertiary); border: 1px solid var(--border); margin-bottom: 18px; }
.ver-shot img { display: block; width: 100%; height: auto; }
.ver-shot.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: transparent; border: 0; }
.ver-shot.two span { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-tertiary); }
.ver-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.ver-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.ver-icon img { width: 30px; height: 30px; display: block; }
.ver-label { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 11px; border-radius: 100px; }
.ver-label.big { background: var(--primary); color: #fff; }
.ver-label.small { background: #DCFCE7; color: #15803D; }
.ver-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 10px 0 2px; }
.ver-plat { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 14px; }
.ver-for { font-size: 14px; line-height: 1.6; color: var(--text); background: var(--primary-lighter); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.ver-for b { color: var(--primary-dark); }
.ver-feats { list-style: none; padding: 0; margin: 0 0 18px; }
.ver-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text); margin-bottom: 11px; }
.ver-feats li .vck { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #16A34A; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.ver-price { font-size: 15px; color: var(--text); margin: auto 0 14px; }
.ver-price strong { font-size: 22px; color: var(--primary-dark); }
.ver-price small { color: var(--text-secondary); font-weight: 500; }
.ver-actions { display: flex; flex-direction: column; gap: 10px; }
.ver-dl { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #111; color: #fff; font-weight: 700; padding: 13px 20px; border-radius: 11px; text-decoration: none; font-size: 15px; transition: all .18s; }
.ver-dl:hover { background: #000; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.ver-dl svg { width: 18px; height: 18px; }
.ver-note { font-size: 12.5px; color: var(--text-tertiary); text-align: center; margin-top: 2px; }

/* ---- Bảng so sánh ---- */
.ver-cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 32px; }
.ver-cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.ver-cmp th, .ver-cmp td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.ver-cmp thead th { background: var(--bg-tertiary); font-weight: 700; color: var(--text); }
.ver-cmp thead th:first-child { background: var(--bg-tertiary); }
.ver-cmp tbody th { font-weight: 600; color: var(--text-secondary); width: 40%; }
.ver-cmp td { font-weight: 600; color: var(--text); }
.ver-cmp tbody tr:last-child th, .ver-cmp tbody tr:last-child td { border-bottom: 0; }
.ver-cmp .col-pro { color: var(--primary-dark); }

/* ---- Băng tư vấn ---- */
.ver-advise { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; background: var(--primary); color: #fff; border-radius: 16px; padding: 22px 26px; }
.ver-advise-txt { flex: 1 1 260px; }
.ver-advise-txt h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.ver-advise-txt p { font-size: 14.5px; color: rgba(255,255,255,.88); margin: 0; }
.ver-advise .cta-pair { flex: 0 1 auto; }
.ver-advise .cta-pair .btn { flex: 0 0 auto; }

/* ---- Khối Báo cáo web (Pro): khung trình duyệt + popup hoá đơn ---- */
.rep-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #15803D; background: #DCFCE7; border-radius: 100px; padding: 5px 13px; margin-bottom: 14px; }
.rep-shot { position: relative; }
.rep-browser { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #fff; }
.rep-browser .mockup-bar { background: var(--bg-tertiary); }
.rep-browser > img { display: block; width: 100%; height: auto; }
.rep-pop { position: absolute; right: -10px; bottom: -22px; width: 58%; max-width: 320px; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(15,23,42,.3); border: 1px solid var(--border); background: #fff; }
.rep-pop img { display: block; width: 100%; height: auto; }

/* ---- Khối Pro trên máy tính ---- */
.pro-dt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pro-dt-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.pro-dt-shot { background: var(--bg-tertiary); border-bottom: 1px solid var(--border); }
.pro-dt-shot img { display: block; width: 100%; height: auto; }
.pro-dt-body { padding: 20px 22px; }
.pro-dt-body h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.pro-dt-body p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.pro-dt-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pro-dt-tags span { font-size: 12px; padding: 4px 11px; border-radius: 100px; background: var(--primary-light); color: var(--primary-dark); font-weight: 500; }

/* ---- Responsive ≤ 640px ---- */
@media (max-width: 900px) {
  .ver-grid { grid-template-columns: 1fr; gap: 20px; }
  .pro-dt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ver-advise { padding: 20px; }
  .ver-advise .cta-pair { width: 100%; }
  .ver-advise .cta-pair .btn { flex: 1 1 140px; }
  .rep-pop { position: static; width: 100%; max-width: none; margin-top: 14px; box-shadow: var(--shadow-md); }
  .cta-pair .btn { flex: 1 1 100%; }
  .ver-cmp th, .ver-cmp td { padding: 11px 13px; font-size: 13.5px; }
}
