:root {
  --bg: #050505;
  --text: #ffffff;
  --text-dim: #8a8a8a;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --glow: rgba(99, 102, 241, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 15s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  top: -15%;
  left: -10%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  bottom: -10%;
  right: -10%;
  animation-delay: -7s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #06b6d4, #6366f1);
  top: 50%;
  left: 50%;
  animation-delay: -10s;
}

/* Animation-delay can be positive or negative and they do different things:


Positive (2s)	Waits 2 seconds, then starts the animation
Negative (-7s)	Starts immediately, but 7 seconds into the animation
Example with -7s:
If you have a 20-second animation and set animation-delay: -7s:
Animation starts right away
But it begins at the 7-second mark (skips the first 7 seconds) 

*/

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }

  66% {
    transform: translate(30px, -30px) scale(0.9);
  }
}

.container {
  text-align: center;
  padding: 2rem;
  max-width: 650px;
  width: 100%;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.logo span {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.hero {
  margin-bottom: 3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--glow);
  }

  50% {
    box-shadow: 0 0 0 10px transparent;
  }
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 450px;
  margin: 0 auto;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.time-block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  min-width: 90px;
  backdrop-filter: blur(10px);
}

.time-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--text), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.time-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.separator {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dim);
  opacity: 0.5;
}

.email-form {
  display: flex;
  gap: 0.75rem;
  max-width: 450px;
  margin: 0 auto;
}

.input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 1.25rem;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.input-group i {
  color: var(--text-dim);
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}

.input-group input::placeholder {
  color: var(--text-dim);
}

.email-form button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px var(--glow);
}

.email-form button i {
  transition: transform 0.2s ease;
}

.email-form button:hover i {
  transform: translateX(4px);
}

.success-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: #4ade80;
  font-weight: 500;
  max-width: 450px;
  margin: 1rem auto 1.5rem;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.success-message i {
  font-size: 1.25rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.socials a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.hidden {
  display: none;
}

@media (max-width: 600px) {
  .container {
    padding: 1.5rem;
  }

  .logo {
    margin-bottom: 2rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .time-block {
    padding: 1rem;
    min-width: 70px;
  }

  .time-value {
    font-size: 1.75rem;
  }

  .separator {
    font-size: 1.5rem;
  }

  .email-form {
    flex-direction: column;
  }

  .email-form button {
    width: 100%;
    justify-content: center;
  }
}
