/* Основные стили */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Inter', sans-serif;
        color: #333;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        background-color: #f5f5f5;
    }

    /* Шапка сайта поверх изображения */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 5%;
        z-index: 100;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
    }

    .logo img {
        height: 50px;
        width: auto;
        filter: none;
    }

    nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 30px;
    }

    nav ul li a {
        text-decoration: none;
        color: white;
        font-weight: 500;
        transition: color 0.3s;
    }

    nav ul li a:hover {
        color: #ffcc00;
    }

    .main-content {
        flex: 1;
        padding: 100px 20px 20px; /* Отступ для фиксированного header */
        max-width: 800px;
        margin: 0 auto;
        width: 100%;
    }

    /* Стили для документации */
    .document-section {
        background-color: white;
        border-radius: 10px;
        padding: 25px;
        margin-bottom: 30px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .document-title {
        color: #3E4B82;
        font-size: 28px;
        margin-bottom: 20px;
        text-align: center;
    }

    .document-subtitle {
        color: #3E4B82;
        font-size: 22px;
        margin: 25px 0 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 8px;
    }

    .document-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .doc-button {
        background-color: #3E4B82;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.3s;
        flex: 1 1 200px;
        text-align: center;
    }

    .doc-button:hover {
        background-color: #2c365e;
        transform: translateY(-2px);
    }

    .doc-button.active {
        background-color: #ff6b00;
        box-shadow: 0 4px 8px rgba(255,107,0,0.3);
    }

    .doc-info {
        display: none;
        background-color: #f9f9f9;
        border-radius: 8px;
        padding: 20px;
        margin-top: 15px;
        border-left: 4px solid #3E4B82;
    }

    .doc-info.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .info-section {
        margin-bottom: 15px;
    }

    .info-title {
        font-weight: bold;
        color: #3E4B82;
        margin-bottom: 8px;
    }

    .info-content {
        padding-left: 15px;
        line-height: 1.6;
    }

    .info-list {
        padding-left: 20px;
        margin: 10px 0;
    }

    .info-list li {
        margin-bottom: 8px;
    }

    .bot-section {
        background-color: #3E4B82;
        color: white;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        margin-top: 30px;
    }

    .bot-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .bot-button {
        background-color: #ff6b00;
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.3s;
        display: inline-block;
        margin-top: 10px;
    }

    .bot-button:hover {
        background-color: #e05d00;
        transform: translateY(-2px);
    }

    .additional-info {
        margin-top: 40px;
        font-size: 14px;
        color: #666;
    }

    footer {
        background-color: #3E4B82;
        color: white;
        padding: 20px;
        text-align: center;
        width: 100%;
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-section {
        flex: 1;
        padding: 0 10px;
    }

    .footer-section h3 {
        border-bottom: 1px solid #777;
        padding-bottom: 10px;
    }

    .support-text {
        font-style: italic;
        margin-top: 20px;
    }

    @media (max-width: 768px) {
        nav ul {
            gap: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }

        header {
            flex-direction: column;
            padding: 15px;
        }

        .main-content {
            padding-top: 150px;
        }

        .doc-button {
            flex: 1 1 100%;
        }
    }