/* Binlogic - Responsive Breakpoint Rules */

/* ==========================================================================
   Desktop & Tablet Adjustments (1024px and below)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .btn-nav-cta {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-content {
    text-align: center;
  }

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

  .hero-trust-bar {
    justify-content: center;
    flex-wrap: wrap;
  }

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

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

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

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

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

/* ==========================================================================
   Mobile Devices (767px and below)
   ========================================================================== */
@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .problem-card-mesh {
    grid-template-columns: 1fr;
  }

  .arch-layer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

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

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

  .hero-section {
    padding-top: calc(var(--header-height) + 1.5rem);
    min-height: auto;
  }
}

/* ==========================================================================
   Small Mobile Devices (320px to 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }

  .card-tech {
    padding: 1.25rem;
  }
}
