/* ==========================================================================
   قاف (QAAF) - Responsive Breakpoints & Mobile Styles
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }

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

  .simulator-container {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .calc-card-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

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

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

@media (max-width: 768px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: #091325;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    border-left: 1px solid var(--border-subtle);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    transition: right var(--tr-normal);
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-section {
    padding-top: 7.5rem;
    padding-bottom: 4rem;
  }

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

  .hero-description {
    font-size: 1.05rem;
  }

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

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .floating-pill {
    display: none; /* Avoid overflowing small screens */
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .cta-banner-card {
    padding: 2.5rem 1.5rem;
  }

  .cta-banner-title {
    font-size: 1.9rem;
  }

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

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

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .calc-res-loss {
    font-size: 1.75rem;
  }

  .calc-res-recovered {
    font-size: 2rem;
  }

  .lead-modal-card {
    padding: 1.75rem 1.25rem;
  }
}
