/* ══════════════════════════════════════════════════════════════
   Chembloom — Design System (Vibrant Dark)
   Dùng chung cho index.html, privacy-policy.html, support.html
   ══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Surfaces */
  --bg:          #07060c;
  --bg-alt:      #0b0a13;
  --card:        #121020;
  --card-hover:  #171529;
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.14);

  /* Brand */
  --indigo:       #6366f1;
  --indigo-dark:  #4f46e5;
  --indigo-light: rgba(99,102,241,0.14);
  --violet:       #8b5cf6;
  --pink:         #ec4899;

  /* Text */
  --text:    #f8fafc;
  --text-2:  rgba(248,250,252,0.72);
  --muted:   rgba(248,250,252,0.50);
  --faint:   rgba(248,250,252,0.30);

  /* Status */
  --green: #34d399;
  --gold:  #fbbf24;
  --red:   #f87171;

  --radius:    20px;
  --radius-sm: 12px;
  --container: 1160px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ════════════════════════════════════
   MOTION
════════════════════════════════════ */
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.06); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-orb, .v-orb, .phone-glow { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7,6,12,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}

.nav-right { display: flex; align-items: center; gap: 4px; }

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 10px; }

/* ════════════════════════════════════
   BUTTONS
════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  box-shadow: 0 4px 18px rgba(99,102,241,0.4);
}
.btn-primary:hover { box-shadow: 0 8px 26px rgba(99,102,241,0.55); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover { border-color: var(--indigo); color: #c7d2fe; background: rgba(99,102,241,0.08); }

.btn-ghost { background: transparent; color: var(--indigo); }
.btn-ghost:hover { background: var(--indigo-light); }

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 24px 0;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 15% 0%, rgba(99,102,241,0.32) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(139,92,246,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(236,72,153,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: 0.45; }
.hero-orb-1 { width: 320px; height: 320px; background: rgba(99,102,241,0.55); top: -100px; left: -60px; animation: orbDrift 9s ease-in-out infinite; }
.hero-orb-2 { width: 220px; height: 220px; background: rgba(167,139,250,0.45); top: 120px; right: 6%; animation: orbDrift 11s ease-in-out infinite reverse; }

.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.16);
  color: #c4b5fd;
  border: 1px solid rgba(139,92,246,0.35);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 26px;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(36px, 6.2vw, 62px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #a5b4fc, #ddd6fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.apple-badge-link { display: inline-block; transition: transform 0.15s, filter 0.15s; }
.apple-badge-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.apple-badge-link:active { transform: scale(0.97); }
.apple-badge-img { height: 54px; width: auto; display: block; }

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 36px 0 40px;
}

.hero-stat { padding: 0 30px; border-right: 1px solid var(--border); text-align: center; }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; margin-bottom: 4px; }
.hero-stat-label { font-size: 12px; color: var(--faint); font-weight: 500; }

/* ── Hero shot (ảnh chụp màn hình thật) ── */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 56px 24px 0;
}

.hero-shot {
  width: 260px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero-shot img { width: 100%; display: block; }

/* ── Screenshots gallery (ảnh chụp thật, cuộn ngang) ── */
.shots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots-scroll::-webkit-scrollbar { height: 6px; }
.shots-scroll::-webkit-scrollbar-track { background: transparent; }
.shots-scroll::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }

.shot-card {
  flex: 0 0 auto;
  width: 210px;
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.shot-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(99,102,241,0.25); }
.shot-card img { width: 100%; display: block; }

/* ════════════════════════════════════
   SOCIAL PROOF BAR
════════════════════════════════════ */
.social-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  margin-top: 64px;
}

.social-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.social-bar-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.social-bar-item strong { color: var(--text); }

/* ════════════════════════════════════
   SHARED SECTION
════════════════════════════════════ */
.section { padding: 100px 24px; max-width: var(--container); margin: 0 auto; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a5b4fc;
  background: var(--indigo-light);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub { font-size: 17px; color: var(--text-2); max-width: 540px; line-height: 1.65; margin-bottom: 56px; }

/* ════════════════════════════════════
   FEATURES
════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  opacity: 0;
  transition: opacity 0.2s;
}

.feat-card:hover {
  box-shadow: 0 16px 44px rgba(99,102,241,0.18);
  transform: translateY(-3px);
  border-color: rgba(99,102,241,0.35);
  background: var(--card-hover);
}
.feat-card:hover::before { opacity: 1; }

.feat-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 23px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(139,92,246,0.18));
  border: 1px solid rgba(139,92,246,0.25);
}

.feat-card h3 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; letter-spacing: -0.2px; }
.feat-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ════════════════════════════════════
   LAUNCH CARD (thay reviews giả)
════════════════════════════════════ */
.launch-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.launch-card-emoji { font-size: 44px; margin-bottom: 16px; }
.launch-card h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.launch-card p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }

/* ════════════════════════════════════
   PRICING
════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

.plan {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.2s, border-color .2s;
}
.plan:hover { box-shadow: 0 16px 44px rgba(0,0,0,0.35); }

.plan.featured {
  border-color: rgba(99,102,241,0.55);
  background: linear-gradient(180deg, rgba(99,102,241,0.10) 0%, var(--card) 60%);
  box-shadow: 0 8px 44px rgba(99,102,241,0.25);
}

.plan-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 16px; border-radius: 100px;
  white-space: nowrap; letter-spacing: 0.8px;
  box-shadow: 0 4px 14px rgba(99,102,241,0.5);
}

.plan-tier { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }
.plan-price { font-size: 32px; font-weight: 900; color: var(--text); letter-spacing: -1px; line-height: 1; margin-bottom: 5px; }
.plan-price sub { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-note { font-size: 13px; color: var(--muted); margin-bottom: 24px; min-height: 20px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 20px; }
.plan-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.plan-features li { font-size: 14px; color: var(--text-2); display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.plan-check { color: var(--green); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.plan-x { color: var(--faint); font-size: 14px; flex-shrink: 0; margin-top: 1px; }

.plan-cta { display: block; text-align: center; padding: 13px 20px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.15s; }
.plan-cta-outline { border: 1.5px solid var(--border-2); color: var(--text); background: transparent; }
.plan-cta-outline:hover { border-color: var(--indigo); color: #c7d2fe; background: rgba(99,102,241,0.08); }
.plan-cta-primary { background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; box-shadow: 0 4px 18px rgba(99,102,241,0.4); }
.plan-cta-primary:hover { box-shadow: 0 8px 26px rgba(99,102,241,0.55); transform: translateY(-1px); }

/* ════════════════════════════════════
   FAQ (dùng ở index.html và support.html)
════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color .2s;
}
details[open] { box-shadow: 0 8px 28px rgba(0,0,0,0.3); border-color: var(--border-2); }

summary {
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; color: #a5b4fc; font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: '−'; }

.faq-answer { padding: 0 22px 20px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.faq-answer a { color: #a5b4fc; font-weight: 600; text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }

.steps { margin: 8px 0 0 18px; color: var(--muted); font-size: 13.5px; list-style: decimal; }
.steps li { margin-bottom: 4px; }

/* ════════════════════════════════════
   CTA BOTTOM
════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 90% at 50% 100%, rgba(99,102,241,0.30) 0%, transparent 65%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-section h2 { font-size: clamp(28px, 5vw, 48px); font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: var(--text-2); margin-bottom: 40px; }

/* ════════════════════════════════════
   FOOTER — multi-column
════════════════════════════════════ */
footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 24px 28px; }

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-size: 18px; font-weight: 800; color: #fff;
  margin-bottom: 12px;
}
.footer-brand-icon {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.footer-tagline { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 260px; }

.footer-col-title { font-size: 12.5px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 12px; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--faint); }
.footer-badges { display: flex; gap: 10px; font-size: 12px; color: var(--faint); }

/* ════════════════════════════════════
   VIDEO DEMO
════════════════════════════════════ */
.video-inner { max-width: 820px; margin: 0 auto; text-align: center; }

.video-wrapper {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #0f0e1a;
  aspect-ratio: 16/9;
  box-shadow: 0 28px 72px rgba(0,0,0,0.45);
  border: 1px solid rgba(99,102,241,0.28);
  margin-top: 44px;
}
.video-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.v-orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.32; }
.v-orb-1 { width: 300px; height: 300px; background: #6366f1; top: -60px; left: 5%; animation: orbDrift 10s ease-in-out infinite; }
.v-orb-2 { width: 200px; height: 200px; background: #7c3aed; bottom: -30px; right: 8%; animation: orbDrift 8s ease-in-out infinite reverse; }

.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.video-play-btn {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  box-shadow: 0 8px 36px rgba(99,102,241,0.6);
  margin-bottom: 18px; cursor: default;
}
.video-label { color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 600; letter-spacing: 0.3px; }

/* ════════════════════════════════════
   INTERACTIVE QUIZ
════════════════════════════════════ */
.quiz-inner { max-width: 640px; margin: 0 auto; }

.quiz-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  margin-top: 44px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.quiz-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.quiz-progress-bar { flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, var(--indigo), var(--violet)); border-radius: 3px; transition: width 0.5s cubic-bezier(.4,0,.2,1); }
.quiz-progress-label { font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }

.quiz-question { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.6; margin-bottom: 22px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.quiz-option {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
  text-align: left; width: 100%;
}
.quiz-option:hover:not(.qdisabled) { border-color: var(--indigo); background: var(--indigo-light); color: #e0e7ff; transform: translateX(4px); }
.quiz-option.qcorrect { border-color: var(--green); background: rgba(52,211,153,0.12); color: #6ee7b7; }
.quiz-option.qwrong { border-color: var(--red); background: rgba(248,113,113,0.12); color: #fca5a5; }
.quiz-option.qdisabled { cursor: default; }

.quiz-opt-letter {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.quiz-option.qcorrect .quiz-opt-letter { background: rgba(52,211,153,0.22); }
.quiz-option.qwrong .quiz-opt-letter { background: rgba(248,113,113,0.22); }

.quiz-explanation {
  background: var(--indigo-light);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 13px;
  padding: 14px 16px;
  font-size: 13.5px; color: #c7d2fe; line-height: 1.65;
  margin-bottom: 16px;
  display: none;
  animation: fadeUp 0.25s ease;
}
.quiz-explanation.qshow { display: block; }

.quiz-next-btn {
  width: 100%; padding: 14px; border-radius: 14px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; display: none;
  box-shadow: 0 4px 18px rgba(99,102,241,0.4);
  transition: opacity 0.15s, transform 0.15s;
}
.quiz-next-btn:hover { opacity: 0.92; transform: translateY(-1px); }
.quiz-next-btn.qshow { display: block; animation: fadeUp 0.2s ease; }

.quiz-result { text-align: center; padding: 12px 0 4px; display: none; }
.quiz-result.qshow { display: block; animation: fadeUp 0.3s ease; }
.quiz-result-emoji { font-size: 56px; margin-bottom: 16px; line-height: 1; }
.quiz-result h3 { font-size: 22px; font-weight: 900; color: var(--text); margin-bottom: 10px; }
.quiz-result p { font-size: 15px; color: var(--muted); margin-bottom: 32px; line-height: 1.65; }
.quiz-result-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.quiz-retry-btn {
  padding: 12px 22px; border-radius: 12px;
  border: 1.5px solid var(--border-2);
  background: transparent; font-size: 14px; font-weight: 700; color: var(--text-2);
  cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.quiz-retry-btn:hover { border-color: var(--indigo); color: #c7d2fe; }

/* ════════════════════════════════════
   LEGAL / SUPPORT PAGES (privacy-policy, support)
════════════════════════════════════ */
.legal-header { padding: 64px 24px 8px; text-align: center; }
.legal-main { max-width: 760px; margin: 0 auto; padding: 24px 24px 100px; }

.legal-title { font-size: clamp(28px, 4.5vw, 38px); font-weight: 900; color: var(--text); letter-spacing: -0.8px; margin-bottom: 8px; }
.legal-date { font-size: 13px; color: var(--faint); margin-bottom: 32px; }

.legal-intro {
  background: var(--indigo-light);
  border-left: 3px solid var(--indigo);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-bottom: 32px;
  color: #c7d2fe;
  font-size: 14px;
  line-height: 1.6;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  margin-bottom: 16px;
}

.legal-card h2 {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.legal-card h2 .num {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; width: 24px; height: 24px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}

.legal-card p { color: var(--text-2); font-size: 14px; margin-bottom: 10px; line-height: 1.7; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { margin: 10px 0 0; }
.legal-card ul li { color: var(--text-2); font-size: 14px; padding: 4px 0 4px 20px; position: relative; line-height: 1.6; }
.legal-card ul li::before { content: '•'; position: absolute; left: 6px; color: #a5b4fc; font-weight: 700; }

.legal-highlight {
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 10px;
  color: #fcd34d;
  font-size: 13px;
  font-weight: 600;
}

.contact-block { margin-top: 4px; }
.contact-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
.contact-item:last-child { border-bottom: none; }
.contact-item a { color: #a5b4fc; text-decoration: none; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }
.response-note { margin-top: 12px; font-size: 12.5px; color: var(--faint); }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-link { display: none; }
  .hero { padding: 64px 20px 0; }
  .hero-stat { padding: 0 16px; }
  .hero-stat-num { font-size: 22px; }
  .features-grid { grid-template-columns: 1fr; }
  .social-bar-inner { gap: 16px; }
  .quiz-card { padding: 24px 18px; }
  .section { padding: 72px 20px; }
  .quiz-result-ctas { flex-direction: column; }
  .quiz-result-ctas a, .quiz-retry-btn { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-shot { width: 210px; }
  .shot-card { width: 168px; }
}
