@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

* {
  font-family: "Plus Jakarta Sans", sans-serif;
  box-sizing: border-box;
  outline: none;
}

.banner {
  padding: 100px 0px;
}

.banner-heading {
  font-size: 60px;
  color: #38312b;
  font-weight: 600;
  line-height: 70px;
  letter-spacing: -4%;
}

.banner-para {
  font-size: 25px;
  color: #423c37;
  margin-bottom: 50px;
  line-height: 35px;
  letter-spacing: -2%;
}

.banner-btn {
  background:
    linear-gradient(0deg, #931bf7, #931bf7),
    radial-gradient(
      62.56% 62.56% at 28.14% -10.42%,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  box-shadow: 0px 18.91px 15.14px 0px #00000022;
  border-radius: 15px;
  padding: 15px 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.banner-btn:hover {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
}

.overview {
  background-image: url("../img/dynamics-365-customer-service-package/overview-bg.png");
  background-position-x: left;
  background-position-y: top;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0px;
}

.section-heading {
  font-size: 50px;
  color: #38312b;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -4%;
}

.section-heading .heading-underline {
  border-bottom: 3px solid #9747ff;
  padding-bottom: 4px;
}

.section-para {
  font-size: 18px;
  color: #303030;
  font-weight: 300;
  margin-bottom: 0px;
  line-height: 25px;
  letter-spacing: -2%;
}

.fixed-scope-benefits {
  padding: 100px 0px;
}

.scope-benefits-container {
  background-color: #FBF4FF;
  border: 1px solid #9747ff;
  padding: 80px 50px;
  border-radius: 20px;
}

.benefits-heading {
  font-size: 25px;
  color: #9747ff;
  text-transform: uppercase;
  line-height: 35px;
  margin-bottom: 16px;
}

.benefits-intro {
  margin-bottom: 50px;
  font-size: 18px;
  color: #423c37;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -2%;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.benefit-card {
  padding: 40px 32px;
  border-top: 1px solid #9747ff;
  border-left: 1px solid #9747ff;
  background-color: #fff;
}

.benefit-card:nth-child(3),
.benefit-card:nth-child(4),
.benefit-card:nth-child(5),
.benefit-card:nth-child(6) {
  border-bottom: 1px solid #9747ff;
}

.benefit-card:nth-child(4),
.benefit-card:nth-child(6) {
  border-right: 1px solid #9747ff;
}

.benefit-card:nth-child(1) {
  border-radius: 16px 0 0 0;
}

.benefit-card:nth-child(4) {
  border-radius: 0 16px 16px 0;
}

.benefit-card:nth-child(5) {
  border-radius: 0 0 0 16px;
}

.benefit-card:nth-child(6) {
  border-radius: 0 0 16px 0;
}

.benefit-icon {
  width: 47px;
  height: 53px;
  display: block;
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 20px;
  font-weight: 700;
  color: #38312b;
  line-height: 30px;
  margin-bottom: 15px;
  letter-spacing: -2%;
}

.benefit-text {
  font-size: 16px;
  font-weight: 400;
  color: #423c37;
  line-height: 25px;
  margin-bottom: 0;
  letter-spacing: -2%;
}

.container {
  max-width: 1820px;
}

@media (max-width: 1920px) {
  .container {
    max-width: 1600px;
  }
}

@media (max-width: 1700px) {
  .container {
    max-width: 1440px;
  }
}

@media (max-width: 1520px) {
  .container {
    max-width: 1250px;
  }
}

@media (max-width: 1320px) {
  .container {
    max-width: 1000px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid #9747ff;
    border-radius: 16px;
    overflow: hidden;
  }

  .benefit-card,
  .benefit-card:nth-child(1),
  .benefit-card:nth-child(3),
  .benefit-card:nth-child(4),
  .benefit-card:nth-child(5),
  .benefit-card:nth-child(6) {
    border: none;
    border-radius: 0;
    border-right: 1px solid #9747ff;
    border-bottom: 1px solid #9747ff;
  }

  .benefit-card:nth-child(2n) {
    border-right: none;
  }

  .benefit-card:nth-child(n + 5) {
    border-bottom: none;
  }
}

@media (max-width: 991px) {
  .mar-b {
    margin-bottom: 50px;
  }

  .banner-heading {
    font-size: clamp(34px, calc(60px * 100vw / 991px), 60px);
    line-height: clamp(40px, calc(70px * 100vw / 991px), 70px);
  }

  .banner-para {
    font-size: clamp(18px, calc(25px * 100vw / 991px), 25px);
    line-height: clamp(24px, calc(35px * 100vw / 991px), 35px);
  }

  .section-heading,
  .package-tiers-heading,
  .package-scope-heading,
  .features-heading,
  .timeline-title {
    font-size: clamp(28px, calc(50px * 100vw / 991px), 50px);
    line-height: clamp(34px, calc(60px * 100vw / 991px), 60px);
  }

  .package-consult-heading {
    font-size: clamp(26px, calc(42px * 100vw / 991px), 42px);
    line-height: clamp(32px, calc(52px * 100vw / 991px), 52px);
  }

  .package-consult-card {
    padding: 56px 40px;
  }

  .benefits-heading,
  .package-tiers-sub {
    font-size: clamp(16px, calc(25px * 100vw / 991px), 25px);
    line-height: clamp(22px, calc(35px * 100vw / 991px), 35px);
  }

  .benefit-title,
  .package-card-title {
    font-size: clamp(16px, calc(20px * 100vw / 991px), 20px);
    line-height: clamp(22px, calc(30px * 100vw / 991px), 30px);
  }

  .scope-title strong {
    font-size: clamp(22px, calc(36px * 100vw / 991px), 36px);
    line-height: 1;
  }

  .scope-value {
    font-size: clamp(26px, calc(42px * 100vw / 991px), 42px);
  }

  .timeline-package-title {
    font-size: clamp(16px, calc(22px * 100vw / 991px), 22px);
    line-height: clamp(22px, calc(32px * 100vw / 991px), 32px);
  }

  .fixed-scope-benefits,
  .overview,
  .banner {
    padding: 70px 0px;
  }
}

@media (max-width: 767px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    border: none;
    border-right: none;
    border-bottom: 1px solid #9747ff;
    border-radius: 0;
    padding: 32px 24px;
  }

  .benefit-card:nth-child(2n),
  .benefit-card:nth-child(4n),
  .benefit-card:nth-child(n + 5) {
    border-right: none;
    border-bottom: 1px solid #9747ff;
  }

  .benefit-card:last-child {
    border-bottom: none;
  }

  .benefits-intro {
    margin-bottom: 32px;
  }
}

@media (max-width: 576px) {
  .scope-benefits-container {
    padding: 50px 20px;
  }
}

#package-tiers,
#package-scope,
#package-features,
#package-timeline {
  scroll-margin-top: 190px;
}

.package-tiers {
  padding: 50px 0px 100px;
}

.package-tiers-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.package-tiers-heading {
  font-size: 50px;
  font-weight: 600;
  color: #38312b;
  line-height: 60px;
  letter-spacing: -4%;
  margin-bottom: 18px;
}

.package-tiers-sub {
  font-size: 25px;
  font-weight: 500;
  color: #9747ff;
  line-height: 35px;
  margin-bottom: 16px;
}

.package-tiers-copy {
  font-size: 18px;
  font-weight: 400;
  color: #423c37;
  line-height: 28px;
  margin-bottom: 0;
}

.package-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.package-card {
  border: 1px solid #9747ff;
  border-radius: 20px;
  background: #fff;
  padding: 25px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-height: 0;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.package-card.is-selected {
  background: linear-gradient(
    180deg,
    rgba(191, 81, 238, 0.72) -423.47%,
    #ffffff 88.93%
  );
}

.package-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.package-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #38312b;
  letter-spacing: -2%;
  line-height: 30px;
  margin: 0;
}

.package-radio {
  width: 22px;
  height: 22px;
  border: 2px solid #9747ff;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-top: 2px;
}

.package-card.is-selected .package-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9747ff;
}

.package-card-text {
  font-size: 16px;
  font-weight: 400;
  color: #423c37;
  line-height: 25px;
  letter-spacing: -2%;
  margin-bottom: 24px;
  flex: 1;
}

.package-view-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 1px solid #9747ff;
  border-radius: 12px;
  background: #fff;
  color: #9747ff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  line-height: 1;
}

.package-card.is-selected .package-view-btn {
  background:
    linear-gradient(0deg, #9747ff, #9747ff),
    radial-gradient(
      62.56% 62.56% at 28.14% -10.42%,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  color: #fff;
}

.package-view-btn:focus,
.package-card:focus {
  outline: none;
}

.package-scope {
  padding: 50px 0px 100px;
}

.package-scope-heading {
  text-align: center;
  font-size: 50px;
  font-weight: 600;
  color: #38312b;
  line-height: 60px;
  letter-spacing: -4%;
  margin-bottom: 50px;
}

.scope-card {
  border: 1px solid #9747ff;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.scope-header {
  background: #9747ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
}

.scope-title {
  margin: 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scope-title span {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.scope-title strong {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -2%;
  line-height: 1;
}

.scope-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scope-tab {
  background: transparent;
  border: 1px solid transparent;
  color: #fff;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.scope-tab.is-active {
  border-color: #fff;
  background: radial-gradient(
    62.56% 62.56% at 28.14% -10.42%,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.scope-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.scope-stat {
  padding: 36px 40px 32px;
  border-right: 1px solid #9747ff;
}

.scope-stat:last-child {
  border-right: none;
}

.scope-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #423c37;
  margin-bottom: 16px;
}

.scope-value {
  font-size: 42px;
  font-weight: 500;
  color: #38312b;
  line-height: 1.15;
  letter-spacing: -3%;
  margin: 0 0 36px;
}

.scope-slider {
  position: relative;
  height: 18px;
}

.scope-slider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(
    to right,
    #9747ff 0,
    #9747ff var(--value, 28%),
    #9747ff40 var(--value, 28%),
    #9747ff40 100%
  );
  transform: translateY(-50%);
}

.scope-slider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--value, 28%);
  width: 16px;
  height: 16px;
  border: 2px solid #9747ff;
  border-radius: 50%;
  background: #fff;
  transform: translate(-100%, -50%);
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 0 7px #9747ff;
  z-index: 1;
}

.package-features {
  padding: 50px 0 100px;
}

.features-heading {
  font-size: 50px;
  font-weight: 600;
  color: #38312b;
  line-height: 60px;
  letter-spacing: -4%;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  isolation: isolate;
}

.features-grid::before,
.features-grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 28px;
  border-radius: 32px;
  pointer-events: none;
}

.features-grid::before {
  background: #9747ff14;
  box-shadow:
    0px 9.67px 42.05px 0px #ffffff0d,
    0px 19.33px 47.61px 0px #983dfa0f inset;
  z-index: -1;
}

.features-grid::after {
  padding: 1px;
  background: linear-gradient(
    179.99deg,
    #9747ff -39.37%,
    #f3dffc 72.06%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}

.features-head-label,
.features-head-value,
.features-cell-label,
.features-cell-value {
  position: relative;
  z-index: 1;
  padding: 30px 25px;
  border-bottom: 1px solid #9747ff;
}

.features-head-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9747ff;
  padding-top: 34px;
  padding-bottom: 24px;
  border-bottom-color: #9747ff;
}

.features-head-value {
  font-size: 16px;
  font-weight: 600;
  color: #9747ff;
  text-align: center;
  padding-top: 34px;
  padding-bottom: 24px;
  padding-right: 52px;
  border-bottom-color: #9747ff;
}

.features-cell-label,
.features-cell-value {
  font-size: 16px;
  font-weight: 500;
  color: #222222;
  line-height: 1.45;
}

.features-cell-value {
  text-align: center;
  padding-right: 52px;
}

.features-cell-value.is-excluded {
  color: #9747ff;
}

.features-grid > :nth-last-child(-n + 2) {
  border-bottom: none;
  padding-bottom: 34px;
}

.package-timeline {
  padding: 50px 0 100px;
  background: linear-gradient(180deg, #fbf5ff 0%, #ead9ff 100%);
}

.package-consult {
  padding: 100px 0px;
}

.package-consult-card {
  background: linear-gradient(180deg, #fbf5ff 0%, #ead9ff 100%);
  border: 1px solid #9747ff;
  border-radius: 32px;
  text-align: center;
  padding: 72px 80px;
}

.package-consult-heading {
  font-size: 42px;
  font-weight: 600;
  color: #38312b;
  line-height: 52px;
  letter-spacing: -4%;
  max-width: 820px;
  margin: 0 auto 20px;
}

.package-consult-copy {
  font-size: 18px;
  font-weight: 400;
  color: #423c37;
  line-height: 28px;
  max-width: 820px;
  margin: 0 auto 32px;
}

.package-consult-card .banner-btn {
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 30px;
}

.timeline-panel {
  position: relative;
  min-height: 520px;
}

.timeline-heading {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.timeline-title {
  font-size: 50px;
  font-weight: 600;
  color: #38312b;
  line-height: 60px;
  letter-spacing: -4%;
  margin-bottom: 30px;
}

.timeline-package-title {
  font-size: 22px;
  font-weight: 500;
  color: #9747ff;
  line-height: 32px;
  margin: 0;
}

.timeline-chart {
  display: grid;
  grid-template-columns: repeat(var(--count, 8), minmax(0, 1fr));
  align-items: end;
  gap: 0 6px;
  min-height: 460px;
  padding: 72px 4px 0;
  position: relative;
  --pill-height: 30px;
  --col-gap: 6px;
}

.timeline-chart::before {
  content: "";
  position: absolute;
  left: calc(
    (100% - (var(--count, 8) - 1) * var(--col-gap)) / var(--count, 8) / 2
  );
  right: calc(
    (100% - (var(--count, 8) - 1) * var(--col-gap)) / var(--count, 8) / 2
  );
  bottom: calc(var(--pill-height) / 2);
  height: 0.92px;
  background-image: repeating-linear-gradient(
    to right,
    #9747ff 0 6px,
    transparent 6px 12px
  );
  transform: translateY(50%);
  z-index: 0;
}

.timeline-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.timeline-label {
  text-align: center;
  margin-bottom: 10px;
  max-width: 110px;
}

.timeline-label strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #423c37;
  line-height: 1.25;
}

.timeline-label span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #423c37;
  line-height: 1.3;
  margin-top: 2px;
}

.timeline-stem {
  width: 2px;
  background: linear-gradient(
    180deg,
    #9747ff 0%,
    rgba(255, 255, 255, 0) 100%
  );
  position: relative;
  margin-bottom: 10px;
}

.timeline-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #9747ff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-pill {
  width: 78px;
  max-width: 88%;
  height: var(--pill-height);
  border-radius: 999px;
  background: #d2b0ff;
  border: 1px solid #d1adff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 5px 0 10px;
  position: relative;
  z-index: 1;
}

.timeline-pill-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-pill-icon img {
  width: 14px;
  height: 14px;
  display: block;
}

@media (max-width: 1320px) {
  .scope-header,
  .scope-stat {
    padding-left: 28px;
    padding-right: 28px;
  }

  .timeline-heading {
    left: 0;
  }

  .timeline-pill {
    width: 58px;
  }
}

@media (max-width: 991px) {
  .package-cards {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .scope-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
  }

  .scope-stats {
    grid-template-columns: 1fr;
  }

  .scope-stat {
    border-right: none;
    border-bottom: 1px solid #9747ff;
    padding: 28px 24px;
  }

  .scope-stat:last-child {
    border-bottom: none;
  }

  .scope-value {
    margin-bottom: 24px;
  }

  .features-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr 1fr;
    margin: 0;
  }

  .features-head-value,
  .features-cell-value {
    padding-right: 40px;
  }

  .timeline-heading {
    position: static;
    margin-bottom: 24px;
    left: auto;
    top: auto;
  }

  .timeline-panel {
    min-height: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .timeline-chart {
    min-width: 760px;
    min-height: 0;
    padding-top: 8px;
  }
}

@media (max-width: 767px) {
  .package-tiers,
  .package-scope,
  .package-features,
  .package-consult {
    padding-left: 0;
    padding-right: 0;
  }

  .package-card {
    min-height: 0;
    padding: 24px;
  }

  .package-consult-card {
    padding: 40px 24px;
    border-radius: 24px;
  }

  .scope-tabs {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .scope-tab {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
  }

  .package-tiers-copy {
    font-size: 16px;
  }

  .features-head-label,
  .features-head-value,
  .features-cell-label,
  .features-cell-value {
    padding: 14px 16px;
    font-size: 14px;
  }

  .features-head-value,
  .features-cell-value {
    padding-right: 28px;
  }

  .features-grid::before,
  .features-grid::after {
    left: 50%;
    right: 16px;
    border-radius: 20px;
  }

  .timeline-label {
    max-width: 84px;
  }

  .timeline-label strong {
    font-size: 11px;
  }

  .timeline-label span {
    font-size: 10px;
  }

  .timeline-chart {
    --pill-height: 24px;
  }

  .timeline-pill {
    width: 48px;
    padding: 0 3px 0 6px;
  }

  .timeline-pill-icon {
    width: 18px;
    height: 18px;
  }

  .timeline-pill-icon img {
    width: 12px;
    height: 12px;
  }
}
