/* Custom CSS for ElectricBillpay.com Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --color-slate-navy: #0F172A;
  --color-slate-dark: #1E293B;
  --color-slate-card: #F1F5F9;
  --color-emerald: #16A34A;
  --color-emerald-hover: #15803D;
  --color-emerald-glow: rgba(22, 163, 74, 0.4);
  --color-royal-blue: #2563EB;
  --color-royal-blue-light: #EFF6FF;
  --color-amber-badge: #FEF3C7;
  --color-amber-text: #92400E;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: #F8FAFC;
  color: #0F172A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .font-heading {
  font-family: var(--font-heading);
}

/* Pulsing CTA effect */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.pulse-cta {
  animation: ctaPulse 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.pulse-cta:hover {
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(22, 163, 74, 0.5);
}

/* Live Agent Ping Animation */
@keyframes pingGreen {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping-custom {
  animation: pingGreen 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Subtle Shimmer for Trust Badges */
@keyframes subtleShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.trust-badge-glow {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
}

/* Smooth Accordion Transitions */
.faq-answer {
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Modal styling */
.modal-backdrop {
  backdrop-filter: blur(4px);
  background-color: rgba(15, 23, 42, 0.7);
}

/* Category Tab Active */
.category-tab.active {
  background-color: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
