/* ==========================================================================
   ASIL STUDIOS — RESPONSIVE BREAKPOINTS
   Mobile-First Breakpoints (Mobile, Tablet, Desktop, Wide)
   ========================================================================== */

/* Tablet & Mobile Menu Toggle (max-width: 991px) */
@media screen and (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-glass);
    padding: 2rem 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
  }

  .main-navigation a {
    font-size: 1.15rem;
    display: block;
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

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

  .single-app-header {
    flex-direction: column;
    text-align: center;
  }

  .single-app-stats {
    justify-content: center;
  }
}

/* Small Mobile (max-width: 640px) */
@media screen and (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

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

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

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

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .asil-btn {
    width: 100%;
  }

  .stat-box {
    padding: 1.75rem 1rem;
  }
}
