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

:root {
  --bg: #0b0c0e;
  --surface: #13151a;
  --surface2: #1a1d24;
  --border: #2a2d36;
  --text: #e8e8ec;
  --muted: #8a8fa8;
  --accent: #3b82f6;
  --accent-dim: #1d4ed8;
  --accent-glow: rgba(59,130,246,0.15);
  --green: #22c55e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11,12,14,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-brand { font-weight: 700; font-size: 15px; letter-spacing: 0.05em; color: var(--accent); }
.nav-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 4px 10px;
  border-radius: 20px;
}

/* HERO */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
}
.coming-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* WISHLIST FORM */
.wishlist-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.wishlist-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.wishlist-form input:focus { border-color: var(--accent); }
.wishlist-form input::placeholder { color: var(--muted); }
.btn-primary {
  display: inline-block;       /* anchor variant: make padding form a real box */
  text-decoration: none;       /* kill the default <a> underline on the download pill */
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  margin-bottom: 4px;          /* small breathing room before the caption */
}
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.capture-thanks { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.capture-thanks-msg { color: var(--accent); font-weight: 600; font-size: 15px; }
.capture-thanks .btn-primary { display: inline-block; text-decoration: none; }

/* VISUAL */
.hero-visual {
  margin: 64px auto 0;
  max-width: 640px;
  height: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.spectrum {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 120px;
  padding: 0 32px;
}
.spectrum-bar {
  width: 18px;
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.spectrum-bar.locked { background: var(--accent); }
.spectrum-bar.side { background: var(--green); opacity: 0.5; }
.visual-label {
  position: absolute;
  bottom: 16px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* SECTION */
section { padding: 80px 24px; }
.section-inner { max-width: 860px; margin: 0 auto; }
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.section-body { color: var(--muted); font-size: 17px; max-width: 640px; }
.section-body p + p { margin-top: 16px; }

/* FEATURES */
.features { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* SOCIAL PROOF */
.proof { text-align: center; }
.proof-count {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.proof-label { font-size: 18px; color: var(--muted); margin-top: 8px; }
.chain-note {
  display: inline-block;
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 8px;
}
.chain-note a { color: var(--accent); text-decoration: none; }

/* CTA */
.cta { background: var(--surface); border-top: 1px solid var(--border); text-align: center; }
.cta .section-inner { max-width: 560px; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 16px; }
.cta p { color: var(--muted); margin-bottom: 40px; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .hero { padding: 64px 20px 60px; }
  footer { flex-direction: column; text-align: center; }
}


/* ===== AUTOFACTORY BRAND KIT ===== */

/* AF monogram in nav */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand img {
  height: 26px;
  width: auto;
  display: block;
}
.nav-brand span {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--accent);
}

/* LAB-VERIFIED section */
.lab-verified {
  background:
    radial-gradient(ellipse at top, var(--accent-glow), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.lab-verified::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.lab-headline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.lab-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(34,197,94,0.10);
  border: 1px solid var(--green);
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lab-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.lab-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.lab-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.lab-card-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.lab-card-image {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 24px),
    var(--bg);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.lab-card-image img {
  width: 100%;
  height: auto;
  display: block;
}
.lab-card-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.5;
}

.lab-metric {
  background:
    linear-gradient(180deg, var(--surface2) 0%, var(--bg) 100%);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 18px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 24px var(--accent-glow);
}
.lab-metric-value {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
  line-height: 1;
}
.lab-metric-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.lab-summary {
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}
.lab-summary strong { color: var(--accent); }

/* MC variant — UI-only Lab Verified (single column, larger image) */
.lab-grid.lab-grid-single { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }
.lab-grid.lab-grid-single .lab-card-image { min-height: 320px; }

@media (max-width: 800px) {
  .lab-grid { grid-template-columns: 1fr; }
}
