/* ===== Eterna BioTech — Design System ===== */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Brand palette — luminescent blue on deep black */
  --bg: #05070d;
  --bg-2: #080b14;
  --surface: #0c111c;
  --surface-2: #111827;
  --border: #1b2436;
  --border-glow: rgba(64, 150, 255, 0.28);

  --text: #e8eefc;
  --text-muted: #9aa8c4;
  --text-faint: #5c6a86;

  --blue: #2f86ff;
  --blue-bright: #4da2ff;
  --blue-hi: #7dc4ff;
  --cyan: #5fd4ff;
  --blue-deep: #1657c8;
  --chrome-1: #ffffff;
  --chrome-2: #b9c6dc;
  --chrome-3: #6f7f9c;

  --radius-sm: 0.5rem; --radius-md: 0.75rem; --radius-lg: 1rem; --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --glow-blue: 0 0 40px rgba(47, 134, 255, 0.35);
  --glow-soft: 0 0 24px rgba(47, 134, 255, 0.18);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);

  --content-wide: 1200px;
  --content-default: 1040px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Clash Display", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Satoshi", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 5rem;
}
body {
  min-height: 100dvh; line-height: 1.6; font-family: var(--font-body);
  font-size: var(--text-base); color: var(--text); background: var(--bg);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; color: inherit; font: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.1; font-family: var(--font-display); font-weight: 600; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: rgba(47, 134, 255, 0.3); color: #fff; }

/* ===== Layout ===== */
.wrap { width: min(100% - 2.5rem, var(--content-wide)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--content-default)); margin-inline: auto; }
section { position: relative; }
.section-pad { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 600; color: var(--blue-hi);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright));
}
.section-title {
  font-size: var(--text-2xl); margin-top: var(--space-4); letter-spacing: -0.01em; word-spacing: 0.05em;
}
.chrome {
  background: linear-gradient(180deg, var(--chrome-1) 0%, var(--chrome-2) 48%, var(--chrome-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,0.1);
}
.glow-blue-text {
  background: linear-gradient(180deg, var(--blue-hi), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(47,134,255,0.5));
}
.lead { color: var(--text-muted); font-size: var(--text-lg); max-width: 60ch; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.85rem 1.6rem; border-radius: var(--radius-full); font-size: var(--text-sm);
  font-weight: 600; letter-spacing: 0.01em; transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
  color: #fff; box-shadow: 0 8px 24px rgba(47,134,255,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(47,134,255,0.5), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--text); background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--border-glow); color: #fff; background: rgba(47,134,255,0.08); }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--text-base); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.3s var(--ease); border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,7,13,0.82); backdrop-filter: blur(16px); border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-4); }
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand img { height: 42px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .n1 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.12em; font-size: 1.05rem; }
.brand-name .n2 { font-size: 0.6rem; letter-spacing: 0.42em; color: var(--blue-hi); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: var(--space-8); }
.nav-links a { font-size: var(--text-sm); color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  padding-top: 6rem; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../public/assets/hero-bg.png");
  background-size: cover; background-position: center right;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 22% 50%, rgba(5,7,13,0.62), rgba(5,7,13,0.30) 70%, transparent 92%),
              linear-gradient(180deg, rgba(5,7,13,0.35), transparent 34%, var(--bg));
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero h1 {
  font-size: var(--text-3xl); letter-spacing: -0.01em; word-spacing: 0.08em; margin-block: var(--space-5);
  font-weight: 600;
}
.hero .lead { margin-bottom: var(--space-8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: var(--space-10); margin-top: var(--space-16);
  padding-top: var(--space-8); border-top: 1px solid var(--border);
}
.hero-stat .num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; }
.hero-stat .lbl { font-size: var(--text-xs); color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== Pill row ===== */
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3);
  margin-top: var(--space-10);
}
.trust-pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-full);
  font-size: var(--text-xs); color: var(--text-muted); background: rgba(255,255,255,0.02);
}
.trust-pill svg { color: var(--blue-bright); }

/* ===== How it works ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-16); }
.step {
  position: relative; padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.step-num {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: var(--space-5);
  color: var(--blue-hi); background: radial-gradient(circle at 30% 30%, rgba(47,134,255,0.25), rgba(47,134,255,0.05));
  border: 1px solid var(--border-glow); box-shadow: var(--glow-soft);
}
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { color: var(--text-muted); font-size: var(--text-sm); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: calc(var(--space-8) + 26px); right: calc(var(--space-5) * -0.5 - 2px);
  width: var(--space-5); height: 1px; background: var(--border-glow); z-index: 2;
}

/* ===== Panels grid ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-10); margin-bottom: var(--space-12); }
.filter-btn {
  padding: 0.55rem 1.2rem; border-radius: var(--radius-full); font-size: var(--text-sm);
  border: 1px solid var(--border); color: var(--text-muted); background: rgba(255,255,255,0.02);
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { color: #fff; border-color: var(--border-glow); }
.filter-btn.active { color: #fff; border-color: transparent; background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); box-shadow: var(--glow-soft); }

.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-6); align-items: stretch; }
.panel-card {
  position: relative; display: flex; flex-direction: column; padding: var(--space-8) var(--space-6) var(--space-6);
  border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.panel-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(circle at 50% 0%, rgba(47,134,255,0.12), transparent 60%); pointer-events: none;
}
.panel-card:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: var(--shadow-lg), var(--glow-soft); }
.panel-card:hover::before { opacity: 1; }

/* Highlighted top-tier card */
.panel-card.tier-plus { border-color: var(--border-glow); box-shadow: var(--glow-soft); }
.panel-card.tier-plus::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent); opacity: 0.9;
}
.panel-flag {
  position: absolute; top: var(--space-4); left: var(--space-6); z-index: 2;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; padding: 0.28rem 0.7rem; border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); box-shadow: var(--glow-soft);
}
.panel-card.tier-plus,
.panel-card.panel-upload { padding-top: var(--space-12); }

.panel-head { margin-bottom: var(--space-4); }
.panel-card h3 { font-size: var(--text-xl); margin-bottom: 2px; }
.panel-kicker { color: var(--blue-hi); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.panel-badge {
  display: inline-block; font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue-hi); font-weight: 600; padding: 0.3rem 0.7rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-glow); background: rgba(47,134,255,0.06); line-height: 1.3;
}
.panel-desc { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.panel-features { list-style: none; display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.panel-features li { position: relative; padding-left: 1.5rem; font-size: var(--text-sm); color: var(--text); }
.panel-features li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(47,134,255,0.15); border: 1px solid var(--blue-bright);
  box-shadow: inset 0 0 0 2px var(--bg-2);
}
.panel-price-block { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-4); }
.panel-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1; }
.panel-price-note { font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-hi); font-weight: 600; }
.panel-meta { display: flex; gap: var(--space-6); padding-block: var(--space-4); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: var(--space-5); }
.panel-meta .m .v { font-family: var(--font-display); font-weight: 600; color: #fff; }
.panel-meta .m .k { font-size: var(--text-xs); color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }

/* Female / Male marker columns */
.panel-markers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); margin-bottom: var(--space-6); flex-grow: 1; }
.marker-col-title {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-hi); padding-bottom: var(--space-2); margin-bottom: var(--space-2); border-bottom: 1px solid var(--border-glow);
}
.marker-col ul { list-style: none; display: grid; gap: 4px; }
.marker-col ul li { font-size: 0.8rem; color: var(--text-muted); line-height: 1.35; }

.panel-foot { margin-top: auto; }
.panel-foot .btn { width: 100%; justify-content: center; }

/* ===== Focus layout: one flagship panel + upload option ===== */
.panel-grid-focus { grid-template-columns: 1.35fr 1fr; max-width: 1040px; margin-inline: auto; align-items: stretch; }

/* Grouped marker categories inside the flagship card (11 groups, 2 columns) */
.panel-markers-groups {
  columns: 2; column-gap: var(--space-6); margin-bottom: var(--space-6); flex-grow: 1;
}
.marker-group { break-inside: avoid; margin-bottom: var(--space-5); }
.marker-group-title {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue-hi); padding-bottom: 6px; margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-glow); line-height: 1.3;
}
.marker-group ul { list-style: none; display: grid; gap: 4px; }
.marker-group ul li { font-size: 0.78rem; color: var(--text-muted); line-height: 1.35; }

/* Upload-your-own-labs card */
.panel-card.panel-upload {
  background: linear-gradient(180deg, rgba(47,134,255,0.06), var(--bg-2));
  border-color: var(--border-glow);
}
.panel-flag-free { background: linear-gradient(180deg, #2fd0a8, #159e7a); }
.panel-upload-visual {
  display: flex; align-items: center; justify-content: center; flex-grow: 1;
  color: var(--blue-hi); margin: var(--space-6) 0;
}
.panel-upload-visual svg {
  width: 84px; height: 84px; padding: var(--space-6);
  border-radius: var(--radius-lg); border: 1px dashed var(--border-glow);
  background: rgba(47,134,255,0.05);
}

/* ===== Science / feature split ===== */
.feature-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-16); align-items: center; }
.feature-list { display: grid; gap: var(--space-5); margin-top: var(--space-8); }
.feature-item { display: flex; gap: var(--space-4); }
.feature-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-md); display: grid; place-items: center;
  color: var(--blue-hi); background: rgba(47,134,255,0.08); border: 1px solid var(--border-glow);
}
.feature-item h4 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-base); margin-bottom: 2px; }
.feature-item p { color: var(--text-muted); font-size: var(--text-sm); }
.feature-visual {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 4/5; background-image: url("../public/assets/section-texture.png"); background-size: cover; background-position: center;
}
.feature-visual .dash {
  position: absolute; inset: var(--space-6) var(--space-6) var(--space-6) var(--space-6);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: var(--space-6); border-radius: var(--radius-lg); border: 1px solid var(--border-glow);
  background: rgba(8,11,20,0.72); backdrop-filter: blur(12px);
}
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-4); margin-bottom: var(--space-2); border-bottom: 1px solid var(--border); }
.dash-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); color: #fff; }
.dash-sub { display: block; font-size: var(--text-xs); color: var(--text-faint); margin-top: 2px; }
.dash-badge { flex: none; font-size: var(--text-xs); font-weight: 600; color: var(--blue-hi); padding: 4px 10px; border-radius: var(--radius-full); border: 1px solid var(--border-glow); background: rgba(47,134,255,0.1); white-space: nowrap; }
.dash-row { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-2); }
.dash-row + .dash-row { border-top: 1px solid var(--border); }
.dash-row .name { font-size: var(--text-sm); color: var(--text-muted); }
.dash-row .val { font-family: var(--font-display); font-weight: 600; }
.dash-bar { height: 6px; border-radius: var(--radius-full); background: var(--surface-2); overflow: hidden; width: 90px; }
.dash-bar i { display: block; height: 100%; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.status-opt { color: #58e0a6; } .status-watch { color: #ffcf5c; }

/* ===== CTA band ===== */
.cta-band {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; padding: clamp(var(--space-12), 6vw, var(--space-24));
  text-align: center; border: 1px solid var(--border-glow);
  background-image: linear-gradient(rgba(5,7,13,0.7), rgba(5,7,13,0.85)), url("../public/assets/section-texture.png");
  background-size: cover; background-position: center; box-shadow: var(--glow-blue);
}
.cta-band h2 { font-size: var(--text-2xl); letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.cta-band p { color: var(--text-muted); max-width: 52ch; margin-inline: auto; margin-bottom: var(--space-8); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding-block: var(--space-16) var(--space-10); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--space-10); }
.footer-brand p { color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-4); max-width: 34ch; }
.footer-col h5 { font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-4); }
.footer-col a { display: block; color: var(--text-muted); font-size: var(--text-sm); padding-block: var(--space-2); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: var(--space-16); padding-top: var(--space-8); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: var(--text-xs); color: var(--text-faint); }
.disclaimer { margin-top: var(--space-6); font-size: var(--text-xs); color: var(--text-faint); max-width: 90ch; line-height: 1.7; }

/* ===== Page hero (interior) ===== */
.page-hero { position: relative; padding-top: 9rem; padding-bottom: var(--space-12); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: url("../public/assets/section-texture.png"); background-size: cover; background-position: top center;
  mask-image: linear-gradient(180deg, black, transparent);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--text-3xl); letter-spacing: -0.01em; word-spacing: 0.08em; margin-block: var(--space-4); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .feature-split { grid-template-columns: 1fr; gap: var(--space-10); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-visual { aspect-ratio: auto; }
  .feature-visual .dash { position: static; inset: auto; margin: var(--space-6); }
  .panel-grid-focus { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-md); }
  .site-header { position: relative; }
  .mobile-menu {
    display: flex; flex-direction: column; gap: var(--space-1);
    position: absolute; top: 100%; left: 0; right: 0;
    padding: var(--space-4);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(5,7,13,0.98);
    backdrop-filter: blur(18px);
    max-height: 0; overflow: hidden; opacity: 0;
    pointer-events: none;
    transition: max-height 0.32s ease, opacity 0.25s ease;
  }
  .mobile-menu.open { max-height: 340px; opacity: 1; pointer-events: auto; }
  .mobile-menu a { padding: var(--space-3); color: var(--text-muted); font-size: var(--text-base); border-bottom: 1px solid rgba(27,36,54,0.6); }
  .mobile-menu a:last-child { border-bottom: none; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-stats { gap: var(--space-6); }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-markers-groups { columns: 1; }
  .feature-visual { aspect-ratio: auto; }
  .feature-visual .dash { position: static; inset: auto; margin: var(--space-5); }
}

/* ===== Free EVA Analysis: upload CTA banner ===== */
.eva-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--border-glow);
  background: linear-gradient(135deg, rgba(47,134,255,0.10), rgba(8,11,20,0.6));
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  display: grid; grid-template-columns: 1.4fr auto; gap: var(--space-8); align-items: center;
}
.eva-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 20%, rgba(47,134,255,0.22), transparent 55%);
}
.eva-banner .eva-copy { position: relative; z-index: 1; }
.eva-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: var(--space-3); }
.eva-banner p { color: var(--text-muted); max-width: 46ch; }
.eva-banner .eva-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-3); }
.eva-banner .eva-free-pill { align-self: flex-start; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-hi); padding: 0.3rem 0.8rem; border-radius: var(--radius-full); border: 1px solid var(--border-glow); background: rgba(47,134,255,0.08); }

/* ===== EVA modal ===== */
.eva-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.eva-modal.open { display: block; }
.eva-modal-backdrop { position: absolute; inset: 0; background: rgba(3,5,10,0.78); backdrop-filter: blur(6px); animation: evaFade 0.25s var(--ease); }
.eva-modal-card {
  position: relative; z-index: 1; margin: auto; top: 50%; transform: translateY(-50%);
  width: min(520px, calc(100% - 2rem)); max-height: calc(100vh - 3rem); overflow-y: auto;
  padding: var(--space-10) var(--space-8) var(--space-8); border-radius: var(--radius-xl);
  border: 1px solid var(--border-glow); background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow-lg), var(--glow-soft); animation: evaRise 0.3s var(--ease);
}
@keyframes evaFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes evaRise { from { opacity: 0; transform: translateY(calc(-50% + 16px)); } to { opacity: 1; transform: translateY(-50%); } }
.eva-modal-x { position: absolute; top: var(--space-4); right: var(--space-5); font-size: 1.8rem; line-height: 1; color: var(--text-muted); background: none; border: none; cursor: pointer; transition: color 0.2s; }
.eva-modal-x:hover { color: #fff; }
.eva-modal-card .eyebrow { display: inline-block; margin-bottom: var(--space-3); }
.eva-modal-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.eva-modal-sub { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.eva-form { display: grid; gap: var(--space-4); }
.eva-drop {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2);
  padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); cursor: pointer;
  border: 1.5px dashed var(--border-glow); background: rgba(47,134,255,0.04); transition: all 0.2s var(--ease);
}
.eva-drop:hover, .eva-drop:focus-visible, .eva-drop.dragging { border-color: var(--blue-bright); background: rgba(47,134,255,0.09); }
.eva-drop-icon { color: var(--blue-hi); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(47,134,255,0.1); border: 1px solid var(--border-glow); }
.eva-drop-text { font-size: var(--text-sm); color: var(--text-muted); }
.eva-drop-text strong { color: #fff; font-size: var(--text-base); }
.eva-file-list { font-size: var(--text-xs); color: var(--blue-hi); }
.eva-drop.has-files { border-style: solid; border-color: var(--blue-bright); }
.eva-input {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-md); font-size: var(--text-base);
  color: #fff; background: var(--surface-2); border: 1px solid var(--border); transition: border-color 0.2s;
}
.eva-input::placeholder { color: var(--text-faint); }
.eva-input:focus { outline: none; border-color: var(--blue-bright); }
.eva-input.invalid { border-color: #ff6b6b; }
.eva-submit { width: 100%; justify-content: center; }
.eva-fineprint { font-size: var(--text-xs); color: var(--text-faint); line-height: 1.5; }
.eva-soon { color: var(--blue-hi); }
[hidden] { display: none !important; }
.eva-success { text-align: center; display: grid; gap: var(--space-4); place-items: center; padding-block: var(--space-4); }
.eva-success-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--blue-hi); background: rgba(47,134,255,0.1); border: 1px solid var(--border-glow); }
.eva-success h3 { margin: 0; }

@media (max-width: 720px) {
  .eva-banner { grid-template-columns: 1fr; }
  .panel-markers-grid { gap: var(--space-4); }
}
