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

:root {
  --purple: #9b20d0;
  --blue: #2c3fd6;
  --mid: #6a28cc;
  --white: #ffffff;
  --dim: rgba(255,255,255,0.45);
  --dimmer: rgba(255,255,255,0.18);
}

html, body {
  height: 100%;
  background: #000;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

/* ── Grain ── */
body::before {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 100;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 10%{transform:translate(-2%,-3%)} 20%{transform:translate(3%,2%)}
  30%{transform:translate(-1%,4%)} 40%{transform:translate(4%,-1%)} 50%{transform:translate(-3%,3%)}
  60%{transform:translate(2%,-4%)} 70%{transform:translate(-4%,1%)} 80%{transform:translate(1%,-2%)} 90%{transform:translate(3%,4%)}
}

/* ── Background glow ── */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155,32,208,0.12), transparent 70%);
  top: -150px; left: -100px;
  animation: glowpulse 6s ease-in-out infinite alternate;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(44,63,214,0.1), transparent 70%);
  bottom: -100px; right: -50px;
  animation: glowpulse 8s ease-in-out infinite alternate-reverse;
}
@keyframes glowpulse { from { opacity: 0.6; } to { opacity: 1; } }

/* ── Layout ── */
.page {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 56px 48px;
  text-align: center;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 40px;
  left: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}
.logo-svg { width: 38px; height: 32px; }
.wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
}

/* ── Main content ── */
.main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--dimmer);
}
.eyebrow::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--dimmer);
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.8rem, 9vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}
h1 .line { display: block; overflow: hidden; }
h1 .line span {
  display: block;
  opacity: 0;
  transform: translateY(100%);
}
h1 .line:nth-child(1) span { animation: slideUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.4s forwards; }
h1 .line:nth-child(2) span { animation: slideUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.55s forwards; }
h1 .line:nth-child(3) span { animation: slideUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.7s forwards; }
.grad {
  background: linear-gradient(90deg, var(--purple), var(--mid), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 44px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.85s forwards;
}

/* ── Waitlist form ── */
.form-wrap {
  opacity: 0;
  animation: fadeUp 0.8s ease 1.0s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-row {
  display: flex;
  gap: 0;
  max-width: 420px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.form-row:focus-within {
  border-color: rgba(155,32,208,0.6);
  box-shadow: 0 0 0 3px rgba(155,32,208,0.1);
}
.form-row input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.02em;
}
.form-row input::placeholder { color: rgba(255,255,255,0.3); }
.form-row button {
  background: var(--white);
  border: none;
  cursor: pointer;
  padding: 14px 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #000;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.form-row button:hover {
  background: linear-gradient(90deg, var(--purple), var(--blue));
  color: var(--white);
}

.form-note {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.03em;
}
.success-msg {
  display: none;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-top: 6px;
}
.success-msg.show { display: block; }

/* ── Bottom bar ── */
.bottom {
  position: fixed;
  bottom: 40px;
  left: 56px;
  right: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.counter {
  text-align: right;
}
.counter-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  line-height: 1;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.counter-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-top: 2px;
}

/* ── Vertical line accent ── */
.v-line {
  position: fixed;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}
.v-line::before {
  content: '';
  display: block;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15));
}
.v-line-text {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  writing-mode: vertical-rl;
}
.v-line::after {
  content: '';
  display: block;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .page { padding: 28px 24px 36px; }
  .v-line { display: none; }
  .counter-num { font-size: 32px; }
  .form-row { max-width: 100%; }
}
