/* mobile-fixes.css  (SH-30..SH-34, 2026-11-09)
   Phone-only fixes for the public pages: home, blog, privacy, terms, refund, login and signup.
   Every rule sits inside the one max-width:767px media query below, so desktop and tablet
   (768px and wider) are untouched. The file is loaded after each page's own CSS, and the
   selectors are scoped (#pricing, .faq-help-btn, #btnLogin ...) so they only reach the
   elements named in the audit report. Measured with headless Chrome at 360/375/414/768px. */
@media (max-width: 767px) {

    /* SH-30: sideways scroll. Measured on 2026-11-09: nothing sticks out past the screen edge
       at 360/375/414px, so no rule is needed. */

    /* SH-31: pricing. Plan cards one under another; the comparison table keeps its own
       sideways scroll and the feature-name column stays pinned on the left. */
    #pricing .pricing-cards { grid-template-columns: 1fr; }
    #pricing .cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    #pricing .cmp-pricing td.cmp-feat-col { position: sticky; left: 0; z-index: 2; background: var(--card, #fff); box-shadow: 1px 0 0 var(--border-2, #e5e7eb); }
    #pricing .cmp-pricing thead th.cmp-feat-col { left: 0; z-index: 5; }

    /* SH-32: main call-to-action buttons at least 44px tall; more finger room on footer links. */
    .hero .btn, .mob-cta .btn, .cta-form-btn, .pbtn { min-height: 44px; }
    #btnLogin, #btnSignup { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .foot a, .bpg-foot a { display: inline-block; padding: 12px 6px; }

    /* SH-33: readable text. Form fields at 16px so iPhone does not zoom in when one is tapped. */
    body { font-size: 16px; }
    html[lang="bn"] body { line-height: 1.7; }
    .hero h1 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea { font-size: 16px !important; }

    /* SH-34: the FAQ card's WhatsApp link also carries the floating button's "wa" class, so it was
       pinned to the screen corner underneath the floating button. Put it back in its card, with
       the same look as the card's Call / Email links. The floating button itself is unchanged. */
    .faq-help-btn.wa { position: static; width: auto; height: auto; z-index: auto; border-radius: 12px; background: rgba(255,255,255,.08); display: flex; place-items: normal; box-shadow: none; animation: none; }
    .faq-help-btn.wa:hover { transform: translateX(4px); background: rgba(255,255,255,.16); }
}
