:root {
  --bg: #0a0b10;
  --card: #161824;
  --border: #242736;
  --text: #f2f3f7;
  --muted: #9aa0b4;
  --accent: #7c5cff;
  --accent-2: #4ade80;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* Hero — single centered screen */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 40px;
  max-width: 620px;
  margin: 0 auto;
}

.pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #fff, #c3c6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 36px;
}

/* Signup form */
.signup {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 440px;
}
.signup input[type="email"] {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 11px;
  outline: none;
  transition: border-color 0.15s ease;
}
.signup input[type="email"]:focus { border-color: var(--accent); }
.signup input::placeholder { color: #6b7185; }
.signup button {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.signup button:hover:not(:disabled) { background: #6a48f5; transform: translateY(-1px); }
.signup button:disabled { opacity: 0.6; cursor: default; }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
}
.form-note.success { color: var(--accent-2); font-weight: 600; }
.form-note.error { color: #f87171; font-weight: 600; }

footer {
  text-align: center;
  padding: 28px 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 520px) {
  .signup { flex-direction: column; }
  .signup button { width: 100%; }
}
