.exit-intent-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.5s ease;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 20px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: slideUp 0.6s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 77, 109, 0.2);
  overflow: hidden;
}

.popup-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #FF4D6D, #C9184A);
}

.mascota-container {
  margin-bottom: 20px;
}

.mascota-svg {
  width: 120px;
  height: auto;
  animation: bounce 2s infinite;
  filter: drop-shadow(0 5px 15px rgba(201, 24, 75, 0.3));
}

#close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #C9184A;
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 10;
}

#close-popup:hover {
  transform: scale(1.2) rotate(90deg);
  color: #FF4D6D;
}

.popup-content h3 {
  color: #C9184A;
  margin-bottom: 15px;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}

.popup-content p {
  color: #555;
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 1.4;
}

.popup-content input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 2px solid #eee;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.popup-content input:focus {
  outline: none;
  border-color: #FF4D6D;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.2);
}

.popup-content button {
  background: linear-gradient(90deg, #FF4D6D, #C9184A);
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201, 24, 75, 0.3);
  position: relative;
  overflow: hidden;
}

.popup-content button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(201, 24, 75, 0.4);
}

.popup-content button:active {
  transform: translateY(-1px);
}

.benefit-item {
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
}

.urgency-banner {
  background: linear-gradient(90deg, #FF4D6D, #C9184A);
  color: white;
  padding: 8px;
  border-radius: 20px;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 14px;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(201, 24, 75, 0.3);
}

.social-proof {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #555;
  transition: transform 0.3s ease;
}

.social-proof:hover {
  transform: scale(1.03);
}

.guarantee {
  margin-top: 15px;
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 77, 109, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 109, 0);
  }
}

/* Efecto de brillo para el botón */
.popup-content button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.7s;
}

.popup-content button:hover::after {
  left: 100%;
}