/* Performance Optimizations for Founders Page */

/* Reduce animations on mobile */
@media (max-width: 768px) {
  .fade-up, .fade-left, .fade-right {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Optimize image loading */
img {
  content-visibility: auto;
  contain-intrinsic-size: 300px 200px;
}

/* Reduce repaints */
.hero-img, .t-avatar {
  will-change: auto;
  transform: translateZ(0);
}

/* Optimize testimonial slider */
.t-track {
  contain: layout style paint;
}

/* Reduce layout thrashing */
.pricing-card, .feature-card, .step-card {
  contain: layout style;
}

/* Critical CSS inlining for above-the-fold */
.founders-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #007bff 0%, #28a745 100%);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

/* Defer non-critical animations */
.floating-badge, .float-card {
  animation-play-state: paused;
}

.founders-hero:hover .floating-badge,
.founders-hero:hover .float-card {
  animation-play-state: running;
}