:root {
  --bg: #050814;
  --bg-soft: rgba(6, 11, 28, 0.72);
  --text: #f7f4ff;
  --text-muted: rgba(247, 244, 255, 0.78);
  --line: rgba(82, 217, 255, 0.26);
  --cyan: #57e7ff;
  --cyan-strong: #2fdcff;
  --shadow: rgba(165, 90, 255, 0.22);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
button, input { font: inherit; }

.site-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.site-hero__background,
.site-hero__overlay {
  position: absolute;
  inset: 0;
}

.site-hero__background {
  background-image: url("assets/background.jpg");
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
}

.site-hero__overlay {
  background:
    radial-gradient(circle at 50% 18%, rgba(154, 95, 255, 0.34), transparent 24%),
    radial-gradient(circle at 50% 56%, rgba(255, 198, 229, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(11, 7, 35, 0.26) 0%, rgba(14, 9, 38, 0.34) 28%, rgba(6, 8, 22, 0.58) 62%, rgba(2, 4, 12, 0.84) 100%);
}

.hero-card {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem 1.25rem 3rem;
}

.hero-card__icon {
  width: clamp(74px, 9vw, 110px);
  height: auto;
  filter: drop-shadow(0 0 32px rgba(154, 95, 255, 0.30));
  animation: pulse 3.2s ease-in-out infinite;
}

.hero-card__title {
  margin: 0;
  max-width: 11ch;
  font-family: "Segoe UI Semilight", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-card__tagline {
  margin: 0;
  max-width: 820px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2vw, 1.7rem);
  line-height: 1.45;
  text-wrap: balance;
}

.hero-card__actions {
  margin-top: 0.5rem;
}

.button {
  appearance: none;
  border-radius: 16px;
  min-height: 50px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, opacity 140ms ease;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.button--ghost {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button--solid {
  color: #08101f;
  background: #ffffff;
}

.waitlist {
  width: min(100%, 760px);
  margin-top: 0.5rem;
  display: grid;
  gap: 1rem;
  animation: reveal 260ms ease-out;
}

.hidden { display: none; }

.waitlist__copy {
  margin: 0;
  color: rgba(247, 244, 255, 0.66);
  font-size: 0.98rem;
  line-height: 1.6;
  text-wrap: balance;
}

.waitlist__form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.waitlist__form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  padding: 0 1rem;
  outline: none;
  backdrop-filter: blur(8px);
}

.waitlist__form input::placeholder {
  color: rgba(247, 244, 255, 0.42);
}

.waitlist__form input:focus {
  border-color: rgba(87, 231, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.waitlist__message {
  min-height: 1.25rem;
  margin: 0;
  color: rgba(247, 244, 255, 0.68);
  font-size: 0.94rem;
}

.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 pulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .hero-card {
    padding-inline: 1rem;
  }

  .waitlist__form {
    flex-direction: column;
  }

  .button,
  .waitlist__form input {
    width: 100%;
  }
}

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