/* CTA Button Animation */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(22, 160, 133, 0.7);
  }
  50% {
    box-shadow: 0 0 10px 10px rgba(22, 160, 133, 0);
  }
}

.cta-button {
  animation: pulse 3s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cta-button {
    animation: none !important;
  }
}

/* Pricing Card Icon Colors */
.daily-icon {
  color: #f39c12; /* Orange */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\\f005"; /* star icon */
}

.weekly-icon {
  color: #e74c3c; /* Red */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\\f0a3"; /* bolt icon */
}

.monthly-icon {
  color: #8e44ad; /* Purple */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\\f0f3"; /* bell icon */
}

/* Pricing Card Background Variations */
.pricing-card.daily {
  border: 2px solid #f39c12;
  background-color: #3e3a2e;
}

.pricing-card.weekly {
  border: 2px solid #e74c3c;
  background-color: #4a2e2e;
}

.pricing-card.monthly {
  border: 2px solid #8e44ad;
  background-color: #3a2e4a;
}

/* Tooltip Styling */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 0.75rem;
  z-index: 100;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus::after {
  opacity: 1;
  pointer-events: auto;
}

/* Footer Social Icons */
.social-icons {
  margin-top: 0.5rem;
}

.social-icons a {
  color: var(--text-color);
  margin: 0 0.5rem;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.social-icons a:hover,
.social-icons a:focus {
  color: var(--accent-color);
  outline: none;
}

/* Footer Background and Border */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* New CSS Animations */

/* Fade in from left */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade in from right */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide up */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Neon glow animation */
@keyframes neonGlow {
  0%, 100% {
    text-shadow:
      0 0 5px #e67e22,
      0 0 10px #e67e22,
      0 0 20px #e67e22,
      0 0 40px #e67e22,
      0 0 80px #e67e22;
    color: #fff;
  }
  50% {
    text-shadow:
      0 0 10px #f39c12,
      0 0 20px #f39c12,
      0 0 30px #f39c12,
      0 0 50px #f39c12,
      0 0 100px #f39c12;
    color: #fff;
  }
}

/* Apply neon glow to elements with .neon-glow */
.neon-glow {
  animation: neonGlow 3s ease-in-out infinite;
}

/* Animated gradient background */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-gradient {
  background: linear-gradient(270deg, #e67e22, #f39c12, #e67e22, #f39c12);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-in-left,
  .fade-in-right,
  .slide-up,
  .neon-glow,
  .animated-gradient {
    animation: none !important;
  }
}
