/* Critical CSS - Above the fold styles for fast loading */

/* Reset and Base - Critical */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FFFFFF;
}

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

/* Navigation - Critical */
.navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    color: #1B365D;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2D3748;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cta-button {
    background: #1B365D;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

/* Hero Section - Critical */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 4rem;
    align-items: center;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 700;
    color: #1B365D;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: 1.25rem;
    color: #4A5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.cta-primary {
    background: #1B365D;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-secondary {
    background: transparent;
    color: #1B365D;
    padding: 1rem 2rem;
    border: 2px solid #1B365D;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Dashboard Preview - Critical */
.dashboard-preview {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2rem;
}

.dashboard-mockup {
    height: 300px;
    background: #F7FAFC;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.chart-placeholder {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 150px;
    background: linear-gradient(45deg, #1B365D, #2D5A27);
    border-radius: 6px;
    opacity: 0.8;
}

.metrics-placeholder {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 80px;
    background: #E2E8F0;
    border-radius: 6px;
}

/* Mobile Critical */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
}
