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

:root {
  --purple: #6C63FF;
  --teal: #3ECFCF;
  --purple-soft: rgba(108, 99, 255, 0.15);
  --teal-soft: rgba(62, 207, 207, 0.12);
  --bg: #09090f;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f0f8;
  --text-muted: rgba(240, 240, 248, 0.5);
  --radius: 14px;
}

html {
  scroll-behavior: smooth;
}

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

/* ── Background Effects ── */

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: drift 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #6C63FF 0%, transparent 70%);
  top: -140px;
  left: -120px;
  animation-duration: 14s;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #3ECFCF 0%, transparent 70%);
  bottom: -80px;
  right: -100px;
  animation-duration: 10s;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
  top: 50%;
  left: 60%;
  opacity: 0.18;
  animation-duration: 18s;
  animation-delay: -3s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.06); }
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* ── Header ── */

.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  animation: fadeDown 0.6s ease both;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Main ── */

.main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 60px;
  gap: 32px;
}

/* ── Badge ── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: fadeDown 0.6s 0.1s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

/* ── Headline ── */

.headline {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  animation: fadeUp 0.7s 0.2s ease both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subheadline {
  max-width: 520px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-muted);
  animation: fadeUp 0.7s 0.3s ease both;
}

/* ── Countdown ── */

.countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.7s 0.4s ease both;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  min-width: 80px;
  backdrop-filter: blur(12px);
}

.countdown-value {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.countdown-sep {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1;
}

/* ── Notify Form ── */

.notify-form {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeUp 0.7s 0.5s ease both;
}

.input-wrap {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(12px);
}

.input-wrap:focus-within {
  border-color: rgba(108, 99, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.notify-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--purple) 0%, #5b52e8 100%);
  border: none;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.notify-btn:hover {
  opacity: 0.9;
  transform: translateX(2px);
}

.notify-btn:active {
  transform: translateX(0) scale(0.98);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-note {
  font-size: 0.82rem;
  text-align: center;
  min-height: 1.2em;
  transition: color 0.2s;
}

.form-note.success { color: var(--teal); }
.form-note.error   { color: #ff6b6b; }

/* ── Feature Chips ── */

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  animation: fadeUp 0.7s 0.6s ease both;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, color 0.2s;
}

.feature-chip:hover {
  border-color: rgba(108, 99, 255, 0.35);
  color: var(--text);
}

.feature-chip svg {
  width: 15px;
  height: 15px;
  color: var(--purple);
  flex-shrink: 0;
}

/* ── Footer ── */

.footer {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  animation: fadeUp 0.7s 0.7s ease both;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  color: var(--text);
  border-color: rgba(108, 99, 255, 0.4);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Animations ── */

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */

@media (max-width: 500px) {
  .countdown-item {
    padding: 14px 16px;
    min-width: 64px;
  }

  .countdown {
    gap: 8px;
  }

  .countdown-sep {
    font-size: 1.4rem;
  }

  .input-wrap {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .notify-btn {
    justify-content: center;
    border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
  }
}
