@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap');

.offer-container {
  font-family: 'Montserrat', sans-serif;
}

:root {
  --primary-color: #1b1f3b;
  /* Navy Blue */
  --secondary-color: #6c7a91;
  /* Gray/Blue */
  --bg-color: #ffffff;
  /* White Background */
  --text-color: #1b1f3b;
  /* Dark Navy for headings */
  --text-secondary: #6c7a91;
  /* Secondary text */
  --surface-color: #f5f7fa;
  /* Light card background */
  --accent-color: #2b3055;
  /* Slightly lighter navy for hover */
}

/* ============================= */
/* Overlay (Popup background) */
/* ============================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-overlay.active {
  display: flex;
}

/* ============================= */
/* Popup offer-container */
/* ============================= */
.offer-container {
  width: 100%;
  max-width: 700px;
  height: auto;
  padding: 3rem;
  background: var(--bg-color);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeInScale 0.5s ease;
  overflow: hidden;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--primary-color);
}

/* Popup animation */
@keyframes fadeInScale {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================= */
/* Product Teaser & Text */
/* ============================= */
.product-teaser {
  text-align: center;
}

.text-logo {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.product-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.product-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ============================= */
/* Countdown Styling */
/* ============================= */
.countdown-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.countdown-box {
  text-align: center;
  margin: 0 10px;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--surface-color);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-top: 13px;
}

/* ============================= */
/* Call-to-Action Button */
/* ============================= */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section button {
  background-color: #fff;
  border: 2px solid #1b1f3b;
  color: #1b1f3b;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.cta-section button:hover {
  background: var(--accent-color);
  color: #fff;
}

.cta-section button:active {
  transform: translateY(1px);
}

/* ============================= */
/* Responsive */
/* ============================= */
@media (max-width: 600px) {
  .product-name {
    font-size: 2rem;
  }

  .countdown-number {
    font-size: 1.5rem;
    padding: 10px;
  }

  .offer-container {
    padding: 2.5rem;
    margin-left: 10px;
    margin-right: 10px;
  }
}