:root {
  --bg: #050b1d;
  --panel: rgba(7, 16, 39, 0.68);
  --panel-border: rgba(144, 173, 255, 0.15);
  --text: #f7f9ff;
  --muted: #a8b3ce;
  --cyan: #17e7ee;
  --blue: #3e7bff;
  --violet: #7d39ff;
  --pink: #d95cff;
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(28, 79, 169, 0.22), transparent 42%),
    linear-gradient(180deg, #061022 0%, #030817 100%);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.5;
  z-index: -2;
  animation: float 12s ease-in-out infinite;
}

.ambient-one {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -130px;
  background: radial-gradient(circle, rgba(0, 238, 255, .35), transparent 66%);
}

.ambient-two {
  width: 520px;
  height: 520px;
  right: -170px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(144, 55, 255, .40), transparent 65%);
  animation-delay: -4s;
}

.ambient-three {
  width: 260px;
  height: 260px;
  right: 12%;
  top: 14%;
  background: radial-gradient(circle, rgba(51, 93, 255, .30), transparent 65%);
  animation-delay: -7s;
}

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 30px;
}

.content-card {
  width: min(900px, 100%);
  position: relative;
  text-align: center;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--panel-border);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(11, 23, 51, .75), rgba(4, 11, 28, .66));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
}

.content-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(23,231,238,.32), transparent 28%, transparent 70%, rgba(202,79,255,.26));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.brand-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.logo-frame {
  width: clamp(126px, 19vw, 180px);
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(24, 230, 238, .22), rgba(103, 65, 255, .16));
  box-shadow: 0 18px 60px rgba(35, 106, 255, .18);
}

.logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #c7d6ff;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(23, 231, 238, .45);
  animation: pulse 2s infinite;
}

h1 {
  margin: 24px auto 16px;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
}

h1 span {
  background: linear-gradient(90deg, var(--cyan) 0%, #54a5ff 40%, var(--violet) 72%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.75;
}

.notify-form {
  width: min(590px, 100%);
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border-radius: 16px;
  background: rgba(2, 8, 22, .72);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.notify-form:focus-within {
  border-color: rgba(45, 222, 236, .42);
  box-shadow: 0 0 0 4px rgba(29, 208, 229, .08);
}

.notify-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #f7f9ff;
  background: transparent;
  padding: 13px 14px;
  font-size: 15px;
}

.notify-form input::placeholder {
  color: #73809d;
}

.notify-form button {
  border: 0;
  cursor: pointer;
  color: #06111f;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: 11px;
  background: linear-gradient(90deg, var(--cyan), #77abff);
  box-shadow: 0 8px 30px rgba(40, 197, 238, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.notify-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(40, 197, 238, .28);
}

.form-note {
  margin: 11px 0 0;
  min-height: 18px;
  color: #7f8ca8;
  font-size: 12px;
}

.form-note.success {
  color: #60f0d1;
}

.form-note.error {
  color: #ff8ca0;
}

.status-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.status-item strong {
  font-size: 13px;
  font-weight: 700;
  color: #eaf1ff;
}

.status-item span {
  font-size: 11px;
  color: #70809c;
}

.divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.08);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 70px;
  padding: 18px;
  color: #68748e;
  font-size: 12px;
}

.footer-dot { color: #37435c; }

.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;
}

@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-18px,0) scale(1.035); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(23, 231, 238, .45); }
  70% { box-shadow: 0 0 0 9px rgba(23, 231, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 231, 238, 0); }
}

@media (max-width: 680px) {
  .hero {
    width: min(100% - 22px, 1180px);
    padding-top: 24px;
  }

  .content-card {
    border-radius: 24px;
    padding: 28px 18px 24px;
  }

  .logo-frame {
    border-radius: 22px;
  }

  .logo { border-radius: 17px; }

  .eyebrow {
    font-size: 10px;
    letter-spacing: .04em;
  }

  h1 {
    margin-top: 20px;
    font-size: clamp(40px, 13vw, 58px);
  }

  .lead {
    font-size: 14px;
    line-height: 1.65;
  }

  .notify-form {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
  }

  .notify-form input,
  .notify-form button {
    width: 100%;
  }

  .notify-form button {
    padding-block: 14px;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }

  .divider {
    width: 60%;
    height: 1px;
    margin: 0 auto;
  }

  footer {
    flex-wrap: wrap;
    min-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
