/* ============================================================
   FITGEN LABS — DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === TOKENS === */
:root {
  --primary:        #1a3a6e;
  --primary-mid:    #2563eb;
  --primary-dark:   #0f2347;
  --accent:         #22c55e;
  --accent-dark:    #16a34a;
  --accent-light:   #86efac;

  --grad-brand:     linear-gradient(135deg, #1a3a6e 0%, #2563eb 60%, #22c55e 100%);
  --grad-hero:      linear-gradient(105deg, rgba(15,35,71,.94) 0%, rgba(26,58,110,.78) 52%, rgba(34,197,94,.22) 100%);

  --text-900:  #0f172a;
  --text-700:  #1e293b;
  --text-500:  #475569;
  --text-400:  #64748b;
  --text-200:  #94a3b8;
  --text-inv:  #ffffff;

  --bg-white:  #ffffff;
  --bg-50:     #f8fafc;
  --bg-100:    #f1f5f9;
  --bg-dark:   #0c1528;

  --border-100: #e2e8f0;
  --border-200: #cbd5e1;

  --sh-sm:  0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --sh-md:  0 4px 18px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  --sh-lg:  0 12px 40px rgba(0,0,0,.13), 0 4px 16px rgba(0,0,0,.08);
  --sh-xl:  0 20px 60px rgba(0,0,0,.16), 0 8px 24px rgba(0,0,0,.08);

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 9999px;

  --nav-h: 72px;
  --ease:  0.22s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text-700); background: var(--bg-white); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* === TYPE SCALE === */
h1 { font-size: clamp(2rem,5vw,3.5rem);  font-weight: 800; line-height: 1.13; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem,3.5vw,2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
h3 { font-size: clamp(1.1rem,2vw,1.45rem);  font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-500); }

/* === LAYOUT HELPERS === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent);
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.22);
  padding: 4px 14px; border-radius: var(--r-pill); margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { color: var(--text-900); margin-bottom: 12px; }
.section-header p { max-width: 540px; margin: 0 auto; font-size: 1.03rem; }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--r-pill);
  transition: all var(--ease); white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad-brand); color: white;
  box-shadow: 0 4px 20px rgba(37,99,235,.38), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,.50), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,.65); backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; transform: translateY(-2px); }

.btn-ghost-dark {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary-mid);
}
.btn-ghost-dark:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.btn-accent {
  background: linear-gradient(135deg, #22c55e, #16a34a); color: white;
  box-shadow: 0 4px 20px rgba(34,197,94,.35);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(34,197,94,.48); }

.btn-lg   { font-size: 1rem; padding: 18px 36px; }
.btn-sm   { font-size: .78rem; padding: 10px 20px; }
.btn-block { width: 100%; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  transition: all var(--ease);
}
.nav.scrolled {
  background: rgba(12,21,40,.97); backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.82); padding: 8px 13px; border-radius: var(--r-md);
  transition: all var(--ease);
}
.nav-links a:hover { color: white; background: rgba(255,255,255,.1); }
.nav-links .nav-cta {
  background: var(--grad-brand); color: white; padding: 9px 18px;
  border-radius: var(--r-pill); box-shadow: 0 2px 12px rgba(37,99,235,.4);
}
.nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(37,99,235,.55); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all var(--ease); }

.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(12,21,40,.98); backdrop-filter: blur(16px);
  padding: 16px 20px 24px; z-index: 999;
  border-top: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.nav-mobile.open { display: block; animation: slideDown .2s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.nav-mobile a {
  display: block; font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.8); padding: 13px 14px;
  border-radius: var(--r-md); transition: all var(--ease);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: white; background: rgba(255,255,255,.07); }
.nav-mobile .nav-cta { margin-top: 10px; background: var(--grad-brand); color: white; text-align: center; border-radius: var(--r-pill); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background:
    var(--grad-hero),
    url('images/hero-bg.png') center 20% / cover no-repeat;
  background-color: var(--primary-dark);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 120px 0 80px; max-width: 680px;
}
/* Large logo in the hero */
.hero-logo-large {
  width: 320px;
  max-width: 90%;
  height: auto;
  margin-bottom: 32px;
  border-radius: var(--r-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
}

.hero-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--accent); }

.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #60a5fa, #22c55e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.8);
  margin-bottom: 36px; max-width: 520px; line-height: 1.75; p: 0;
}
.hero-sub p { color: rgba(255,255,255,.8); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; }

.trust-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.13); border-radius: var(--r-lg); padding: 10px 16px;
}
.trust-badge-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.28);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.trust-badge-text {
  font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.92);
  text-transform: uppercase; letter-spacing: .05em; line-height: 1.3;
}

/* scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4);
  animation: bounce 2s ease infinite;
}
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(rgba(255,255,255,.3), transparent); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(6px)} }


/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: white; border-bottom: 1px solid var(--border-100);
  padding: 22px 0;
}
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-lbl { font-size: .7rem; font-weight: 500; color: var(--text-400); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border-100); }


/* ============================================================
   ASSURANCE CARDS
   ============================================================ */
.assurance-section { padding: 56px 0; background: var(--bg-50); }
.assurance-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.assurance-card {
  background: white; border-radius: var(--r-lg); padding: 26px 20px; text-align: center;
  border: 1.5px solid var(--border-100); box-shadow: var(--sh-sm);
  transition: all var(--ease);
}
.assurance-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(37,99,235,.2); }
.assurance-icon {
  width: 58px; height: 58px; margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(26,58,110,.07),rgba(37,99,235,.09));
  border: 1px solid rgba(37,99,235,.13); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.assurance-card h4 {
  font-size: .82rem; font-weight: 700; color: var(--text-900);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px;
}
.assurance-card p { font-size: .78rem; color: var(--text-500); line-height: 1.5; }


/* ============================================================
   QUIZ SECTION
   ============================================================ */
.quiz-section { padding: 80px 0; background: var(--bg-100); }
.quiz-wrap { max-width: 640px; margin: 0 auto; }
.quiz-card {
  background: white; border-radius: var(--r-xl);
  box-shadow: var(--sh-xl); overflow: hidden;
}
.quiz-head {
  background: var(--grad-brand); padding: 28px 32px; color: white;
}
.quiz-head h3 { color: white; margin-bottom: 4px; font-size: 1.2rem; }
.quiz-head p  { color: rgba(255,255,255,.72); font-size: .875rem; }
.quiz-progress { display: flex; gap: 8px; margin-top: 18px; }
.qp-step { flex: 1; height: 4px; background: rgba(255,255,255,.25); border-radius: 4px; transition: background .4s; }
.qp-step.active    { background: white; }
.qp-step.completed { background: var(--accent-light); }

.quiz-body { padding: 32px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeUp .28s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)} }

.quiz-field { margin-bottom: 22px; }
.quiz-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-700); margin-bottom: 8px; }
.quiz-field input,
.quiz-field select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border-200);
  border-radius: var(--r-md); font-size: .9rem; color: var(--text-700);
  background: white; transition: border-color var(--ease); -webkit-appearance: none; appearance: none;
}
.quiz-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.quiz-field input:focus,
.quiz-field select:focus { outline: none; border-color: var(--primary-mid); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

.gender-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.gender-opt {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px; border: 2px solid var(--border-200); border-radius: var(--r-lg);
  cursor: pointer; transition: all var(--ease); text-align: center; user-select: none;
}
.gender-opt:hover   { border-color: var(--primary-mid); background: rgba(37,99,235,.04); }
.gender-opt.sel     { border-color: var(--primary-mid); background: rgba(37,99,235,.07); }
.gender-opt input   { display: none; }
.gender-emoji       { font-size: 1.8rem; line-height: 1; }
.gender-lbl         { font-size: .75rem; font-weight: 700; color: var(--text-700); text-transform: uppercase; letter-spacing: .04em; }

.goals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goal-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 2px solid var(--border-200); border-radius: var(--r-md);
  cursor: pointer; transition: all var(--ease); user-select: none;
}
.goal-opt:hover { border-color: var(--primary-mid); background: rgba(37,99,235,.04); }
.goal-opt.sel   { border-color: var(--primary-mid); background: rgba(37,99,235,.07); }
.goal-opt input { display: none; }
.goal-check {
  width: 20px; height: 20px; border: 2px solid var(--border-200); border-radius: 5px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; transition: all var(--ease); color: transparent;
}
.goal-opt.sel .goal-check { background: var(--primary-mid); border-color: var(--primary-mid); color: white; }
.goal-txt { font-size: .82rem; font-weight: 500; color: var(--text-700); line-height: 1.3; }

.quiz-actions { display: flex; gap: 12px; margin-top: 28px; }
.quiz-note { text-align: center; font-size: .7rem; color: var(--text-200); margin-top: 14px; line-height: 1.5; }

.quiz-done { text-align: center; padding: 8px 0; }
.quiz-done-icon {
  width: 76px; height: 76px; background: linear-gradient(135deg,#22c55e,#16a34a);
  border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin: 0 auto 20px; box-shadow: 0 8px 28px rgba(34,197,94,.38);
}
.quiz-done h3 { margin-bottom: 10px; }
.quiz-done p  { font-size: .9rem; max-width: 340px; margin: 0 auto 28px; }
.quiz-done-actions { display: flex; flex-direction: column; gap: 12px; }


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { padding: 88px 0; background: white; }
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 36px;
  position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 44px;
  left: calc(16.67% + 24px); right: calc(16.67% + 24px);
  height: 2px; background: linear-gradient(90deg,var(--primary-mid),var(--accent)); opacity: .25;
}
.step-card { text-align: center; }
.step-num {
  width: 88px; height: 88px; background: var(--grad-brand); border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
  font-size: 2rem; box-shadow: 0 8px 28px rgba(37,99,235,.28); position: relative; z-index: 1;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p  { font-size: .875rem; line-height: 1.65; }


/* ============================================================
   CONSULTATION SECTION
   ============================================================ */
.consult-section { padding: 88px 0; background: var(--bg-50); }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.consult-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl); aspect-ratio: 4/5; }
.consult-img img { width: 100%; height: 100%; object-fit: cover; }
.consult-content h2 { color: var(--text-900); margin-bottom: 16px; }
.consult-content > p { margin-bottom: 32px; font-size: 1rem; line-height: 1.75; }

.feature-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-ic {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.22);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-top: 2px;
}
.feature-body h4 { font-size: .9rem; font-weight: 600; color: var(--text-900); margin-bottom: 2px; }
.feature-body p  { font-size: .82rem; line-height: 1.55; }


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 88px 0; background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img  { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl); aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { color: var(--text-900); margin-bottom: 14px; }
.about-content > p { margin-bottom: 28px; font-size: 1rem; line-height: 1.75; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.about-stat {
  background: var(--bg-50); border-radius: var(--r-lg); padding: 20px; text-align: center;
  border: 1px solid var(--border-100);
}
.about-stat-num { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.about-stat-lbl { font-size: .72rem; color: var(--text-400); font-weight: 500; }


/* ============================================================
   FAQ
   ============================================================ */
.faq-section  { padding: 88px 0; background: var(--bg-50); }
.faq-list     { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white; border: 1.5px solid var(--border-100);
  border-radius: var(--r-lg); overflow: hidden; transition: all var(--ease);
}
.faq-item.open { border-color: rgba(37,99,235,.28); box-shadow: 0 4px 18px rgba(37,99,235,.09); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; font-size: .95rem; font-weight: 600; color: var(--text-900);
  text-align: left; background: none; cursor: pointer; gap: 12px; transition: color var(--ease);
}
.faq-q:hover { color: var(--primary-mid); }
.faq-ic {
  width: 30px; height: 30px; flex-shrink: 0;
  background: rgba(37,99,235,.08); border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--primary-mid); transition: all var(--ease);
}
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--primary-mid); color: white; }
.faq-a {
  display: none; padding: 0 22px 18px;
  font-size: .88rem; line-height: 1.72; color: var(--text-500);
}
.faq-item.open .faq-a { display: block; animation: fadeUp .2s ease; }


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { padding: 88px 0; background: var(--grad-brand); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -8%;
  width: 560px; height: 560px; background: rgba(255,255,255,.04); border-radius: var(--r-pill);
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -40%; left: -5%;
  width: 420px; height: 420px; background: rgba(255,255,255,.03); border-radius: var(--r-pill);
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: white; margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 36px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-actions   { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.65); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { height: 52px; filter: brightness(0) invert(1) opacity(.88); margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.45); max-width: 260px; }
.footer-col h4 {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: white; margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.48); transition: color var(--ease); }
.footer-col ul li a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.32); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.32); transition: color var(--ease); }
.footer-legal a:hover { color: rgba(255,255,255,.65); }


/* ============================================================
   PAGE HERO (shop / checkout)
   ============================================================ */
.page-hero {
  background: var(--grad-brand); padding: 120px 0 64px; text-align: center;
}
.page-hero h1 { color: white; margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }


/* ============================================================
   SHOP
   ============================================================ */
.shop-section { padding: 68px 0; background: var(--bg-50); min-height: 60vh; }
.shop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

.product-card {
  background: white; border-radius: var(--r-xl); overflow: hidden;
  border: 1.5px solid var(--border-100); box-shadow: var(--sh-sm);
  transition: all var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(37,99,235,.2); }

.product-visual {
  background: linear-gradient(135deg,#eef4ff,#e8f5e9);
  padding: 44px 32px; display: flex; align-items: center; justify-content: center;
  position: relative; min-height: 200px;
}
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--grad-brand); color: white;
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.product-badge.badge-popular { background: linear-gradient(135deg,#f59e0b,#d97706); }
.product-badge.badge-new     { background: linear-gradient(135deg,#22c55e,#16a34a); }

/* CSS-only vial illustration */
.vial {
  width: 64px; display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 8px 20px rgba(37,99,235,.22));
}
.vial-cap {
  width: 42px; height: 16px;
  background: linear-gradient(90deg,#1a3a6e,#2563eb); border-radius: 6px 6px 2px 2px;
}
.vial-stopper {
  width: 48px; height: 9px;
  background: #0f2347; border-radius: 2px;
}
.vial-body {
  width: 56px; height: 108px;
  background: linear-gradient(160deg,#bfdbfe 0%,#dbeafe 50%,#93c5fd 100%);
  border-radius: 3px 3px 28px 28px; position: relative; overflow: hidden;
}
.vial-liquid {
  position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(180deg,rgba(34,197,94,.55),#15803d);
  border-radius: 0 0 28px 28px;
}
.vial-liquid.blue { background: linear-gradient(180deg,rgba(96,165,250,.6),#1d4ed8); }
.vial-liquid.purple { background: linear-gradient(180deg,rgba(167,139,250,.6),#7c3aed); }
.vial-liquid.orange { background: linear-gradient(180deg,rgba(251,191,36,.6),#d97706); }
.vial-label {
  position: absolute; top: 34%; left: 5px; right: 5px;
  background: rgba(255,255,255,.92); border-radius: 3px; padding: 5px 4px; text-align: center; z-index: 1;
}
.vial-label-name { display: block; font-size: .6rem; font-weight: 800; color: var(--primary); letter-spacing: .04em; }
.vial-label-mg   { display: block; font-size: .55rem; color: var(--text-400); font-weight: 500; margin-top: 1px; }
.vial-shine {
  position: absolute; top: 8px; left: 10px; width: 6px; height: 76px;
  background: rgba(255,255,255,.28); border-radius: 3px;
}

.product-info { padding: 22px; }
.product-cat  { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); margin-bottom: 5px; }
.product-name { font-size: 1.1rem; font-weight: 700; color: var(--text-900); margin-bottom: 6px; }
.product-desc { font-size: .8rem; color: var(--text-500); line-height: 1.55; margin-bottom: 16px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border-100); }
.product-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.product-price small { font-size: .8rem; font-weight: 500; color: var(--text-400); }

.shop-notice {
  max-width: 680px; margin: 40px auto 0;
  background: rgba(37,99,235,.06); border: 1px solid rgba(37,99,235,.15);
  border-radius: var(--r-lg); padding: 18px 24px;
  display: flex; align-items: flex-start; gap: 12px;
}
.shop-notice-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.shop-notice p { font-size: .82rem; color: var(--primary); line-height: 1.6; }


/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-section {
  padding: 100px 0 64px; background: var(--bg-50); min-height: 100vh;
}
.checkout-nav {
  background: rgba(12,21,40,.97); backdrop-filter: blur(14px);
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }

.checkout-card {
  background: white; border-radius: var(--r-xl); padding: 36px;
  box-shadow: var(--sh-sm); border: 1px solid var(--border-100);
}
.co-section-title {
  font-size: .95rem; font-weight: 700; color: var(--text-900);
  padding-bottom: 14px; border-bottom: 2px solid var(--border-100);
  margin-bottom: 22px; display: flex; align-items: center; gap: 10px;
}
.co-step-num {
  width: 26px; height: 26px; background: var(--grad-brand);
  border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; color: white; flex-shrink: 0;
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .76rem; font-weight: 600;
  color: var(--text-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px;
}
.form-group input,
.form-group select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-200);
  border-radius: var(--r-md); font-size: .9rem; color: var(--text-700);
  background: white; transition: all var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-group input:focus,
.form-group select:focus { outline: none; border-color: var(--primary-mid); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-separator { height: 1px; background: var(--border-100); margin: 28px 0; }

.pay-methods { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.pay-btn {
  flex: 1; min-width: 120px; padding: 11px 10px;
  border: 2px solid var(--border-200); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--text-400);
  transition: all var(--ease); cursor: pointer; background: white;
}
.pay-btn.active { border-color: var(--primary-mid); background: rgba(37,99,235,.05); color: var(--primary-mid); }
.pay-btn:hover  { border-color: var(--primary-mid); }
.pay-icon { font-size: 1.1rem; }

/* Card field row */
.card-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.card-row .form-group { margin-bottom: 16px; }

/* Order summary */
.order-summary { position: sticky; top: 90px; }
.order-card {
  background: white; border-radius: var(--r-xl); padding: 28px;
  box-shadow: var(--sh-sm); border: 1px solid var(--border-100);
}
.order-card h3 { font-size: 1rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border-100); color: var(--text-900); }
.order-items  { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.order-item   { display: flex; gap: 12px; align-items: center; }
.order-item-vis {
  width: 52px; height: 52px; flex-shrink: 0;
  background: linear-gradient(135deg,#eef4ff,#e8f5e9);
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; border: 1px solid var(--border-100);
}
.order-item-info { flex: 1; }
.order-item-name { font-size: .875rem; font-weight: 600; color: var(--text-900); margin-bottom: 2px; }
.order-item-sub  { font-size: .75rem; color: var(--text-400); }
.order-item-price { font-size: .95rem; font-weight: 700; color: var(--text-900); }

.order-totals { border-top: 1px solid var(--border-100); padding-top: 16px; }
.order-line { display: flex; justify-content: space-between; font-size: .875rem; color: var(--text-500); margin-bottom: 8px; }
.order-line.total {
  font-size: 1.05rem; font-weight: 700; color: var(--text-900);
  border-top: 1px solid var(--border-100); padding-top: 12px; margin-top: 8px;
}
.secure-line {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 16px; font-size: .72rem; color: var(--text-400);
}
.secure-badges-row { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.secure-badge-chip {
  background: var(--bg-50); border: 1px solid var(--border-100);
  border-radius: var(--r-sm); padding: 4px 10px;
  font-size: .68rem; font-weight: 600; color: var(--text-400);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
  .shop-grid          { grid-template-columns: repeat(2,1fr); }
  .assurance-grid     { grid-template-columns: repeat(2,1fr); }
  .checkout-grid      { grid-template-columns: 1fr; }
  .order-summary      { position: static; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 100px 0 60px; max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { flex-direction: column; gap: 10px; }
  .trust-badge { width: 100%; }

  .stats-inner { gap: 20px; }
  .stat-divider { display: none; }

  .steps-grid           { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid::before   { display: none; }
  .consult-grid         { grid-template-columns: 1fr; gap: 36px; }
  .consult-img          { order: -1; aspect-ratio: 16/9; }
  .about-grid           { grid-template-columns: 1fr; gap: 36px; }

  .shop-grid            { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .footer-grid          { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom        { flex-direction: column; text-align: center; }

  .quiz-body            { padding: 24px 20px; }
  .quiz-head            { padding: 22px 24px; }
  .goals-grid           { grid-template-columns: 1fr; }

  .form-row             { grid-template-columns: 1fr; }
  .checkout-card        { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .assurance-grid { grid-template-columns: 1fr 1fr; }
  .about-stats    { grid-template-columns: 1fr 1fr; }
  .shop-grid      { grid-template-columns: 1fr; }
  .gender-grid    { gap: 7px; }
}
