/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-primary: #f0f0f5;
  --text-secondary: #8a8a9a;
  --text-muted: #55556a;
  --accent-1: #e8443a;
  --accent-2: #ff6b35;
  --accent-3: #f5a623;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}

/* ── Ambient glow blobs ── */
.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.glow-blob--1 {
  width: 500px;
  height: 500px;
  background: var(--accent-1);
  top: -10%;
  right: -5%;
  animation: drift-1 18s ease-in-out infinite;
}

.glow-blob--2 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  bottom: -10%;
  left: -5%;
  animation: drift-2 22s ease-in-out infinite;
}

.glow-blob--3 {
  width: 300px;
  height: 300px;
  background: var(--accent-3);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: drift-3 15s ease-in-out infinite;
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-40px, 30px); }
  66% { transform: translate(20px, -20px); }
}

@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -40px); }
  66% { transform: translate(-20px, 20px); }
}

@keyframes drift-3 {
  0%, 100% { transform: translateX(-50%) translate(0, 0); }
  50% { transform: translateX(-50%) translate(30px, -30px); }
}

/* ── Main container ── */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  text-align: center;
}

/* ── Top bar / Logo ── */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
}

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

.logo__icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo__text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ── Headline ── */
.headline {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.headline__accent {
  display: block;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ── Sub-headline ── */
.sub-headline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ── Countdown ── */
.countdown {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 80px;
}

.countdown__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.8rem 1.2rem;
  min-width: 80px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown__number:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
}

.countdown__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Divider ── */
.countdown__divider {
  font-size: 2rem;
  color: var(--text-muted);
  align-self: flex-start;
  padding-top: 1rem;
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ── Email form ── */
.notify-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
  margin-bottom: 3.5rem;
}

.notify-form:focus-within {
  border-color: rgba(232, 68, 58, 0.4);
}

.notify-form__input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.notify-form__input::placeholder {
  color: var(--text-muted);
}

.notify-form__btn {
  padding: 1rem 1.8rem;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: opacity 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.notify-form__btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.notify-form__btn:active {
  transform: scale(0.98);
}

/* ── Features row ── */
.features {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 700px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature__text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ── Footer ── */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer__text {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.footer__link {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--text-secondary);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .countdown {
    gap: 0.5rem;
  }

  .countdown__number {
    min-width: 60px;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
  }

  .countdown__divider {
    font-size: 1.4rem;
    padding-top: 0.8rem;
  }

  .notify-form {
    flex-direction: column;
    border-radius: 14px;
  }

  .notify-form__btn {
    border-radius: 0 0 13px 13px;
    padding: 0.9rem;
  }

  .features {
    gap: 1.2rem;
    flex-direction: column;
    align-items: center;
  }

  .top-bar {
    padding: 1.5rem;
  }

  .footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ── Entry animation ── */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.8s ease forwards;
}

.animate-in--1 { animation-delay: 0.1s; }
.animate-in--2 { animation-delay: 0.25s; }
.animate-in--3 { animation-delay: 0.4s; }
.animate-in--4 { animation-delay: 0.55s; }
.animate-in--5 { animation-delay: 0.7s; }

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
