/* Critical CSS for above-the-fold content */
:root {
    --primary: #ff8f00;
    --primary-light: #ffb347;
    --text: #ffffff;
    --bg: #0a0a0a;
    --bg-light: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Critical Gradient Background - optimized for performance */
.gradient-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #0a0a0a;
    z-index: -1;
    will-change: transform;
}

/* Header Styles - critical for initial render */
header {
    position: relative;
    padding: 25px 0;
    z-index: 10;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section - critical for initial view */
.hero {
    padding: 60px 0;
    margin-top: 30px;
    position: relative;
    z-index: 2;
    background-color: transparent;
    overflow: hidden;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 40px 0;
    }
}
