.home-software-page {
  overflow: hidden;
  background: #07152f;
}

.home-software-page h1,
.home-software-page h2,
.home-software-page h3 {
  max-width: 100%;
  text-transform: none;
}

.home-software-page h2 {
  font-size: clamp(2rem, 3.8vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.home-software-page h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.home-hero {
  position: relative;
  min-height: min(880px, 100vh);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(8.5rem, 12vw, 10.5rem) 0 clamp(5.3rem, 8vw, 7.2rem);
  background: #07152f;
}

.home-hero-media,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-media {
  background-image: url("../img/service-code.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.62) contrast(1.08);
  transform: scale(1.02);
}

.home-hero-overlay {
  background:
    radial-gradient(circle at 78% 24%, rgba(141, 189, 255, 0.23), transparent 31%),
    linear-gradient(90deg, rgba(7, 21, 47, 0.98) 0%, rgba(7, 21, 47, 0.9) 47%, rgba(7, 21, 47, 0.64) 100%),
    linear-gradient(180deg, rgba(7, 21, 47, 0.18) 0%, rgba(7, 21, 47, 0.9) 100%);
}

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.72fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  align-items: center;
}

.home-hero-copy {
  max-width: 790px;
}

.home-software-page .hero-eyebrow {
  margin-bottom: 1.1rem;
  color: var(--accent);
}

.home-software-page .hero-main {
  max-width: 790px;
  margin-bottom: 1.35rem;
  color: #fff;
  font-size: clamp(3rem, 5.8vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.home-hero-intro {
  max-width: 680px;
  margin-bottom: 1.8rem;
  color: #d7e1f0;
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  font-weight: 620;
  line-height: 1.62;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  align-items: center;
}

.home-hero .button {
  min-height: 54px;
  padding-inline: 1.3rem;
  background: var(--sun);
  color: var(--navy);
  box-shadow: 0 18px 42px rgba(2, 11, 28, 0.3);
}

.home-hero .button span {
  color: var(--navy);
}

.home-hero .button:hover,
.home-hero .button:focus-visible {
  background: #ffda82;
  color: var(--navy);
}

.home-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 0.2rem;
  color: #fff;
  font-weight: 850;
  border-bottom: 1px solid rgba(141, 189, 255, 0.5);
  transition: color 180ms ease, border-color 180ms ease;
}

.home-secondary-link:hover,
.home-secondary-link:focus-visible {
  color: var(--sun);
  border-color: var(--sun);
}

.home-secondary-link.is-dark {
  color: var(--navy);
  border-color: rgba(17, 34, 75, 0.3);
}

.home-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.home-hero-proof span {
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(141, 189, 255, 0.25);
  border-radius: 999px;
  background: rgba(141, 189, 255, 0.08);
  color: #dce8f8;
  font-size: 0.8rem;
  font-weight: 780;
}

.home-workflow-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  background: rgba(247, 251, 255, 0.9);
  color: var(--navy);
  box-shadow: 0 38px 90px rgba(2, 11, 28, 0.38);
  backdrop-filter: blur(18px);
}

.home-workflow-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(141, 189, 255, 0.23);
  filter: blur(2px);
}

.home-workflow-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(17, 34, 75, 0.13);
}

.home-workflow-head span {
  color: #58709a;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-workflow-head strong {
  font-size: 0.82rem;
}

.home-workflow-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.8rem;
  align-items: start;
  margin-top: 0.8rem;
  padding: 0.9rem;
  border-radius: 9px;
}

.home-workflow-step.is-active {
  background: var(--navy);
  color: #fff;
}

.home-workflow-step > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(141, 189, 255, 0.18);
  color: #4d75b7;
  font-size: 0.72rem;
  font-weight: 900;
}

.home-workflow-step.is-active > span {
  background: var(--sun);
  color: var(--navy);
}

.home-workflow-step strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.home-workflow-step p {
  margin: 0;
  color: #64728a;
  font-size: 0.86rem;
  line-height: 1.45;
}

.home-workflow-step.is-active p {
  color: #d4e0f1;
}

.home-expertise-strip {
  width: 100%;
  overflow: hidden;
  padding: 1.05rem 0;
  border-block: 1px solid rgba(141, 189, 255, 0.13);
  background: #0b2452;
}

.home-expertise-track {
  display: flex;
  width: max-content;
  animation: home-strip-scroll 48s linear infinite;
}

.home-expertise-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.1rem;
  padding-right: 1.1rem;
}

.home-expertise-group span {
  color: #edf5ff;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-expertise-group i {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  border-radius: 0 0 0 999px;
  background: var(--sun);
}

.home-expertise-group i:nth-of-type(even) {
  background: var(--accent);
}

@keyframes home-strip-scroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.home-problems,
.home-use-cases,
.home-complementary {
  padding: clamp(4.7rem, 8vw, 7.5rem) 0;
  color: var(--navy);
  background: linear-gradient(145deg, #f8fbff 0%, #e9f2ff 100%);
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.home-section-head h2 {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--navy);
}

.home-section-head > p {
  max-width: 590px;
  margin: 0;
  color: #4b5e7d;
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  line-height: 1.7;
}

.home-section-head.is-dark h2 {
  color: #fff;
}

.home-section-head.is-dark > p {
  color: #cbd7ea;
}

.home-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-problem-card {
  min-height: 310px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid rgba(17, 34, 75, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 55px rgba(17, 34, 75, 0.07);
}

.home-problem-card > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: clamp(2.8rem, 6vw, 5rem);
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.home-problem-card h3 {
  margin-bottom: 0.8rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
}

.home-problem-card p {
  margin: 0;
  color: #52627c;
  font-size: 0.98rem;
  line-height: 1.65;
}

.home-inline-cta {
  margin-top: 1.35rem;
}

.home-inline-cta a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 850;
}

.home-inline-cta a span {
  color: var(--sun);
}

.home-solutions,
.home-method,
.home-faq {
  padding: clamp(4.7rem, 8vw, 7.5rem) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(141, 189, 255, 0.12), transparent 30%),
    #07152f;
}

.home-solutions h2,
.home-solutions h3 {
  text-transform: none;
}

.home-software-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-software-signal-grid article {
  min-height: 215px;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  border: 1px solid rgba(141, 189, 255, 0.17);
  border-radius: 12px;
  background: rgba(141, 189, 255, 0.065);
}

.home-software-signal-grid article > span {
  display: inline-block;
  margin-bottom: 1.8rem;
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-software-signal-grid h3 {
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: clamp(1.25rem, 1.75vw, 1.7rem);
}

.home-software-signal-grid p {
  margin: 0;
  color: #cbd7ea;
  font-size: 0.94rem;
  line-height: 1.62;
}

.home-solution-grid.is-compact .home-solution-card {
  min-height: 285px;
}

.home-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-solution-card {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  border: 1px solid rgba(141, 189, 255, 0.17);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(141, 189, 255, 0.1), rgba(141, 189, 255, 0.02)),
    rgba(12, 31, 69, 0.82);
  color: #fff;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.home-solution-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
}

.home-solution-card.is-featured::before {
  background: var(--sun);
}

.home-solution-card:hover,
.home-solution-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(141, 189, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(141, 189, 255, 0.16), rgba(141, 189, 255, 0.04)),
    rgba(12, 31, 69, 0.96);
}

.home-solution-number {
  color: #6f8cb8;
  font-size: 0.75rem;
  font-weight: 900;
}

.home-solution-label {
  margin: clamp(2.2rem, 5vw, 4rem) 0 0.6rem;
  color: var(--sun);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-solution-card h3 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.home-solution-card > p:last-of-type {
  max-width: 440px;
  margin: 0 2.4rem 0 0;
  color: #cbd7ea;
  font-size: 0.96rem;
  line-height: 1.62;
}

.home-solution-card > strong {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(141, 189, 255, 0.13);
  color: var(--accent);
}

.home-center-action {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.home-center-action .button {
  background: var(--sun);
  color: var(--navy);
}

.home-center-action .button span {
  color: var(--navy);
}

.home-use-cases {
  background: #eef5ff;
}

.home-use-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.home-use-intro {
  position: sticky;
  top: 120px;
}

.home-use-intro h2 {
  color: var(--navy);
}

.home-use-intro > p:not(.kicker) {
  max-width: 560px;
  color: #52627c;
  line-height: 1.7;
}

.home-use-list {
  display: grid;
  gap: 1rem;
}

.home-use-list article {
  padding: clamp(1.35rem, 2.7vw, 2.1rem);
  border: 1px solid rgba(17, 34, 75, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.home-use-list article > span {
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(141, 189, 255, 0.22);
  color: #345f9f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-use-list h3 {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
}

.home-use-list p {
  margin: 0;
  color: #52627c;
  font-size: 0.98rem;
  line-height: 1.65;
}

.home-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(141, 189, 255, 0.16);
  border-radius: 12px;
  background: rgba(12, 31, 69, 0.55);
}

.home-method-grid article {
  min-height: 285px;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  border-right: 1px solid rgba(141, 189, 255, 0.16);
}

.home-method-grid article:last-child {
  border-right: 0;
}

.home-method-grid article > span {
  display: block;
  margin-bottom: clamp(3rem, 6vw, 5.2rem);
  color: var(--sun);
  font-size: 0.77rem;
  font-weight: 900;
}

.home-method-grid h3 {
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: clamp(1.28rem, 1.8vw, 1.75rem);
}

.home-method-grid p {
  margin: 0;
  color: #c4d0e6;
  font-size: 0.94rem;
  line-height: 1.62;
}

.home-direct {
  padding: clamp(4.7rem, 8vw, 7.2rem) 0;
  background: linear-gradient(135deg, #0b2452 0%, #12366f 100%);
}

.home-direct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}

.home-direct h2 {
  margin-bottom: 0;
  color: #fff;
}

.home-direct-copy > p {
  color: #d1dced;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.home-role-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.home-role-cloud span {
  padding: 0.48rem 0.8rem;
  border: 1px solid rgba(141, 189, 255, 0.3);
  border-radius: 999px;
  background: rgba(141, 189, 255, 0.08);
  color: #edf5ff;
  font-size: 0.82rem;
  font-weight: 800;
}

.home-complementary {
  background: #f7fbff;
}

.home-complementary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-complementary-grid a {
  position: relative;
  min-height: 280px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid rgba(17, 34, 75, 0.11);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 18px 50px rgba(17, 34, 75, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-complementary-grid a:hover,
.home-complementary-grid a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(17, 34, 75, 0.11);
}

.home-complementary-grid a > span {
  display: inline-block;
  margin-bottom: clamp(3.2rem, 6vw, 5rem);
  color: #4d75b7;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-complementary-grid h3 {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.home-complementary-grid p {
  margin: 0 2.3rem 0 0;
  color: #52627c;
  font-size: 0.96rem;
  line-height: 1.62;
}

.home-complementary-grid strong {
  position: absolute;
  right: 1.4rem;
  bottom: 1.35rem;
  color: #4d75b7;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.home-faq-heading h2 {
  color: #fff;
}

.home-faq-heading > p:not(.kicker) {
  color: #c4d0e6;
  line-height: 1.7;
}

.home-faq-list details {
  border-bottom: 1px solid rgba(141, 189, 255, 0.2);
}

.home-faq-list summary {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.home-faq-list summary::-webkit-details-marker {
  display: none;
}

.home-faq-list summary span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(141, 189, 255, 0.13);
  color: var(--accent);
  transition: transform 180ms ease, background 180ms ease;
}

.home-faq-list details[open] summary span {
  background: var(--sun);
  color: var(--navy);
  transform: rotate(45deg);
}

.home-faq-list details p {
  max-width: 720px;
  margin: 0;
  padding: 0 3rem 1.4rem 0;
  color: #c4d0e6;
  font-size: 0.98rem;
  line-height: 1.7;
}

.home-final-cta {
  padding: clamp(3.8rem, 7vw, 6rem) 0;
  background: var(--sun);
  color: var(--navy);
}

.home-final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}

.home-final-cta .kicker {
  color: #5b4a1d;
}

.home-final-cta h2 {
  margin-bottom: 0;
  color: var(--navy);
}

.home-final-cta p {
  color: #4b431f;
  line-height: 1.65;
}

.home-final-cta .button {
  background: var(--navy);
  color: #fff;
}

.home-final-cta .button span {
  color: var(--sun);
}

@media (max-width: 980px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero-grid,
  .home-section-head,
  .home-use-grid,
  .home-direct-grid,
  .home-faq-grid,
  .home-final-cta-inner {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    max-width: 760px;
  }

  .home-workflow-card {
    max-width: 660px;
  }

  .home-section-head {
    align-items: start;
  }

  .home-problem-grid,
  .home-software-signal-grid,
  .home-solution-grid,
  .home-complementary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-method-grid article:nth-child(2) {
    border-right: 0;
  }

  .home-method-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(141, 189, 255, 0.16);
  }

  .home-use-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .home-software-page h2 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
    line-height: 1.1;
  }

  .home-hero {
    padding: 7.2rem 0 4.3rem;
  }

  .home-hero-grid {
    gap: 2.5rem;
  }

  .home-software-page .hero-main {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
    line-height: 1.01;
    letter-spacing: -0.055em;
  }

  .home-hero-intro {
    font-size: 1.02rem;
  }

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

  .home-hero-actions .button,
  .home-hero-actions .home-secondary-link {
    width: 100%;
    max-width: none;
  }

  .home-hero-actions .home-secondary-link {
    justify-content: space-between;
  }

  .home-workflow-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .home-workflow-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-workflow-step {
    padding: 0.8rem 0.55rem;
  }

  .home-problem-grid,
  .home-software-signal-grid,
  .home-solution-grid,
  .home-method-grid,
  .home-complementary-grid {
    grid-template-columns: 1fr;
  }

  .home-problem-card,
  .home-solution-card,
  .home-complementary-grid a {
    min-height: 0;
  }

  .home-problem-card > span,
  .home-complementary-grid a > span {
    margin-bottom: 2.4rem;
  }

  .home-solution-label {
    margin-top: 2.5rem;
  }

  .home-method-grid article,
  .home-method-grid article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(141, 189, 255, 0.16);
  }

  .home-method-grid article:last-child {
    border-bottom: 0;
  }

  .home-method-grid article > span {
    margin-bottom: 2.5rem;
  }

  .home-faq-list details p {
    padding-right: 0;
  }

  .home-final-cta-inner {
    gap: 1.7rem;
  }

  .home-final-cta .button {
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-expertise-track {
    animation: none !important;
  }
}
