/* ПОЛНОЕ УДАЛЕНИЕ РОБОТА ИЗ МОБИЛЬНОЙ ВЕРСИИ */

/* МОБИЛЬНЫЕ УСТРОЙСТВА - до 768px */
@media (max-width: 768px) {
    /* Скрываем ВСЕ элементы робота */
    .robot-container,
    .hero-visual,
    .robot-head,
    .robot-wrapper,
    .hero-robot,
    .robot-body,
    .robot-face,
    .robot-eyes,
    .robot-antenna,
    [class*="robot"],
    [id*="robot"],
    .hero .robot-container,
    .hero .hero-visual,
    body .robot-container,
    body .hero-visual,
    #hero .robot-container,
    #hero .hero-visual {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -99999px !important;
        top: -99999px !important;
        z-index: -1 !important;
        pointer-events: none !important;
    }
    
    /* Скрываем плашки */
    .float-card,
    .floating-cards {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Hero адаптация */
    .hero {
        min-height: auto !important;
        padding: 80px 0 60px !important;
        text-align: center !important;
    }
    
    .hero-wrapper {
        display: block !important;
        text-align: center !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 20px !important;
        text-align: center !important;
    }
    
    .hero-text {
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }
    
    /* Кнопки */
    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: 14px 24px !important;
        font-size: 1rem !important;
    }
    
    /* Статистика */
    .hero-stats {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        margin-top: 40px !important;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 10px) !important;
        text-align: center !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
}

/* ПЛАНШЕТЫ - 769px до 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Скрываем робота на планшетах */
    .robot-container,
    .hero-visual {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* Центрируем контент */
    .hero-wrapper {
        justify-content: center !important;
    }
    
    .hero-content {
        text-align: center !important;
        max-width: 700px !important;
        margin: 0 auto !important;
    }
    
    .hero-text {
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .hero-buttons {
        justify-content: center !important;
    }
    
    .hero-stats {
        justify-content: center !important;
    }
}

/* МАЛЕНЬКИЕ МОБИЛЬНЫЕ - до 480px */
@media (max-width: 480px) {
    .hero {
        padding: 70px 0 50px !important;
    }
    
    .hero h1 {
        font-size: 1.75rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .stat-item {
        flex: 0 0 100% !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ - до 360px */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-description {
        font-size: 0.9rem !important;
    }
    
    .hero-content {
        padding: 0 15px !important;
    }
}

/* ПРИНУДИТЕЛЬНОЕ СКРЫТИЕ РОБОТА ДЛЯ ВСЕХ МОБИЛЬНЫХ */
@media (max-width: 768px) {
    /* Используем !important и множественные селекторы для гарантии */
    html body .hero .robot-container,
    html body .hero .hero-visual,
    html body .hero-visual .robot-container,
    html .robot-head,
    html [class*="robot"] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        clip: rect(0,0,0,0) !important;
        position: absolute !important;
        left: -999999px !important;
    }
}

/* ЛАНДШАФТНАЯ ОРИЕНТАЦИЯ НА МОБИЛЬНЫХ */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto !important;
        padding: 60px 0 40px !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-buttons {
        flex-direction: row !important;
        justify-content: center !important;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: auto !important;
    }
}