:root {
  --bg: #0a0a0f;
  --bg-2: #111119;
  --bg-3: #18181f;
  --fg: #f0f0f5;
  --fg-muted: #8a8a99;
  --accent: #00D4FF;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --warning: #FFB800;
  --warning-dim: rgba(255, 184, 0, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --radius: 10px;
  --font-head: 'DM Sans', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
}
.nav-inner { width: 100%; max-width: 1100px; margin: 0 auto; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 60px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
  font-family: var(--font-head);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
}

/* ── SCORECARD (hero visual) ── */
.live-scorecard {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.live-scorecard::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}
.scorecard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.live-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00D4FF;
  font-family: var(--font-head);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00D4FF;
  animation: pulse 2s ease-in-out infinite;
}
.scorecard-title {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-head);
  font-weight: 500;
}
.score-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
}
.score-num {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 700;
  color: #00D4FF;
  line-height: 1;
  letter-spacing: -0.04em;
}
.score-denom {
  font-size: 20px;
  color: var(--fg-muted);
  font-family: var(--font-head);
  font-weight: 500;
}
.score-bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bar-label {
  font-size: 12px;
  color: var(--fg-muted);
  width: 75px;
  flex-shrink: 0;
  font-family: var(--font-head);
}
.bar-track {
  flex: 1;
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.8s ease;
}
.bar-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  width: 24px;
  text-align: right;
  font-family: var(--font-head);
}
.scorecard-alert {
  margin-top: 20px;
  padding: 10px 14px;
  background: var(--warning-dim);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--warning);
  font-family: var(--font-head);
}

/* ── FEATURES ── */
.features {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features-heading {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 64px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s ease;
}
.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.how-it-works-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-head);
  margin-bottom: 16px;
}
.how-heading {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 64px;
}
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 56px;
}
.step {
  flex: 1;
  padding: 0 40px 0 0;
}
.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 24px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.models-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.models-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-head);
  font-weight: 500;
}
.model-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.model-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 100px;
  padding: 5px 12px;
  font-family: var(--font-head);
}

/* ── CLOSING ── */
.closing {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.closing-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.stat { }
.stat-val {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ── FOOTER ── */
.footer {
  padding: 40px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 300px;
  line-height: 1.5;
}
.footer-copy {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-head);
}

/* ── HERO FORM WRAP ── */
.hero-form-wrap {
  display: flex;
  align-items: center;
}

.waitlist-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
}

.waitlist-form::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}

.form-headline {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.form-sub {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.field-group {
  margin-bottom: 12px;
}

.field-group input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--fg);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.field-group input::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.field-group input:focus {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.field-group input.field-invalid {
  border-color: rgba(255, 80, 80, 0.5);
}

.field-error {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 5px;
  font-family: var(--font-head);
  min-height: 16px;
}

.form-submit {
  width: 100%;
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-head);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.form-submit:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.form-submit:active:not(:disabled) {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  font-size: 14px;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 500;
}

.form-error-global {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.2);
  border-radius: 8px;
  font-size: 13px;
  color: #ff6b6b;
  font-family: var(--font-head);
}

.form-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.form-footer a {
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  transition: color 0.15s ease;
}

.form-footer a:hover {
  color: var(--accent);
}
/* ── SCAN WIDGET ── */
.scan-widget {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.scan-widget::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}
.scan-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.scan-input-row input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--fg);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.scan-input-row input::placeholder { color: var(--fg-muted); opacity: 0.6; }
.scan-input-row input:focus {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}
.scan-input-row input.field-invalid { border-color: rgba(255, 80, 80, 0.5); }
.scan-run-btn {
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-head);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.1s ease;
  flex-shrink: 0;
}
.scan-run-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.scan-run-btn:active { transform: translateY(0); }
.scan-input-error {
  font-size: 12px;
  color: #ff6b6b;
  font-family: var(--font-head);
  margin-bottom: 8px;
}
.scan-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.scan-domain-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-head);
  font-weight: 500;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scan-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.scan-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.scan-step.step-active {
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.04);
}
.scan-step.step-done { border-color: rgba(0, 212, 255, 0.2); }
.scan-step-icon {
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.step-active .scan-step-icon { color: var(--accent); animation: spin 1s linear infinite; }
.step-done .scan-step-icon { color: var(--accent); animation: none; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.scan-step-body { flex: 1; min-width: 0; }
.scan-step-name { font-size: 13px; font-weight: 600; color: var(--fg); font-family: var(--font-head); }
.scan-step-status { font-size: 11px; color: var(--fg-muted); font-family: var(--font-head); margin-top: 2px; }
.step-active .scan-step-status { color: var(--accent); }
.step-done .scan-step-status { color: #4CAF50; }
.scan-progress-note { font-size: 12px; color: var(--fg-muted); font-family: var(--font-head); text-align: center; }
.scan-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.scan-result-domain { font-size: 13px; font-weight: 600; color: var(--fg); font-family: var(--font-head); }
.scan-complete-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: #4CAF50; font-family: var(--font-head);
}
.scan-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.scan-score-block { display: flex; align-items: baseline; gap: 4px; }
.scan-score-num {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.scan-score-denom { font-size: 18px; color: var(--fg-muted); font-family: var(--font-head); font-weight: 500; }
.scan-score-meta { flex: 1; min-width: 0; }
.scan-score-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--fg-muted); font-family: var(--font-head); margin-bottom: 6px;
}
.scan-mention-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mention-chip {
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(0,212,255,0.12); border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px; padding: 3px 8px; font-family: var(--font-head);
}
.mention-label { font-size: 11px; color: var(--fg-muted); font-family: var(--font-head); }
.scan-quote-block {
  margin-bottom: 12px; padding: 12px 14px;
  background: rgba(0,212,255,0.05); border: 1px solid rgba(0,212,255,0.12); border-radius: 8px;
}
.scan-quote-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); font-family: var(--font-head); margin-bottom: 6px;
}
.scan-quote { font-size: 13px; color: var(--fg-muted); font-style: italic; line-height: 1.55; margin: 0; padding: 0; border: none; }
.scan-blur-teaser { position: relative; margin-bottom: 14px; border-radius: 8px; overflow: hidden; }
.scan-blur-content {
  padding: 10px 14px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; filter: blur(3px); user-select: none;
}
.scan-blur-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 12px; font-family: var(--font-head);
}
.blur-label { color: var(--fg-muted); }
.blur-value { color: var(--fg); letter-spacing: 2px; }
.scan-blur-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--accent); font-family: var(--font-head);
  letter-spacing: 0.04em; background: rgba(10,10,15,0.5); backdrop-filter: blur(1px);
}
.scan-cta-btn {
  width: 100%; background: var(--accent); color: #0a0a0f; border: none;
  border-radius: 8px; padding: 13px 20px; font-size: 14px; font-weight: 700;
  font-family: var(--font-head); cursor: pointer; transition: opacity 0.15s ease, transform 0.1s ease;
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.scan-cta-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.scan-cta-btn:active { transform: translateY(0); }
.scan-cta-sub { font-size: 12px; color: var(--fg-muted); font-family: var(--font-head); text-align: center; }
.scan-error-msg { font-size: 14px; color: #ff6b6b; font-family: var(--font-head); margin-bottom: 16px; }
.scan-retry-btn {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 16px; font-size: 13px; color: var(--fg-muted); font-family: var(--font-head);
  cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease;
}
.scan-retry-btn:hover { border-color: var(--accent); color: var(--accent); }
.back-link-btn {
  background: none; border: none; padding: 0; font-size: 13px;
  color: var(--fg-muted); font-family: var(--font-head); font-weight: 500;
  cursor: pointer; transition: color 0.15s ease;
}
.back-link-btn:hover { color: var(--accent); }
/* ── END SCAN WIDGET ── */

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .hero { padding: 80px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  .score-num { font-size: 48px; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .how-it-works { padding: 60px 20px; }
  .steps-row { flex-direction: column; gap: 32px; }
  .step { padding: 0; }
  .step-connector { display: none; }
  .closing { padding: 60px 20px; }
  .closing-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; gap: 24px; align-items: flex-start; }
  .scan-widget { max-width: 100%; }
  .scan-score-num { font-size: 42px; }
}