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

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: hsl(200, 25%, 6%);
  --bg-card: hsla(200, 20%, 10%, 0.8);
  --primary: hsl(186, 72%, 42%);
  --secondary: hsl(120, 55%, 45%);
  --foreground: hsl(180, 15%, 92%);
  --muted: hsl(200, 10%, 55%);
  --border: hsl(200, 15%, 18%);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, hsl(200,25%,6%), hsl(200,30%,12%), hsl(186,40%,10%));
  color: var(--foreground);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background effects ── */
.bg-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, hsla(186,72%,42%,0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.bubbles-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, hsla(186,72%,42%,0.3), hsla(186,72%,42%,0.05));
  border: 1px solid hsla(186,72%,42%,0.1);
  animation: float var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

.ring-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid hsla(186,72%,42%,0.08);
  animation: drift var(--dur) ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-80px) scale(1.1); opacity: 0.7; }
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

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

/* ── Logo ── */
.logo {
  width: 280px;
  max-width: 80vw;
  filter: drop-shadow(0 0 40px hsla(186,72%,42%,0.2));
  animation: scaleIn 0.6s ease-out both;
}

/* ── Heading ── */
.heading-block {
  animation: fadeUp 0.6s ease-out 0.3s both;
}

.heading-block h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.heading-block h1 .highlight {
  color: var(--primary);
}

.heading-block p {
  color: var(--muted);
  font-size: clamp(0.95rem, 2.5vw, 1.125rem);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Countdown ── */
.countdown {
  display: flex;
  gap: 0.75rem;
  animation: fadeUp 0.6s ease-out 0.6s both;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-box {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px hsla(200,25%,2%,0.5);
}

.countdown-box span {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.countdown-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ── Email form ── */
.email-form {
  display: flex;
  width: 100%;
  max-width: 420px;
  animation: fadeUp 0.6s ease-out 0.9s both;
}

.email-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

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

.email-form input:focus {
  border-color: var(--primary);
}

.email-form button {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: filter 0.2s;
  white-space: nowrap;
}

.email-form button:hover {
  filter: brightness(1.1);
}

.email-form button svg {
  width: 16px;
  height: 16px;
}

.success-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-size: 0.875rem;
  animation: fadeUp 0.4s ease-out both;
}

.success-msg svg {
  width: 20px;
  height: 20px;
}

/* ── Contact links ── */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeIn 0.6s ease-out 1.2s both;
}

.contact-links a,
.contact-links span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-links a:hover {
  color: var(--primary);
}

.contact-links svg {
  width: 14px;
  height: 14px;
}

/* ── Footer ── */
.site-footer {
  position: absolute;
  bottom: 1rem;
  font-size: 0.6875rem;
  color: var(--muted);
  animation: fadeIn 0.6s ease-out 1.4s both;
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .countdown { gap: 1.25rem; }
  .countdown-box { width: 80px; height: 80px; }
  .countdown-box span { font-size: 2rem; }
  .countdown-label { font-size: 0.7rem; }
  .logo { width: 320px; }
}
