:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05060a;
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}

.hero {
  position: relative;
  text-align: center;
  padding: 2rem;
  z-index: 1;
}

.glow {
  position: absolute;
  inset: -40vh -40vw;
  z-index: -1;
  background: conic-gradient(from 180deg, #7c3aed, #2563eb, #db2777, #7c3aed);
  filter: blur(120px);
  opacity: 0.55;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #a1a1aa;
  margin: 0 0 2rem;
}

.signup-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.signup-form input {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid #27272a;
  background: #111114;
  color: #f5f5f7;
  font-size: 1rem;
  min-width: 260px;
}

.signup-form input:focus {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

.signup-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.signup-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-message {
  min-height: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-message.success { color: #4ade80; }
.form-message.error { color: #f87171; }
