/* ==========================================================================
   STARK INDUSTRIES BD — RESPONSIVE STYLESHEET
   Mobile, Tablet, and Desktop Breakpoint Adaptations
   ========================================================================== */

/* Large Desktop Screens (1440px+) */
@media (min-width: 1440px) {
  .wrap {
    max-width: 1340px;
  }
  .hero-title {
    font-size: 4rem;
  }
  .reactor-stage {
    height: 560px;
  }
}

/* Tablet Landscape & Small Laptops (<= 1180px) */
@media (max-width: 1180px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .hero-grid {
    gap: 24px;
  }
}

/* Tablet Portrait (<= 992px) */
@media (max-width: 992px) {
  :root {
    --header-height: 68px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: calc(var(--header-height) + var(--topbar-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 8, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 1000;
    padding: 30px;
    border-top: 1px solid var(--line-color);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
  }

  .burger-btn {
    display: flex;
  }

  .hero-section {
    padding: 40px 0 60px;
  }

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

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

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

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

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

  .reactor-stage {
    height: 420px;
    margin-top: 10px;
  }

  .hud-label.top-left { top: 6%; left: 4%; }
  .hud-label.top-right { top: 6%; right: 4%; }
  .hud-label.bottom-left { bottom: 6%; left: 4%; }
  .hud-label.bottom-right { bottom: 6%; right: 4%; }

  .jarvis-interface {
    grid-template-columns: 1fr;
  }

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

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

  .report-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .topbar .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .topbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.6rem);
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-item {
    padding-left: 10px;
  }

  .reactor-stage {
    height: 360px;
  }

  .speedtest-card {
    padding: 28px 20px;
    flex-direction: column;
    text-align: center;
  }

  .speed-gauge-wrap {
    justify-content: center;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .report-form {
    padding: 24px 20px;
  }

  .editor-header, .editor-footer {
    padding: 16px 20px;
  }

  .editor-body {
    padding: 20px;
  }
}

/* Small Handhelds (430px, 390px, 360px) */
@media (max-width: 430px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .brand-logo-frame {
    width: 40px;
    height: 40px;
  }

  .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.9rem;
  }

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

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    text-align: left;
    gap: 12px;
  }

  .hero-stat-num {
    font-size: 1.4rem;
  }

  .hero-stat-label {
    font-size: 0.62rem;
  }

  .reactor-stage {
    height: 300px;
  }

  .hud-label {
    font-size: 0.58rem;
    padding: 2px 6px;
  }

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

  .jarvis-modes {
    flex-direction: column;
  }

  .hud-radar-wrap {
    width: 210px;
    height: 210px;
  }
}
