/* ============================================
   PERFORMANCE FIX - Disable Heavy Animations
   Prevents page bouncing and flickering
   ============================================ */

/* Disable all continuous animations that cause performance issues */
.hero-badge::before,
.hero-badge::after,
.process-grid::before,
.cta-section::after,
.stats-section::after,
.stats-section .stats-grid::after,
.hero-content::before,
.hero-content::after,
.feature-card:hover::before,
.trust-badge:hover .trust-badge-icon::after,
.page-header::after,
.btn-primary::before {
  animation: none !important;
}

/* Disable glitch effect on hero highlight */
.hero h1 .highlight::before,
.hero h1 .highlight::after {
  display: none !important;
}

/* Simplify hover effects - no transform animations */
.service-card:hover,
.feature-card:hover,
.testimonial-card-new:hover,
.process-step:hover .process-number,
.stat-item:hover,
.trust-badge:hover .trust-badge-icon {
  transform: none !important;
}

/* Keep only simple hover transitions */
.service-card:hover {
  box-shadow: 0 8px 30px rgba(17,24,39,0.12) !important;
}

.feature-card:hover {
  box-shadow: 0 8px 30px rgba(14, 165, 160, 0.12) !important;
}

/* Disable parallax effects */
.stats-section,
.cta-section {
  background-attachment: scroll !important;
}

/* Disable will-change to reduce GPU usage */
* {
  will-change: auto !important;
}

/* Reduce animation complexity for accessibility */
@media (prefers-reduced-motion: no-preference) {
  /* Even for users without motion preferences, keep it simple */
  .fade-in,
  .fade-in-left,
  .fade-in-right {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }
}

/* Remove pseudo-element animations from sections */
.hero::after,
.cta-section .container::before {
  display: none !important;
}

/* Simplify stat item hover */
.stat-item::after {
  display: none !important;
}

/* Remove scanning effects */
.service-image::before {
  display: none !important;
}

/* Disable radar sweep completely */
.cta-section::after {
  display: none !important;
}

/* Optimize button interactions */
.btn-primary:active::before {
  width: 0 !important;
  height: 0 !important;
}

/* Ensure smooth scrolling doesn't cause issues */
html {
  scroll-behavior: smooth;
  /* But limit scroll snap */
  scroll-snap-type: none !important;
}

/* Prevent layout shift on logo/nav interactions */
.logo,
.nav a,
.header-contact .phone-link {
  will-change: auto !important;
}

/* GPU acceleration for critical elements only */
.header {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Simplify hero canvas - reduce particle count if needed */
.hero canvas {
  opacity: 0.15 !important;
}

/* Remove focus ring animations */
.hero-content::before,
.hero-content::after {
  display: none !important;
}

/* Simplify footer link animations */
.footer-col a::before {
  display: none !important;
}

/* Remove corner surveillance markers */
.hero::after,
.hero .container::before,
.hero .container::after {
  display: none !important;
}

/* Disable data flow animation */
@keyframes dataFlow {
  from { transform: none; }
  to { transform: none; }
}

@keyframes scanHorizontal {
  from { opacity: 0; }
  to { opacity: 0; }
}

@keyframes radarSweep {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Simplify all transitions to be instant or very quick */
.service-card,
.feature-card,
.testimonial-card-new,
.btn-primary,
.btn-secondary,
.nav a {
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
}

/* Remove animation delays */
.stagger-1,
.stagger-2,
.stagger-3,
.stagger-4 {
  transition-delay: 0s !important;
}

/* Optimize images */
img {
  image-rendering: auto;
  transform: translateZ(0);
}

/* Prevent repaints on hover */
.service-card .service-image::after,
.service-card::after,
.service-content::before {
  display: none !important;
}

/* Remove viewfinder corners */
.service-card::after,
.service-content::before {
  display: none !important;
}
