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

html, body {
  height: 100%;
  font-family: system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: #0F2C67;
  opacity: 0.4;
}

/* ── Center content ── */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem;
  text-align: center;
  max-width: 974px;
  width: 100%;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img {
  width: 318px;
  max-width: 100%;
  height: auto;
}

/* ── Headline ── */
.headline {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  width: 920px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* ── Subheadline ── */
.subheadline {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  width: 974px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 1024px) {
  .subheadline { white-space: nowrap; }
}

/* ── Form ── */
.form-wrap { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; }

.pill-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  overflow: hidden;
  padding: 4px;
  width: 400px;
  height: 50px;
  max-width: 100%;
  margin: 0 auto;
}

.pill-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 1.1rem;
  font-size: 0.9rem;
  color: #1e1b4b;
  height: 100%;
}
.pill-form input[type="email"]::placeholder { color: #9ca3af; }
.pill-form input[type="email"]:disabled { opacity: 0.5; }

.pill-form button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: #dc2626;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  width: 120px;
  height: 40px;
  border-radius: 999px;
  transition: background 0.15s;
  white-space: nowrap;
  line-height: 17px;
}
.pill-form button:hover { background: #b91c1c; }
.pill-form button:disabled { background: #f87171; cursor: not-allowed; }

@keyframes spin { to { transform: rotate(360deg); } }
.pill-form button svg { display: block; animation: spin 0.75s linear infinite; }

.pill-form button.loading { pointer-events: none; }
.pill-form button.loading::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

/* ── Form feedback messages ── */
.form-message {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  min-height: 1.2em;
}
.form-message.success { color: #86efac; }
.form-message.warning { color: #fde68a; }
.form-message.error   { color: #fca5a5; }

.consent-text {
  margin-top: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  max-width: 400px;
}
.consent-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}
.consent-link:hover { color: #fff; }

/* ── Footer ── */
footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding-bottom: 1.4rem;
}

.copyright {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 52.28px;
}
.social-icons a {
  display: flex;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.social-icons a:hover { opacity: 1; }.social-icons img { width: 37.71px; height: 37.71px; display: block; }

/* ── Tablet ── */
@media (max-width: 768px) {
  .headline   { font-size: 26px; }
  .subheadline { font-size: 18px; }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .hero-content { gap: 1.25rem; padding: 1rem 1.25rem; }

  .logo-img { width: 200px; }

  .headline   { font-size: 20px; }
  .subheadline { font-size: 15px; }

  .form-wrap { max-width: 100%; }
  .pill-form { width: 100%; height: 46px; }
  .pill-form button { width: 100px; font-size: 12px; }
}
