/* Velox — website giới thiệu (tĩnh). Token màu/typography theo design handoff. */
:root {
  --ink: #17150F;
  --bg: #FAF9F6;
  --surface: #ffffff;
  --border: #EFEDE7;
  --accent: #FF5A1F;
  --accent-2: #C2410C;
  --grad: linear-gradient(135deg, #FF6A2E, #F03C12);
  --muted: #7E7B72;
  --muted-2: #5C5950;
  --soft: #FFF1EA;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }
.mono { font-family: 'JetBrains Mono', monospace; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.brand-grad { background: var(--grad); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; height: 68px;
  display: flex; align-items: center; gap: 14px; padding: 0 32px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark {
  width: 36px; height: 36px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.logo__name { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.nav__spacer { flex: 1; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 15px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  color: var(--ink); transition: background .15s;
}
.nav__link:hover { background: #F2F0EB; }
.nav__link--active { color: var(--accent); }
.nav__cta { margin-left: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-weight: 700; border-radius: 14px; cursor: pointer; border: none;
  font-family: inherit; transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; padding: 14px 24px; font-size: 15px; }
.btn--sm-dark { background: var(--ink); color: #fff; padding: 10px 20px; font-size: 14.5px; border-radius: 12px; }
.btn--light { background: #fff; color: var(--ink); border: 1.5px solid #E6E3DC; padding: 14px 24px; font-size: 15px; }
.btn--white { background: #fff; color: var(--ink); padding: 14px 26px; font-size: 15px; }
.btn--ghost-light { background: rgba(0,0,0,.18); color: #fff; padding: 14px 26px; font-size: 15px; }
.btn--accent { background: var(--accent); color: #fff; padding: 14px 26px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, #FFF6F1 0%, var(--bg) 60%); }
.hero__inner {
  display: flex; gap: 48px; align-items: center;
  padding: 72px 0 64px; flex-wrap: wrap;
}
.hero__left { flex: 1; min-width: 340px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px;
  border-radius: 15px; background: #FFE9DF; color: var(--accent-2);
  font-size: 12.5px; font-weight: 700; margin-bottom: 22px;
}
.hero h1 {
  font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  margin: 0 0 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero__lead { font-size: 17px; color: var(--muted-2); line-height: 1.6; margin: 0 0 30px; max-width: 440px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* phone mockup */
.phone {
  flex: none; width: 300px; height: 600px; background: #0B0A07; border-radius: 46px;
  padding: 10px; box-shadow: 0 30px 70px rgba(20, 18, 12, .25);
}
.phone__screen { width: 100%; height: 100%; background: var(--bg); border-radius: 37px; overflow: hidden; }
.phone__shot { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone__bar { height: 60px; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: flex-end; padding: 0 18px 12px; }
.phone__searchbar { flex: 1; height: 34px; border-radius: 10px; background: #F2F0EB; }
.phone__grid { padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.phone__card { height: 150px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { text-align: center; margin-bottom: 46px; }
.section__title { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; }
.section__sub { font-size: 16px; color: var(--muted); margin: 0; }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px;
}
.card__icon {
  width: 48px; height: 48px; border-radius: 13px; background: var(--soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card__title { font-size: 17px; font-weight: 700; margin: 0 0 7px; }
.card__text { font-size: 14px; color: var(--muted-2); line-height: 1.6; margin: 0; }

/* steps */
.steps { display: flex; gap: 32px; flex-wrap: wrap; }
.step { flex: 1; min-width: 220px; }
.step__num {
  width: 46px; height: 46px; border-radius: 13px; background: #fff; border: 1.5px solid var(--border);
  color: var(--accent); font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* CTA band */
.cta-band { background: var(--grad); border-radius: 28px; padding: 56px; text-align: center; color: #fff; }
.cta-band h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 14px; }
.cta-band p { font-size: 16px; color: #FFE3D6; margin: 0 0 30px; }
.cta-band__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Support pages ---------- */
.page-head { background: linear-gradient(160deg, #FFF6F1, var(--bg)); border-bottom: 1px solid var(--border); }
.page-head__inner { padding: 58px 0 46px; }
.page-head h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 12px; }
.page-head__sub { font-size: 17px; color: var(--muted-2); max-width: 620px; line-height: 1.55; margin: 0; }

/* help channels */
.channels { display: flex; gap: 18px; margin-bottom: 52px; flex-wrap: wrap; }
.channel { flex: 1; min-width: 240px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.channel__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.channel__title { font-size: 16px; font-weight: 700; margin: 0 0 5px; }
.channel__text { font-size: 13.5px; color: var(--muted-2); line-height: 1.55; margin: 0; }

.subhead { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 20px; }

/* faq (accordion) */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.faq > summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15.5px; font-weight: 700;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary .plus { color: #C4C0B6; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq[open] > summary .plus { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 20px; font-size: 14px; color: var(--muted-2); line-height: 1.6; }

/* tips */
.tips { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.tip { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.tip__num {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff;
  font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none;
}
.tip__title { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.tip__text { font-size: 14px; color: var(--muted-2); line-height: 1.6; margin: 0; }

/* terms */
.terms { display: flex; gap: 48px; align-items: flex-start; }
.terms__toc { flex: none; width: 230px; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 3px; }
.terms__toc a { padding: 8px 13px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--muted-2); }
.terms__toc a:hover, .terms__toc a.active { background: var(--soft); color: var(--accent-2); font-weight: 700; }
.terms__body { flex: 1; max-width: 660px; }
.terms__sec { margin-bottom: 34px; scroll-margin-top: 88px; }
.terms__sec h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.terms__sec p { font-size: 14.5px; color: #46443D; line-height: 1.7; margin: 0; }
.terms__intro { font-size: 14.5px; color: #46443D; line-height: 1.7; margin: 0 0 14px; }
.terms__bullet { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 11px; font-size: 14.5px; color: #46443D; line-height: 1.65; }
.terms__bullet::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; }
.footer__top { max-width: var(--max); margin: 0 auto; padding: 54px 32px 38px; display: flex; gap: 60px; flex-wrap: wrap; }
.footer__brand { flex: 1; min-width: 240px; }
.footer__name { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer__name span { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.footer__desc { font-size: 13.5px; color: #9D9A92; line-height: 1.6; max-width: 280px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: #262420; display: flex; align-items: center; justify-content: center; }
.footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__coltitle { font-size: 12px; font-weight: 700; color: #6E6B63; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 13.5px; color: #C9C6BE; }
.footer__links a:hover { color: #fff; }
.footer__bar { border-top: 1px solid #262420; }
.footer__bar > div { max-width: var(--max); margin: 0 auto; padding: 20px 32px; font-size: 12.5px; color: #6E6B63; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .container, .nav__inner, .footer__top, .footer__bar > div, .page-head__inner { padding-left: 20px; padding-right: 20px; }
  .nav__links { display: none; }
  .hero h1 { font-size: 38px; }
  .hero__inner { padding: 48px 0 40px; }
  .phone { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section__title, .cta-band h2 { font-size: 27px; }
  .cta-band { padding: 40px 24px; }
  .terms { flex-direction: column; gap: 24px; }
  .terms__toc { position: static; width: 100%; flex-direction: row; flex-wrap: wrap; }
  .page-head h1 { font-size: 31px; }
}

/* ---------- Language toggle (VN / EN) — theo file thiết kế ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; margin-left: 6px; flex: none;
  background: #F2F0EB; border-radius: 11px; padding: 3px;
}
.lang-seg {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border: none; border-radius: 8px; background: transparent;
  font-family: inherit; font-size: 13.5px; font-weight: 700; color: #7E7B72;
  cursor: pointer; line-height: 1; transition: background .15s, color .15s;
}
.lang-seg.is-active { background: #FFFFFF; color: #F0451B; }
.lang-flag { font-size: 14px; }
/* Nút nổi cho trang landing (listing/seller) không có thanh nav. */
.lang-toggle--float {
  position: fixed; top: 14px; right: 14px; z-index: 100; margin: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
