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

body {
  min-height: 100vh;
  background: #0a0a0f;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(99,102,241,0.4);
  background: rgba(99,102,241,0.1);
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.badge .dot {
  width: 6px; height: 6px;
  background: #818cf8;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
}

h1 span {
  background: linear-gradient(90deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 2.5rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 76px;
  text-align: center;
}

.countdown-item .num {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 4px;
}

.countdown-item .label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.email-form input::placeholder { color: rgba(255,255,255,0.3); }
.email-form input:focus { border-color: rgba(99,102,241,0.6); }

.email-form button {
  padding: 11px 22px;
  border-radius: 8px;
  background: #6366f1;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.email-form button:hover { background: #5254cc; }
.email-form button:active { transform: scale(0.97); }

.success-msg {
  display: none;
  color: #86efac;
  font-size: 14px;
  margin-bottom: 3rem;
  padding: 10px 20px;
  background: rgba(134,239,172,0.08);
  border: 1px solid rgba(134,239,172,0.2);
  border-radius: 8px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
}

.socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.socials a:hover {
  border-color: rgba(99,102,241,0.5);
  color: #a5b4fc;
  background: rgba(99,102,241,0.08);
}

.footer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

.divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 2.5rem auto;
}

@media (max-width: 480px) {
  .countdown-item { min-width: 64px; padding: 12px 14px; }
  .countdown-item .num { font-size: 1.5rem; }
}
