/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14,26,38,0.9) 0%, var(--ink) 70%);
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 8rem;
  max-width: 760px;
}

.hero__eyebrow {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  color: var(--smoke);
  margin-bottom: 1.5rem;
}

.hero__headline em { font-style: italic; }

.hero__sub {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.hero__trust-item span:first-child {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.hero__trust-item span:last-child {
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero__trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(138,154,170,0.3);
}

.hero__scroll {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 2;
}

.hero__scroll span {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}

/* ── What Is ─────────────────────────────────────────────────────── */
.what-is {
  padding: 8rem 0 6rem;
}

.what-is__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.what-is__quote {
  padding: 2.5rem;
  border-left: 2px solid var(--brass);
  background: rgba(212,168,67,0.04);
}

.what-is__quote blockquote p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1rem;
}

.what-is__quote cite { font-style: normal; }

/* ── Tests Preview ───────────────────────────────────────────────── */
.tests-preview {
  padding: 7rem 0;
}

.tests-preview__header {
  margin-bottom: 3.5rem;
}

.tests-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.test-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transform-style: preserve-3d;
}

.card-shimmer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
  border-radius: 4px;
}

.test-card > * { position: relative; z-index: 1; }

.test-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.test-card__name {
  font-size: 1.35rem;
  color: var(--smoke);
  line-height: 1.2;
}

.test-card__desc {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.65;
  flex: 1;
}

.test-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid rgba(212,168,67,0.1);
}

/* Free strip */
.free-strip {
  padding: 2rem;
  border: 1px solid rgba(138,154,170,0.15);
  border-radius: 4px;
}

.free-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.free-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1rem;
  border: 1px solid rgba(46,255,192,0.15);
  border-radius: 100px;
  font-size: .85rem;
  color: var(--smoke);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.free-pill:hover {
  border-color: rgba(46,255,192,0.4);
  background: rgba(46,255,192,0.05);
}

/* ── How It Works ─────────────────────────────────────────────────── */
.how-it-works { padding: 7rem 0; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.step__num {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  opacity: .15;
  flex-shrink: 0;
  width: 130px;
  text-align: right;
  color: var(--brass);
}

.step__body { padding-top: .5rem; }
.step__body p { color: #555; }

/* ── Report Preview ───────────────────────────────────────────────── */
.report-preview { padding: 7rem 0; }

.report-preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.report-preview__features {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: 1.5rem;
}

.report-preview__features li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: var(--smoke);
}

/* Mock report */
.mock-report {
  background: var(--ghost);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.mock-report__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mock-radar {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.radar-bg    { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.1); stroke-width: 1; }
.radar-fill  { fill: rgba(212,168,67,0.12); stroke: var(--brass); stroke-width: 1.5; }
.radar-spoke { stroke: rgba(255,255,255,0.07); stroke-width: 0.5; }
.radar-label { fill: var(--slate); font-family: var(--font-mono); font-size: 9px; }

.mock-scores { display: flex; flex-direction: column; gap: .75rem; }

.mock-score-row {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.mock-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

/* ── Science ──────────────────────────────────────────────────────── */
.science { padding: 7rem 0; }

.science__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.science__sticky {
  position: sticky;
  top: 8rem;
}

.science__bullets {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  color: #444;
}

.science__bullets li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}

.science__cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── CTA Banner ───────────────────────────────────────────────────── */
.cta-banner {
  padding: 8rem 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(14,26,38,0.8) 0%, var(--ink) 70%);
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer__link {
  font-size: .9rem;
  transition: color var(--dur-fast);
}

.footer__link:hover { color: var(--smoke); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tests-preview__grid { grid-template-columns: repeat(2, 1fr); }
  .what-is__grid, .report-preview__inner,
  .science__inner { grid-template-columns: 1fr; gap: 3rem; }
  .science__sticky { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .tests-preview__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 1.25rem; }
  .step { flex-direction: column; gap: 1rem; }
  .step__num { width: auto; text-align: left; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   IMPROVED MOBILE STYLES
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  /* Hero */
  .hero__headline { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__trust { flex-wrap: wrap; gap: .75rem; }
  .hero__trust-divider { display: none; }
  .hero__scroll { display: none; }

  /* What Is */
  .what-is { padding: 4rem 0; }

  /* Tests grid */
  .tests-preview__grid { grid-template-columns: 1fr; gap: 1rem; }
  .test-card { padding: 1.25rem; }

  /* Free strip */
  .free-strip__items { flex-direction: column; }
  .free-pill { justify-content: space-between; }

  /* Steps */
  .steps { gap: 2rem; }
  .step__num { font-size: 3.5rem; }

  /* Report preview */
  .report-preview__inner { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Science */
  .science__inner { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }

  /* CTA banner */
  .cta-banner { padding: 5rem 0; }
}

@media (max-width: 768px) {
  /* Reduce section padding */
  .section-dark,
  .section-vault,
  .section-light { padding: 4rem 0; }

  /* What Is two-column → one */
  .what-is__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Report preview */
  .report-preview__inner { grid-template-columns: 1fr; gap: 3rem; }
  .mock-report { max-width: 400px; margin: 0 auto; }

  /* Science */
  .science__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .science__sticky { position: static; margin-bottom: 1.5rem; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
