/* 
 * Мобильная адаптация для index.html
 * Разрешение: 428x926 (iPhone 13 Pro Max и подобные)
 */

@media (max-width: 768px) {
    /* Сброс и фиксация фона */
    html {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #0a0a0a !important;
        background-image: url('foned-fpfi-ai.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: fixed !important;
        background-repeat: no-repeat !important;
    }
    
    /* Убираем overflow у всех контейнеров */
    * {
        box-sizing: border-box !important;
    }
    
    *:not(svg):not(path) {
        max-width: 100% !important;
    }
    
    /* Хедер */
    header {
        position: relative !important;
        width: 100% !important;
        padding: 15px 0 !important;
    }
    
    .nav-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .logo {
        position: fixed;
        margin-right: 50px;
    }
    
    .logo-image {
        height: 50px !important;
        width: auto !important;
    }
    
    /* Скрываем десктопную навигацию */
    nav {
        display: none !important;
    }
    
    .buttons-container {
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 15px !important;
    }
    
    .buttons-container button,
    .buttons-container a {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    /* Главный экран */
    .title-container {
        position: relative !important;
        margin-top: 30px !important;
        padding: 20px 15px !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .title-container h1 {
        font-size: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .title-container p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin: 15px 0 !important;
    }
    
    /* Скрываем декоративные элементы */
    .secondv,
    .phone-container,
    .phone-image,
    .model-container {
        display: none !important;
    }
    
    /* Кнопка CTA */
    .contact-btn {
        display: inline-block !important;
        width: auto !important;
        padding: 15px 40px !important;
        font-size: 16px !important;
        margin: 20px auto !important;
    }
    
    /* Все секции */
    .music,
    .whywe,
    .whywep {
        width: 100% !important;
        padding: 40px 15px !important;
        margin: 0 !important;
    }
    
    /* Контейнеры с контентом */
    .box-container {
        position: relative !important;
        width: 90% !important;
        max-width: 400px !important;
        margin: 20px auto !important;
        padding: 25px 20px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    .box-container h2 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .box-container p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    /* Карточки */
    .flex-container,
    .flex-containers {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
        gap: 20px !important;
        margin: 0 auto !important;
    }
    
    .card,
    .cards {
        position: relative !important;
        width: 90% !important;
        max-width: 350px !important;
        height: auto !important;
        min-height: 120px !important;
        padding: 25px 20px !important;
        margin: 0 auto 15px auto !important;
        box-sizing: border-box !important;
    }
    
    .card svg,
    .cards svg {
        width: 60px !important;
        height: 60px !important;
    }
    
    .svg-container img {
        width: auto !important;
        height: 40px !important;
    }
    
    /* Иконки */
    .icon-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    .icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* FAQ */
    .faq-section {
        width: 100% !important;
        padding: 40px 15px !important;
    }
    
    .faq-section h2 {
        font-size: 28px !important;
        text-align: center !important;
        margin-bottom: 25px !important;
    }
    
    .faq-items {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .faq-item {
        width: 100% !important;
        padding: 20px !important;
        margin: 0 !important;
    }
    
    .faq-question {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }
    
    .faq-answer {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-top: 10px !important;
    }
    
    /* Текстовые блоки */
    .text-container {
        width: 100% !important;
        padding: 20px 15px !important;
        text-align: center !important;
    }
    
    .text-container h2 {
        font-size: 26px !important;
        margin-bottom: 15px !important;
    }
    
    .text-container p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    /* Футер (если есть) */
    footer {
        position: relative !important;
        width: 100% !important;
        padding: 30px 15px !important;
        margin-top: 40px !important;
    }
}
