:root {
  --bg: #07090e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(148, 197, 255, 0.55);
  --text-primary: #f5f7fb;
  --text-secondary: #98a2b3;
  --text-muted: #667085;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --success: #4ade80;
  --error: #f87171;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0) 70%),
    radial-gradient(45% 40% at 85% 85%, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0) 70%),
    radial-gradient(40% 35% at 15% 75%, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0) 70%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 35%, transparent 100%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-mark {
  width: 30px;
  height: 18px;
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-strong);
  box-shadow: 0 0 10px var(--accent-strong);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

/* Hero */
.hero {
  max-width: 680px;
  margin: auto 0;
  padding: 4rem 0;
  animation: fadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.headline-accent {
  background: linear-gradient(110deg, #ffffff 10%, #bae6fd 55%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subcopy {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.25rem;
}

/* Form */
.notify-form {
  max-width: 460px;
}

.input-group {
  display: flex;
  gap: 0.5rem;
  padding: 0.38rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.input-group input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.input-group button {
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.35rem;
  background: #f8fafc;
  color: #090b10;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.input-group button:hover {
  background: #ffffff;
}

.input-group button:active {
  transform: scale(0.98);
}

.input-group button:disabled {
  opacity: 0.65;
  cursor: default;
}

.form-message {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--error);
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 540px) {
  .page {
    padding: 1.5rem 1.25rem;
  }

  .input-group {
    flex-direction: column;
    padding: 0.5rem;
  }

  .input-group button {
    width: 100%;
  }
}
