/* Custom Responsive Fixes for LaunchSecure */
/* ========================================== */
/* Conservative fixes - only targets mobile issues without affecting desktop */

/* Mobile Only - Fix icon + text overlapping issues */
@media (max-width: 767px) {
    
    /* Hide specific element on mobile using custom class */
    .hide-on-mobile,
    .hide-on-mobile *,
    .hide-on-mobile .image,
    .hide-on-mobile .triangle-bottomright-dark {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Fix "Clear, Prioritized Roadmap" section and similar layouts */
    /* Convert absolute positioned icons to relative on mobile */
    .relative .absolute {
        position: relative !important;
        margin-bottom: 15px;
        display: inline-block;
    }
    
    /* Remove left padding that causes text overflow on mobile */
    .ps-100 {
        padding-left: 0 !important;
    }
    
    /* Add spacing between columns on mobile */
    [class*="col-"] {
        margin-bottom: 25px;
    }
    
    /* Add breathing room to sections */
    section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    /* Ensure headings have proper spacing */
    h2 {
        margin-bottom: 20px;
    }
    
    /* Better spacing for text content */
    p {
        margin-bottom: 15px;
    }
    
    /* Fix button stacking on mobile */
    .btn-main + .btn-main {
        margin-left: 0;
        margin-top: 15px;
    }
    
    /* Pricing cards spacing */
    .pricing-s1 {
        margin-bottom: 30px;
    }
    
    /* Feature card spacing */
    .de-item {
        margin-bottom: 30px;
    }
    
    /* Footer column spacing */
    footer [class*="col-"] {
        margin-bottom: 30px;
    }
    
    /* Make absolute positioned decorative images relative on mobile */
    .abs, .abs-middle {
        position: relative !important;
    }
}

/* Tablet - minimal adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    
    /* Pricing cards spacing for tablet */
    .pricing-s1 {
        margin-bottom: 30px;
    }
    
    /* Column spacing for tablet */
    [class*="col-"] {
        margin-bottom: 20px;
    }
}

/* Ensure images are always responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Form field spacing across all devices */
.field-set {
    margin-bottom: 20px;
}

/* Hide Netlify honeypot spam field */
.hidden {
    display: none;
}
