/* ============================================================================
   Success Modal (після успішної відправки форми)
   ============================================================================ */

.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.success-modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.success-modal-content {
  max-width: 420px;
  width: 90vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(40px) saturate(180%);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px 30px;
  text-align: center;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}

.success-modal.active .success-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: #34C759;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPulse 0.6s ease-out;
}

.success-icon i {
  font-size: 40px;
  color: white;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 24px;
  font-weight: 600;
  color: #1D1D1F;
  margin-bottom: 12px;
}

.success-message {
  font-size: 15px;
  color: #86868B;
  line-height: 1.5;
  margin-bottom: 32px;
}

.success-btn {
  width: 100%;
  padding: 14px 24px;
  background: #007AFF;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.success-btn:hover {
  background: #0066CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* ============================================================================
   Email Confirmation Section (для подписки на рассылку)
   ============================================================================ */

.email-confirm-section {
  margin-top: 8px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.email-confirm-title {
  font-size: 18px;
  font-weight: 600;
  color: #1D1D1F;
  margin-bottom: 8px;
}

.email-confirm-message {
  font-size: 14px;
  color: #86868B;
  line-height: 1.5;
  margin-bottom: 0;
}
