:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --light: #f3f4f6;
    --dark: #1f2937;
}
* { 
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: #f9fafb;
    color: var(--dark);
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}
.nav-links a:hover {
    opacity: 0.9;
    text-decoration: underline;
}
.hero {
    padding: 4rem 0;
    text-align: center;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #4b5563;
}
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}
.btn:hover {
    background: var(--secondary);
}
.features {
    padding: 4rem 0;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.feature-card p {
    color: #4b5563;
}
.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.articles {
    padding: 4rem 0;
    background-color: var(--light);
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.article-img {
    height: 180px;
    background-color: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
}
.article-content {
    padding: 1.5rem;
}
.article-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.article-content p {
    color: #4b5563;
    margin-bottom: 1rem;
}
.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.footer-links a {
    color: #93c5fd;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}
.copyright {
    color: #9ca3af;
}
/* Основные стили из index.html */
        :root {
            --primary: #2563eb;
            --secondary: #1e40af;
            --light: #f3f4f6;
            --dark: #1f2937;
        }
        * { 
            box-sizing: border-box; 
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        body {
            background-color: #f9fafb;
            color: var(--dark);
            line-height: 1.6;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
        }
        .nav-links {
            display: flex;
            gap: 1.5rem;
        }
        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: opacity 0.3s;
        }
        .nav-links a:hover {
            opacity: 0.9;
            text-decoration: underline;
        }
        .article-header {
            padding: 4rem 0 2rem;
            text-align: center;
        }
        .article-header h1 {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 1rem;
        }
        .meta {
            color: #6b7280;
            font-size: 0.9rem;
            margin-bottom: 2rem;
        }
        .article-content h2 {
            color: var(--primary);
            margin: 2rem 0 1rem;
            font-size: 1.8rem;
        }
        .article-content h3 {
            color: var(--dark);
            margin: 1.5rem 0 0.8rem;
            font-size: 1.4rem;
        }
        .article-content p {
            margin-bottom: 1.2rem;
            color: #4b5563;
        }
        .article-content ul, .article-content ol {
            margin: 1.5rem 0;
            padding-left: 2rem;
        }
        .article-content li {
            margin-bottom: 0.7rem;
        }
        .code-block {
            background: #1e293b;
            color: #f8fafc;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
        }
        .code-comment {
            color: #94a3b8;
        }
        .visualization-example {
            background: #dbeafe;
            border-radius: 8px;
            padding: 2rem;
            margin: 2rem 0;
            text-align: center;
        }
        .chart-container {
            height: 300px;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 10px;
            margin: 2rem auto;
            max-width: 600px;
        }
        .chart-bar {
            width: 40px;
            background: var(--primary);
            border-radius: 4px 4px 0 0;
            position: relative;
        }
        .chart-label {
            position: absolute;
            bottom: -25px;
            width: 100%;
            text-align: center;
            font-size: 0.8rem;
        }
        .chart-value {
            position: absolute;
            top: -25px;
            width: 100%;
            text-align: center;
            font-weight: bold;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0;
            text-align: center;
        }
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        .footer-links a {
            color: #93c5fd;
            text-decoration: none;
        }
        .footer-links a:hover {
            text-decoration: underline;
        }
        .copyright {
            color: #9ca3af;
        }
        .back-link {
            display: inline-block;
            margin-top: 2rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }