/* WP All SMTP Marketing Website - Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom gradient text */
.gradient-text {
  background: linear-gradient(135deg, #4f46e5, #7c3aed, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero pattern background */
.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Blob animation */
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(30px, 10px) scale(1.05); }
}
.animate-blob {
  animation: blob 7s infinite;
}
.animation-delay-2000 {
  animation-delay: 2s;
}
.animation-delay-4000 {
  animation-delay: 4s;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Fade in up */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Provider logo carousel */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.scroll-animation {
  animation: scroll 30s linear infinite;
}

/* Mobile menu transition */
.mobile-menu {
  transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* Card hover effects */
.feature-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Pricing card hover */
.pricing-card {
  transition: all 0.3s ease;
}
.pricing-card:hover {
  transform: scale(1.02);
}
.pricing-card.popular {
  transform: scale(1.05);
  z-index: 10;
}
.pricing-card.popular:hover {
  transform: scale(1.07);
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer.open {
  max-height: 500px;
}

/* Tooltip */
.tooltip-trigger:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tooltip {
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.2s ease;
}

/* Number counter */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Custom checkbox */
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.hero-slider .slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.hero-slider .slide.exit {
  opacity: 0;
  transform: translateX(-40px);
}

/* Slider dots */
.slider-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(79,70,229,0.4);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.slider-dots button.active {
  background: #4f46e5;
  border-color: #4f46e5;
  width: 28px;
  border-radius: 5px;
}

/* Slider progress bar */
.slider-progress {
  height: 3px;
  background: rgba(79,70,229,0.15);
  border-radius: 2px;
  overflow: hidden;
  max-width: 200px;
  margin: 0 auto;
}
.slider-progress .bar {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #9333ea);
  width: 0%;
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Microsoft blue gradient */
.ms-gradient {
  background: linear-gradient(135deg, #0078d4, #00bcf2, #7fba00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulse ring animation */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0,120,212,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(0,120,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,120,212,0); }
}
.pulse-ring {
  animation: pulse-ring 2s ease-out infinite;
}

/* Gradient border */
.gradient-border {
  position: relative;
  background: white;
  border-radius: 1rem;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(1rem + 2px);
  background: linear-gradient(135deg, #4f46e5, #7c3aed, #a855f7);
  z-index: -1;
}
