/*
  Vibranta / Validus Styles (combined)
  - Kept your base; added minimal rules for the new sections (scoring, lifestyle-cta, pricing)
  - Removed fragile color-mix() to avoid hairline seams
*/

/* ========== Theme ========== */
:root {
  --bg: #ffffff;
  --text: #0e1116;
  --muted: #5b6472;
  --line: #e8ecf2;

  /* Brand gradient: teal → blue → violet */
  --grad-a: #00d1b2;
  --grad-b: #2f80ed;
  --grad-c: #7b61ff;

  --primary: #2f80ed;
  --primary-ink: #ffffff;

  /* alias for content copied from index2 */
  --brand: #2f80ed;

  --good: #22c55e;
  --warn: #f59e0b;

  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(20, 30, 60, 0.08);

  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 30, 70, 0.10);
}

/* ========== Resets & Base ========== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

.container { width: min(1120px, 92vw); margin-inline: auto; }

/* ========== Header (Sticky Brand Only) ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(8, 24, 48, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .2px;
}
.brand-glyph {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: none;
  display: block;
}
.brand-text {
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
  font-family: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ========== Main Navigation (Scrolls with page) ========== */
.main-nav {
  background: rgba(8, 24, 48, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #ffffff;
  font-weight: 550;
  transition: color 0.2s ease;
}
.main-nav a:hover {
  color: var(--grad-a);
  text-decoration: none;
}
.main-nav .btn {
  margin-left: 8px;
}

/* Mobile nav adjustments */
@media (max-width: 720px) {
  .nav-inner {
    gap: 8px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .main-nav .btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 16px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; transition: transform .08s ease, box-shadow .15s ease, background .2s ease;
  box-shadow: none; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: var(--primary-ink); background: linear-gradient(135deg, var(--grad-a), var(--grad-b) 60%, var(--grad-c)); border: none; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-outline { background: transparent; color: #ffffff; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.btn-outline:hover { border-color: var(--grad-a); color: var(--grad-a); }
.btn-lg { padding: 14px 20px; }
.btn-sm { padding: 8px 12px; font-weight: 650; }

/* ========== Hero ========== */
.hero{
  background:
    radial-gradient(1200px 600px at 80% -20%, rgba(47,128,237,0.18), rgba(255,255,255,0) 60%),
    radial-gradient(900px 450px at -10% 0%,  rgba(0,209,178,0.18), rgba(255,255,255,0) 60%),
    #ffffff;
  scroll-margin-top: 100px; /* Offset for sticky header */
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; padding: 56px 0 40px; align-items: center; }
@media (max-width: 960px){ .hero-grid { grid-template-columns: 1fr; padding: 36px 0 20px; } }

.hero-copy h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.1; margin: 0 0 12px; }
.grad { background: linear-gradient(135deg, var(--grad-a), var(--grad-b) 60%, var(--grad-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); margin: 0 0 18px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.micro-note { color: #ffffff; font-size: 14px; margin-top: 8px; }

/* Hero preview card */
.glass.card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; backdrop-filter: blur(10px) saturate(140%); }
.chip { display: inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); background: #fff; }
.chip-ghost { background: transparent; }

.score-row { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; margin: 14px 0 8px; }
.score-circle { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 22px; }
.score-circle.good { background: linear-gradient(135deg, #16a34a, #22c55e); }
.score-circle.warn { background: linear-gradient(135deg, #f59e0b, #f97316); }
.score-title { margin: 0 0 2px; font-size: 18px; }
.score-sub { margin: 0; color: var(--muted); font-size: 14px; }

.score-tags { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.tag-good { border-color: rgba(34,197,94,0.30); color: #065f46; }
.tag-warn { border-color: rgba(245,158,11,0.30); color: #7c2d12; }

/* Health Halo Reveal (Hero) */
.halo-reveal {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.95));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px 14px;
  backdrop-filter: blur(10px);
}

.halo-reveal-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.halo-card {
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.halo-marketing {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #86efac;
}

.halo-reality {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 2px solid var(--line);
  padding: 20px;
}

.halo-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.halo-marketing .halo-label {
  color: #166534;
}

.halo-reality .halo-label {
  color: var(--primary);
  margin-bottom: 12px;
}

.halo-product-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.halo-claims {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.halo-claim {
  font-size: 13px;
  color: #166534;
  font-weight: 500;
}

.halo-vibe {
  font-size: 13px;
  font-style: italic;
  color: #4b5563;
  margin-top: 12px;
}

.halo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.halo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
}

/* Reality Card - Score Row */
.halo-score-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.halo-score {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.halo-score-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.halo-band {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.halo-rec {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* Health Halo Badge */
.halo-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

/* Concerns List */
.halo-concerns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.halo-concerns li {
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

.halo-cta {
  display: block;
  text-align: center;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.halo-cta:hover {
  color: var(--primary);
  text-decoration: none;
}

.halo-cta span {
  display: inline-block;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Responsive: Stack on mobile */
@media (max-width: 700px) {
  .halo-reveal {
    padding: 16px;
  }

  .halo-reveal-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .halo-divider {
    padding: 8px 0;
  }

  .halo-arrow {
    transform: rotate(90deg);
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .halo-card {
    padding: 16px;
  }

  .halo-product-name {
    font-size: 16px;
  }

  .halo-score {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .halo-band {
    font-size: 16px;
  }

  .halo-badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .halo-concerns {
    gap: 5px;
  }

  .halo-concerns li {
    font-size: 10px;
    padding: 3px 8px;
  }

  .halo-cta {
    margin-top: 12px;
    font-size: 12px;
  }
}

/* ========== Sections ========== */
.section {
  padding: 56px 0;
  scroll-margin-top: 100px; /* Offset for sticky header */
}
.section.subtle { background: #ffffff; }
.section-title { font-size: clamp(22px, 3.4vw, 32px); margin: 0 0 18px; }
.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  max-width: 720px;
  margin: 0 auto 32px;
}

/* "What you'll get" & "What Validus Does Differently" */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; justify-items: center; }
@media (max-width: 640px){ .features-grid { grid-template-columns: 1fr; } }
.feature { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; width: 100%; max-width: 280px; }
.feature .icon { font-size: 22px; margin-bottom: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 960px){ .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .steps { grid-template-columns: 1fr; } }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #fff; font-weight: 800; margin-bottom: 8px; }

/* Phases */
.phases{ margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.phase{ background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.phase strong{ color: var(--primary); }

/* Science */
.science-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
@media (max-width: 1100px){ .science-grid { grid-template-columns: 1fr; } }
.card-list .flag-list { list-style: none; padding: 0; margin: 8px 0 0; }
.flag-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.flag-list li:last-child { border-bottom: none; }
.flag-list.good li { color: #0b5132; }
.bullets { padding-left: 18px; }
.bullets li { margin: 8px 0; color: var(--muted); }

/* Flag & Reward Cards */
.flag-reward-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .flag-reward-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flag-card {
    padding: 18px;
  }

  .flag-card-header h4 {
    font-size: 18px;
  }

  .flag-card-icon {
    font-size: 24px;
  }

  .flag-card-list li strong {
    font-size: 14px;
  }

  .flag-card-list li p {
    font-size: 12px;
  }

  .flag-icon,
  .reward-icon {
    width: 24px;
    height: 24px;
  }
}

.flag-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.flag-card-bad {
  border: 2px solid #fecaca;
  background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}

.flag-card-good {
  border: 2px solid #bbf7d0;
  background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
}

.flag-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.flag-card-icon {
  font-size: 28px;
}

.flag-card-header h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.flag-card-bad .flag-card-header h4 {
  color: #991b1b;
}

.flag-card-good .flag-card-header h4 {
  color: #166534;
}

.flag-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flag-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.flag-card-list li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.flag-card-list li div {
  flex: 1;
}

.flag-card-list li strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.flag-card-list li p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.flag-icon,
.reward-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.flag-icon {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.reward-icon {
  background: linear-gradient(135deg, #d1fae5, #bbf7d0);
  color: #166534;
  font-weight: 700;
}

/* NEW: "Who is Validus for?" */
.scoring-cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 12px; margin-top: 10px; }
.score-card{
  background: linear-gradient(135deg,#f8fafc,#e2e8f0);
  padding: 14px; border-left: 4px solid var(--primary); border-radius: 12px;
}
.score-card h3{ margin: 0 0 4px; }
.score-card p { color: var(--muted); margin: 0; }

/* NEW: Real Scans Section */
#real-scans { background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); }
#real-scans .section-title { text-align: center; }

/* Scan Selector Buttons */
.scan-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.scan-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.scan-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 128, 237, 0.15);
}

.scan-btn.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 209, 178, 0.08), rgba(47, 128, 237, 0.08));
  box-shadow: 0 4px 12px rgba(47, 128, 237, 0.2);
}

.scan-btn-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.scan-btn-score.great { background: linear-gradient(135deg, #059669, #10b981); }
.scan-btn-score.good { background: linear-gradient(135deg, #16a34a, #22c55e); }
.scan-btn-score.warn { background: linear-gradient(135deg, #f59e0b, #f97316); }
.scan-btn-score.bad { background: linear-gradient(135deg, #dc2626, #ef4444); }

.scan-btn-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* Scan Display Cards */
.scan-display {
  position: relative;
  min-height: 600px;
}

.scan-card {
  display: none;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.3s ease;
}

.scan-card.active {
  display: block;
}

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

.scan-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
}

.scan-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.scan-product-name {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
}

.scan-score-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.score-circle-lg {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.score-circle-lg.great { background: linear-gradient(135deg, #059669, #10b981); }
.score-circle-lg.good { background: linear-gradient(135deg, #16a34a, #22c55e); }
.score-circle-lg.warn { background: linear-gradient(135deg, #f59e0b, #f97316); }
.score-circle-lg.bad { background: linear-gradient(135deg, #dc2626, #ef4444); }

.scan-band {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

/* Recommendation frequency badge */
.scan-recommendation {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.scan-recommendation.enjoy-freely {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 2px solid #22c55e;
}

.scan-recommendation.limit {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 2px solid #f59e0b;
}

.scan-recommendation.avoid {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  border: 2px solid #ef4444;
}

/* Benefits and Concerns lists */
.scan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.scan-list li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.concern-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* Benefits section styling */
.scan-section.scan-benefits {
  border-left-color: #22c55e;
}

/* Concerns section styling */
.scan-section.scan-concerns {
  border-left-color: #f59e0b;
}

.scan-section {
  margin: 24px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.scan-section h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.scan-section p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Health Halo Badge */
.health-halo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.health-halo-badge.clean {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 2px solid #22c55e;
}

.health-halo-badge.detected {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 2px solid #f59e0b;
}

.badge-icon {
  font-size: 18px;
}

.badge-text {
  font-weight: 700;
}

/* Responsive adjustments for Real Scans */
@media (max-width: 768px) {
  .scan-selector {
    flex-direction: column;
    align-items: stretch;
  }

  .scan-btn {
    min-width: unset;
    width: 100%;
  }

  .scan-card {
    padding: 20px;
  }

  .score-circle-lg {
    width: 80px;
    height: 80px;
    font-size: 28px;
  }

  .scan-band {
    font-size: 20px;
  }

  .scan-recommendation {
    font-size: 11px;
    padding: 5px 10px;
  }

  .scan-list li {
    font-size: 14px;
  }
}

/* NEW: Pricing (from index2) */
.pricing-subtitle{ text-align:center; color:var(--muted); max-width:650px; margin:0 auto; }
.pricing-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap:1.5rem; margin-top:2rem; }
.pricing-card{
  position:relative; background:#fff; border-radius:16px; padding:1.75rem;
  box-shadow:0 6px 20px rgba(0,0,0,.08); border:2px solid transparent; transition:.25s transform;
}
.pricing-card:hover{ transform:translateY(-6px); }
.pricing-card.featured{ border-color:var(--brand); transform:scale(1.02); }
.pricing-badge{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color:#fff; padding:.5rem 1rem; border-radius:999px; font-size:.85rem; font-weight:800;
  z-index: 20; box-shadow: 0 4px 12px rgba(47, 128, 237, 0.3);
}
.price{ font-size:3rem; color:var(--brand); font-weight:800; }
.tier-chip{
  display: inline-block; padding: 10px 28px; border-radius: 999px;
  background: rgba(47, 128, 237, 0.08); backdrop-filter: blur(12px);
  border: 1.5px solid rgba(47, 128, 237, 0.2);
  font-size: 1.1rem; font-weight: 800; letter-spacing: 2px;
  background-image: linear-gradient(135deg, rgba(0, 209, 178, 0.1), rgba(47, 128, 237, 0.15), rgba(123, 97, 255, 0.1));
  color: var(--text); text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(47, 128, 237, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}
.pricing-card.featured .tier-chip{
  background: rgba(47, 128, 237, 0.12);
  border-color: rgba(47, 128, 237, 0.35);
  box-shadow: 0 4px 20px rgba(47, 128, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.pricing-features ul{ list-style:disc; padding-left:1.5rem; margin:1rem 0; }
.pricing-features li{ margin-bottom:.5rem; line-height:1.5; }
.pricing-features ul.blurred{ filter: blur(4px); user-select: none; }
.pricing-features.has-banner{ position: relative; overflow: hidden; min-height: 180px; }
.elite-banner{
  position: absolute; top: 50%; left: -20%; right: -20%;
  transform: translateY(-50%) rotate(-12deg);
  background: rgba(47, 128, 237, 0.12); backdrop-filter: blur(12px);
  background-image: linear-gradient(135deg, rgba(0, 209, 178, 0.15), rgba(47, 128, 237, 0.2), rgba(123, 97, 255, 0.15));
  border-top: 1.5px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1.5px solid rgba(47, 128, 237, 0.25);
  color: var(--text); font-weight: 800; font-size: 15px; text-align: center;
  padding: 14px 0; white-space: nowrap; letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(47, 128, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  z-index: 10; pointer-events: none;
}
.pricing-cta{ text-align:center; }

/* NEW: Lifestyle CTA (used to replace Beta) */
.lifestyle-cta{ padding: 0; }
.lifestyle-cta .hero-image{
  position:relative; min-height:380px; border-radius:24px; overflow:hidden;
  background-image: url('./assets/runner_sunset.png');
  background-size: cover; background-position: center;
}
.lifestyle-cta .hero-image::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(15,23,42,.55), rgba(47,128,237,.35));
}
.lifestyle-cta .cta-content{
  position:relative; z-index:1; color:#fff; padding:60px 24px; max-width:720px;
}
.lifestyle-cta .cta-content h2{ font-size:2.2rem; font-weight:900; margin-bottom:.4rem; }
.lifestyle-cta .cta-content p { opacity:.95; margin-bottom:1rem; }

/* Beta Signup Form */
.signup-container {
  margin-top: 24px;
  width: 100%;
  max-width: 560px;
}

.beta-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.1);
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235b6472' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}

.form-message.error {
  background: #fef2f2;
  border: 2px solid #ef4444;
  color: #991b1b;
}

.form-message.success {
  background: #f0fdf4;
  border: 2px solid #22c55e;
  color: #166534;
}

.btn-block {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
}

.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success-container {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 40px 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #10b981);
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.success-container h3 {
  color: var(--text);
  font-size: 24px;
  margin: 0 0 12px;
}

.success-container p {
  color: var(--text);
  font-size: 15px;
  margin: 8px 0;
}

.success-container .micro-note {
  color: var(--muted);
  margin-top: 16px;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .beta-form {
    padding: 20px;
  }

  .lifestyle-cta .cta-content {
    padding: 40px 20px;
  }

  .signup-container {
    max-width: 100%;
  }
}

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 12px 14px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 650; }


/* Trust (from index2) */
.trust {
  padding: 80px 0;
  scroll-margin-top: 100px; /* Offset for sticky header */
}
.trust-badges{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
  gap:1rem; max-width:800px; margin:0 auto;
}
.badge{ text-align:center; }
.badge i{ font-size:2rem; color:var(--brand); margin-bottom:.3rem; }
.badge p{ color:var(--muted); font-weight:700; }

/* Footer (from index2) */
footer{
  background:#111827;
  color:#fff;
  padding:3rem 0 1rem;
  scroll-margin-top: 100px; /* Offset for sticky header */
}
.footer-content{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:2rem; margin-bottom:1.5rem;
}
.footer-section a{ color:#d1d5db; text-decoration:none; }
.footer-section a:hover{ color:var(--brand); }
.footer-bottom{ border-top:1px solid #374151; text-align:center; padding-top:1.25rem; color:#9ca3af; }

/* === Tooltip (CSS-only, accessible via hover + focus) === */
.tooltip{ position:relative; cursor:help; text-decoration: underline dotted; text-underline-offset:2px; color: var(--brand); }
.tooltip:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; border-radius:2px; }
.tooltip::after{
  content: attr(data-tooltip);
  position:absolute; left:50%; bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(-8px);
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px);
  color: var(--text); padding: 16px 20px; border-radius: 16px;
  border: 1.5px solid rgba(47, 128, 237, 0.2);
  width: max-content; max-width: min(400px, 90vw);
  white-space: normal; line-height: 1.5; font-size: 14px;
  box-shadow: 0 8px 32px rgba(10, 30, 70, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  z-index: 100; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.tooltip::before{
  content:""; position:absolute; left:50%; bottom: calc(100% + 6px);
  transform: translateX(-50%);
  border: 8px solid transparent; border-top-color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
  opacity: 0; transition: opacity .2s ease; z-index: 101;
}
.tooltip:hover::after, .tooltip:focus-visible::after{ opacity:1; transform: translateX(-50%) translateY(0); }
.tooltip:hover::before, .tooltip:focus-visible::before{ opacity:1; }

/* Guard against any stray horizontal scroll site-wide */
html, body { overflow-x: hidden; }
