/* Import Premium Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* Glassmorphism utility card */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-panel {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Smooth background grid effect */
.bg-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
}

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

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

@keyframes pulse-slow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.05); }
}

.animate-pulse-slow {
  animation: pulse-slow 8s infinite alternate;
}

/* FAQ accordion transition utility */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  opacity: 0;
}

.faq-answer.active {
  max-height: 500px;
  opacity: 1;
}

/* Gradient text */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium CTA Button Glow Hover Effect */
.cta-glow-button {
  transition: all 0.3s cubic-bezier(0.2, 0.6, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cta-glow-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cta-glow-button:hover::after {
  opacity: 1;
}
.cta-glow-button:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.3), 
              0 8px 10px -6px rgba(16, 185, 129, 0.3);
}

/* Premium Staggered Hover Cards */
.interactive-card {
  transition: all 0.3s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.interactive-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 
              0 0 20px rgba(99, 102, 241, 0.08);
}

/* Real-time HTML5 Form Input Validation Styles */
input:focus:invalid, select:focus:invalid, textarea:focus:invalid {
  border-color: rgba(244, 63, 94, 0.4) !important;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.1) !important;
}
input:focus:valid:not(:placeholder-shown), textarea:focus:valid:not(:placeholder-shown) {
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.1) !important;
}

/* Modern Mouse Click Neon Ripple Animation Keyframes and Class */
@keyframes clickRipple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.8);
    opacity: 0;
  }
}

.click-ripple {
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  animation: clickRipple 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
