/* ==========================================================================
   SHOBBAIK MALL - RESPONSIVE STYLES
   Breakpoints: 1024px (Tablet) & 768px (Mobile) & 480px (Small Mobile)
   ========================================================================== */

/* Tablet & Smaller Screens (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .how-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .section {
    padding-block: 70px;
  }

  /* Mobile Navigation Menu */
  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-surface-elevated);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header-actions .btn-gold {
    display: none; /* Keep header clean on small screens */
  }

  .desktop-actions-group {
    display: none; /* Hide top bar actions on mobile */
  }

  .nav-actions-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border-glass);
  }

  /* Hero Section Mobile */
  .hero-section {
    padding-top: calc(var(--header-h) + 15px);
    padding-bottom: 0;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }

  .hero-cta-group .btn-gold {
    width: 100%;
    justify-content: center;
  }

  .phone-3d-stage {
    width: 270px;
    height: 553px;
  }

  .phone-screen-viewport {
    border-radius: 36px;
  }

  .floating-notif-card.card-left {
    right: -10px;
    top: 10%;
    transform: scale(0.85);
  }

  .floating-notif-card.card-right {
    left: -10px;
    bottom: 12%;
    transform: scale(0.85);
  }

  /* National Message Mobile */
  .national-box {
    padding: 40px 20px;
  }

  .national-values-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Box Mobile */
  .cta-box {
    padding: 50px 20px;
  }

  .store-badges-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-store {
    width: 100%;
    justify-content: center;
  }

  /* Stats Mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  /* Footer Mobile */
  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small Screens (<= 480px) */
@media (max-width: 480px) {
  .hero-title-prefix {
    font-size: 1.8rem;
  }

  .hero-title-main {
    font-size: 2.2rem;
  }

  .trust-badges-row {
    justify-content: center;
  }

  .phone-3d-stage {
    width: 240px;
    height: 491px;
  }

  .phone-screen-viewport {
    border-radius: 32px;
  }
}
