/* Critical Performance Fixes */
/* Handles critical rendering path optimizations */

/* Prevent layout shift during font loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* Critical LCP Optimization */
.hero-section,
.premium-header,
.main-navigation {
    content-visibility: auto;
}

/* Critical Paint Optimization */
body {
    contain: layout style paint;
}

/* Reduce CLS (Cumulative Layout Shift) */
img,
video {
    aspect-ratio: attr(width) / attr(height);
}

/* Critical backgrounds */
.hero-background,
.banner-background {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Smooth animations without layout shift */
.fade-in,
.slide-in {
    will-change: opacity, transform;
}

/* Prevent repaints */
.nav-link,
.cta-button {
    transform: translateZ(0);
}
