/* =========================================================================
   Agent Zalo Landing — styles
   Bảng màu: xanh Zalo (#0068ff) + xanh lá tin cậy (#00b14f), nền sáng.
   Thang spacing 4px. Font: Be Vietnam Pro (tối ưu tiếng Việt).
   ========================================================================= */

:root {
  /* Màu thương hiệu */
  --brand: #0068ff;
  --brand-dark: #0052cc;
  --brand-soft: #e8f1ff;
  --accent: #00b14f;
  --accent-dark: #009343;
  --accent-soft: #e6f7ee;

  /* Trung tính */
  --ink: #0f1b2d;
  --ink-2: #3a4a5e;
  --muted: #6b7a8d;
  --line: #e4e9f0;
  --surface: #ffffff;
  --surface-2: #f5f8fc;
  --surface-3: #eef3f9;

  /* Trạng thái */
  --danger: #e5484d;
  --warn: #f0a020;

  /* Thang spacing (4px) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem;
  --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem;

  /* Bo góc */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  /* Đổ bóng (tiết chế) */
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
  --shadow-md: 0 6px 20px rgba(15, 27, 45, .08);
  --shadow-lg: 0 18px 50px rgba(15, 27, 45, .12);

  --maxw: 1140px;
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; color: var(--ink); }
p { margin: 0; }
code { background: var(--surface-3); padding: 1px 6px; border-radius: 6px; font-size: .9em; color: var(--brand-dark); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: var(--s-3) var(--s-4); border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------- Layout ---------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-5); }
.container.narrow { max-width: 800px; }
.section { padding: var(--s-20) 0; }

.section-head { max-width: 680px; margin: 0 auto var(--s-12); text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.4rem); letter-spacing: -.02em; }
.section-sub { margin-top: var(--s-3); color: var(--muted); font-size: 1.08rem; }

/* ------------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 0.85rem 1.4rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.6rem 1.05rem; font-size: .94rem; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(0, 104, 255, .28); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 10px 26px rgba(0, 104, 255, .36); }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }

.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #f0f5ff; }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s-6); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; }
.brand-name { color: var(--ink); }

.nav-desktop { display: flex; gap: var(--s-6); margin-left: var(--s-4); }
.nav-desktop a { color: var(--ink-2); font-weight: 500; padding: var(--s-2) 0; position: relative; }
.nav-desktop a:hover { color: var(--brand); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; gap: var(--s-2); padding: var(--s-4) var(--s-5) var(--s-6); border-top: 1px solid var(--line); background: #fff; }
.nav-mobile a { padding: var(--s-3); border-radius: var(--r-sm); color: var(--ink-2); font-weight: 500; }
.nav-mobile a:hover { background: var(--surface-2); }
.nav-mobile .btn { margin-top: var(--s-2); color: #fff; }

/* -------------------------------- Hero ----------------------------------- */
.hero { padding: var(--s-16) 0 var(--s-20); background:
  radial-gradient(1200px 500px at 80% -10%, var(--brand-soft), transparent 60%),
  radial-gradient(900px 450px at 0% 10%, var(--accent-soft), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-16); align-items: center; }
.eyebrow {
  display: inline-block; font-size: .9rem; font-weight: 600; color: var(--accent-dark);
  background: var(--accent-soft); padding: var(--s-2) var(--s-3); border-radius: var(--r-pill); margin-bottom: var(--s-4);
}
.hero-copy h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.3rem); letter-spacing: -.03em; }
.hero-copy h1 .hl { color: var(--brand); }
.lead { margin-top: var(--s-5); color: var(--ink-2); font-size: 1.15rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.hero-assure { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-5); font-size: .9rem; font-weight: 500; color: var(--accent-dark); }
.hero-assure svg { color: var(--accent); flex-shrink: 0; }

/* Sơ đồ phễu Hero: Nhóm khác → hành động → Cộng đồng của bạn (CSS thuần) */
.hero-visual { position: relative; }
.funnel { position: relative; display: flex; flex-direction: column; gap: var(--s-2); }
.funnel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: var(--s-5); }
.funnel-card.target { border-color: #bfe9d0; }
.funnel-tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: var(--s-1) var(--s-3); border-radius: var(--r-pill); margin-bottom: var(--s-4); }
.tag-grey { background: var(--surface-3); color: var(--ink-2); }
.tag-green { background: var(--accent-soft); color: var(--accent-dark); }
.avatars { display: flex; flex-wrap: wrap; gap: 8px; }
.avatars i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .85rem; font-style: normal; background: var(--c, var(--brand)); box-shadow: var(--shadow-sm); }
.avatars i.more { background: var(--ink); font-size: .78rem; }
.funnel-count { display: block; margin-top: var(--s-4); font-size: .86rem; color: var(--muted); font-weight: 600; }
.funnel-count.green { color: var(--accent-dark); }
.funnel-arrow { display: grid; place-items: center; color: var(--brand); }
.funnel-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.flow-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-size: .84rem; font-weight: 600; padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); box-shadow: 0 6px 16px rgba(0, 104, 255, .26); }

.floating-badge {
  position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  border-radius: var(--r-pill); padding: var(--s-3) var(--s-4); font-size: .9rem; font-weight: 600; color: var(--ink);
  animation: float 4s ease-in-out infinite;
}
.fb-1 { top: -14px; left: -10px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* -------------------------------- Stats ---------------------------------- */
.stats { background: var(--ink); color: #fff; padding: var(--s-10) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); text-align: center; }
.stat-num { display: block; font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat-label { color: #aebcd0; font-size: .95rem; }

/* ------------------------------ Problem ---------------------------------- */
.problem { background: var(--surface-2); }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-6); align-items: stretch; }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-8); }
.compare-col h3 { font-size: 1.2rem; margin-bottom: var(--s-5); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.compare-col li { display: flex; gap: var(--s-3); padding: var(--s-3) 0; color: var(--ink-2); }
.compare-col li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background-position: center; background-repeat: no-repeat; }
.compare-col.pain { border-top: 4px solid var(--danger); }
.compare-col.pain li::before { background-color: #fdecec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='3'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.compare-col.gain { border-top: 4px solid var(--accent); }
.compare-col.gain li::before { background-color: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300b14f' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.compare-arrow { display: grid; place-items: center; color: var(--muted); }

/* ------------------------------ Use case --------------------------------- */
.usecase { background: linear-gradient(135deg, #073a8f 0%, var(--brand) 100%); color: #fff; }
.usecase .section-head h2 { color: #fff; }
.usecase .section-sub.light { color: rgba(255, 255, 255, .88); }
.eyebrow-light { background: rgba(255, 255, 255, .16); color: #fff; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
.flow-step { position: relative; background: #fff; border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-md); }
.flow-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 1rem; position: absolute; top: calc(var(--s-4) * -1); left: var(--s-6); box-shadow: var(--shadow-sm); }
.flow-icon { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin: var(--s-4) 0 var(--s-4); }
.flow-step h3 { font-size: 1.1rem; margin-bottom: var(--s-2); color: var(--ink); }
.flow-step p { color: var(--ink-2); font-size: .96rem; }
/* Mũi tên nối giữa các bước (desktop) */
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: calc(var(--s-6) * -1 + 2px); transform: translateY(-50%); z-index: 2;
  width: 26px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.usecase-shot { margin: var(--s-12) auto 0; max-width: 760px; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.usecase-shot img { width: 100%; height: auto; display: block; }
.usecase-shot figcaption { padding: var(--s-4) var(--s-6); color: var(--ink-2); font-size: .95rem; text-align: center; }
.usecase-cta { text-align: center; margin-top: var(--s-8); }

/* ------------------------------ Features --------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-8); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ff; }
.feature-icon { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: var(--s-5); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: var(--s-3); }
.feature-card p { color: var(--ink-2); }

/* ------------------------------ Showcase --------------------------------- */
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.shot img { width: 100%; height: auto; display: block; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.shot figcaption { padding: var(--s-4) var(--s-5); color: var(--ink-2); font-size: .95rem; }
.shot figcaption strong { display: block; color: var(--ink); margin-bottom: 2px; }
.shot-lg { max-width: 880px; margin: 0 auto var(--s-6); }
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.shot-note { text-align: center; margin-top: var(--s-8); color: var(--muted); font-size: .9rem; }

/* ------------------------------- How ------------------------------------- */
.how { background: var(--surface-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-8); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: var(--s-5); }
.step h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.step p { color: var(--ink-2); }

/* ------------------------------ Pricing ---------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-8); display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .82rem; font-weight: 700; padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); white-space: nowrap; }
.price-name { font-size: 1.3rem; }
.price-desc { color: var(--muted); font-size: .95rem; margin-top: var(--s-2); min-height: 2.6em; }
.price-amount { margin: var(--s-5) 0 var(--s-2); display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-1) var(--s-2); }
.price-amount .amount { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.1rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-amount .per { color: var(--muted); font-weight: 500; }
.price-save { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: 2px var(--s-3); border-radius: var(--r-pill); margin-bottom: var(--s-4); }
.price-list { flex: 1; margin-bottom: var(--s-6); }
.price-list li { display: flex; gap: var(--s-3); padding: var(--s-2) 0; color: var(--ink-2); }
.price-list li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) 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='%2300b14f' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat; }
.price-note { text-align: center; margin-top: var(--s-8); color: var(--muted); font-size: .9rem; }

/* ---------------------------- Testimonials ------------------------------- */
.testimonials { background:
  radial-gradient(900px 420px at 85% -10%, var(--brand-soft), transparent 60%),
  radial-gradient(700px 380px at 0% 0%, var(--accent-soft), transparent 55%), var(--surface-2); }

/* Thanh tổng điểm */
.testi-summary { display: flex; width: fit-content; align-items: center; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-4); margin: 0 auto var(--s-10); padding: var(--s-3) var(--s-6); background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.testimonials .container { display: flex; flex-direction: column; align-items: center; }
.testimonials .section-head, .testimonials .testi-grid { width: 100%; }
.ts-score { font-size: 1.8rem; font-weight: 800; color: var(--ink); line-height: 1; }
.ts-score small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.ts-stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; }
.ts-count { color: var(--ink-2); font-size: .95rem; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.testi-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-8); display: flex; flex-direction: column; gap: var(--s-4); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe0ff; }
.testi-quote { position: absolute; top: -6px; right: 14px; font-size: 5rem; line-height: 1; font-weight: 800; color: var(--brand-soft); pointer-events: none; font-family: Georgia, serif; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; position: relative; }
.testi-card blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.55; position: relative; }
.testi-metric { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: var(--s-2) var(--s-3); border-radius: var(--r-pill); }
.testi-card figcaption { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; padding-top: var(--s-2); }
.testi-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 700; flex-shrink: 0; background: linear-gradient(135deg, #4f9bff, var(--brand)); }
.testi-avatar.av-2 { background: linear-gradient(135deg, #f6a24a, #f5821f); }
.testi-avatar.av-3 { background: linear-gradient(135deg, #34d27f, var(--accent)); }
.testi-avatar.av-4 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.testi-avatar.av-5 { background: linear-gradient(135deg, #f472b6, #db2777); }
.testi-avatar.av-6 { background: linear-gradient(135deg, #38bdf8, #0891b2); }
.testi-card figcaption strong { display: block; color: var(--ink); }
.testi-card figcaption small { color: var(--muted); }

/* -------------------------------- FAQ ------------------------------------ */
.faq-list { display: flex; flex-direction: column; gap: var(--s-3); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: var(--s-5) var(--s-6); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex-shrink: 0; width: 22px; height: 22px; background: var(--surface-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f1b2d' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center no-repeat; border-radius: 6px; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--brand); }
.faq-answer { padding: 0 var(--s-6) var(--s-5); color: var(--ink-2); }

/* ------------------------------ Safety ----------------------------------- */
.safety { background: var(--surface-2); }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.safety-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-8); text-align: center; }
.safety-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto var(--s-5); background: var(--accent-soft); color: var(--accent-dark); }
.safety-card h3 { font-size: 1.15rem; margin-bottom: var(--s-3); }
.safety-card p { color: var(--ink-2); }
.safety-note { text-align: center; margin-top: var(--s-8); color: var(--muted); }

/* ------------------------------ CTA final + form ------------------------- */
.cta-final { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; padding: var(--s-20) 0; }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-12); align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(1.6rem, 1rem + 2.4vw, 2.4rem); letter-spacing: -.02em; }
.cta-copy p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-top: var(--s-4); }
.cta-assure { margin: var(--s-6) 0; display: flex; flex-direction: column; gap: var(--s-3); }
.cta-assure li { display: flex; align-items: center; gap: var(--s-3); color: #eaf2ff; font-weight: 500; }
.cta-assure svg { color: #aef0c8; flex-shrink: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Form thu lead */
.lead-form { background: #fff; border-radius: var(--r-xl); padding: var(--s-8); box-shadow: var(--shadow-lg); }
.lead-form h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: var(--s-5); }
.lf-field { margin-bottom: var(--s-4); }
.lf-field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-bottom: var(--s-2); }
.lf-opt { font-weight: 400; color: var(--muted); }
.lf-field input, .lf-field select { width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink); padding: 0.8rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .15s, box-shadow .15s; }
.lf-field input:focus, .lf-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.lf-field input.invalid { border-color: var(--danger); }
.lf-error { color: #ffd7d8; background: rgba(229,72,77,.16); border: 1px solid rgba(255,255,255,.18); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); font-size: .9rem; font-weight: 500; margin-bottom: var(--s-3); }
.lead-form .lf-error { color: var(--danger); background: #fdecec; border-color: #f6c9cb; }
.lead-form button { margin-top: var(--s-2); }
.lf-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: var(--s-4); font-size: .85rem; color: var(--muted); }

/* ------------------------------ Thank you -------------------------------- */
.thanks { min-height: 70vh; display: grid; place-items: center; padding: var(--s-16) 0; background:
  radial-gradient(900px 400px at 50% -10%, var(--brand-soft), transparent 60%); }
.thanks-inner { text-align: center; max-width: 560px; }
.thanks-check { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto var(--s-6); background: var(--accent-soft); color: var(--accent); }
.thanks-inner h1 { font-size: clamp(1.8rem, 1rem + 3vw, 2.6rem); letter-spacing: -.02em; }
.thanks-inner p { margin-top: var(--s-4); color: var(--ink-2); font-size: 1.1rem; }
.thanks-sub { font-weight: 600; color: var(--ink); }
.thanks-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-8); }

/* ------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--ink); color: #c2cdda; padding: var(--s-16) 0 var(--s-8); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s-8); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { background: var(--brand); }
.footer-brand p { margin-top: var(--s-4); max-width: 38ch; color: #97a6b8; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: var(--s-4); }
.footer-col a { display: block; padding: var(--s-2) 0; color: #c2cdda; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #8493a6; }
.footer-disclaimer { color: #6b7a8d; }

/* --------------------------- Sticky contact ------------------------------ */
.sticky-contact { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: var(--s-3); }
.sc-btn { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: var(--shadow-lg); transition: transform .15s; }
.sc-btn:hover { transform: scale(1.08); }
.sc-zalo { background: var(--brand); }
.sc-phone { background: var(--accent); }
.sc-pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(0,104,255,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,104,255,.5); } 70% { box-shadow: 0 0 0 16px rgba(0,104,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,104,255,0); } }

/* ============================== RESPONSIVE =============================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-12); }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .lead { max-width: none; }
  .feature-grid, .steps, .price-grid, .testi-grid, .flow { grid-template-columns: repeat(2, 1fr); }
  .flow { gap: var(--s-8) var(--s-6); }
  .flow-step::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-8); }
  .price-card.featured { transform: none; }
  .cta-grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: flex; }
  .section { padding: var(--s-16) 0; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); padding: var(--s-2) 0; }
  .feature-grid, .steps, .price-grid, .testi-grid, .flow, .shot-grid, .safety-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
}

@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
