.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.popup-content {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  max-width: 450px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
  line-height: 1;
}

.popup-close:hover {
  color: #333;
}

.popup-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.popup-content .popup-subtitle {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popup-form input[type="text"],
.popup-form input[type="email"],
.popup-form input[type="tel"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.popup-form input[type="text"]:focus,
.popup-form input[type="email"]:focus,
.popup-form input[type="tel"]:focus {
  outline: none;
  border-color: var(--primary-color);
}

.popup-form button {
  background: var(--primary-color);
  color: white;
  padding: 15px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

.popup-form button:hover {
  background-color: #007a84;
  transform: translateY(-2px);
}

.popup-form button:active {
  transform: translateY(0);
}

.popup-benefits {
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .popup-content {
    padding: 2rem 1.5rem;
    max-width: 350px;
  }
  
  .popup-content h3 {
    font-size: 1.5rem;
  }
}