//* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.05)" width="100" height="100"/></svg>') repeat;
    opacity: 0.3;
    z-index: -1;
}

/* Контейнер */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Шапка */
.header {
    background: linear-gradient(135deg, #ffffff, #e0eafc);
    padding: 40px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

/* Секции */
.section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.section h2 {
    font-size: 1.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 16px;
}

.section ul {
    list-style-type: none;
    margin-left: 16px;
    margin-bottom: 16px;
}

.section ul li {
    font-size: 1.1rem;
    color: #4b5563;
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6b7280;
    font-size: 1.5rem;
}

.section a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.section a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Футер */
.footer {
    background: linear-gradient(135deg, #ffffff, #e0eafc);
    padding: 24px 0;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.back-link {
    font-size: 1.1rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .section p, .section ul li {
        font-size: 1rem;
    }

    .container {
        padding: 0 16px;
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
        color: #e5e7eb;
    }

    body::before {
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(0,0,0,0.1)" width="100" height="100"/></svg>') repeat;
        opacity: 0.4;
    }

    .header, .footer {
        background: linear-gradient(135deg, #1f2937, #374151);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .section {
        background: rgba(31, 41, 55, 0.95);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .section h2, .header h1 {
        color: #ffffff;
    }

    .section p, .section ul li {
        color: #d1d5db;
    }

    .section a, .back-link {
        color: #60a5fa;
    }

    .section a:hover, .back-link:hover {
        color: #93c5fd;
    }

    .section ul li::before {
        color: #60a5fa;
    }
}
