/* ==========================================================================
   MultiToolKit - Responsive Layouts & Breakpoints
   Mobile-first, Tablet, and Desktop Optimizations
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-floating-grid {
    max-width: 600px;
    margin: 0 auto;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

/* Tablets (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

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

  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .category-pills {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .category-pill {
    flex-shrink: 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

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

  .hero-floating-grid {
    grid-template-columns: 1fr;
  }

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

  .search-input {
    height: 48px;
    font-size: 0.95rem;
    padding-left: 2.75rem;
  }

  .search-icon {
    left: 1rem;
  }

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

  .category-blocks-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .category-block-card {
    padding: 1.5rem;
  }

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

  .cta-title {
    font-size: 1.85rem;
  }
}
