/* ============================================================
   KLD — Kim Long Dũng Software Solutions
   kimlongdung.com — landing page
   Design language: deep navy + gold, premium / trustworthy
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Backgrounds */
  --bg:        #050b16;
  --bg-2:      #081020;   /* alt sections */
  --bg-3:      #0b1424;   /* cards */
  --bg-4:      #101c30;   /* elevated / hover */
  --bg-glass:  rgba(8, 15, 28, 0.72);

  /* Gold */
  --gold:        #d4af5f;
  --gold-2:      #e7c878;
  --gold-bright: #f4d98a;
  --gold-deep:   #a9812f;
  --gold-grad:   linear-gradient(135deg, #f6dd97 0%, #dbb75f 46%, #b5893a 100%);
  --gold-line:   rgba(212, 175, 95, 0.16);
  --gold-line-2: rgba(212, 175, 95, 0.34);
  --gold-glow:   rgba(212, 175, 95, 0.20);

  /* Text */
  --text:   #f3efe6;
  --text-2: #c6ccd8;
  --text-3: #8b94a6;

  /* Structure */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --maxw:      1180px;
  --gutter:    clamp(20px, 5vw, 40px);

  --shadow:    0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, 0.65);
  --ring:      0 0 0 1px var(--gold-line);

  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Montserrat", var(--font-body);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 45% at 50% -8%, rgba(212, 175, 95, 0.10), transparent 60%),
    radial-gradient(45% 35% at 92% 8%, rgba(212, 175, 95, 0.05), transparent 55%),
    radial-gradient(55% 40% at 4% 96%, rgba(90, 120, 200, 0.05), transparent 60%);
  pointer-events: none;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: rgba(212, 175, 95, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold-grad);
  color: #2a1e07;
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
  font-family: var(--font-head);
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}
.section--alt { background: var(--bg-2); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.hairline {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold-line-2), transparent);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

/* Section heads */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.14; letter-spacing: -0.01em; }

.h-xl { font-size: clamp(2.1rem, 5.4vw, 3.7rem); font-weight: 800; }
.h-lg { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.h-md { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--text-2);
  margin-top: 18px;
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-3); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px;
  --pad-x: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--gold-grad);
  color: #2a1e07;
  box-shadow: 0 12px 30px -12px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(212, 175, 95, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--ghost {
  background: rgba(212, 175, 95, 0.05);
  color: var(--gold-2);
  border-color: var(--gold-line-2);
}
.btn--ghost:hover {
  background: rgba(212, 175, 95, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn--lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--gold-line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__brand img { height: 30px; width: auto; }
.nav__brand .brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-2);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--gold-2); background: rgba(212, 175, 95, 0.07); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--gold-line-2);
  background: rgba(212, 175, 95, 0.05);
  color: var(--gold-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  transition: background 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: rgba(212, 175, 95, 0.12); border-color: var(--gold); }
.lang-toggle svg { width: 15px; height: 15px; opacity: 0.9; }

/* Mobile nav */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--gold-line-2);
  border-radius: 12px;
  background: rgba(212, 175, 95, 0.05);
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle span::before { transform: translate(-50%, -7px); }
.nav__toggle span::after  { transform: translate(-50%, 5px); }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translate(-50%, -50%) rotate(45deg); }
body.nav-open .nav__toggle span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(120px, 17vh, 180px);
  padding-bottom: clamp(64px, 9vw, 110px);
  text-align: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -10%; left: 50%;
  width: min(760px, 92vw); height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 40%, rgba(212, 175, 95, 0.22), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}
.hero__logo {
  display: block;
  width: min(430px, 78vw);
  height: auto;
  margin: 0 auto clamp(26px, 4vw, 40px);
  filter: drop-shadow(0 12px 40px rgba(212, 175, 95, 0.22));
}
.hero__title { max-width: 16ch; margin-inline: auto; }
.hero .h-xl { max-width: 20ch; margin-inline: auto; }
.hero__subtitle {
  max-width: 62ch;
  margin: 22px auto 0;
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  margin: 36px auto 0;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: rgba(212, 175, 95, 0.04);
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.5;
}
.hero__trust .dot {
  flex: 0 0 auto;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 95, 0.15);
}

/* ---------- Pain section ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.pain-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pain-card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(212, 175, 95, 0.10);
  color: var(--gold-2);
  margin-bottom: 16px;
}
.pain-card__icon svg { width: 22px; height: 22px; }
.pain-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--text); }
.pain-card p { font-size: 0.95rem; color: var(--text-3); }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--gold-line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(212, 175, 95, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-line-2);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover::after { opacity: 1; }
.feature-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(212, 175, 95, 0.16), rgba(212, 175, 95, 0.04));
  border: 1px solid var(--gold-line-2);
  color: var(--gold-2);
  margin-bottom: 20px;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-3); font-size: 0.96rem; }

/* ---------- Compliance band ---------- */
.compliance {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(212, 175, 95, 0.10), transparent 55%),
    var(--bg-3);
  border: 1px solid var(--gold-line-2);
}
.compliance__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(212, 175, 95, 0.12);
  border: 1px solid var(--gold-line-2);
  color: var(--gold-2);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.compliance__badge svg { width: 16px; height: 16px; }
.compliance h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.compliance p { color: var(--text-2); margin-top: 14px; }
.compliance__list { display: grid; gap: 14px; }
.compliance__list li {
  display: flex; gap: 13px; align-items: flex-start;
  color: var(--text-2); font-size: 0.98rem;
}
.compliance__list svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold); margin-top: 1px; }

/* ---------- Product showcase ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.product__media { position: relative; }
.product__frame {
  border-radius: var(--radius);
  border: 1px solid var(--gold-line-2);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-3);
  position: relative;
}
.product__frame::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
}
.product__frame img { width: 100%; }
.product__media::after {
  content: "";
  position: absolute;
  inset: -8% -6% -14% -6%;
  background: radial-gradient(60% 60% at 60% 40%, rgba(212, 175, 95, 0.18), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}
.product__bullets { display: grid; gap: 16px; margin-top: 28px; }
/* Dạng lưới 2 cột, canh giữa — dùng khi mục Phần mềm không có ảnh */
.product__bullets--grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px 44px;
  max-width: 940px;
  margin-inline: auto;
}
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-item .tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(212, 175, 95, 0.12);
  border: 1px solid var(--gold-line-2);
  color: var(--gold);
  margin-top: 2px;
}
.check-item .tick svg { width: 15px; height: 15px; }
.check-item p { color: var(--text-2); font-size: 0.98rem; }

/* ---------- Why KLD (pillars) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.pillar {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  background: linear-gradient(180deg, rgba(212, 175, 95, 0.04), transparent);
}
.pillar__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.pillar h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pillar p { color: var(--text-3); font-size: 0.96rem; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.story__text p { color: var(--text-2); margin-top: 18px; }
.story__text p:first-of-type { margin-top: 0; }
.story__aside {
  position: relative;
  padding: clamp(30px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(212, 175, 95, 0.12), transparent 55%),
    var(--bg-3);
  border: 1px solid var(--gold-line-2);
}
.story__aside img { width: 200px; margin-bottom: 26px; }
.story__quote {
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding-left: 22px;
}
.story__quote::before {
  content: "";
  position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 3px;
  background: var(--gold-grad);
}
.story__proof {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.86rem; color: var(--gold-2); font-weight: 600;
  letter-spacing: 0.03em;
}
.story__proof .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--gold-line);
}
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.85;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 9px; }
.step p { color: var(--text-3); font-size: 0.94rem; }

/* ---------- Pricing ---------- */
.pricing-card {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(212, 175, 95, 0.12), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--gold-line-2);
  box-shadow: var(--shadow);
}
.pricing-card__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--gold-grad); color: #2a1e07;
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.03em; margin-bottom: 22px;
}
.pricing-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pricing-card__intro { color: var(--text-2); margin: 18px auto 0; max-width: 60ch; }
.pricing-perks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px;
  margin: 28px 0;
}
.pricing-perks li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 0.92rem; }
.pricing-perks svg { width: 18px; height: 18px; color: var(--gold); }
.pricing-card__note { color: var(--text-3); font-size: 0.9rem; margin-top: 22px; max-width: 62ch; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: var(--gold-line-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--gold-line-2);
  transition: transform 0.3s var(--ease), background 0.25s;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
}
.faq-item summary .plus::before { width: 11px; height: 2px; }
.faq-item summary .plus::after  { width: 2px; height: 11px; transition: transform 0.3s var(--ease); }
.faq-item[open] summary .plus { background: rgba(212, 175, 95, 0.14); transform: rotate(180deg); }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__body { padding: 0 24px 22px; color: var(--text-2); font-size: 0.98rem; }

/* ---------- Final CTA ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: clamp(50px, 7vw, 92px) clamp(24px, 5vw, 60px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(212, 175, 95, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-4), var(--bg-3));
  border: 1px solid var(--gold-line-2);
  overflow: hidden;
}
.cta-final h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 22ch; margin-inline: auto; }
.cta-final p { color: var(--text-2); max-width: 58ch; margin: 20px auto 0; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.contact-methods {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 30px;
}
.contact-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid var(--gold-line);
  background: rgba(212, 175, 95, 0.04);
  color: var(--text);
  font-weight: 500; font-size: 0.94rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.contact-chip:hover { border-color: var(--gold); background: rgba(212, 175, 95, 0.1); transform: translateY(-2px); }
.contact-chip svg { width: 20px; height: 20px; color: var(--gold-2); }
.contact-chip small { color: var(--text-3); display: block; font-size: 0.72rem; letter-spacing: 0.04em; }
.contact-chip .cc-text { text-align: left; line-height: 1.25; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(50px, 6vw, 80px) 0 34px;
  border-top: 1px solid var(--gold-line);
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 46px;
}
.footer-brand img { width: 180px; margin-bottom: 18px; }
.footer-brand p { color: var(--text-3); font-size: 0.92rem; max-width: 42ch; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: var(--text-3); font-size: 0.93rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-3); font-size: 0.84rem;
}
.footer-bottom .sep { color: var(--gold-line-2); }

/* ---------- i18n: default content in HTML is English; JS swaps to VI ---------- */
html[lang="vi"] .en-only { display: none; }
html[lang="en"] .vi-only { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   Trang /ban-le — sản phẩm đang phát triển + form đăng ký sớm
   ============================================================ */
.nav__back {
  font-size: 0.9rem;
  color: var(--text-2);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav__back:hover { color: var(--gold-2); background: rgba(212, 175, 95, 0.07); }

/* Nhãn trạng thái "đang phát triển" */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid var(--gold-line-2);
  background: rgba(212, 175, 95, 0.08);
  color: var(--gold-2);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.status-badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 175, 95, 0.55);
  animation: pulse 2.4s infinite;
}

/* Ô "nói thẳng" — trung thực về việc chưa có sản phẩm */
.honest-note {
  max-width: 660px;
  margin: 38px auto 0;
  padding: 18px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--gold-line-2);
  background: rgba(212, 175, 95, 0.04);
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
}
.honest-note strong { color: var(--gold-2); display: block; margin-bottom: 4px; }

.plan-note {
  max-width: 62ch;
  margin: 34px auto 0;
  text-align: center;
  color: var(--text-3);
  font-size: 0.93rem;
}

/* ---------- Form đăng ký sớm ---------- */
.form-card {
  color-scheme: dark;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(212, 175, 95, 0.10), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--gold-line-2);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
}
.field .opt { font-weight: 400; color: var(--text-3); font-size: 0.82rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-line);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); opacity: 0.8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}
.form-note {
  margin-top: 16px;
  text-align: center;
  color: var(--text-3);
  font-size: 0.85rem;
}
/* Bẫy bot — ẩn khỏi người dùng */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Dấu tích trang cảm ơn */
.thanks-tick {
  width: 62px; height: 62px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold-line-2);
  background: rgba(212, 175, 95, 0.12);
  color: var(--gold);
}
.thanks-tick svg { width: 30px; height: 30px; }

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .compliance, .product, .story { grid-template-columns: 1fr; }
  .product__media { order: -1; }
  .story__aside { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav__links, .nav .nav__cta-desktop { display: none; }
  .nav__toggle { display: block; }
  .nav__mobile {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gold-line);
    padding: 16px var(--gutter) 26px;
    display: grid;
    gap: 6px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease);
  }
  body.nav-open .nav__mobile { opacity: 1; transform: none; pointer-events: auto; }
  .nav__mobile a {
    padding: 13px 12px;
    border-radius: 12px;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .nav__mobile a:hover { background: rgba(212, 175, 95, 0.07); }
  .nav__mobile .btn { margin-top: 12px; }
}

@media (min-width: 761px) {
  .nav__mobile { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta-final__actions .btn { width: 100%; }
  .hero__trust { flex-direction: row; align-items: flex-start; text-align: left; }
}

/* ---------- Motion / print prefs ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .story__proof .pulse { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
