/* responsive.css */

/* 1280px */
@media (max-width: 1280px) {
    .module,
    .value-intro,
    .how-it-works,
    .who-is-this,
    .faq,
    .cta-section {
        padding-left: 120px;
        padding-right: 120px;
    }
    footer {
        padding-left: 120px;
        padding-right: 120px;
    }
}

/* 1024px */
@media (max-width: 1024px) {
    .marquee-container {
        width: 60%;
    }
    .module-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .demo-card-wrapper,
    .module-text {
        order: unset !important; /* overrides any inline styles if used */
    }

    /* Removed empty ruleset to fix lints */
    #omnishelf .module-text { order: 1; }
    #omnishelf .demo-card-wrapper { order: 2; }
    
    #uniflow .module-text { order: 1 !important; }
    #uniflow .demo-card-wrapper { order: 2 !important; }

    #testlab .module-text { order: 1; }
    #testlab .demo-card-wrapper { order: 2; }

    .nav-container {
        margin: 16px auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* 768px (tablet) */
@media (max-width: 768px) {
    .marquee-container {
        width: 80%;
    }
    .h1-display {
        font-size: 48px;
    }
    
    .module,
    .value-intro,
    .how-it-works,
    .who-is-this,
    .faq,
    .cta-section {
        padding: 80px 40px;
    }

    footer {
        padding: 80px 40px 48px;
    }

    .value-grid,
    .steps-container,
    .who-grid {
        grid-template-columns: 1fr;
    }

    .steps-container::before {
        display: none; /* Hide dashed line on mobile/tablet */
    }
    
    .hero-desc {
        font-size: 18px;
    }

    /* Hide hero popovers and results on tablet/mobile */
    .prob-pop,
    #hero-result,
    #hero-svg {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 480px (mobile) */
@media (max-width: 480px) {
    .marquee-container {
        width: 100%;
    }
    .h1-display {
        font-size: 36px;
    }
    
    .nav-center,
    .nav-right {
        display: none !important; /* Hide links and Get Access btn */
    }
    
    .mobile-menu-btn {
        display: block !important;
    }

    .marquee-track {
        animation: marquee 18s linear infinite;
    }

    .hero {
        padding-top: 100px;
    }



    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .nav-container {
        margin: 16px auto;
    }
    
    .h2-section {
        font-size: 36px;
    }
    
    .module,
    .value-intro,
    .how-it-works,
    .who-is-this,
    .faq,
    .cta-section {
        padding: 60px 20px;
    }

    footer {
        padding: 60px 20px 40px;
    }
    
    .marquee-logo {
        margin: 0 16px;
        height: 24px;
    }
}
