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

:root {
  --bg: #09090b;
  --surface: #18181b;
  --border: #27272a;
  --primary: #e31837;
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --radius: 12px;
}

html { scroll-behavior: smooth; }
body.home { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; min-height: 100vh; }

/* ── Nav ── */
.home-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px; max-width: 1100px; margin: 0 auto;
}
.home-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }
.home-logo .dot { color: var(--primary); }
.home-logo.small { font-size: 1rem; }
.nav-admin-link { color: var(--text-3); font-size: 0.85rem; text-decoration: none; }
.nav-admin-link:hover { color: var(--text-2); }

/* ── Hero ── */
.hero { padding: 80px 24px 100px; text-align: center; }
.hero-inner { max-width: 720px; margin: 0 auto; }

.badge {
  display: inline-block; background: rgba(227,24,55,0.12); color: var(--primary);
  border: 1px solid rgba(227,24,55,0.3); border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; padding: 4px 14px; margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }
.highlight { color: var(--primary); }
.hero-sub { color: var(--text-2); font-size: 1.1rem; line-height: 1.7; max-width: 560px; margin: 0 auto 48px; }

/* ── Steps graphic ── */
.hero-steps {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 56px;
}
.step { text-align: center; }
.step-icon { font-size: 2rem; margin-bottom: 6px; }
.step-label { font-size: 0.8rem; color: var(--text-2); font-weight: 500; }
.step-arrow { color: var(--text-3); font-size: 1.2rem; }

/* ── Waitlist ── */
.waitlist-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; max-width: 480px; margin: 0 auto;
}
.waitlist-label { font-weight: 600; margin-bottom: 16px; }
.waitlist-form { display: flex; gap: 8px; }
.waitlist-form input {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px; color: var(--text); font-size: 1rem;
  font-family: inherit; outline: none;
}
.waitlist-form input:focus { border-color: var(--primary); }
.waitlist-form button {
  background: var(--primary); color: #fff; border: none;
  border-radius: 8px; padding: 12px 20px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; font-family: inherit; transition: opacity 0.2s;
}
.waitlist-form button:hover { opacity: 0.88; }
.waitlist-form button:disabled { opacity: 0.5; cursor: not-allowed; }
.waitlist-success { color: #4ade80; font-weight: 600; font-size: 1rem; }
.waitlist-note { color: var(--text-3); font-size: 0.78rem; margin-top: 12px; }

/* ── Features ── */
.features { padding: 80px 24px; }
.features-inner { max-width: 1000px; margin: 0 auto; }
.features h2 { text-align: center; font-size: 1.8rem; font-weight: 700; margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }

/* ── Demo section ── */
.demo-section { padding: 60px 24px; text-align: center; border-top: 1px solid var(--border); }
.demo-inner { max-width: 500px; margin: 0 auto; }
.demo-label { color: var(--text-2); font-size: 0.85rem; margin-bottom: 12px; }
.demo-link {
  display: inline-block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 28px; color: var(--text);
  text-decoration: none; font-weight: 600; transition: border-color 0.2s;
}
.demo-link:hover { border-color: var(--primary); color: var(--primary); }

/* ── Footer ── */
.home-footer {
  padding: 24px 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto;
}
.footer-domain { color: var(--text-3); font-size: 0.8rem; }

@media (max-width: 520px) {
  .waitlist-form { flex-direction: column; }
  .hero h1 { font-size: 2rem; }
  .hero-steps { gap: 6px; }
  .step-icon { font-size: 1.4rem; }
}
