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

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #0F1111;
    line-height: 1.6;
}

/* Шапка */
.header {
    background-color: #232f3e;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    margin-right: 30px;
    padding: 5px 10px;
    border: 2px solid #FF9900;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-right: 20px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #37475A;
}

/* Основной контент */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    min-height: 60vh;
}

.home-page h1 {
    color: #0F1111;
    font-size: 32px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FF9900;
    padding-bottom: 10px;
}

.page h1 {
    color: #0F1111;
    font-size: 28px;
    margin-bottom: 15px;
}

.content {
    color: #0F1111;
    font-size: 16px;
    line-height: 1.8;
}

.content p {
    margin-bottom: 15px;
}

.content ul, .content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.content li {
    margin-bottom: 8px;
}

.excerpt {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #FF9900;
    margin-bottom: 20px;
    border-radius: 4px;
    font-style: italic;
    border: 1px solid #e9ecef;
}

/* Футер */
.footer {
    background-color: #232f3e;
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 1px solid #ddd;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    margin-right: 30px;
}

.footer-section h3 {
    color: #FF9900;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #dddddd;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #37475A;
    padding-top: 20px;
    text-align: center;
    color: #999999;
    font-size: 14px;
}

/* Блок агрегации данных */
.data-aggregation-process {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 10px;
    color: #0F1111;
    margin: 20px 0;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.data-aggregation-process h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #0F1111;
}

.process-flow {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sources-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.source-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
    flex: 1;
    min-width: 150px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.source-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.source-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.source-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #0F1111;
}

.source-desc {
    font-size: 0.9em;
    color: #6c757d;
}

.processing-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.processing-step {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    min-width: 200px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step-number {
    background: #FF9900;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content strong {
    color: #0F1111;
}

.step-desc {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 5px;
}

.processing-arrow {
    font-size: 1.5em;
    color: #FF9900;
    font-weight: bold;
}

.result-section {
    display: flex;
    justify-content: center;
}

.result-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #FF9900;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.result-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.result-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0F1111;
}

.result-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #495057;
    border: 1px solid #e9ecef;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li {
        margin: 5px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .sources-section {
        flex-direction: column;
    }
    
    .processing-section {
        flex-direction: column;
    }
    
    .processing-arrow {
        transform: rotate(90deg);
    }
    
    .result-features {
        grid-template-columns: 1fr;
    }
}