/* Hero section */
.product-hero-wrapper {
  margin-top: -90px;
  padding-top: 225px;
  position: relative;
  background: var(--ivory);
  overflow: hidden;
  margin-bottom: 120px;
  @media (max-width: 1279px) {
    padding-top: 186px;
    margin-top: -72px;
  }
  @media (max-width: 991px) {
    margin-bottom: 90px;
  }
  @media (max-width: 449px) {
    padding-top: 176px;
    margin-bottom: 80px;
  }
}

.product-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  @media (max-width: 991px) {
    max-width: 100%;
    width: 100%;
    gap: 24px;
  }
}

.product-bottom-gradient {
  background: linear-gradient(
    180deg,
    rgba(254, 253, 255, 0) 0.2%,
    #fefdff 87.81%
  );
  width: 100%;
  height: 80px;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.product-hero-image {
  position: relative;
  z-index: 1;
  margin-top: -60px;
  @media (max-width: 1024px) {
    margin-top: -40px;
  }
  @media (max-width: 991px) {
    margin-top: -18px;
  }
  @media (max-width: 767px) {
    margin-top: 20px;
  }
}

/* feature section */
.product-feature-section {
  padding: 0 0 120px;
  background-color: var(--white);
  @media (max-width: 991px) {
    padding: 0 0 90px;
  }
  @media (max-width: 449px) {
    padding: 0 0 80px;
  }
}

.product-feature-top-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  @media (max-width: 1024px) {
    gap: 24px;
  }
}

.product-feature-title-content {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  width: 100%;
  @media (max-width: 767px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* how it works section */
.product-how-it-works-section {
  padding: 120px 0;
  background-color: var(--black);
  @media (max-width: 991px) {
    padding: 90px 0;
  }
  @media (max-width: 449px) {
    padding: 80px 0;
  }
}

.product-how-it-works-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
  @media (max-width: 991px) {
    gap: 40px;
  }
}

.product-how-it-works-bottom-section-wrapper {
  display: flex;
  justify-content: flex-end;
}

.product-how-it-works-bottom-section {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  flex-direction: column;
  max-width: 1000px;
  width: 100%;
  @media (max-width: 991px) {
    gap: 32px;
  }
  @media (max-width: 449px) {
    gap: 24px;
  }
}

.product-how-it-works-bottom-section-title p {
  margin: 0;
  color: var(--white);
  font: var(--heading-h7);
}

.product-how-it-works-bottom-section-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 72px;
  row-gap: 80px;
  @media (max-width: 991px) {
    gap: 24px;
  }
  @media (max-width: 449px) {
    gap: 16px;
    grid-template-columns: auto;
  }
}

.product-how-it-works-bottom-section-item {
  padding-top: 40px;
  border-top: 1px solid var(--dark-stroke);
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
  justify-content: space-between;
  @media (max-width: 991px) {
    padding-top: 24px;
    gap: 16px;
  }
  @media (max-width: 449px) {
    gap: 12px;
    padding-top: 16px;
  }
}

.product-how-it-works-bottom-section-items.has-footer
  .product-how-it-works-bottom-section-item:nth-last-child(2),
.product-how-it-works-bottom-section-items.has-footer
  .product-how-it-works-bottom-section-item:last-child {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-stroke);
  @media (max-width: 991px) {
    padding-bottom: 24px;
  }
  @media (max-width: 449px) {
    padding-bottom: 16px;
  }
}
.product-how-it-works-bottom-section-items.has-footer
  .product-how-it-works-bottom-section-item:nth-last-child(2) {
  @media (max-width: 686px) {
    padding-bottom: 0px;
    border-bottom: none;
  }
}

.product-how-it-works-bottom-section-footer p {
  font: var(--body-b1);
  margin: 0;
  color: var(--soft-grey);
}

.product-how-it-works-top-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.number {
  font: var(--body-b3);
  color: var(--orange);
  margin: 0;
}

.product-how-it-works-card-title {
  font: var(--heading-h5);
  color: var(--white);
  margin: 0;
}

.product-how-it-works-card-description {
  font: var(--body-b1);
  color: var(--soft-grey);
  margin: 0;
}

/* product category section css */
.product-category-section {
  padding: 120px 0;
  background-color: var(--white);
  @media (max-width: 991px) {
    padding: 90px 0;
  }
  @media (max-width: 449px) {
    padding: 80px 0;
  }
}

.product-category-wrapper {
  display: flex;
  flex-direction: column;
  gap: 64px;
  @media (max-width: 991px) {
    gap: 40px;
  }
}

.product-category-card-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(418px, 1fr));
  gap: 24px;
  @media (max-width: 1024px) {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  @media (max-width: 991px) {
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(304px, 1fr));
  }
  @media (max-width: 767px) {
    grid-template-columns: auto;
  }
}

/* persona routing section css */
.persona-routing-section {
  padding: 120px 0;
  background-color: var(--ivory);
  overflow: hidden;
  @media (max-width: 991px) {
    padding: 90px 0;
  }
  @media (max-width: 449px) {
    padding: 80px 0;
  }
}

.persona-routing-section-wrapper {
  display: flex;
  flex-direction: column;
  gap: 64px;
  @media (max-width: 991px) {
    gap: 40px;
  }
}

.persona-routing-section-top-content {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  justify-content: space-between;
  @media (max-width: 991px) {
    flex-direction: column;
    align-items: flex-start;
  }
}

.persona-routing-section-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.persona-routing-card-section {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  transition: transform 0.4s ease;
  will-change: transform;
  @media (max-width: 991px) {
    gap: 20px;
  }
}

.persona-routing-slider-button {
  display: flex;
  gap: 6px;
  justify-content: end;
}

.slider-arrow-left,
.slider-arrow-right {
  cursor: pointer;
  background-color: transparent;
  border: 1px solid var(--black);
  padding: 5px 19px;
  border-radius: 24px;
  width: max-content;
  transition: all 0.3s ease-in-out;
  display: flex;
}

.slider-arrow-left svg path,
.slider-arrow-right svg path {
  stroke: var(--black);
  transition: stroke 0.3s ease-in-out;
}

.slider-arrow-left:focus,
.slider-arrow-right:focus {
  background-color: transparent;
  border: 1px solid var(--black);
  svg path {
    stroke: var(--black);
  }
}

.slider-arrow-left:hover,
.slider-arrow-right:hover {
  background-color: var(--black);
  border: 1px solid var(--black);
  svg path {
    stroke: var(--white);
  }
}

.slider-arrow-left:disabled,
.slider-arrow-right:disabled {
  background-color: transparent;
  border: 1px solid var(--light-stroke);
  cursor: not-allowed;
  svg path {
    stroke: var(--light-stroke);
  }
}

.persona-routing-card-section .solution-detail-card-large {
  min-width: 416px;
  @media (max-width: 991px) {
    min-width: 350px;
  }
  @media (max-width: 449px) {
    min-width: 100%;
  }
}

/* integration section css */

.product-integration-section {
  background-color: var(--ivory);
  padding: 120px 0 305px;
  position: relative;
  overflow: hidden;
  @media (max-width: 991px) {
    padding: 90px 0 224px;
  }
  @media (max-width: 449px) {
    padding: 64px 0 142px;
  }
}

.product-integration-section-wrapper {
  display: flex;
  flex-direction: column;
}

.integration-image {
  width: 100%;
  max-width: 1296px;
  min-width: 1024px;
  height: auto;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 48px;
  @media (max-width: 991px) {
    min-width: 720px;
    bottom: 20px;
  }
  @media (max-width: 768px) {
    bottom: 48px;
  }
  @media (max-width: 550px) {
    min-width: 100%;
  }
  @media (max-width: 449px) {
    bottom: 20px;
  }
  @media (max-width: 416px) {
    bottom: 38px;
  }
}

.integration-desktop-img {
  @media (max-width: 991px) {
    display: none;
  }
}

.integration-tablet-img {
  display: none;
  @media (max-width: 991px) {
    display: flex;
  }
  @media (max-width: 550px) {
    display: none;
  }
}

.integration-mobile-img {
  display: none;
  @media (max-width: 550px) {
    display: flex;
  }
}
