/* ===== POPUP COMPACTO MODERNO ===== */

.modern-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: none;
  animation: slideInUp 0.4s ease;
}

.popup-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  border-radius: 16px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 10px 40px rgba(35, 47, 62, 0.15);
  border: 2px solid rgba(255, 153, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.popup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF9900, #FFB84D);
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  color: #879196;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.popup-close:hover {
  background: rgba(255, 153, 0, 0.1);
  color: #FF9900;
  transform: scale(1.1);
}

.popup-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.popup-card h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 700;
  color: #232F3E;
  line-height: 1.3;
}

.popup-card p {
  margin: 0 0 16px 0;
  font-size: 13px;
  color: #5A6C75;
  line-height: 1.4;
}

.popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF9900, #FFB84D);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
  width: 100%;
  text-align: center;
}

.popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-card:hover {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(35, 47, 62, 0.15);
  }
  50% {
    box-shadow: 0 15px 50px rgba(255, 153, 0, 0.2);
  }
}

@media (max-width: 768px) {
  .modern-popup {
    bottom: 15px;
    right: 15px;
    left: 15px;
  }
  
  .popup-card {
    width: auto;
    max-width: 300px;
    margin: 0 auto;
  }
}