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

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --tnt-red:      #BA0826;
  --fuse-red:     #E63946;
  --flame-orange: #F76A31;
  --slate-grey:   #3A3F47;
  --soft-white:   #FFFAFB;

  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* ─── Base ─────────────────────────────────────────── */
html {
  height: 100%;
  font-size: 16px;
}

body {
  min-height: 100%;
  font-family: var(--font);
  background:
    radial-gradient(
      ellipse 100% 35% at 50% 105%,
      rgba(50, 0, 8, 0.72) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 30% 100% at 0% 50%,
      rgba(100, 5, 15, 0.25) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 30% 100% at 100% 50%,
      rgba(100, 5, 15, 0.25) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 80% 55% at 50% 40%,
      rgba(254, 210, 100, 0.22) 0%,
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #FEC341 0%,
      #F76A31 38%,
      #BA0826 100%
    );
  color: var(--soft-white);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;

  background: transparent;
}

/* curved horizon arc at the bottom */
.hero::after {
  content: "";
  position: absolute;
  bottom: -52%;
  left: 50%;
  transform: translateX(-50%);
  width: 155%;
  aspect-ratio: 2 / 1;
  background: radial-gradient(
    ellipse 100% 100% at 50% 100%,
    rgba(35, 0, 6, 0.68) 0%,
    rgba(70, 3, 14, 0.32) 45%,
    transparent 68%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* ─── Logo ─────────────────────────────────────────── */
.logo {
  margin-bottom: 52px;
}

.logo-img {
  width: 160px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
}

/* ─── Headline ─────────────────────────────────────────── */
.headline {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--soft-white);
  margin-bottom: 20px;
}

.headline-accent {
  color: var(--soft-white);
}

/* ─── Subheadline ─────────────────────────────────────────── */
.subheadline {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 48px;
}

/* ─── Form ─────────────────────────────────────────── */
.form-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.waitlist-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.input-field {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
}

.input-field::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.input-field:focus {
  border-color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.25);
}

/* ─── CTA Button ─────────────────────────────────────────── */
.cta-button {
  width: 100%;
  padding: 17px 24px;
  margin-top: 4px;
  background: #FFFAFB;
  border: none;
  border-radius: var(--radius-md);
  color: #BA0826;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.cta-button:hover {
  background: #FFEDEE;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── Launch Note ─────────────────────────────────────────── */
.launch-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: 0.03em;
}

.launch-note--sub {
  margin-top: 4px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.70);
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ─── Thank You ─────────────────────────────────────────── */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 0.4s ease both;
}

.thank-you-icon {
  font-size: 1.6rem;
  color: var(--fuse-red);
  margin-bottom: 8px;
}

.thank-you-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--soft-white);
}

.thank-you-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.back-link {
  margin-top: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: rgba(255, 255, 255, 1);
}

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

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.40);
  font-size: 0.8rem;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero {
    padding: 64px 20px 48px;
  }

  .logo {
    margin-bottom: 40px;
  }

  .logo-img {
    width: 140px;
  }

  .subheadline {
    margin-bottom: 40px;
  }

  .cta-button {
    padding: 18px 24px;
    font-size: 1.05rem;
  }
}