* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #f8f2e8;
  background: #070512 url('splash_bg.png') center top / cover no-repeat fixed;
  min-height: 100vh;
  position: relative;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6, 4, 19, 0.72), rgba(6, 4, 19, 0.90)),
    radial-gradient(circle at center, rgba(255, 82, 167, 0.08), transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 42px;
}

.logo {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: 1px;
  color: #e4b550;
  text-shadow: 0 0 20px rgba(228, 181, 80, 0.18);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #f8f2e8;
  text-decoration: none;
  font-size: 16px;
}

.nav-links a:last-child {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(154, 80, 255, 0.70), rgba(114, 34, 175, 0.70));
  box-shadow: 0 0 18px rgba(194, 92, 255, 0.28);
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 28px auto;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 64px 0 24px 0;
}

.hero-copy {
  max-width: 560px;
  padding: 26px 18px;
}

.hero h1 {
  margin: 0 0 18px 0;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.98;
  color: #f5efe7;
  text-shadow: 0 0 26px rgba(0, 0, 0, 0.35);
}

.hero-text,
.panel p,
.feature-card p,
.flow-row span,
.small-note {
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.28);
}

.hero-text {
  max-width: 470px;
  font-size: 25px;
  line-height: 1.5;
  margin: 0 0 22px 0;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 24px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff4d7;
  background: linear-gradient(180deg, rgba(214, 86, 207, 0.95), rgba(121, 44, 166, 0.95));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 20px rgba(215, 93, 231, 0.30);
}

.btn-secondary {
  color: #f5efe7;
  background: rgba(8, 8, 18, 0.35);
  border: 1px solid rgba(255,255,255,0.30);
}

.small-note {
  margin-top: 8px;
  font-size: 15px;
  opacity: 0.92;
}

.panel {
  padding: 28px 28px 32px;
  border-top: 1px solid rgba(228, 181, 80, 0.45);
  border-bottom: 1px solid rgba(228, 181, 80, 0.18);
  background: linear-gradient(180deg, rgba(9, 8, 25, 0.26), rgba(9, 8, 25, 0.16));
  backdrop-filter: blur(2px);
}

.panel h2 {
  text-align: center;
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 14px 0;
  color: #e4b550;
}

.panel p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  font-size: 24px;
  line-height: 1.55;
}

.tagline {
  margin-top: 16px !important;
  font-size: 32px !important;
  font-style: italic;
  color: #f2d58a;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.feature-card {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 20px 16px 18px;
  background: linear-gradient(180deg, rgba(21, 15, 44, 0.78), rgba(14, 10, 26, 0.70));
  box-shadow: 0 0 18px rgba(255, 112, 197, 0.10);
  text-align: center;
}

.feature-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #f5efe7;
}

.feature-card p {
  font-size: 19px;
  line-height: 1.45;
}

.flow-panel {
  padding-bottom: 36px;
}

.flow-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.flow-row span {
  display: block;
  text-align: center;
  padding: 16px 10px;
  border-radius: 14px;
  background: rgba(16, 11, 35, 0.60);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 700;
  font-size: 18px;
}

.waitlist-panel p {
  margin-bottom: 18px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.waitlist-form input[type="email"] {
  width: min(420px, 100%);
  padding: 16px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(12, 10, 24, 0.78);
  color: #fff;
  font-size: 17px;
}

.waitlist-form input::placeholder {
  color: rgba(255,255,255,0.72);
}

.form-message {
  margin-top: 16px !important;
  font-size: 18px !important;
}

.form-message.success {
  color: #b9ffcc;
}

.form-message.error {
  color: #ffb0ba;
}

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

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-text,
  .panel p {
    font-size: 21px;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 20px 18px;
    gap: 16px;
    flex-direction: column;
  }

  .section {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    min-height: 480px;
    padding-top: 26px;
  }

  .hero-copy {
    padding: 10px 6px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 58px);
  }

  .hero-text,
  .panel p,
  .feature-card p {
    font-size: 18px;
  }

  .panel h2 {
    font-size: 32px;
  }

  .tagline {
    font-size: 25px !important;
  }

  .features-grid,
  .flow-row {
    grid-template-columns: 1fr;
  }

  .feature-card h3 {
    font-size: 24px;
  }
}
