:root {
  --bg: #0a0a12;
  --bg-2: #12121f;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --muted: #9a9ab0;
  --brand: #6d5efc;
  --brand-2: #22d3ee;
  --accent: #ffd166;
  --star: #ffcb45;
  --radius: 18px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Animated gradient backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 20% 15%, rgba(109, 94, 252, 0.28), transparent 60%),
    radial-gradient(50% 45% at 85% 25%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(55% 55% at 60% 100%, rgba(255, 209, 102, 0.12), transparent 60%),
    var(--bg);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 64px;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 22px rgba(109, 94, 252, 0.45);
  flex: none;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo b { color: #fff; }
.logo .dot { color: var(--brand-2); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
}
.status-pill .ping {
  width: 8px; height: 8px; border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.6);
  animation: ping 1.8s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(53, 208, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0); }
}

/* Hero */
.hero {
  text-align: center;
  padding: 64px 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 22px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
}

h1 {
  font-family: 'Bricolage Grotesque', 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
h1 .grad {
  background: linear-gradient(120deg, var(--brand-2), var(--brand) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: clamp(1.02rem, 2.2vw, 1.28rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 20px;
}

.stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 34px;
  color: var(--star);
  font-size: 1.25rem;
  filter: drop-shadow(0 2px 6px rgba(255, 203, 69, 0.35));
}

/* Notify form */
.notify {
  max-width: 480px;
  margin: 0 auto 12px;
}
.notify-row {
  display: flex;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.notify-row:focus-within {
  border-color: rgba(109, 94, 252, 0.6);
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.15);
}
.notify input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  padding: 10px 12px;
  font-family: inherit;
}
.notify input::placeholder { color: var(--muted); }

.btn {
  border: none;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 24px rgba(109, 94, 252, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(109, 94, 252, 0.55); }
.btn:active { transform: translateY(0); }

.form-hint { font-size: 0.82rem; color: var(--muted); }
.form-success {
  color: #35d07f;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}

/* Platforms */
.platforms {
  margin: 58px auto 0;
  max-width: 820px;
}
.platforms .label {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.platform:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}
.platform svg { width: 20px; height: 20px; flex: none; }

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(109,94,252,0.25), rgba(34,211,238,0.2));
  border: 1px solid var(--border);
  font-size: 1.4rem;
}
.feature h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p { color: var(--muted); font-size: 0.95rem; }

/* Footer */
footer {
  margin-top: 72px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--brand-2); }
.footer-links { display: flex; gap: 20px; }

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .notify-row { flex-direction: column; }
  .btn { width: 100%; }
  footer { flex-direction: column; text-align: center; }
}
