/* Дополнения к стилям для статьи (mobile-first подход) */
.header-nav {
    display: none; /* Скрываем на мобильных по умолчанию */
    background: rgba(0,0,0,0.8);
    padding: 15px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-nav.active {
    display: block;
}

.menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-link {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.8;
}

/* Адаптивные стили для статьи */
@media (max-width: 768px) {
    .article-content {
        padding: 20px;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    .feature-card, .step, .price-card {
        flex: 1 1 100%;
    }
}

@media (min-width: 769px) {
    .header-nav {
        display: block;
        position: static;
        background: transparent;
        padding: 0;
    }

    .menu-toggle {
        display: none;
    }

    .footer-links {
        justify-content: center;
        gap: 15px;
    }

    .footer-link {
        font-size: 1rem;
        padding: 5px 15px;
        background: rgba(255,255,255,0.1);
        border-radius: 20px;
    }
}

/* Добавляем эти стили */
.menu-toggle {
    display: none; /* Сначала скрываем на всех устройствах */
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 101;
        background: rgba(0,0,0,0.5);
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        border-radius: 50%;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(106, 17, 203, 0.95);
        padding: 80px 20px 20px;
        z-index: 100;
        overflow-y: auto;
    }

    .header-nav.active {
        display: block;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-link {
        display: block;
        padding: 12px;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
        text-align: center;
    }
}