/**
 * Syxflow Responsive Breakpoints
 * Optimized for 1920px, 1440px, 1366px, 1024px, 768px, and mobile
 */

/* Ultra Wide Desktops (1440px - 1920px+) */
@media (min-width: 1440px) {
  .syx-container {
    max-width: 1320px;
  }
}

/* Laptops & Standard Desktops (1024px - 1366px) */
@media (max-width: 1366px) {
  .syx-floating-pill-left {
    left: -20px;
  }
  .syx-floating-pill-right {
    right: -20px;
  }
}

/* Tablet Landscape & Small Laptops (<1080px) */
@media (max-width: 1080px) {
  :root {
    --syx-header-height: 70px;
  }

  .syx-nav-desktop {
    display: none !important;
  }

  .syx-header-actions .syx-btn,
  .syx-header-actions .syx-btn-platform-link {
    display: none;
  }

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

@media (max-width: 1024px) {
  .syx-section {
    padding: 80px 0;
  }

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

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

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

  .syx-footer-brand-col {
    grid-column: 1 / -1;
    max-width: 100%;
  }

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

  .syx-trace-connector {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }
}

/* Tablet Portrait & Large Mobile (<768px) */
@media (max-width: 768px) {
  .syx-container,
  .syx-container-wide,
  .syx-container-narrow {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .syx-brand-logo-img,
  .custom-logo {
    height: 34px;
    max-height: 36px;
    max-width: 160px;
  }

  .syx-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .syx-section {
    padding: 60px 0;
  }

  .syx-section-header {
    margin-bottom: 40px;
  }

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

  .syx-flow-bar {
    display: none; /* Replaced by sequential cards on mobile */
  }

  .syx-form-container {
    padding: 2rem 1.5rem;
  }

  .syx-form-grid {
    grid-template-columns: 1fr;
  }

  .syx-floating-pill {
    position: static !important;
    transform: none !important;
    animation: none !important;
    margin-top: 1rem;
    width: 100%;
  }

  .syx-floating-pills-mobile-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

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

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

/* Mobile Small (<480px) */
@media (max-width: 480px) {
  .syx-section {
    padding: 50px 0;
  }

  .syx-btn-lg {
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
    width: 100%;
  }

  .syx-hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .syx-collab-grid {
    grid-template-columns: 1fr;
  }

  .syx-sequence-flow {
    gap: 0.5rem;
  }

  .syx-sequence-item {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }
}
