/* Aviation Life Custom CSS & Keyframe Animations */

@keyframes cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.39);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 6px 20px 0 rgba(2, 132, 199, 0.6);
  }
}

@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-cta-pulse {
  animation: cta-pulse 2.5s infinite ease-in-out;
}

.animate-pulse-subtle {
  animation: pulse-subtle 2s infinite ease-in-out;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Glassmorphism utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-card {
  background: rgba(15, 44, 89, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Toast popup styling */
#toast-container {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 999;
  pointer-events: none;
}

.toast-item {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  display: flex;
  items-center;
  gap: 12px;
  font-size: 13px;
  animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 10px;
}

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