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

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f2f2f2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  line-height: 1.6;
  color: #333;
}

.container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
  flex-wrap: wrap;
}

.form-section {
  flex: 1;
  padding: 40px 30px;
  min-width: 300px;
}

.image-section {
  flex: 1;
  background-color: #e8f4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
}

.image-section img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  padding: 20px;
}

h1 {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 16px;
  color: #222;
}

p {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
}

.cta {
  color: #e76f51;
  font-weight: bold;
  font-size: 1.15em;
  display: inline-block;
  margin: 10px 0 20px;
  animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.email-form input[type="email"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
}

.email-form button {
  padding: 12px;
  background-color: #00a6fb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.email-form button:hover {
  background-color: #007bbf;
}

.big-counter {
  font-size: 2.2em;
  color: #007bff;
  font-weight: bold;
  display: inline-block;
}

#emailCounter {
  font-size: 2.2em;
  color: #007bff;
  font-weight: bold;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #00a6fb;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-align: center;
  font-weight: bold;
  font-size: 1em;
  margin-top: 15px;
}

.fade-in.visible {
  opacity: 1;
}

.hidd {
  position: absolute;
  left: -9999px;
}

.store-badges {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badges a {
  display: inline-block;
  height: 50px;
}

.store-badges img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.store-badges img:hover {
  transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .form-section, .image-section {
    width: 100%;
    padding: 30px 20px;
  }

  h1 {
    font-size: 1.6em;
    text-align: center;
  }

  .cta {
    text-align: center;
  }
}
