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

:root {
  --bg: #07060f;
  --text: #f2f0ff;
  --muted: #a7a3c7;
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
  --c1: #7c3aed;
  --c2: #06b6d4;
  --c3: #ec4899;
}

html, body { height: 100%; }

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow-x: hidden;
  padding: 1.5rem;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; filter: blur(90px); opacity: 0.75; }
.blob { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: float 18s ease-in-out infinite alternate; }
.b1 { width: 45vw; height: 45vw; background: var(--c1); top: -10%; left: -10%; }
.b2 { width: 40vw; height: 40vw; background: var(--c2); bottom: -15%; right: -5%; animation-delay: -6s; }
.b3 { width: 30vw; height: 30vw; background: var(--c3); top: 35%; left: 40%; animation-delay: -12s; }

@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(8vw, 6vh) scale(1.15); }
  100% { transform: translate(-6vw, -4vh) scale(0.9); }
}

#stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- Header ---------- */
.top { width: 100%; max-width: 1100px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 16px var(--c2); }
.badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; padding: .45rem .9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ---------- Card ---------- */
.card {
  width: 100%;
  max-width: 720px;
  margin: 3rem 0;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255,255,255,.08);
  animation: rise .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .75rem; color: var(--c2); margin-bottom: 1rem; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; font-weight: 700; margin-bottom: 1.2rem; }
.gradient {
  background: linear-gradient(90deg, var(--c2), var(--c1), var(--c3), var(--c2));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 520px; margin: 0 auto 2.2rem; }

/* ---------- Countdown ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 2.2rem; }
.unit { padding: 1rem .5rem; border-radius: 18px; border: 1px solid var(--border); background: rgba(255,255,255,.04); }
.unit span { display: block; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.unit small { display: block; margin-top: .3rem; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

/* ---------- Form ---------- */
.notify { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; padding: .4rem; border-radius: 999px; border: 1px solid var(--border); background: rgba(0,0,0,.25); }
.notify input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); padding: .8rem 1.1rem; font: inherit; }
.notify input::placeholder { color: #6f6b91; }
.notify button {
  border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #fff;
  padding: .8rem 1.4rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  box-shadow: 0 8px 24px rgba(124, 58, 237, .45);
  transition: transform .2s, box-shadow .2s;
}
.notify button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(236, 72, 153, .5); }
.notify:focus-within { border-color: var(--c2); }
.form-msg { min-height: 1.4em; margin-top: 1rem; font-size: .9rem; }
.form-msg.ok { color: #4ade80; }
.form-msg.err { color: #f87171; }

/* ---------- Footer ---------- */
.bottom { display: flex; flex-direction: column; align-items: center; gap: .9rem; color: var(--muted); font-size: .85rem; }
.socials { display: flex; gap: .8rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--glass); transition: background .2s, transform .2s; }
.socials a:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: var(--text); }

@media (max-width: 540px) {
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .notify { flex-direction: column; border-radius: 20px; }
  .notify button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
