/* ==========================================================================
   AbsoluteCX Responsive Stylesheet (All Breakpoints 320px - 1920px+)
   ========================================================================== */

/* Standard & Ultra Wide Displays (1200px +) */
@media (min-width: 1200px) {
  :root {
    --container-max: 1440px;
  }
}

/* Standard Laptops & Desktops (1025px - 1439px) */
@media (max-width: 1280px) {
  .section-padding {
    padding: 6rem 0;
  }
}

/* Tablets Landscape & Smaller Laptops (993px - 1024px) */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

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

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

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

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

  .hero-badge-container {
    justify-content: center;
  }
}

/* Tablets Portrait (769px - 992px) */
@media (max-width: 992px) {
  .section-padding {
    padding: 5rem 0;
  }

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

  .features-tab-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .compare-sticky-header {
    position: static;
  }
}

/* Mobile Devices (577px - 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .section-padding {
    padding: 4rem 0;
  }

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

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

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

  .btn {
    width: 100%;
  }

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

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

/* Small Smartphones (320px - 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 1.25rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }

  .marquee-track {
    gap: 2rem;
  }
}

/* Testimonial grid stacks on smaller screens */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Footer brand column full width on mobile */
@media (max-width: 576px) {
  .footer [style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
}

/* Sticky scroll section stacks on mobile */
@media (max-width: 768px) {
  .sticky-scroll-section {
    flex-direction: column !important;
    min-height: auto !important;
  }

  .sticky-scroll-left {
    position: relative !important;
    height: auto !important;
    padding: 3rem 1.5rem !important;
  }

  .sticky-scroll-right>div {
    height: auto !important;
    min-height: 60vh;
  }
}

/* Product suite alternating grid stacks on mobile */
@media (max-width: 768px) {

  .section-padding [style*="grid-template-columns: 1.2fr 0.8fr"],
  .section-padding [style*="grid-template-columns: 0.8fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
}

/* Promise statement grid stacks on mobile */
@media (max-width: 768px) {
  .section-padding [style*="grid-template-columns: 1fr 1fr"][style*="gap: 4rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Partners & Integrations two-column grid stacks on tablet/mobile */
@media (max-width: 768px) {
  .section-padding [style*="grid-template-columns: 1fr 1fr"][style*="gap: 2rem"] {
    grid-template-columns: 1fr !important;
  }
}