/* mobile-fixes.css */

/* 0. Fix Global Overflow & Horizontal Sizing */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
}

/* 1. Store buttons in one row on mobile */
@media (max-width: 480px) {
  .store-btns {
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
  }
  .store-btn {
    padding: 0.6rem 0.5rem !important;
    width: 50% !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  .store-btn svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
  }
  .store-btn .store-sub {
    font-size: 0.55rem !important;
  }
  .store-btn .store-title {
    font-size: 0.9rem !important;
  }
  .store-btn > div {
    min-width: 0; 
  }
}

/* 2. Hero Section & Nav Mobile Fixes */
@media (max-width: 768px) {
  /* Force hide original nav links and show hamburger */
  nav .nav-links, nav .btn-nav {
    display: none !important;
  }
  .hamburger {
    display: block !important;
  }

  /* Force Hero to Stack Vertically */
  .hero {
    flex-direction: column !important;
    padding-top: 100px !important;
    padding-bottom: 40px !important;
    text-align: center !important;
    align-items: center !important;
    height: auto !important;
    min-height: auto !important;
  }
  .hero-content {
    width: 100% !important;
    padding: 0 1rem !important;
    order: 1 !important;
  }
  .hero-visual {
    width: 100% !important;
    height: auto !important;
    max-height: 450px !important;
    margin-top: 2rem !important;
    order: 2 !important;
  }
  .hero-visual img {
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  
  /* Text adjustments */
  .title-lg {
    font-size: 3.5rem !important;
    line-height: 0.9 !important;
  }
  .hero-actions {
    justify-content: center !important;
  }
  .hero-stats {
    justify-content: center !important;
    gap: 1.5rem !important;
  }

  /* 3. Outcome highlights (4wks, 24/7, 100%) stacking */
  .outcome-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* 4. Remove unnecessary space between sections */
  .section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .final-cta {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    margin-bottom: 2rem !important;
  }

  /* 5. Fix pillars (Three Pillars) each card per row */
  .pillars-grid {
    grid-template-columns: 1fr !important;
  }

  /* 6. Footer left align */
  footer {
    text-align: left !important;
    display: block !important; /* Stack columns */
  }
  .footer-col {
    align-items: flex-start !important;
    margin-bottom: 2rem !important;
  }
  .pricing-footer {
    align-items: flex-start !important;
  }
}
