@media (max-width: 1199px) {
  .metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lifecycle-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .display-1 {
    font-size: 4rem;
  }

  .section-padding {
    padding: 96px 0;
  }

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

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

  .orbit-card {
    height: 360px;
    max-width: 360px;
  }

  .orbit-item {
    font-size: 0.72rem;
    padding: 9px 12px;
  }

  .dash-body {
    grid-template-columns: 76px 1fr;
  }

  .split-copy {
    padding: 38px;
  }

  .split-panel img {
    min-height: 360px;
  }
}

@media (max-width: 575px) {

  html {
    scroll-padding-top: 72px;
  }

  .navbar {
    min-height: 66px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand-logo {
    height: clamp(34px, 8vw, 40px);
    max-width: min(190px, 58vw);
  }

  .section-padding {
    padding: 78px 0;
  }

  .display-1 {
    font-size: 3.1rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .metric-strip,
  .lifecycle-wrap {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
  }

  .orbit-card {
    display: none;
  }

  .product-head {
    display: block;
  }

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

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

  .dash-body aside {
    display: none;
  }

  .dashboard-mock {
    transform: none;
  }

  .split-copy {
    padding: 30px;
  }

  .split-panel img {
    min-height: 300px;
  }

  .world-panel {
    padding: 34px 16px 26px;
  }

  .map-line {
    height: 300px;
    margin-bottom: 20px;
  }

  .map-node {
    font-size: 0.66rem;
    gap: 5px;
    transform: translate(-50%, -50%);
  }

  .map-node i {
    width: 11px;
    height: 11px;
  }

  .route-1 {
    left: 9%;
    top: 31%;
    width: 11%;
    height: 34px;
    transform: rotate(22deg);
  }

  .route-2 {
    left: 16%;
    top: 32%;
    width: 31%;
    height: 34px;
    transform: rotate(-4deg);
  }

  .route-3 {
    left: 41%;
    top: 30%;
    width: 18%;
    height: 34px;
    transform: rotate(8deg);
  }

  .route-4 {
    left: 55%;
    top: 43%;
    width: 13%;
    height: 34px;
    transform: rotate(11deg);
  }

  .route-5 {
    left: 62%;
    top: 53%;
    width: 13%;
    height: 34px;
    transform: rotate(10deg);
  }

  .route-6 {
    left: 71%;
    top: 62%;
    width: 11%;
    height: 34px;
    transform: rotate(8deg);
  }

  .node-usa {
    left: 12%;
    top: 46%;
  }

  .node-canada {
    left: 11%;
    top: 27%;
  }

  .node-uk {
    left: 46%;
    top: 27%;
  }

  .node-uae {
    left: 56%;
    top: 43%;
  }

  .node-india {
    left: 64%;
    top: 54%;
  }

  .node-malaysia {
    left: 70%;
    top: 64%;
  }

  .node-singapore {
    left: 74%;
    top: 74%;
  }

    .node-switzerland {
    left: 49%;
    top: 31%;
  }

  .node-japan {
    left: 79%;
    top: 44%;
  }

  .node-australia {
    left: 82%;
    top: 79%;
  }


  .contact-card {
    padding: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* =========================================================
   Lyraks mobile/tablet responsive refinements
   ========================================================= */

@media (max-width: 1199px) {
  .hero-heading {
    min-height: clamp(240px, 31vw, 340px);
  }

  .platform-card,
  .trust-card,
  .life-step {
    padding: 26px;
  }
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 86px;
  }

  .navbar-collapse {
    max-height: calc(100svh - 86px);
    overflow-y: auto;
    padding: 18px 0 22px;
  }

  .navbar-nav {
    gap: 4px;
  }

  .navbar .d-flex.gap-2 {
    width: 100%;
    flex-direction: column;
    gap: 10px !important;
    padding-top: 12px;
  }

  .navbar .d-flex.gap-2 .btn {
    width: 100%;
  }

  .hero-section .row.min-vh-100 {
    align-items: center !important;
    padding-top: 118px !important;
  }

  .hero-heading {
    min-height: clamp(232px, 36vw, 320px);
  }

  .type-line-one {
    font-size: clamp(3rem, 9vw, 5.2rem);
  }

  .type-line-two {
    font-size: clamp(2.2rem, 7.2vw, 4rem);
  }

  .type-line-three {
    font-size: clamp(1.8rem, 5.8vw, 3rem);
  }

  .section-intro h2,
  .section-padding h2 {
    line-height: 1.02;
  }

  .platform-card {
    min-height: 100%;
  }

  .dashboard-mock:hover,
  .dashboard-mock {
    transform: none;
  }

  .world-panel {
    border-radius: 30px;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-section .row.min-vh-100 {
    min-height: 100svh !important;
  }

  .hero-heading {
    min-height: 245px;
  }

  .hero-copy {
    max-width: 100%;
    line-height: 1.6;
  }

  .hero-section .d-flex.flex-wrap.gap-3 .btn,
  .platform-actions .btn,
  .cta-section .platform-actions .btn {
    width: 100%;
  }

  .section-intro {
    margin-bottom: 2.5rem !important;
  }

  .platform-card,
  .trust-card,
  .life-step,
  .contact-card {
    border-radius: 24px;
  }

  .dashboard-mock {
    border-radius: 24px;
    padding: 10px;
  }

  .dash-top strong {
    font-size: 0.68rem;
  }

  .dash-content {
    padding: 20px;
  }

  .chart {
    gap: 8px;
    padding: 14px;
  }

  .footer .row > div {
    width: 100%;
  }
}

@media (max-width: 575px) {
  html {
    scroll-padding-top: 78px;
  }

  .navbar.fixed-top,
  .glass-nav {
    top: 0;
  }

  .hero-section .row.min-vh-100 {
    padding-top: 104px !important;
    padding-bottom: 48px !important;
  }

  .eyebrow,
  .section-label {
    font-size: 0.66rem;
    letter-spacing: 0.11em;
  }

  .hero-heading {
    min-height: 220px;
  }

  .type-line-one {
    font-size: clamp(2.75rem, 13vw, 3.85rem);
    line-height: 0.98;
  }

  .type-line-two {
    font-size: clamp(2rem, 10vw, 2.95rem);
    line-height: 1.04;
  }

  .type-line-three {
    font-size: clamp(1.65rem, 8vw, 2.3rem);
    line-height: 1.12;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section-padding {
    padding: 70px 0;
  }

  .section-intro h2,
  .section-padding h2,
  .vision-section h2 {
    letter-spacing: -0.045em;
  }

  .platform-card,
  .trust-card,
  .life-step {
    padding: 22px;
  }

  .product-head {
    display: flex;
    align-items: flex-start;
  }

  .status {
    font-size: 0.68rem;
    padding: 7px 9px;
  }

  .product-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .stats-row {
    gap: 10px;
  }

  .stats-row div {
    min-height: auto;
  }

  .dash-header {
    align-items: flex-start;
    gap: 10px;
  }

  .dash-header h4 {
    font-size: 1.05rem;
  }

  .chart {
    height: 120px;
  }

  .vision-section {
    padding: 86px 0;
  }

  .footer-logo {
    max-width: 190px;
  }
}

@media (max-width: 380px) {
  .hero-heading {
    min-height: 205px;
  }

  .type-line-one {
    font-size: 2.45rem;
  }

  .type-line-two {
    font-size: 1.78rem;
  }

  .type-line-three {
    font-size: 1.48rem;
  }
}

/* =========================================================
   Clean Stripe-style scroll progress bar for mobile + desktop
   Keeps navbar at top with progress overlay above it
   ========================================================= */

.lyraks-progress {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 3px !important;
  background: transparent !important;
  z-index: 100000 !important;
  pointer-events: none !important;
}

.lyraks-progress-bar {
  display: block !important;
  height: 100% !important;
  width: 0%;
  background: linear-gradient(90deg, #0f172a, #2563eb, #7c3aed) !important;
  border-radius: 0 999px 999px 0 !important;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.35) !important;
  transition: width 0.08s linear !important;
}

.navbar.fixed-top,
.glass-nav {
  top: 0 !important;
}

/* iPhone/Safari safe-area support */
@supports (padding: env(safe-area-inset-top)) {
  .lyraks-progress {
    top: env(safe-area-inset-top) !important;
  }
}
