.cpl-payment-page {
  min-height: 720px;
  background: var(--cpl-payment-bg);
  color: var(--cpl-payment-text);
}

.cpl-payment-page *,
.cpl-payment-page *::before,
.cpl-payment-page *::after {
  box-sizing: border-box;
}

.cpl-payment-page .container {
  width: min(var(--cpl-payment-container), calc(100% - 80px));
  margin: 0 auto;
}

.cpl-payment-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cpl-payment-hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(15, 128, 247, 0.16), transparent 30%),
    linear-gradient(105deg, #ffffff 0%, #f9fcff 49%, #eef7ff 100%);
}

.cpl-payment-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -36% 52%;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 122, 240, 0.13), transparent 66%);
  pointer-events: none;
}

.cpl-payment-hero__inner {
  position: relative;
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(440px, 0.42fr);
  gap: 72px;
  align-items: center;
}

.cpl-payment-hero__content {
  padding: 58px 0 64px;
}

.cpl-payment-hero h1 {
  margin: 0;
  color: var(--cpl-payment-ink);
  font-size: 44px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.cpl-payment-hero p {
  max-width: 740px;
  margin: 28px 0 0;
  color: var(--cpl-payment-text);
  font-size: 18px;
  line-height: 1.6;
}

.cpl-payment-hero__visual {
  margin: 0;
  justify-self: end;
  width: min(520px, 100%);
}

.cpl-payment-illustration {
  position: relative;
  min-height: 275px;
  isolation: isolate;
}

.cpl-payment-illustration::before {
  content: "";
  position: absolute;
  left: 0;
  right: 2%;
  bottom: 6px;
  height: 88px;
  border: 2px solid rgba(63, 135, 228, 0.3);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(212, 232, 255, 0.58));
  box-shadow: 0 20px 38px rgba(0, 73, 174, 0.12);
  transform: perspective(420px) rotateX(58deg);
  z-index: 1;
}

.cpl-payment-illustration__globe {
  position: absolute;
  inset: 8px 10px auto auto;
  width: 255px;
  height: 156px;
  opacity: 0.34;
  background:
    radial-gradient(circle at 34% 38%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 48% 27%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 59% 45%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 31%, rgba(255, 255, 255, 0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 54%, rgba(255, 255, 255, 0.75) 0 2px, transparent 3px);
  border-radius: 48% 52% 45% 55%;
  filter: blur(0.1px);
  z-index: 0;
}

.cpl-payment-illustration__shield {
  position: absolute;
  left: 10px;
  top: 70px;
  width: 122px;
  height: 142px;
  border: 7px solid var(--cpl-payment-blue);
  border-radius: 58px 58px 68px 68px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(213, 235, 255, 0.94));
  clip-path: polygon(50% 0, 100% 22%, 90% 78%, 50% 100%, 10% 78%, 0 22%);
  box-shadow: 0 14px 24px rgba(0, 89, 214, 0.18);
  z-index: 4;
}

.cpl-payment-illustration__shield::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 58px;
  width: 48px;
  height: 38px;
  border-radius: 7px;
  background: linear-gradient(180deg, #31a2ff, #0063dc);
  box-shadow: inset 0 -4px 0 rgba(0, 43, 139, 0.16);
}

.cpl-payment-illustration__shield::after {
  content: "";
  position: absolute;
  left: 48px;
  top: 34px;
  width: 27px;
  height: 38px;
  border: 7px solid var(--cpl-payment-blue);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.cpl-payment-illustration__card {
  position: absolute;
  right: 48px;
  top: 36px;
  width: 230px;
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1989ff, #0046d8 72%);
  box-shadow: 0 18px 34px rgba(0, 73, 174, 0.24);
  transform: rotate(1deg);
  z-index: 3;
}

.cpl-payment-illustration__card::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 42px;
  width: 66px;
  height: 10px;
  border-radius: 999px;
  background: rgba(153, 209, 255, 0.78);
}

.cpl-payment-illustration__card::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 36px;
  width: 50px;
  height: 36px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0.68) 0),
    rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.cpl-payment-illustration__invoice {
  position: absolute;
  right: 94px;
  top: 156px;
  width: 164px;
  height: 103px;
  border-radius: 5px 5px 11px 11px;
  background:
    linear-gradient(var(--cpl-payment-blue) 0 0) 32px 45px / 84px 4px no-repeat,
    linear-gradient(rgba(13, 100, 225, 0.35) 0 0) 32px 62px / 102px 4px no-repeat,
    linear-gradient(rgba(13, 100, 225, 0.24) 0 0) 32px 78px / 76px 4px no-repeat,
    #ffffff;
  box-shadow: 0 13px 22px rgba(43, 105, 184, 0.16);
  transform: rotate(12deg);
  z-index: 5;
}

.cpl-payment-illustration__invoice::before {
  content: "INVOICE";
  position: absolute;
  left: 30px;
  top: 17px;
  color: var(--cpl-payment-blue);
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1px;
}

.cpl-payment-illustration__check {
  position: absolute;
  right: 222px;
  bottom: 30px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1e9bff, #005ee2);
  box-shadow: 0 13px 22px rgba(0, 82, 203, 0.24);
  z-index: 6;
}

.cpl-payment-illustration__check::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 27px;
  width: 32px;
  height: 18px;
  border-left: 7px solid #fff;
  border-bottom: 7px solid #fff;
  transform: rotate(-45deg);
}

.cpl-payment-section-heading {
  color: var(--cpl-payment-text);
}

.cpl-payment-section-heading--center {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.cpl-payment-section-heading h2 {
  margin: 0;
  color: var(--cpl-payment-ink);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.cpl-payment-section-heading p {
  margin: 16px 0 0;
  color: var(--cpl-payment-text);
  font-size: 16px;
  line-height: 1.6;
}

.cpl-payment-options {
  padding: var(--cpl-payment-section-y) 0 0;
}

.cpl-payment-options__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.cpl-payment-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-height: 300px;
  padding: 44px 28px 38px;
  border: 2px solid var(--cpl-payment-border);
  border-radius: var(--cpl-payment-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(39, 91, 164, 0.03);
}

.cpl-payment-card__icon {
  justify-self: center;
  margin-top: 2px;
}

.cpl-payment-card h3 {
  margin: 0;
  color: var(--cpl-payment-ink);
  font-size: 20px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: 0;
}

.cpl-payment-card p {
  margin: 34px 0 0;
  color: var(--cpl-payment-text);
  font-size: 14px;
  line-height: 1.75;
}

.cpl-payment-card--bank p,
.cpl-payment-card--calendar p {
  margin-top: 26px;
}

.cpl-payment-icon {
  position: relative;
  display: block;
  width: 86px;
  height: 86px;
  color: var(--cpl-payment-blue);
}

img.cpl-payment-icon {
  object-fit: contain;
}

img.cpl-payment-icon::before,
img.cpl-payment-icon::after {
  content: none;
}

.cpl-payment-icon--paypal::before,
.cpl-payment-icon--paypal::after {
  content: "";
  position: absolute;
  border-radius: 14px 32px 32px 14px;
  transform: skew(-8deg);
}

.cpl-payment-icon--paypal::before {
  left: 8px;
  top: 4px;
  width: 52px;
  height: 84px;
  background: #003087;
}

.cpl-payment-icon--paypal::after {
  left: 30px;
  top: 31px;
  width: 50px;
  height: 58px;
  background: var(--cpl-payment-cyan);
  mix-blend-mode: multiply;
}

.cpl-payment-icon--bank::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 30px;
  width: 78px;
  height: 49px;
  border-top: 9px solid currentColor;
  border-bottom: 9px solid currentColor;
  background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 22px);
}

.cpl-payment-icon--bank::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 80px;
  height: 28px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  box-shadow: 0 73px 0 -64px currentColor;
}

.cpl-payment-icon--calendar {
  border-radius: 10px;
  background: currentColor;
}

.cpl-payment-icon--calendar::before {
  content: "";
  position: absolute;
  inset: 23px 13px 13px;
  border-radius: 4px;
  background: #fff;
}

.cpl-payment-icon--calendar::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 50px;
  width: 30px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    -24px -40px 0 -2px currentColor,
    24px -40px 0 -2px currentColor;
}

img.cpl-payment-icon {
  border-radius: 0;
  background: transparent;
}

.cpl-payment-net-terms {
  padding: 40px 0 0;
}

.cpl-payment-net-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  min-height: 300px;
  padding: 36px 38px;
  border-radius: var(--cpl-payment-radius-lg);
  background:
    linear-gradient(90deg, rgba(241, 248, 255, 0.96), rgba(247, 251, 255, 0.96)),
    var(--cpl-payment-panel-bg);
  box-shadow: var(--cpl-payment-shadow);
}

.cpl-payment-net-panel__copy {
  padding-right: 54px;
  border-right: 2px solid #d8e6f7;
}

.cpl-payment-net-panel h2 {
  margin: 0;
  color: var(--cpl-payment-ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.cpl-payment-net-panel__copy p {
  margin: 24px 0 0;
  color: var(--cpl-payment-text);
  font-size: 14px;
  line-height: 1.68;
}

.cpl-payment-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  margin: 0;
  padding: 0 0 0 64px;
  list-style: none;
}

.cpl-payment-process__step {
  position: relative;
  min-width: 0;
  text-align: center;
}

.cpl-payment-process__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50px;
  left: calc(50% + 54px);
  width: calc(100% - 60px);
  height: 2px;
  background: var(--cpl-payment-blue);
  opacity: 0.75;
}

.cpl-payment-process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 43px;
  right: -32px;
  width: 15px;
  height: 15px;
  border-right: 3px solid var(--cpl-payment-blue);
  border-bottom: 3px solid var(--cpl-payment-blue);
  transform: rotate(-45deg);
}

.cpl-payment-process__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  margin: 0 auto 28px;
  color: var(--cpl-payment-blue);
}

img.cpl-payment-process__icon {
  display: block;
  object-fit: contain;
}

img.cpl-payment-process__icon::before,
img.cpl-payment-process__icon::after {
  content: none;
}

.cpl-payment-process__icon::before,
.cpl-payment-process__icon::after {
  content: "";
  display: block;
}

.cpl-payment-process__icon--document::before {
  width: 56px;
  height: 72px;
  border: 4px solid rgba(8, 116, 244, 0.62);
  border-radius: 7px;
  background:
    linear-gradient(currentColor 0 0) 13px 16px / 30px 4px no-repeat,
    linear-gradient(currentColor 0 0) 13px 31px / 30px 4px no-repeat,
    linear-gradient(currentColor 0 0) 13px 46px / 30px 4px no-repeat,
    #fff;
}

.cpl-payment-process__icon--document::after {
  position: absolute;
  right: 13px;
  bottom: 8px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 6px 14px rgba(8, 116, 244, 0.22);
}

.cpl-payment-process__icon--review::before {
  width: 72px;
  height: 72px;
  border-radius: 999px 999px 22px 22px;
  background:
    radial-gradient(circle at 50% 24%, currentColor 0 20px, transparent 21px),
    linear-gradient(currentColor 0 0) 50% 72% / 72px 35px no-repeat;
}

.cpl-payment-process__icon--review::after {
  position: absolute;
  right: 10px;
  bottom: 4px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #6ca9ff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9);
}

.cpl-payment-process__icon--approval::before {
  width: 62px;
  height: 70px;
  border: 5px solid rgba(8, 116, 244, 0.66);
  border-radius: 8px;
  box-shadow: inset 0 18px 0 -11px rgba(8, 116, 244, 0.26);
}

.cpl-payment-process__icon--approval::after {
  position: absolute;
  left: 32px;
  top: 35px;
  width: 35px;
  height: 35px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 7px 14px rgba(8, 116, 244, 0.22);
}

.cpl-payment-process h3 {
  margin: 0;
  color: var(--cpl-payment-blue-strong);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.cpl-payment-process p {
  max-width: 210px;
  margin: 18px auto 0;
  color: var(--cpl-payment-text);
  font-size: 14px;
  line-height: 1.5;
}

.cpl-payment-faq {
  padding: 44px 0 66px;
}

.cpl-payment-faq .cpl-payment-section-heading h2 {
  font-size: 26px;
}

.cpl-payment-faq__list {
  margin-top: 8px;
  overflow: hidden;
  border: 2px solid var(--cpl-payment-border);
  border-radius: var(--cpl-payment-radius);
  background: #fff;
}

.cpl-payment-faq__item {
  margin: 0;
  color: var(--cpl-payment-text);
}

.cpl-payment-faq__item + .cpl-payment-faq__item {
  border-top: 2px solid var(--cpl-payment-border);
}

.cpl-payment-faq__item summary {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  gap: 34px;
  align-items: center;
  padding: 28px 52px 8px 30px;
  color: var(--cpl-payment-ink);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0;
  list-style: none;
  cursor: pointer;
}

.cpl-payment-faq__item summary::-webkit-details-marker {
  display: none;
}

.cpl-payment-faq__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--cpl-payment-blue);
  color: #fff;
  box-shadow: 0 8px 16px rgba(8, 116, 244, 0.18);
}

.cpl-payment-faq__icon::before {
  content: "?";
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}

.cpl-payment-faq__chevron {
  width: 16px;
  height: 16px;
  border-top: 4px solid var(--cpl-payment-ink);
  border-left: 4px solid var(--cpl-payment-ink);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.cpl-payment-faq__item:not([open]) .cpl-payment-faq__chevron {
  transform: rotate(225deg);
}

.cpl-payment-faq__item p {
  margin: 0;
  padding: 0 92px 26px 110px;
  color: var(--cpl-payment-text);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .cpl-payment-hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cpl-payment-hero__visual {
    justify-self: center;
    margin-bottom: 26px;
  }

  .cpl-payment-hero h1 {
    font-size: 44px;
  }

  .cpl-payment-options__grid,
  .cpl-payment-net-panel {
    grid-template-columns: 1fr;
  }

  .cpl-payment-net-panel__copy {
    padding-right: 0;
    padding-bottom: 34px;
    border-right: 0;
    border-bottom: 2px solid #d8e6f7;
  }

  .cpl-payment-process {
    padding: 36px 0 0;
  }
}

@media (max-width: 760px) {
  .cpl-payment-page .container {
    width: min(var(--cpl-payment-container), calc(100% - 28px));
  }

  .cpl-payment-hero__inner {
    min-height: auto;
  }

  .cpl-payment-hero__content {
    padding: 42px 0 18px;
  }

  .cpl-payment-hero h1 {
    font-size: 42px;
  }

  .cpl-payment-hero p,
  .cpl-payment-section-heading p {
    font-size: 16px;
  }

  .cpl-payment-hero__visual {
    width: 100%;
  }

  .cpl-payment-illustration {
    transform: scale(0.86);
    transform-origin: center top;
    min-height: 240px;
  }

  .cpl-payment-section-heading h2 {
    font-size: 28px;
  }

  .cpl-payment-faq .cpl-payment-section-heading h2 {
    font-size: 26px;
  }

  .cpl-payment-card {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 28px 22px;
    text-align: center;
  }

  .cpl-payment-card p,
  .cpl-payment-card--bank p,
  .cpl-payment-card--calendar p {
    margin-top: 18px;
  }

  .cpl-payment-net-panel {
    padding: 26px 20px;
  }

  .cpl-payment-net-panel h2 {
    font-size: 20px;
  }

  .cpl-payment-process {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cpl-payment-process__step::before,
  .cpl-payment-process__step::after {
    display: none;
  }

  .cpl-payment-faq__item summary {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 16px;
    padding: 22px 18px 8px;
    font-size: 18px;
  }

  .cpl-payment-faq__item p {
    padding: 0 18px 22px 72px;
    font-size: 12px;
  }
}
