.software-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.software-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.software-hero-scrim {
  position: absolute;
  inset: 0;
  background: transparent;
}

body.theme-black.software-page main > .software-hero {
  background-blend-mode: normal;
  box-shadow: none;
}

body.theme-black.software-page main > .software-hero > .software-hero-scrim {
  background: transparent;
}

.software-hero-inner {
  position: relative;
  z-index: 1;
  padding: 84px 0 96px;
}

.software-hero-copy {
  max-width: 770px;
}

.software-hero-copy h1 {
  margin: 0;
  color: var(--white);
  font-size: 3.255rem;
  font-weight: 900;
  line-height: 1.03;
}

.software-hero-copy p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.software-hero-copy .eyebrow,
.software-hero-copy h1,
.software-hero-copy p {
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.98), 0 1px 4px rgba(0, 0, 0, 1);
}

.software-proof-band {
  color: var(--white);
  background: var(--navy);
  border-top: 4px solid var(--orange);
}

.software-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.software-proof-grid div {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.software-proof-grid div:first-child {
  border-left: 0;
}

.software-proof-grid strong {
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.software-proof-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.mototrax-capabilities-section,
.modules-section {
  background: var(--soft);
}

.mototrax-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mototrax-grid article {
  min-height: 246px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(8, 28, 72, 0.06);
}

.mototrax-grid h3,
.feature-list strong,
.module-grid strong {
  margin: 0;
  color: var(--navy);
  line-height: 1.16;
}

.mototrax-grid p,
.feature-list span,
.module-grid span {
  color: var(--muted);
}

.mototrax-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 900;
}

.mototrax-icon.amber {
  background: var(--orange);
}

.mototrax-icon.green {
  background: var(--green);
}

.mototrax-icon.blue {
  background: var(--blue);
}

.mototrax-icon.red {
  background: var(--red);
}

.cloud-section {
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 68%, #173f83 100%);
}

.cloud-section h2,
.cloud-section p {
  color: var(--white);
}

.cloud-section p {
  color: rgba(255, 255, 255, 0.8);
}

.cloud-layout,
.screenshot-layout,
.software-ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.cloud-board {
  min-height: 420px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

body.theme-black main .cloud-section .cloud-board,
body.theme-black main .driver-section .screenshot-frame,
body.theme-black main .stoparm-section .screenshot-frame,
body.theme-black main .software-ecosystem-section .software-media {
  background: #050505;
}

body.theme-black main .cloud-section .cloud-grid strong {
  color: var(--white);
}

body.theme-black main .cloud-section .cloud-grid span {
  color: var(--dark-copy);
}

.cloud-node.main {
  min-height: 84px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.cloud-line {
  width: 3px;
  height: 42px;
  margin: 0 auto;
  background: var(--orange);
}

.cloud-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cloud-grid div {
  min-height: 112px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.cloud-grid strong {
  color: var(--navy);
  line-height: 1.16;
}

.cloud-grid span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.driver-section,
.software-ecosystem-section {
  background: var(--white);
}

.stoparm-section {
  background: var(--soft);
}

.screenshot-layout.reverse {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.08fr);
}

.screenshot-frame {
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 247, 251, 0.94), rgba(255, 255, 255, 0.82)),
    var(--soft);
  box-shadow: var(--shadow);
}

.screenshot-frame.large {
  min-height: 500px;
}

.screenshot-frame img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 18px 30px rgba(6, 27, 73, 0.14);
}

.screenshot-frame.large img {
  max-height: 470px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.feature-list div {
  min-height: 96px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(8, 28, 72, 0.06);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 7px;
  font-size: 0.88rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.module-grid div {
  min-height: 128px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(8, 28, 72, 0.06);
}

.module-grid span {
  margin-top: 7px;
  font-size: 0.86rem;
}

.software-media {
  min-height: 500px;
  position: relative;
  display: grid;
  align-items: center;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 247, 251, 0.94), rgba(255, 255, 255, 0.82)),
    var(--soft);
  box-shadow: var(--shadow);
}

.software-img {
  width: 86%;
  justify-self: end;
  filter: drop-shadow(0 18px 22px rgba(6, 27, 73, 0.16));
}

.recorders-img {
  width: 66%;
  position: absolute;
  left: 24px;
  bottom: 28px;
  filter: drop-shadow(0 14px 20px rgba(6, 27, 73, 0.14));
}

.software-cta {
  background: var(--white);
}

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

@media (max-width: 1080px) {
  .software-hero {
    min-height: 700px;
  }

  .software-hero-copy h1 {
  font-size: 2.8rem;
  }

  .software-proof-grid,
  .cloud-layout,
  .screenshot-layout,
  .screenshot-layout.reverse,
  .software-ecosystem-layout {
    grid-template-columns: 1fr;
  }

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

  .software-proof-grid div:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .software-hero {
    min-height: 760px;
  }

  .software-hero-scrim {
    background: linear-gradient(90deg, rgba(6, 27, 73, 0.98) 0%, rgba(6, 27, 73, 0.9) 72%, rgba(6, 27, 73, 0.76) 100%);
  }

  .software-hero-inner {
    padding: 56px 0 66px;
  }

  .software-hero-copy h1 {
  font-size: 2.065rem;
  }

  .software-proof-grid,
  .mototrax-grid,
  .cloud-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .software-proof-grid div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .software-proof-grid div:first-child {
    border-top: 0;
  }

  .screenshot-frame,
  .screenshot-frame.large,
  .software-media {
    min-height: 360px;
  }
}
