/* Critical inline CSS for instant page rendering */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* GPU acceleration for smooth scrolling */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Prevent layout shifts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
}

/* Loading spinner for smooth transitions */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}
