
/* Particle effects */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  
  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 15px rgba(67, 97, 238, 0.4);
    z-index: 999;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--primary-dark);
  }
  
  /* Mobile menu animations */
  .mobile-menu-toggle .bar {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .mobile-menu-toggle .bar.active:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-toggle .bar.active:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle .bar.active:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .main-nav.active {
    animation: slideInBottom 0.4s forwards;
  }
  
  /* Glow effect for buttons */
  .btn {
    position: relative;
    overflow: hidden;
  }
  
  .btn::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    top: calc(var(--y-pos, 0px) - 50px);
    left: calc(var(--x-pos, 0px) - 50px);
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .btn:hover::after {
    opacity: 1;
  }
  
  /* Header reveal effect */
  .header {
    animation: slideInBottom 0.5s forwards;
  }
  
  /* Custom hero wave animation */
  .hero-wave svg {
    animation: wave 10s linear infinite;
  }
  
  @keyframes wave {
    0% {
      transform: translateX(0) translateZ(0);
    }
    50% {
      transform: translateX(-25px) translateZ(0);
    }
    100% {
      transform: translateX(0) translateZ(0);
    }
  }
  
  /* Pulsating shadow on CTA button */
  .cta-section .btn-primary {
    animation: shadowPulse 2s infinite;
  }
  
  @keyframes shadowPulse {
    0% {
      box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
    }
    50% {
      box-shadow: 0 5px 25px rgba(67, 97, 238, 0.7);
    }
    100% {
      box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
    }
  }
  
  /* Testimonial card hover effect */
  .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
    z-index: -1;
  }
  
  .testimonial-card:hover::before {
    opacity: 1;
  }
  
  /* Icons animation */
  .tool-icon i, .step-icon i, .features-list i, .social-links i {
    transition: transform 0.3s ease;
  }
  
  .tool-card:hover .tool-icon i,
  .step:hover .step-icon i {
    transform: scale(1.2);
  }
  
  .features-list li:hover i {
    transform: rotate(10deg);
  }
  
  .social-links a:hover i {
    animation: pulse 1s ease;
  }
  
  /* Improved FAQ animations */
  .faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .faq-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .faq-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  
  /* Counter animation */
  .counter-value {
    display: inline-block;
    animation: countUp 2s ease-out forwards;
  }
  
  @keyframes countUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Logo animations */
  .logo {
    position: relative;
    overflow: hidden;
  }
  
  .logo::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
  }
  
  .logo:hover::after {
    width: 100%;
  }
  
  /* Nav item hover effect */
  .nav-links a {
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .nav-links a:hover {
    transform: translateY(-3px);
  }
  
  /* List item animations */
  .footer-links-column li {
    transition: transform 0.3s ease;
  }
  
  .footer-links-column li:hover {
    transform: translateX(5px);
  }
  
  /* Custom cursor effect (only for larger screens) */
  @media (min-width: 992px) {
    .custom-cursor {
      position: fixed;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background-color: rgba(67, 97, 238, 0.3);
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width 0.2s, height 0.2s, background-color 0.2s;
      mix-blend-mode: difference;
    }
    
    .custom-cursor.hover {
      width: 40px;
      height: 40px;
      background-color: rgba(67, 97, 238, 0.2);
    }
  }