/* Hero Section Styles - Shared across all pages */

/* Base Hero */
.hero {
    background: linear-gradient(135deg, #2563EB, #10B981) !important;
    color: white !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Grid pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: 300px 300px;
    pointer-events: none;
}

/* Hero content container */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero typography */
.hero h1,
.hero-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.hero .subtitle,
.hero-subtitle {
    font-size: 1.25rem !important;
    opacity: 0.9 !important;
    margin-bottom: 2rem !important;
    font-weight: 600 !important;
    color: white !important;
}

.hero .description,
.hero-description {
    font-size: 1.125rem !important;
    opacity: 0.8 !important;
    margin-bottom: 2rem !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: white !important;
}

/* Hero stats */
.hero-stats {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.modern-stats {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px 20px 0 0;
    padding: 0.75rem 1.5rem;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 1);
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: none;
    letter-spacing: 0.3px;
    font-weight: 400;
    opacity: 1;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    border-radius: 1px;
}

/* Unified hero padding for all pages with converter overlap */
.hero {
    padding: 4rem 0 6rem !important;
}

/* Меньший отступ для главной страницы */
.index-page .hero {
    padding: 4rem 0 1.5rem !important;
}

/* Tablet landscape responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.25rem !important;
    }
    
    .hero .subtitle {
        font-size: 1.125rem !important;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 2rem !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .hero .subtitle {
        font-size: 1.125rem !important;
    }
    
    .hero .description {
        font-size: 1rem !important;
    }
    
    .modern-stats {
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .stat-divider {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .modern-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        display: none;
    }
}