:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #111111;
  --muted: #6b7280;
  --red: #e11d2e;
  --red-dark: #b91524;
  --red-soft: #fff1f2;
}

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

html, body { height: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Soft background glow */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  z-index: -1;
}
body::before { background: var(--red); top: -200px; left: -200px; }
body::after  { background: var(--red); bottom: -220px; right: -200px; }

header {
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}
.logo span {
  color: var(--red);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(225, 29, 46, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(225, 29, 46, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(225, 29, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 46, 0); }
}

h1 {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
h1 .grad {
  color: var(--red);
}

.subtitle {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 40px;
}

form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 460px;
  flex-wrap: wrap;
}
input[type="email"] {
  flex: 1 1 220px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="email"]:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.15); }
input::placeholder { color: var(--muted); }

button {
  flex: 0 0 auto;
  padding: 14px 22px;
  border: none;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
button:hover { background: var(--red-dark); transform: translateY(-1px); }

.message {
  margin-top: 14px;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: #111111;
}

footer {
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  button { width: 100%; }
}

.message.error { color: var(--red); }
