/* Wecomax Callbot — black restyle */
:root {
  --bg: #000;
  --bg-alt: #0a0a0a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #fff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-faint: rgba(255, 255, 255, 0.38);
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 92%); margin: 0 auto; }
.container-narrow { width: min(760px, 92%); }

::selection { background: rgba(255, 255, 255, 0.22); }

/* ---------- buttons (12px corners, no pills) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: 15px; border-radius: var(--radius);
  padding: 12px 26px; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: #fff; color: #000; box-shadow: 0 10px 30px rgba(255, 255, 255, .14); }
.btn-primary:hover { background: rgba(255, 255, 255, .86); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-strong); }

/* ---------- progressive header blur (copied technique, dark fade) ---------- */
.header-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(4rem + 48px); /* header height + bleed below the bar */
  z-index: 40; /* just below the header (z-50) */
  pointer-events: none;
}
.header-blur__layer,
.header-blur__fade {
  position: absolute;
  inset: 0;
}
.header-blur__layer--1 {
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}
.header-blur__layer--2 {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 80%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 80%);
}
.header-blur__layer--3 {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 60%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 60%);
}
.header-blur__layer--4 {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 40%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 40%);
}
/* Alpha fade in the page colour (black), so text dissolves under the bar. */
.header-blur__fade {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
}
/* backdrop-filter freezes inside Zalo / WeChat / WhatsApp WebViews — drop the layers there. */
html.wx-in-app .header-blur__layer {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ---------- nav (colorless: no background, no border, no underline) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: transparent;
  border: none;
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14.5px; color: var(--text-dim); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex; gap: 2px; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 3px; background: rgba(0, 0, 0, .35);
}
.lang-switch button {
  font: 600 11.5px/1 var(--font); letter-spacing: .04em;
  color: var(--text-dim); background: none; border: none; cursor: pointer;
  padding: 7px 9px; border-radius: 8px; transition: background .15s, color .15s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: #fff; color: #000; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 190px 0 110px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 20%, transparent 72%);
}
.hero-inner { position: relative; text-align: center; max-width: 900px; }
.hero h1 {
  font-size: clamp(52px, 9.5vw, 118px); font-weight: 900;
  line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 28px;
  text-wrap: balance;
}
.lede {
  font-size: clamp(16px, 2vw, 19px); color: var(--text-dim);
  max-width: 680px; margin: 0 auto 40px;
}
.hero-call { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 30px; }
.call-caption {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint);
}
/* webcall.js injects .wcx-hero-btn + .wcx-hero-hint here */
#webcall-hero .wcx-hero-hint { color: var(--text-faint); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--text-faint); }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px;
}
.section-head h2, .pricing-inner h2 {
  font-size: clamp(30px, 4.2vw, 48px); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 18px;
  text-wrap: balance;
}
.section-head p { color: var(--text-dim); font-size: 17px; }
.text-link { color: #fff; font-weight: 600; border-bottom: 1px solid var(--text-faint); transition: border-color .15s; }
.text-link:hover { border-color: #fff; }

/* ---------- feature cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 34px 28px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, .3); background: var(--surface-strong); }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  border: 1px solid var(--border); border-radius: 16px; padding: 30px 24px;
  background: var(--surface);
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, .3); }
.step-num {
  font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--text-faint);
  margin-bottom: 44px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- pricing / next step ---------- */
.pricing-inner { text-align: center; }
.pricing-inner .eyebrow { margin-bottom: 16px; }
.pricing-inner p { color: var(--text-dim); font-size: 17px; max-width: 620px; margin: 0 auto 18px; }
.pricing-step { font-weight: 600; color: var(--text) !important; }
.pricing-inner .btn { margin-top: 16px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-inner > p { color: var(--text-dim); font-size: 15px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 14px; color: var(--text-dim); transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.copyright { font-size: 13px; color: var(--text-faint); margin-top: 8px; }

/* ---------- lead modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative; width: min(460px, 100%);
  background: #0d0d0d; border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 30px 30px;
  transform: scale(.96) translateY(8px); transition: transform .22s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal.open .modal-card { transform: none; }
.modal-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 22px; padding-right: 30px; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--text-faint);
  font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 6px;
}
.modal-close:hover { color: #fff; }
#leadForm label { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; color: var(--text-dim); }
#leadForm input, #leadForm select {
  font: inherit; font-size: 15px; color: var(--text);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 16px; outline: none; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#leadForm select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
#leadForm select option { background: #111; color: #fff; }
#leadForm input:focus, #leadForm select:focus {
  border-color: rgba(255, 255, 255, .55); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}
#leadForm input.error, #leadForm select.error { border-color: #f87171; }
.form-status { text-align: center; font-size: 14.5px; font-weight: 600; margin-top: 14px; min-height: 22px; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ---------- cookie banner (12px corners) ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 999;
  display: flex; align-items: flex-start; gap: 18px;
  width: min(430px, calc(100vw - 40px));
  background: rgba(14, 14, 14, .92); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  transform: translateY(16px); opacity: 0; pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}
.cookie.show { transform: none; opacity: 1; pointer-events: auto; }
.cookie-body { flex: 1; font-size: 14px; }
.cookie-body strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.cookie-details summary {
  cursor: pointer; list-style: none; color: var(--text-dim);
  font-size: 13px; font-weight: 600;
}
.cookie-details summary::-webkit-details-marker { display: none; }
.cookie-details summary::before { content: '+ '; color: var(--text-faint); }
.cookie-details[open] summary::before { content: '− '; }
.cookie-details summary:hover { color: var(--text); }
.cookie-details p { margin-top: 8px; color: var(--text-dim); font-size: 13px; line-height: 1.5; }
.cookie .btn { flex-shrink: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-right { margin-left: auto; }
  .nav-burger { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute;
    top: 64px; left: 0; right: 0; padding: 10px 0;
    background: rgba(0, 0, 0, .94);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-links a { padding: 14px 6%; font-size: 16px; }
  .nav.open .nav-right .btn {
    display: inline-flex; position: absolute;
    top: calc(64px + 4 * 51px + 10px); left: 50%; transform: translateX(-50%);
  }
}
@media (max-width: 560px) {
  .hero { padding: 150px 0 80px; }
  .section { padding: 78px 0; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .step-num { margin-bottom: 24px; }
  .modal-card { padding: 30px 22px 24px; }
  .cookie { left: 12px; bottom: 12px; width: calc(100vw - 24px); flex-direction: column; gap: 12px; }
  .cookie .btn { width: 100%; }
  .lang-switch button { padding: 7px 7px; }
}

/* single CTA: hide webcall hint + any floating pill on callbot page */
.wcx-hero-hint,.wcx-pill{display:none!important}
.hero-call{display:flex;flex-direction:column;align-items:center;gap:8px}
