*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #030308;
  --surface:      rgba(255, 255, 255, 0.035);
  --border:       rgba(255, 255, 255, 0.10);
  --border-bright: rgba(255, 255, 255, 0.22);
  --text:         #f4f6fb;
  --muted:        rgba(244, 246, 251, 0.55);
  --dim:          rgba(244, 246, 251, 0.32);
  --cyan:         #38bdf8;
  --violet:       #a78bfa;
  --pink:         #f472b6;
  --blur:         40px;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow--tl {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  top: -20%;
  left: -15%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
}

.glow--br {
  width: 50vw;
  height: 50vw;
  max-width: 650px;
  max-height: 650px;
  bottom: -25%;
  right: -10%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.20) 0%, transparent 70%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 3rem);
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 6vh, 4rem);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 var(--border-bright);
}

.nav__pill {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  transition: border-color 0.25s, background 0.25s;
}

.nav__pill:hover {
  border-color: var(--border-bright);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Hero ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(2.5rem, 6vh, 4rem);
}

.hero__intro {
  max-width: 680px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.06);
}

.tag__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.headline__line { display: block; }

.headline__line--accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

.sub strong {
  font-weight: 500;
  color: var(--text);
}

/* ── Countdown ── */
.countdown-wrap {
  width: 100%;
  max-width: 900px;
}

.countdown-head {
  margin-bottom: 2rem;
}

.countdown-head__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.25rem;
}

.countdown-head__days {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.35) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.15));
}

.countdown-head__unit {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: -0.25rem;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 2vw, 1rem);
  flex-wrap: wrap;
}

.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.countdown__glass {
  position: relative;
  width: clamp(72px, 16vw, 120px);
  height: clamp(80px, 18vw, 130px);
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur)) saturate(1.5);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.5);
  box-shadow:
    inset 0 1px 0 var(--border-bright),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.countdown__glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.countdown__glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}

.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.countdown__num.tick {
  transform: scale(1.06);
  opacity: 0.7;
}

.countdown__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.countdown__sep {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dim);
  align-self: flex-start;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.2; }
}

.launch-date {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.launch-date time {
  color: var(--muted);
  font-weight: 500;
}

/* ── Notify ── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: inset 0 1px 0 var(--border-bright), 0 16px 48px rgba(0,0,0,0.35);
}

.notify {
  width: 100%;
  max-width: 520px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.notify__text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.notify__form {
  display: flex;
  gap: 0.5rem;
}

.notify__input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.notify__input::placeholder { color: var(--dim); }

.notify__input:focus {
  border-color: rgba(56, 189, 248, 0.45);
}

.notify__btn {
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #030308;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}

.notify__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Footer ── */
.footer {
  margin-top: clamp(3rem, 8vh, 5rem);
}

.footer__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  margin-bottom: 1.25rem;
}

.footer__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.footer__track span {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding-right: 2rem;
  color: rgba(255, 255, 255, 0.04);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.footer__copy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--dim);
}

/* ── Responsive ── */
@media (max-width: 520px) {
  .countdown__sep { display: none; }

  .countdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .countdown__block { width: 100%; }

  .countdown__glass {
    width: 100%;
    height: 90px;
  }

  .notify__form {
    flex-direction: column;
  }

  .notify__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tag__pulse,
  .countdown__sep,
  .footer__track { animation: none; }
}
