body.solution-page::before {
  background: url("../assets/Background2.png") center center / cover no-repeat;
}

.detail-stage {
  padding: 0;
}

.detail-logo {
  top: 3.8%;
  left: 89.6%;
  width: 7.2%;
}

.solution-detail-layout {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
}

.solution-overview-card {
  position: absolute;
  top: 9.1667%;
  left: 2.5%;
  width: 34.1146%;
  height: 85.1852%;
  padding: clamp(54px, 5.1vw, 98px) 6.7% 4.4%;
  border: 1px solid rgba(113, 183, 170, 0.78);
  border-radius: clamp(36px, 4.4271vw, 85px);
  background: rgba(247, 253, 255, 0.9);
  box-shadow: 0 20px 46px rgba(38, 108, 131, 0.13);
  opacity: 1;
}

.detail-icon-badge {
  position: absolute;
  top: clamp(-42px, -3.3vw, -28px);
  left: 50%;
  display: grid;
  width: clamp(78px, 7vw, 134px);
  height: clamp(78px, 7vw, 134px);
  place-items: center;
  border: 1px solid rgba(113, 183, 170, 0.48);
  border-radius: 50%;
  background: rgba(247, 253, 255, 0.94);
  box-shadow: 0 12px 26px rgba(38, 108, 131, 0.12);
  transform: translateX(-50%);
}

.detail-icon-badge img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.solution-overview-card h1 {
  margin: 0;
  color: #0b0f19;
  font-size: clamp(1.7rem, 2.65vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
}

.detail-subtitle {
  margin: 0.7% 0 6%;
  color: #0b0f19;
  font-size: clamp(0.78rem, 1.1vw, 1.3rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.detail-section {
  margin-top: 5.6%;
}

.detail-section h2 {
  margin: 0 0 2.4%;
  color: #2f9fa0;
  font-size: clamp(0.72rem, 0.92vw, 1.1rem);
  font-weight: 800;
  line-height: 1.2;
}

.detail-section p {
  margin: 0;
  color: #172033;
  font-size: clamp(0.57rem, 0.72vw, 0.86rem);
  font-weight: 500;
  line-height: 1.45;
}

.impact-row {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 3.5%;
  align-items: center;
  margin-top: 3.5%;
}

.impact-row img {
  width: 50%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.impact-row h3 {
  grid-column: 1;
  margin: 3.5% 0 0;
  color: #233044;
  font-size: clamp(0.54rem, 0.7vw, 0.84rem);
  font-weight: 500;
  line-height: 1.18;
  text-align: center;
}

.impact-row ul {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding-left: 1.1em;
  color: #111827;
  font-size: clamp(0.49rem, 0.63vw, 0.76rem);
  font-weight: 500;
  line-height: 1.42;
}

.solution-xbrain-logo {
  position: absolute;
  top: 10.3704%;
  left: 42.8125%;
  width: 28.1771%;
  height: 16.0185%;
  object-fit: contain;
  opacity: 1;
}

.agent-option {
  position: absolute;
  left: 41.7188%;
  display: block;
  width: 52.1875%;
  height: 11.1111%;
  color: #0b0f19;
  text-decoration: none;
  opacity: 1;
}

.agent-option-one {
  top: 29.3519%;
}

.agent-option-two {
  top: 43.9815%;
}

.agent-option-three {
  top: 58.6111%;
}

.agent-option-four {
  top: 73.2407%;
}

.agent-option-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: clamp(36px, 4.4271vw, 85px);
  object-fit: fill;
}

.agent-number {
  position: absolute;
  top: 16.7%;
  left: 3.5%;
  display: grid;
  width: 7.5%;
  height: 66.6%;
  place-items: center;
  border-radius: 50%;
  color: #0d1220;
  background: #5bcbbd;
  font-size: clamp(1.25rem, 2vw, 2.45rem);
  font-weight: 600;
}

.agent-title {
  position: absolute;
  top: 29%;
  left: 14.4%;
  color: #111827;
  font-size: clamp(1.45rem, 2.35vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
}

.agent-next {
  position: absolute;
  top: 8.3333%;
  left: 88.88%;
  width: 8.8%;
  height: 82.5%;
  object-fit: contain;
  opacity: 1;
}

.detail-nav {
  position: absolute;
  right: 3.6%;
  bottom: 3.8%;
  display: flex;
  gap: clamp(10px, 1vw, 18px);
  align-items: center;
}

.detail-nav a {
  display: grid;
  width: clamp(42px, 3.05vw, 58px);
  height: clamp(42px, 3.05vw, 58px);
  place-items: center;
  border-radius: 50%;
  transition: transform 160ms ease, filter 160ms ease;
}

.detail-nav a:hover,
.detail-nav a:focus-visible,
.agent-option:hover,
.agent-option:focus-visible {
  filter: drop-shadow(0 8px 14px rgba(38, 108, 131, 0.22));
  transform: translateY(-2px);
}

.detail-nav img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-nav {
  right: 8%;
  bottom: 4.3%;
}

@media (max-width: 1180px) {
  .detail-stage {
    height: auto;
    min-height: 100vh;
    padding: clamp(24px, 5vw, 56px) clamp(18px, 5vw, 64px) 96px;
  }

  .detail-logo {
    width: clamp(110px, 18vw, 160px);
  }

  .solution-detail-layout {
    position: static;
    display: grid;
    gap: 36px;
    width: min(720px, 100%);
    height: auto;
    margin: 0 auto;
  }

  .solution-overview-card,
  .solution-xbrain-logo,
  .agent-option {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
  }

  .solution-overview-card {
    height: auto;
    min-height: 620px;
    padding: 84px 28px 96px;
  }

  .detail-section p,
  .impact-row ul {
    font-size: 0.86rem;
  }

  .impact-row h3 {
    font-size: 0.9rem;
  }

  .solution-xbrain-logo {
    display: block;
    width: min(440px, 78%);
    height: auto;
    margin: 0 auto;
  }

  .agent-option {
    height: 86px;
  }

  .detail-nav {
    right: 24px;
    bottom: 26px;
  }
}

@media (max-width: 640px) {
  .detail-stage {
    padding: 18px 14px 92px;
  }

  .solution-overview-card {
    min-height: auto;
    padding: 74px 20px 90px;
    border-radius: 34px;
  }

  .solution-overview-card h1 {
    font-size: 2rem;
  }

  .detail-subtitle {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .detail-section h2 {
    font-size: 0.95rem;
  }

  .impact-row {
    grid-template-columns: 84px 1fr;
    gap: 10px 12px;
  }

  .impact-row ul {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .agent-option {
    height: 70px;
  }

  .agent-number {
    font-size: 1.35rem;
  }

  .agent-title {
    font-size: 1.35rem;
  }
}
