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

:root {
  --navy: #16243b;
  --navy-mid: #1e3252;
  --navy-light: #253f67;
  --gray: #dee0e3;
  --gray-dim: #a8adb5;
  --white: #ffffff;
  --accent: #4f8ef7;
  --accent-dark: #3a72d6;
  --green: #22c55e;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--navy);
  color: var(--gray);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(79,142,247,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(79,142,247,0.10) 0%, transparent 60%);
}

.stars {
  position: absolute;
  inset: 0;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--white);
  opacity: 0;
  animation: twinkle var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50%       { opacity: var(--op); transform: scale(1); }
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  padding: 48px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.30);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 36px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.logo {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.logo span { color: var(--accent); }

.tagline {
  font-size: 16px;
  color: var(--gray-dim);
  margin-bottom: 48px;
}

h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 20px;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}

.subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-dim);
  max-width: 500px;
  margin: 0 auto 48px;
}

.countdown-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 16px;
}

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

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}

.countdown-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}

.countdown-unit {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dim);
}

.countdown-sep {
  font-size: 36px;
  font-weight: 800;
  color: rgba(255,255,255,0.2);
  align-self: flex-start;
  margin-top: 22px;
  line-height: 1;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

form {
  width: 100%;
  max-width: 480px;
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

input[type="email"] {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 15px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
input[type="email"]::placeholder { color: var(--gray-dim); }
input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.18);
}

button[type="submit"] {
  height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
button[type="submit"]:hover  { background: var(--accent-dark); }
button[type="submit"]:active { transform: scale(0.97); }

.form-note {
  font-size: 13px;
  color: var(--gray-dim);
  margin-bottom: 56px;
}

.success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 12px;
  padding: 14px 24px;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  max-width: 480px;
  margin-bottom: 56px;
}
.success.show { display: flex; }
.check { font-size: 20px; }

.features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-bottom: 64px;
}

@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  form { flex-direction: column; }
  button[type="submit"] { width: 100%; }
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(79,142,247,0.3); }

.feature-icon {
  font-size: 22px;
  line-height: 1;
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.feature-desc {
  font-size: 13px;
  color: var(--gray-dim);
  line-height: 1.55;
}

.progress-section {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 48px;
  text-align: left;
}

.progress-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 20px;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.progress-item:last-child { margin-bottom: 0; }

.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.progress-pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.progress-bar-bg {
  height: 6px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0;
}

footer {
  position: relative;
  z-index: 1;
  padding: 24px;
  text-align: center;
  color: var(--gray-dim);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}
