:root {
  --bg: #0b0b14;
  --bg-soft: #11121d;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ECECF1;
  --muted: #9aa0b4;
  --muted-2: #6b7088;
  --brand: #8b5cf6;
  --brand-2: #22d3ee;
  --accent: #f472b6;
  --ring: rgba(139, 92, 246, 0.45);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(139, 92, 246, 0.18), transparent 60%),
              radial-gradient(900px 600px at 100% 20%, rgba(34, 211, 238, 0.12), transparent 60%),
              var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Background decorations */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 35%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}
.bg-glow--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -120px; left: -100px;
}
.bg-glow--b {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  bottom: -160px; right: -120px;
}

/* Layout */
.nav, .hero, .footer {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0b0b14;
  box-shadow: 0 8px 24px -8px var(--ring);
}
.brand-name { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 17px; }
.brand-dot { color: var(--brand-2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text) !important;
  background: var(--surface);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  text-align: center;
  padding-top: 56px;
  padding-bottom: 80px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 22px auto 18px;
  max-width: 920px;
}
.grad {
  background: linear-gradient(90deg, #c4b5fd 0%, #8b5cf6 40%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.underline {
  position: relative;
  white-space: nowrap;
}
.underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.45), rgba(34, 211, 238, 0.45));
  border-radius: 999px;
  z-index: -1;
  transform: skew(-6deg);
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 36px;
}

/* Form */
.notify-form {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  padding: 6px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.notify-form:focus-within {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.12);
}
.notify-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
}
.notify-form input::placeholder { color: var(--muted-2); }

.notify-form button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: #0b0b14;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4f0 100%);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  font-family: inherit;
}
.notify-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.4);
}
.notify-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  color: var(--muted-2);
  font-size: 12.5px;
  margin: 12px 0 0;
  transition: color .2s ease;
}
.form-note.success { color: #34d399; }
.form-note.error { color: #f87171; }

/* Countdown */
.countdown {
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}
.cd-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 8px;
  backdrop-filter: blur(8px);
}
.cd-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.cd-label {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Features */
.features {
  margin: 88px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}
.feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.feature-icon {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.25);
  margin-bottom: 14px;
}
.feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 32px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted-2);
}
.footer .socials a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}
.footer .socials a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .features { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 8px; text-align: center; }
  .notify-form { flex-direction: column; padding: 10px; border-radius: var(--radius); gap: 10px; }
  .notify-form input { width: 100%; padding: 12px; }
  .notify-form button { width: 100%; justify-content: center; padding: 12px; }
  .hero { padding-top: 32px; padding-bottom: 48px; }
  .countdown { gap: 8px; }
}
