/* ==========================================================================
   STEGNCE LYF TEK — RESPONSIVE DESIGN BREAKPOINTS
   Targets: 1440px | 1280px | 1024px | 768px | 390px | 375px
   ========================================================================== */

/* --------------------------------------------------------------------------
   LAPTOP & DESKTOP ADJUSTMENTS (max-width: 1280px)
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  :root {
    --container-max: 1140px;
  }
  
  .hero-grid {
    gap: 3rem;
  }
  
  .hud-pos-1 { right: 0%; }
  .hud-pos-2 { left: -2%; }
  .hud-pos-3 { right: -2%; }
  .hud-pos-4 { left: 0%; }
}

/* --------------------------------------------------------------------------
   TABLET LANDSCAPE & NOTEBOOK (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  
  .nav-cta .btn-primary {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-product-badge {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

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

  .solution-pillars-grid {
    grid-template-columns: 1fr;
  }

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

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

  .timeline-track::before {
    display: none;
  }

  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .timeline-dot {
    flex-shrink: 0;
    margin-top: 0.5rem;
  }

  .growstep-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

}

/* --------------------------------------------------------------------------
   TABLET PORTRAIT & LARGE MOBILE (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  section {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
  }

  .features-showcase-media {
    height: clamp(240px, 58vw, 360px);
  }

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

  .distribution-feature-grid {
    grid-template-columns: 1fr;
  }

  .distribution-video {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

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

  .hero-product-img {
    max-height: 420px;
  }

  /* Reposition HUD badges for mobile */
  .hud-telemetry {
    padding: 0.35rem 0.6rem;
  }
  
  .hud-telemetry .telemetry-label {
    font-size: 0.6rem;
  }

  .hud-telemetry .telemetry-val {
    font-size: 0.7rem;
  }

  .hud-pos-1 { top: 5%; right: 2%; }
  .hud-pos-2 { top: 32%; left: 0%; }
  .hud-pos-3 { bottom: 25%; right: 0%; }
  .hud-pos-4 { bottom: 5%; left: 2%; }

  /* Hotspot mobile behavior */
  .hotspot-card {
    display: none;
  }

  .hotspot-mobile-panel {
    display: block;
    margin-top: 1rem;
    min-height: 180px;
    padding: 1.15rem;
    background: rgba(7, 12, 24, 0.96);
    border: 1px solid var(--border-tech);
    border-radius: var(--radius-xs);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }

  .showcase-stage-wrap {
    padding: 1rem;
    overflow: visible;
  }

  .showcase-stage {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .showcase-product-img {
    width: 100%;
    max-height: none;
    height: auto;
    object-fit: contain;
  }

  .hotspot-card-mobile-drawer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .gait-diagram {
    flex-direction: column;
    gap: 0.75rem;
  }

  .gait-node {
    width: 100%;
  }

  .gait-arrow {
    transform: rotate(90deg);
    padding: 0.25rem 0;
  }

  .gtm-flow {
    flex-direction: column;
    gap: 0.75rem;
  }

  .gtm-node {
    width: 100%;
  }

  .gtm-arrow {
    transform: rotate(90deg);
  }

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

  .contact-direct-actions {
    flex-direction: column;
  }

  .contact-direct-actions .btn {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   STANDARD & COMPACT MOBILE (max-width: 390px, 375px)
   -------------------------------------------------------------------------- */
@media (max-width: 390px) {
  :root {
    --nav-height: 70px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

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

  .hero-product-img {
    max-height: 340px;
  }

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

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

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.825rem;
  }

  .credentials-strip {
    padding: 1.5rem 1rem;
  }

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

  .company-card {
    padding: 1.5rem 1rem;
  }

  .company-meta-strip {
    flex-direction: column;
    gap: 1rem;
  }

  .showcase-stage-wrap {
    padding: 2rem 1rem;
  }
}
