/* Critical CSS - Above the fold styles only */
/* This CSS contains only the essential styles needed for initial page rendering */

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Header - Critical since it's above the fold */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: none; /* Remove transitions for faster initial render */
}

.navbar {
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 70px;
}

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

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
}

.nav-link:hover {
    color: #2176ff;
}

.nav-link.active {
    color: #2176ff;
}

/* Hero Section - Critical above the fold */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 70px; /* Account for fixed header */
}

.hero-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 48px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 48px 56px;
    margin-top: 60px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #222;
    margin-bottom: 18px;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 32px;
}

.btn-primary {
    background: #2176ff;
    color: #fff;
    font-weight: 600;
    border-radius: 32px;
    padding: 0.85rem 2.2rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(33,118,255,0.10);
    border: none;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1a65db;
    color: #fff;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Mobile hamburger - hidden by default */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: none; /* Remove for faster initial render */
}

/* Critical mobile styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        max-width: 300px;
        margin-top: 62px;
        padding: 2.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

/* Utility classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* Prevent layout shift */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}
