/* ─── Variables ─────────────────────────────────────────────────── */
:root {
  --bg: #0b0f1a;
  --bg2: #111827;
  --bg3: #1a2236;
  --fg: #f0f4ff;
  --fg-muted: #8b9cc8;
  --accent: #6c8cff;
  --accent-dark: #4a6ae8;
  --accent-glow: rgba(108, 140, 255, 0.18);
  --success: #34d48a;
  --danger: #ff5c5c;
  --unknown: #f5a623;
  --border: rgba(108, 140, 255, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ─── Container ─────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108, 140, 255, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--accent);
  text-decoration: none;
}
.btn-sm  { padding: 8px 18px; font-size: 14px; }
.btn-lg  { padding: 14px 28px; font-size: 16px; }

/* ─── Header ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.5px;
}
.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
}
.header-nav a:hover { color: var(--fg); text-decoration: none; }

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 140, 255, 0.1) 0%, transparent 70%);
}
.hero-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.platform-tag {
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-muted);
}

/* ─── Demo ──────────────────────────────────────────────────────── */
.demo-section {
  padding: 0 0 80px;
}
.demo-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 780px;
  margin: 0 auto;
}
.demo-input-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.demo-field { flex: 1; min-width: 140px; }
.demo-field label {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.demo-input-fake {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 14px;
}
.demo-generate-btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: default;
  white-space: nowrap;
}
.demo-results { display: flex; flex-direction: column; gap: 10px; }
.demo-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  border: 1px solid var(--border);
}
.demo-result.available { border-color: rgba(52, 212, 138, 0.25); }
.result-name { font-weight: 700; font-size: 16px; flex: 1; }
.result-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 2px 8px;
  border-radius: 6px;
}
.result-badges { display: flex; gap: 6px; }
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.badge.avail  { background: rgba(52, 212, 138, 0.15); color: var(--success); }
.badge.taken  { background: rgba(255, 92, 92, 0.15);  color: var(--danger); }
.badge.unknown { background: rgba(245, 166, 35, 0.15); color: var(--unknown); }
.result-copy {
  background: none;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s;
}
.result-copy:hover { color: var(--fg); }

/* ─── Features ──────────────────────────────────────────────────── */
.features {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features h2, .how h2, .personas h2, .waitlist h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ─── How ───────────────────────────────────────────────────────── */
.how { padding: 80px 0; }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p  { color: var(--fg-muted); font-size: 14px; }
.step-arrow {
  font-size: 24px;
  color: var(--border);
  padding-top: 14px;
  flex-shrink: 0;
}

/* ─── Personas ──────────────────────────────────────────────────── */
.personas {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.persona-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.persona-icon { font-size: 32px; margin-bottom: 12px; }
.persona-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.persona-card p  { color: var(--fg-muted); font-size: 14px; }

/* ─── Waitlist ──────────────────────────────────────────────────── */
.waitlist {
  padding: 96px 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(108, 140, 255, 0.08) 0%, transparent 70%);
}
.waitlist-inner { text-align: center; }
.waitlist-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.waitlist-form { max-width: 500px; margin: 0 auto; }
.waitlist-fields {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.waitlist-fields input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.waitlist-fields input[type="email"]:focus {
  border-color: var(--accent);
}
.waitlist-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 0;
}
.waitlist-confirm {
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: rgba(52, 212, 138, 0.12);
  border: 1px solid rgba(52, 212, 138, 0.3);
  color: var(--success);
  font-weight: 600;
  font-size: 15px;
}

/* ─── Footer ────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg2);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}
.footer-by { color: var(--fg-muted); font-weight: 400; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: var(--fg-muted); font-size: 14px; }
.footer-nav a:hover { color: var(--fg); }
.footer-copy { color: var(--fg-muted); font-size: 13px; }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .header-nav a:not(.btn) { display: none; }
  .step-arrow { display: none; }
  .demo-input-row { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: center; }
}
