/* КРИТИЧЕСКИЙ CSS ДЛЯ LCP ОПТИМИЗАЦИИ - ABOVE THE FOLD */

/* Hero Section */
.gradient-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 50%, #06B6D4 100%);
}

.gradient-hero.hero-fullscreen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-hero.hero-compact {
    padding: 5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (min-width: 768px) {
    .hero-h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-h1 {
        font-size: 3.75rem;
    }
}

.hero-text-cyan {
    color: #06B6D4;
}

.hero-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 10;
}

.hero-content {
    opacity: 1;
    visibility: visible;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Basic Elements */
.inline-block {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    backdrop-filter: blur(4px);
}

/* Glass Effect */
.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.text-gradient {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Styles */
.nav-link {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.nav-link:hover {
    color: #3B82F6;
}

nav {
    font-weight: 400;
}

.mobile-button {
    min-height: 44px;
}

/* Font Fallbacks */
.hero-h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-display: swap;
}

.hero-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-display: swap;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-display: swap;
} 