/* ========== SOLUTION DETAIL PAGE ========== */
.solution-page {
  background-color: #ffffff;
  background-image: url('/images/backgrounds/line_bg.png');
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

.solution-page .accent {
  color: #4f46e5;
}

.solution-hero {
  padding: 120px 0 80px;
}

.solution-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 56px;
}

.solution-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 990px;
  width: 100%;
}

.solution-hero__title {
  font-family: var(--font-heading);
  font-size: 55.56px;
  font-weight: 800;
  line-height: 73.58px;
  letter-spacing: -0.03em;
  color: #0b1020;
  margin: 0 0 18px;
}

.solution-hero__desc {
  margin: 0 0 14px;
  font-size: 16.67px;
  line-height: 25px;
  color: #0B1020CC;
  max-width: 680px;
}

.solution-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.solution-hero__btn {
  padding: 14px 22px;
  border-radius: 14.6px;
  font-size: 15px;
  font-weight: 600;
}

.solution-hero__btn--soft {
  background: #4F46E533;
  border-color: 1px solid #4F46E51F;
  color: #4f46e5;
  box-shadow: none;
}

.solution-hero__btn--soft:hover {
  background: #e0e7ff;
  color: #4338ca;
}

.solution-hero__btn--soft .btn__arrow {
  width: 18px;
  height: 18px;
}

.solution-hero__visual {
  width: 100%;
  max-width: 1200px;
}

.solution-hero__frame {
  width: 100%;
  border-radius: 25px;
  overflow: hidden;
  background: linear-gradient(145deg, #eef2ff 0%, #f8fafc 45%, #e0e7ff 100%);
  /* border: 1px solid rgba(79, 70, 229, 0.08); */
}

.solution-hero__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- OUTCOMES ---------- */
.solution-outcomes {
  background: #FFFAF2;
  padding: 90px 0;
  border-top: 5.83px solid rgba(139, 144, 167, 0.1);
}

.solution-outcomes__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.solution-outcomes__title {
  font-family: var(--font-heading);
  font-size: 51.07px;
  font-weight: 800;
  line-height: 58.74px;
  letter-spacing: -0.02em;
  color: #0b1020;
  margin: 0 0 20px;
}

.solution-outcomes__desc {
  margin: 0 auto;
  text-align: center;
  max-width: 650px;
  font-size: 17.52px;
  line-height: 28.9px;
  color: #64748B;
}

.solution-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.solution-outcome-card {
  background: #ffffff;
  border-radius: 22.23px;
  border: 1px solid #E4E2F0;
  padding: 32px 28px 66px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.solution-outcome-card__icon {
  width: 55px;
  height: 55px;
  display: block;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.solution-outcome-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  color: #0b1020;
  margin: 0 0 10px;
}

.solution-outcome-card__desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 24px;
  color: #7B7898;
  flex: 1 1 auto;
}

.solution-outcome-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 1233.76px;
  background: #F0FDF4;
  color: #22C55E;
  font-size: 13.58px;
  font-weight: 700;
  line-height: 20.38px;
}

/* ---------- PLATFORM ---------- */
.solution-platform {
  background: #0B0820;
  padding: 80px 0;
}

.solution-platform__header {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 960px;
}

.solution-platform__title {
  font-family: var(--font-heading);
  font-size: 36.01px;
  font-weight: 800;
  line-height: 41.41px;
  letter-spacing: -1.23px;
  color: #FFFFFF;
  margin: 0 0 32px;
}

.solution-platform__badges {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  max-width: 920px;
}

.solution-platform__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 18px 10px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.solution-platform__badge img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.solution-platform__card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px 48px;
  align-items: center;
  background: #ffffff;
  border-radius: 40px;
  padding: 48px;
  margin-bottom: 100px;
}

.solution-platform__copy {
  min-width: 0;
}

.solution-platform__card-title {
  font-family: var(--font-heading);
  font-size: 26.67px;
  font-weight: 800;
  line-height: 38.08px;
  color: #0b1020;
  margin: 0 0 20px;
  max-width: 460px;
}

.solution-platform__card-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 23.33px;
  color: #64748b;
  max-width: 420px;
}

.solution-platform__cta {
  border-radius: 14.6px;
  padding: 14px 24px;
}

.solution-platform__media {
  min-width: 0;
  width: 100%;
  border-radius: 20px;
  background: #6666660D;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.solution-platform__image {
  border-radius: 20px;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.solution-platform__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 120px;
}

.solution-platform-stat__value {
  font-family: var(--font-heading);
  font-size: 58.38px;
  font-weight: 800;
  line-height: 58.38px;
  color: #ffffff;
  margin: 0 0 6px;
}

.solution-platform-stat__label {
  font-family: var(--font-heading);
  font-size: 16.67px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.solution-platform-stat__desc {
  margin: 0;
  font-size: 11.11px;
  line-height: 16.67px;
  color: #FFFFFF80;
  max-width: 205px;
}

/* ---------- ADVANTAGE ---------- */
.solution-advantage {
  position: relative;
  background-color: #ffffff;
  background-image:
    var(--advantage-bg, url('/images/backgrounds/advantage_bg_jmg.png')),
    radial-gradient(
      ellipse 80% 90% at 88% 48%,
      rgba(99, 102, 241, 0.16),
      rgba(147, 157, 255, 0.06) 42%,
      rgba(255, 255, 255, 0) 72%
    );
  background-repeat: no-repeat;
  background-position: right center, right center;
  background-size: cover, cover;
  padding: 100px 0;
  overflow: hidden;
}

.solution-advantage > .container {
  position: relative;
  z-index: 1;
}

.solution-advantage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px 64px;
  align-items: center;
}

.solution-advantage__copy {
  min-width: 0;
  max-width: 560px;
}

.solution-advantage__title {
  font-family: var(--font-heading);
  font-size: 26.67px;
  font-weight: 800;
  line-height: 38.08px;
  color: #0b1020;
  margin: 0 0 20px;
}

.solution-advantage__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 36px;
}

.solution-advantage__body p {
  margin: 0;
  width: 580px;
  font-size: 17.52px;
  line-height: 28.9px;
  color: #64748b;
}

.solution-advantage__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.solution-advantage__btn {
  padding: 14px 22px;
  border-radius: 14.6px;
  font-size: 15px;
  font-weight: 600;
}

.solution-advantage__btn--soft {
  background: #4f46e533;
  border: 1px solid #4f46e51f;
  color: #4f46e5;
  box-shadow: none;
}

.solution-advantage__btn--soft:hover {
  background: #e0e7ff;
  color: #4338ca;
}

.solution-advantage__btn--soft .btn__arrow {
  width: 18px;
  height: 18px;
}

.solution-advantage__visual {
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 537.5px;
}

.solution-advantage__frame {
  position: relative;
  z-index: 1;
  width: 655px;
  max-width: 100%;
  height: 537.5px;
  box-sizing: border-box;
  border-radius: 16.68px;
  background: rgba(102, 102, 102, 0.06);
  border: 0.83px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 3.33px 49.25px rgba(0, 0, 0, 0.1);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.solution-advantage__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ---------- OTHER SOLUTIONS CAROUSEL ---------- */
.solution-others {
  background: #ffffff;
  padding: 90px 0 80px;
  overflow: hidden;
}

.solution-others__header {
  max-width: 720px;
  margin: 0 0 50px;
}

.solution-others__title {
  font-family: var(--font-heading);
  font-size: 51.07px;
  font-weight: 800;
  line-height: 58.74px;
  letter-spacing: -1.28px;
  color: #0b1020;
  margin: 0 0 20px;
}

.solution-others__title-accent {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.solution-others__desc {
  margin: 0;
  max-width: 640px;
  font-size: 17.52px;
  line-height: 28.9px;
  color: #64748b;
}

.solution-others__carousel {
  width: 100%;
}

.solution-others__viewport {
  overflow: hidden;
  width: 100%;
  padding: 28px 0 32px max(24px, calc((100% - var(--content-width, 1280px)) / 2 + 24px));
  margin: -28px 0 -32px;
}

.solution-others__track {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: max-content;
  will-change: transform;
}

.solution-others__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 273.2px;
  min-height: 240.2px;
  padding: 32.11px;
  border-radius: 22.23px;
  border: 0.99px solid #e4e2f0;
  background: #ffffff;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  flex-shrink: 0;
}

.solution-others__card:hover,
.solution-others__card:focus-visible {
  background: rgba(79, 70, 229, 0.1);
  border-color: #e4e2f0;
  box-shadow: 0 5.83px 19.75px rgba(0, 0, 0, 0.25);
}

.solution-others__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.solution-others__icon img {
  width: 28px;
  height: 28px;
  display: block;
}

.solution-others__icon--purple,
.solution-others__icon--blue,
.solution-others__icon--sky,
.solution-others__icon--indigo {
  background: #4f46e514;
}

.solution-others__icon--orange,
.solution-others__icon--amber {
  background: #f9731614;
}

.solution-others__card-title {
  font-family: var(--font-heading);
  font-size: 18.33px;
  font-weight: 600;
  line-height: 100%;
  color: #0b1020;
  margin: 0 0 6px;
}

.solution-others__card-desc {
  font-size: 13.33px;
  line-height: 20px;
  color: #64748B;
  margin: 0 0 auto;
  padding-bottom: 18px;
}

.solution-others__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 13.33px;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: underline #4F46E5;
}

.solution-others__card-cta img {
  width: 17px;
  height: 17px;
  display: block;
}

.solution-others__carousel.is-static .solution-others__track {
  transform: none !important;
  flex-wrap: wrap;
  width: auto;
  max-width: 100%;
  padding-right: 24px;
}

@media (max-width: 1100px) {
  .solution-outcomes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-platform__card {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 32px;
  }

  .solution-platform__card-title,
  .solution-platform__card-desc {
    max-width: 100%;
  }

  .solution-platform__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }

  .solution-advantage__grid {
    gap: 40px;
  }

  .solution-advantage__title {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .solution-hero {
    padding: 48px 0;
  }

  .solution-hero__inner {
    gap: 40px;
    align-items: flex-start;
    text-align: left;
  }

  .solution-hero__copy {
    align-items: flex-start;
    text-align: left;
  }

  .solution-hero__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
    text-align: left;
  }

  .solution-hero__desc {
    font-size: 15px;
    text-align: left;
    max-width: 100%;
  }

  .solution-hero__ctas {
    justify-content: flex-start;
    width: 100%;
  }

  .solution-hero__frame {
    border-radius: 20px;
  }

  .solution-outcomes {
    padding: 48px 0;
  }

  .solution-outcomes__header {
    text-align: left;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .solution-outcomes__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
    text-align: left;
  }

  .solution-outcomes__desc {
    text-align: left;
  }

  .solution-platform {
    padding: 56px 0;
  }

  .solution-platform__header {
    text-align: left;
    margin-bottom: 36px;
    max-width: 100%;
  }

  .solution-platform__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
    text-align: left;
    margin-bottom: 24px;
  }

  .solution-platform__badges {
    justify-content: flex-start;
  }

  .solution-platform__badge {
    white-space: normal;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
  }

  .solution-platform__card {
    border-radius: 28px;
    padding: 28px 24px;
    margin-bottom: 40px;
  }

  .solution-platform__card-title {
    font-size: 26px;
  }

  .solution-platform__card-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .solution-platform__media {
    border-radius: 18px;
    padding: 14px;
  }

  .solution-platform-stat__value {
    font-size: 40px;
  }

  .solution-platform-stat__desc {
    max-width: 100%;
  }

  .solution-advantage {
    padding: 56px 0;
  }

  .solution-advantage__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .solution-advantage__copy {
    max-width: 100%;
  }

  .solution-advantage__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
    text-align: left;
  }

  .solution-advantage__body p {
    font-size: 15px;
  }

  .solution-advantage {
    background-size: cover;
    background-position: center right;
  }

  .solution-advantage__frame {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 655 / 537.5;
    border-radius: 16.68px;
  }

  .solution-others {
    padding: 56px 0 48px;
  }

  .solution-others__header {
    margin-bottom: 36px;
  }

  .solution-others__title {
    font-size: var(--mobile-heading-size);
    line-height: var(--mobile-heading-line-height);
    text-align: left;
  }

  .solution-others__desc {
    text-align: left;
    font-size: 15px;
  }

  .solution-others__viewport {
    padding-left: 20px;
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .solution-others__card {
    width: 260px;
    min-height: 240px;
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .solution-hero {
    padding: 40px 0;
  }

  .solution-hero__inner {
    gap: 32px;
  }

  .solution-hero__desc {
    margin-bottom: 24px;
  }

  .solution-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .solution-hero__btn {
    width: 100%;
    justify-content: center;
  }

  .solution-hero__frame {
    border-radius: 16px;
  }

  .solution-outcomes {
    padding: 40px 0;
  }

  .solution-outcomes__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solution-platform {
    padding: 48px 0;
  }

  .solution-platform__stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .solution-advantage {
    padding: 40px 0;
  }

  .solution-advantage__grid {
    gap: 24px;
  }

  .solution-advantage__visual {
    min-height: 0;
    justify-content: flex-start;
  }

  .solution-advantage__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .solution-advantage__btn {
    width: 100%;
    justify-content: center;
  }

  .solution-outcome-card {
    padding: 24px 20px;
  }

  .solution-outcome-card__title {
    font-size: 20px;
  }
}
