:root {
  --blue-900: #0d47a1;
  --blue-700: #1565c0;
  --blue-500: #1976d2;
  --bg-start: #e3f2fd;
  --bg-end: #bbdefb;
  --accent: #22c55e;
  --glass: rgba(255, 255, 255, 0.85);
  --max-width: 980px;
  --radius: 14px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-start), var(--bg-end));
  color: var(--blue-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 24px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.95)
  );
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 12px 40px rgba(13, 71, 161, 0.08);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}

/* responsive: single column on small screens */
@media (max-width: 880px) {
  .container {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 18px;
  }
}

/* Additional responsiveness for tablets */
@media (max-width: 768px) {
  body {
    padding: 16px;
  }
  .container {
    padding: 24px;
    gap: 20px;
  }
  .logo {
    width: 60px;
    height: 60px;
  }
  h1 {
    font-size: 2rem;
  }
  .tagline {
    font-size: 1rem;
  }
  .pill {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  .cta-column {
    padding: 16px;
  }
  .email-form input[type="email"] {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .email-form button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

/* Additional responsiveness for mobile */
@media (max-width: 480px) {
  .container {
    padding: 20px;
    gap: 16px;
  }
  .logo-wrap {
    gap: 10px;
  }
  .logo {
    width: 50px;
    height: 50px;
  }
  h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  .tagline {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }
  .features {
    gap: 8px;
  }
  .pill {
    font-size: 0.8rem;
    padding: 5px 8px;
  }
  .cta-column {
    padding: 14px;
    gap: 10px;
  }
  .countdown {
    font-size: 1.1rem;
  }
  .email-form {
    flex-direction: column;
    gap: 6px;
  }
  .email-form input[type="email"] {
    padding: 10px;
  }
  .email-form button {
    padding: 10px;
    width: 100%;
  }
  .muted {
    font-size: 0.85rem;
  }
  footer {
    font-size: 0.8rem;
  }
  .modal {
    padding: 16px;
    max-width: 90vw;
  }
  .modal .row {
    flex-direction: column;
    gap: 6px;
  }
  .modal .row button {
    width: 100%;
  }
}

.hero {
  padding-right: 12px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.logo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: inline-block;
  background: url("logo.png") center/contain no-repeat;
  filter: drop-shadow(0 6px 18px rgba(13, 71, 161, 0.08));
  transform: translateZ(0);
  animation: float 3.2s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

h1 {
  margin: 0 0 10px 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.05;
}

.tagline {
  color: var(--blue-700);
  margin: 0 0 18px 0;
  font-weight: 600;
}

.features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.pill {
  background: rgba(25, 118, 210, 0.08);
  color: var(--blue-700);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-column {
  padding: 18px;
  background: var(--glass);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(13, 71, 161, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.countdown {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue-900);
}

.email-form {
  display: flex;
  gap: 8px;
  width: 100%;
}
.email-form input[type="email"] {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(25, 118, 210, 0.18);
  outline: none;
  font-size: 0.95rem;
}
.email-form button {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.email-form button.secondary {
  background: transparent;
  color: var(--blue-700);
  border: 1px solid rgba(25, 118, 210, 0.16);
}

.muted {
  color: rgba(13, 71, 161, 0.6);
  font-size: 0.9rem;
  margin-top: 6px;
}

footer {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(13, 71, 161, 0.65);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.45);
  z-index: 1000;
  padding: 20px;
}
.modal {
  width: 100%;
  max-width: 520px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.4);
}
.modal h3 {
  margin: 0 0 8px 0;
}
.modal .row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.close-btn {
  background: transparent;
  border: none;
  color: var(--blue-700);
  cursor: pointer;
  font-weight: 700;
  float: right;
}

/* small helper */
.success {
  padding: 10px 12px;
  background: #e6f7ef;
  color: #0b6a3a;
  border-radius: 8px;
  font-weight: 700;
  display: none;
}
