@media (max-width: 1199.98px) {
  .main-navbar .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(100, 204, 246, 0.13);
    border-radius: 18px;
    background: rgba(5, 15, 24, 0.96);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
  }

  .mission-hud {
    margin-top: 20px;
  }

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

  .workflow-grid::before {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 95px 0;
  }

  .landing-hero .min-vh-100 {
    min-height: auto !important;
    padding: 150px 0 110px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-title {
    font-size: clamp(3.6rem, 12vw, 6.5rem);
  }

  .mission-hud {
    max-width: 620px;
    margin: 15px auto 0;
  }

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

  .mission-stat:nth-child(2) {
    border-right: 0;
  }

  .mission-stat:nth-child(-n+2) {
    border-bottom: 1px solid rgba(93, 196, 240, 0.1);
  }

  .mission-visual {
    min-height: 520px;
    padding-left: 30px;
  }

  .command-screen {
    transform: none;
  }

  .safety-panel {
    grid-template-columns: auto 1fr;
  }

  .safety-panel .hero-secondary-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .camera-large {
    min-height: 360px;
  }

  .map-placeholder {
    min-height: 420px;
  }
}

@media (max-width: 767.98px) {
  .main-navbar {
    padding: 12px 0;
  }

  .rover-brand strong {
    font-size: 0.9rem;
  }

  .rover-brand small {
    font-size: 0.5rem;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .landing-hero .min-vh-100 {
    padding: 130px 0 95px;
  }

  .hero-title {
    font-size: clamp(3.2rem, 15vw, 5.6rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mission-hud {
    padding: 18px;
  }

  .hud-visual {
    height: 230px;
  }

  .hud-metrics {
    grid-template-columns: 1fr;
  }

  .hud-footer time {
    width: 100%;
    margin-left: 0;
  }

  .video-toggle {
    right: 18px;
    bottom: 18px;
  }

  .scroll-indicator {
    display: none;
  }

  .mission-stats-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .mission-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(93, 196, 240, 0.1);
  }

  .mission-stat:last-child {
    border-bottom: 0;
  }

  .mission-purpose-section::before,
  .intelligence-section::before {
    display: none;
  }

  .mission-visual {
    min-height: auto;
    padding: 20px 0 82px;
  }

  .mission-image-frame {
    height: 420px;
  }

  .floating-data-card {
    min-width: 205px;
  }

  .data-card-left {
    bottom: 22px;
  }

  .data-card-right {
    top: 4px;
    right: -4px;
  }

  .screen-body {
    grid-template-columns: 1fr;
  }

  .screen-camera {
    min-height: 360px;
  }

  .screen-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(97, 198, 241, 0.11);
    border-left: 0;
  }

  .mini-widget:last-child {
    grid-column: 1 / -1;
  }

  .safety-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .safety-panel .hero-secondary-btn {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .section-space {
    padding: 78px 0;
  }

  .section-space-sm {
    padding: 58px 0;
  }

  .hero-eyebrow {
    font-size: 0.61rem;
    letter-spacing: 0.09em;
  }

  .hero-title {
    font-size: clamp(2.8rem, 16vw, 4.25rem);
    line-height: 0.98;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
  }

  .mission-hud {
    border-radius: 21px;
  }

  .hud-header {
    align-items: flex-start;
    gap: 14px;
  }

  .hud-visual {
    height: 205px;
  }

  .radar-ring-two {
    width: 170px;
    height: 170px;
  }

  .radar-sweep {
    width: 155px;
    height: 155px;
  }

  .rover-hologram {
    width: 92px;
    height: 92px;
    font-size: 2.6rem;
  }

  .mission-stat {
    min-height: 125px;
    padding: 22px 12px;
  }

  .mission-image-frame {
    height: 360px;
    border-radius: 22px;
  }

  .thermal-tag {
    top: 18px;
    right: 18px;
    font-size: 0.54rem;
  }

  .victim-marker {
    right: 7%;
  }

  .victim-marker div {
    display: none;
  }

  .floating-data-card {
    min-width: 0;
    width: calc(100% - 20px);
  }

  .data-card-left {
    left: 10px;
  }

  .data-card-right {
    display: none;
  }

  .capability-card {
    min-height: 370px;
    margin: 0 5px;
    padding: 25px;
  }

  .screen-topbar strong {
    display: none;
  }

  .screen-camera {
    min-height: 300px;
  }

  .screen-sidebar {
    grid-template-columns: 1fr;
  }

  .mini-widget:last-child {
    grid-column: auto;
  }

  .workflow-card {
    min-height: 280px;
  }

  .control-btn {
    min-height: 72px;
  }

  .dashboard-card strong {
    font-size: 1.35rem;
  }
}
