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

:root {
  --blue-dark:  #0d3a8a;
  --blue-main:  #1a5fcc;
  --blue-mid:   #2979e8;
  --blue-light: #4da6ff;
  --blue-pale:  #e8f2ff;
  --white:      #ffffff;
  --text-muted: #6b8cc9;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0d2a6e 0%, #1040a8 40%, #1a6fd8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

/* Animated background bubbles */
.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: rise linear infinite;
}

.bubble:nth-child(1)  { width: 40px;  height: 40px;  left: 8%;  animation-duration: 12s; animation-delay: 0s;   }
.bubble:nth-child(2)  { width: 20px;  height: 20px;  left: 18%; animation-duration: 10s; animation-delay: 2s;   }
.bubble:nth-child(3)  { width: 60px;  height: 60px;  left: 30%; animation-duration: 15s; animation-delay: 4s;   }
.bubble:nth-child(4)  { width: 14px;  height: 14px;  left: 44%; animation-duration: 9s;  animation-delay: 1s;   }
.bubble:nth-child(5)  { width: 30px;  height: 30px;  left: 57%; animation-duration: 13s; animation-delay: 3s;   }
.bubble:nth-child(6)  { width: 50px;  height: 50px;  left: 68%; animation-duration: 11s; animation-delay: 5s;   }
.bubble:nth-child(7)  { width: 22px;  height: 22px;  left: 78%; animation-duration: 14s; animation-delay: 0.5s; }
.bubble:nth-child(8)  { width: 16px;  height: 16px;  left: 88%; animation-duration: 8s;  animation-delay: 2.5s; }
.bubble:nth-child(9)  { width: 45px;  height: 45px;  left: 5%;  animation-duration: 16s; animation-delay: 6s;   }
.bubble:nth-child(10) { width: 28px;  height: 28px;  left: 95%; animation-duration: 10s; animation-delay: 1.5s; }

@keyframes rise {
  0%   { transform: translateY(0) scale(1);   opacity: 0;   }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

/* Wave bottom decoration */
.wave {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 0;
}

.wave svg {
  display: block;
  width: 100%;
}

/* Main card */
.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2.5rem;
  max-width: 580px;
  width: 90%;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  box-shadow:
    0 8px 40px rgba(10, 35, 100, 0.45),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: fadeUp 0.9s ease both;
}

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

/* Logo */
.logo-wrap {
  display: inline-block;
  animation: floatY 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 24px rgba(10,40,140,0.45));
  margin-bottom: 0.5rem;
}

.logo-wrap img {
  width: 140px;
  height: auto;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-10px); }
}

/* Headline */
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 12px rgba(10,40,140,0.4);
}

.tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.2rem;
  line-height: 1.6;
}

/* Divider */
.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-light), white);
  border-radius: 99px;
  margin: 0 auto 2rem;
  opacity: 0.7;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  min-width: 72px;
  transition: transform 0.2s;
}

.countdown-block:hover {
  transform: translateY(-3px);
}

.countdown-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  min-width: 2ch;
  text-align: center;
}

.countdown-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
}

/* Email form */
.notify-form {
  display: flex;
  gap: 0.6rem;
  max-width: 420px;
  margin: 0 auto 1.6rem;
}

.notify-form input[type="email"] {
  flex: 1;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.notify-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.45);
}

.notify-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.18);
}

.notify-form button {
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #4da6ff, #1a5fcc);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(26,95,204,0.5);
}

.notify-form button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(26,95,204,0.65);
}

.notify-form button:active {
  transform: translateY(0);
}

.success-msg {
  display: none;
  color: #a0e8c0;
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

/* Social links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.22);
  color: var(--white);
  transform: translateY(-2px);
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer */
.footer-text {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 2.2rem 1.5rem;
  }

  .notify-form {
    flex-direction: column;
  }

  .countdown {
    gap: 0.8rem;
  }

  .countdown-block {
    min-width: 60px;
    padding: 0.7rem 0.85rem;
  }

  .countdown-number {
    font-size: 1.8rem;
  }
}
