body.x-brain-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%;
}

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

.x-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;
}

.x-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: #55bd72;
  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;
}

.try-demo-button {
  position: absolute;
  top: 88%;
  left: 22.2901%;
  display: grid;
  width: 55.4198%;
  height: 8%;
  place-items: center;
  border-radius: clamp(32px, 3.2813vw, 63px);
  color: #ffffff;
  background: linear-gradient(135deg, #7edb91, #56c772);
  box-shadow: 0 12px 22px rgba(54, 174, 98, 0.2);
  font-size: clamp(0.9rem, 1.25vw, 1.5rem);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  opacity: 1;
}

.transformation-panel {
  position: absolute;
  top: 10.2%;
  left: 40.35%;
  width: 56%;
  height: 72%;
}

.transformation-heading {
  display: flex;
  align-items: center;
  gap: 2%;
  margin-bottom: 4.8%;
}

.transformation-heading span {
  display: grid;
  width: clamp(48px, 4.7vw, 90px);
  height: clamp(48px, 4.7vw, 90px);
  place-items: center;
  border-radius: 50%;
  color: #0d1220;
  background: #79e66d;
  font-size: clamp(1.25rem, 2vw, 2.45rem);
  font-weight: 800;
}

.transformation-heading h2 {
  margin: 0;
  color: #101827;
  font-size: clamp(1.65rem, 2.55vw, 3.05rem);
  font-weight: 800;
  line-height: 1.05;
}

.x-brain-diagram {
  position: absolute;
  top: 23.7963%;
  left: 39.6875%;
  width: 28.2813%;
  height: 62.4074%;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(38, 108, 131, 0.08);
  opacity: 1;
}

.x-brain-services {
  position: absolute;
  top: 31.9444%;
  left: 69%;
  width: 27.7083%;
  height: 39.4444%;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(38, 108, 131, 0.08);
  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 {
  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;
}

.agentic-layout {
  position: absolute;
  inset: 0;
  display: block;
}

.agentic-heading {
  position: absolute;
  top: 5.55%;
  left: 7.45%;
  display: flex;
  align-items: flex-start;
  gap: 1.35%;
  width: 70%;
}

.agentic-heading span {
  display: grid;
  width: clamp(48px, 4.7vw, 90px);
  height: clamp(48px, 4.7vw, 90px);
  place-items: center;
  border-radius: 50%;
  color: #0d1220;
  background: #79e66d;
  font-size: clamp(1.25rem, 2vw, 2.45rem);
  font-weight: 800;
}

.agentic-heading h1 {
  margin: 0;
  color: #101827;
  font-size: clamp(1.55rem, 2.35vw, 2.8rem);
  font-weight: 800;
  line-height: 1.03;
}

.agentic-heading p {
  margin: 0.4% 0 0;
  color: #111827;
  font-size: clamp(0.95rem, 1.37vw, 1.65rem);
  font-weight: 600;
  line-height: 1.05;
}

.agentic-panel {
  position: absolute;
  top: 15.5806%;
  left: 4.375%;
  width: 91.25%;
  height: 72.4752%;
  object-fit: fill;
  border-radius: clamp(32px, 3.2813vw, 63px);
  opacity: 1;
}

.agentic-content {
  position: absolute;
  top: 22.963%;
  left: 3.9063%;
  width: 91.5104%;
  height: 56.5741%;
  object-fit: contain;
  opacity: 1;
}

.agentic-nav {
  right: 3.7%;
  bottom: 4.15%;
}

.roadmap-layout {
  position: absolute;
  inset: 0;
  display: block;
}

.roadmap-heading {
  top: 5.55%;
  left: 7.45%;
}

.roadmap-image {
  position: absolute;
  top: 15.5556%;
  left: 4.375%;
  width: 92.4479%;
  height: 72.5%;
  object-fit: fill;
  opacity: 1;
}

.roadmap-nav {
  right: 3.7%;
  bottom: 4.15%;
}

@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);
  }

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

  .x-overview-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    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;
  }

  .transformation-panel {
    position: static;
    width: auto;
    height: auto;
  }

  .x-brain-diagram,
  .x-brain-services {
    position: static;
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 22px auto 0;
  }

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

  .agentic-layout {
    position: static;
    display: grid;
    gap: 24px;
    width: min(860px, 100%);
    margin: 0 auto;
  }

  .agentic-heading,
  .agentic-panel,
  .agentic-content {
    position: static;
  }

  .agentic-heading {
    width: 100%;
  }

  .agentic-panel {
    width: 100%;
    height: auto;
  }

  .agentic-content {
    width: 94%;
    height: auto;
    margin: -52% auto 0;
  }

  .roadmap-layout {
    position: static;
    display: grid;
    gap: 24px;
    width: min(920px, 100%);
    margin: 0 auto;
  }

  .roadmap-heading,
  .roadmap-image {
    position: static;
  }

  .roadmap-image {
    width: 100%;
    height: auto;
  }
}

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

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

  .x-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;
  }

  .transformation-heading span {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }

  .transformation-heading h2 {
    font-size: 1.7rem;
  }

  .agentic-heading {
    gap: 12px;
  }

  .agentic-heading span {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }

  .agentic-heading h1 {
    font-size: 1.65rem;
  }

  .agentic-heading p {
    font-size: 0.95rem;
  }
}
