/* ── Background glow flares ──────────────────────────────────── */
.glow-flare {
  position: absolute;
  filter: blur(80px);
  pointer-events: none;
}

/* ── Custom fonts ────────────────────────────────────────────── */
.font-geist  { font-family: 'Geist', 'Inter', sans-serif; }
.font-inter  { font-family: 'Inter', sans-serif; }

/* ── Page background ─────────────────────────────────────────── */
.bg-page { background-color: #040818; }

/* ── Hero headline ───────────────────────────────────────────── */
.headline-gradient {
  background: linear-gradient(270deg, #818CF8 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(30, 58, 138, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.27);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 8px;
  background: #2563EB;
  color: #fff;
  transition: background 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: #1D4ED8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 6px;
  background: rgba(30, 58, 138, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav-cta:hover {
  background: rgba(30, 58, 138, 0.22);
  border-color: rgba(59, 130, 246, 0.45);
}

/* ── Modal backdrop ──────────────────────────────────────────── */
.modal-backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-backdrop.hidden { display: none; }

/* ── Modal card ──────────────────────────────────────────────── */
.modal-card {
  background: rgba(11, 22, 40, 0.94);
  border: 1px solid #1E3A6A;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(59, 130, 246, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ── Close button ────────────────────────────────────────────── */
.close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  cursor: pointer;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Form inputs ─────────────────────────────────────────────── */
.form-input {
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #1E3A6A;
  color: #F1F5F9;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.form-input::placeholder {
  color: #334155;
}

.form-input:focus {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

/* ── Success state ───────────────────────────────────────────── */
#success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 32px 0;
}

#success-message.visible {
  display: flex;
}

/* ── Reduce motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
