/* Special Offer Popup Styles */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background-color: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.popup-overlay.active .popup-container {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  z-index: 10;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.popup-header {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.popup-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.popup-shape-1 {
  width: 150px;
  height: 150px;
  top: -50px;
  left: -50px;
}

.popup-shape-2 {
  width: 100px;
  height: 100px;
  bottom: -30px;
  right: -20px;
}

.popup-shape-3 {
  width: 60px;
  height: 60px;
  top: 20px;
  right: 15%;
  background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
  border-radius: 12px;
  transform: rotate(45deg);
}

.popup-badge {
  background-color: #f59e0b;
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.popup-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  display: block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.popup-body {
  padding: 2rem;
  text-align: center;
}

.popup-title {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.popup-text {
  color: #4b5563;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popup-btn-primary {
  background-color: #14b8a6;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.3);
}

.popup-btn-primary:hover {
  background-color: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(20, 184, 166, 0.4);
}

.popup-btn-secondary {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.popup-btn-secondary:hover {
  color: #374151;
}

@media (max-width: 640px) {
  .popup-container {
    width: 95%;
  }

  .popup-header {
    padding: 2.5rem 1.5rem;
  }

  .popup-title {
    font-size: 1.35rem;
  }
}