/**
 * Desktop Layout Fix for Landing Page
 * Fixes issues with hero section buttons and problems section cards
 * Date: 2025-07-01
 */

/* Fix for Hero Section Buttons on Desktop */
@media (min-width: 769px) {
    /* Reset any mobile styles that might be bleeding into desktop */
    .hero-section .btn-group-hero {
        display: inline-flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        margin-top: 30px !important;
        align-items: center !important;
        width: auto !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .hero-section .btn-primary-custom {
        width: auto !important;
        max-width: none !important;
        padding: 18px 45px !important;
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        border-radius: 50px !important;
        margin: 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        min-height: auto !important;
        display: inline-block !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Точечно убираем только проблемную полоску */
    .hero-section .problem-explanation::before {
        display: none !important;
    }
    
    /* Убираем shimmer-эффект только с кнопок в hero */
    .hero-section .btn-primary-custom::before {
        display: none !important;
    }
}

/* Fix for Problems Section Cards on Desktop */
@media (min-width: 992px) {
    /* Restore proper Bootstrap grid behavior for large screens */
    .problems-section .row {
        display: flex !important;
        flex-wrap: wrap !important;
        margin: 0 -15px !important; /* Standard Bootstrap gutter */
        justify-content: center !important;
        align-items: stretch !important;
    }
    
    .problems-section .col-lg-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 15px !important; /* Restore Bootstrap gutters */
        margin-bottom: 30px !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    /* Ensure cards maintain proper width within columns */
    .problems-section .problem-card {
        width: 100% !important;
        max-width: 500px !important; /* Reasonable max width for cards */
        margin: 0 auto !important;
    }
    
    /* Ensure content container has proper max-width */
    .problems-section .content-container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 40px 30px !important;
    }
}

/* Additional fixes for very large screens */
@media (min-width: 1400px) {
    .problems-section .container {
        max-width: 1320px !important;
    }
    
    .problems-section .problem-card {
        max-width: 550px !important;
    }
}

/* Ensure proper button styling on all desktop sizes */
@media (min-width: 769px) {
    /* Fix for help button on desktop - show full text */
    .help-button {
        width: auto !important;
        height: auto !important;
        border-radius: 50px !important;
        padding: 12px 24px !important;
        font-size: 1rem !important;
        position: fixed !important;
        bottom: 30px !important;
        right: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-indent: 0 !important;
        overflow: visible !important;
        gap: 8px !important;
        white-space: nowrap !important;
    }
    
    .help-button::before,
    .help-button::after {
        display: none !important;
    }
    
    .help-button i {
        display: inline-block !important;
        position: static !important;
        transform: none !important;
        font-size: 1.2rem !important;
        margin: 0 !important;
    }
}