.product-page {
  background:
    radial-gradient(circle at 90% 3%, rgba(241, 191, 66, 0.22), transparent 28rem),
    linear-gradient(180deg, #fffdf7 0%, #fff8e8 36%, #fff 100%);
}

.pay-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: 100svh;
  padding: 8.5rem clamp(1.1rem, 5vw, 4.5rem) 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

.pay-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96), rgba(255, 248, 232, 0.86) 46%, rgba(255, 248, 232, 0.44)),
    url("../images/mobilepay/MainBanner_BG.jpg") center / cover no-repeat;
}

.pay-hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.pay-hero-device {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(440px, 100%);
}

.pay-hero-device::before {
  content: "";
  position: absolute;
  inset: 9% 4% 4%;
  z-index: -1;
  border-radius: 42%;
  background: rgba(217, 149, 24, 0.2);
  filter: blur(36px);
}

.pay-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--container-max), calc(100% - 2.2rem));
  margin: -2.2rem auto 0;
  border: 1px solid rgba(234, 219, 184, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 55px rgba(157, 106, 19, 0.12);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.pay-strip div {
  padding: 1.35rem;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.pay-strip div::after {
  content: var(--strip-icon, "verified");
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: "Material Symbols Outlined";
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 230, 179, 0.4);
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  pointer-events: none;
}

.pay-strip div > * {
  position: relative;
  z-index: 1;
}

.pay-strip div:last-child {
  border-right: 0;
}

.pay-strip strong {
  display: block;
  color: var(--yellow-dark);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  line-height: 1.5;
}

.pay-strip span:not(.stat-icon) {
  color: var(--muted);
}

.pay-section {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.pay-section.warm {
  max-width: none;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.92), rgba(255, 255, 255, 0.94)),
    url("../images/section-pattern-gold.png") center / cover no-repeat,
    var(--soft);
}

.pay-section.warm > * {
  max-width: var(--container-max);
  margin-inline: auto;
}

.pay-section-heading {
  width: min(820px, 100%);
  text-align: center;
  margin: 0 auto 2rem auto;
}

.pay-section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.pay-section-heading.compact {
  margin-top: 3rem;
}

.pay-section-heading p:not(.section-kicker),
.pay-cta p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.04rem;
}

.showcase-image {
  margin: 0;
  padding: clamp(0.65rem, 2vw, 1.1rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(157, 106, 19, 0.08);
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.content-card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.content-card-grid article,
.advantage-layout article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(157, 106, 19, 0.08);
}

.content-card-grid article::after,
.advantage-layout article::after {
  content: var(--card-bg-icon, "payments");
  position: absolute;
  right: 0.2rem;
  bottom: 0.1rem;
  color: rgba(255, 230, 179, 0.62);
  font-family: "Material Symbols Outlined";
  font-size: clamp(5.2rem, 7vw, 7rem);
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  pointer-events: none;
}

.content-card-grid article > *,
.advantage-layout article > * {
  position: relative;
  z-index: 1;
}

.content-card-grid .material-symbols-outlined {
  display: none;
}

.advantage-layout .card-icon {
  display: none;
}

.content-card-grid p,
.advantage-layout p,
.step-list p,
.process-line {
  color: var(--muted);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(157, 106, 19, 0.08);
  line-height: 1.25;
}

.step-list li::after {
  content: "arrow_forward";
  position: absolute;
  top: 50%;
  right: -1.05rem;
  z-index: 2;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--yellow-dark);
  font-family: "Material Symbols Outlined";
  transform: translateY(-50%);
  box-shadow: 0 10px 22px rgba(157, 106, 19, 0.12);
  pointer-events: none;
}

.step-list li:last-child::after {
  content: none;
}

.step-list span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--yellow-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.4rem;
  font-weight: 800;
}

.step-list .process-step {
  display: inline-flex;
  gap: 8px;
}

.advantage-layout {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.2fr;
  gap: 1rem;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 0 0 2rem 0;
  padding: 0;
  list-style: none;
}

.process-line li {
  position: relative;
  display: grid;
  min-height: 56px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--yellow-dark);
  font-weight: 800;
  isolation: isolate;
}

.process-line li::after {
  content: "arrow_forward";
  position: absolute;
  top: 50%;
  right: -1.05rem;
  z-index: 2;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--yellow-dark);
  font-family: "Material Symbols Outlined";
  transform: translateY(-50%);
  box-shadow: 0 10px 22px rgba(157, 106, 19, 0.12);
  pointer-events: none;
}

.process-line li:last-child::after {
  content: none;
}

.showcase-image + .showcase-image {
  margin-top: 1rem;
}

.showcase-image img {
  width: 100%;
  border-radius: 18px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.showcase-grid .showcase-image + .showcase-image {
  margin-top: 0;
}

.more-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.more-service-grid article {
  min-height: 260px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  box-shadow: 0 16px 42px rgba(157, 106, 19, 0.08);
}

.more-service-grid img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin: 0 auto 1.2rem;
}

.more-service-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.partners {
  background: #fff;
}

.partner-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--soft);
}

.partner-panel h3 {
  margin-top: 1.5rem;
}

.partner-panel h3:first-child {
  margin-top: 0;
}

.logo-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-list.bank {
  grid-template-columns: repeat(3, 1fr);
}

.logo-list li {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.logo-list img {
  max-height: 46px;
  object-fit: contain;
}

.pay-cta {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.1rem, 5vw, 4.5rem);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.96), rgba(255, 250, 240, 0.76)),
    url("../images/merchant-bg-gold.png") center / cover no-repeat,
    #fffaf0;
}

.pay-cta__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.pay-cta-image {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.pay-cta-image img {
  width: 100%;
  border-radius: 18px;
}

@media (max-width: 980px) {
  .pay-hero,
  .pay-cta__inner {
    grid-template-columns: 1fr;
  }

  .pay-hero-device {
    width: min(360px, 80%);
  }

  .showcase-grid,
  .more-service-grid,
  .content-card-grid,
  .content-card-grid.three,
  .step-list,
  .advantage-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-list li:nth-child(2n)::after {
    content: none;
  }
}

@media (max-width: 680px) {
  .pay-hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .pay-hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(255, 248, 232, 0.88)),
      url("../images/mobilepay/MainBanner_BG.jpg") center / cover no-repeat;
  }

  .more-service-grid,
  .content-card-grid,
  .content-card-grid.three,
  .advantage-layout {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .showcase-grid,
  .step-list,
  .process-line {
    grid-template-columns: 1fr;
  }

  .logo-list,
  .logo-list.bank {
    grid-template-columns: repeat(2, 1fr);
  }

  .pay-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .pay-strip div:nth-child(2n) {
    border-right: 0;
  }

  .pay-strip div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .step-list,
  .process-line {
    gap: 15px;
  }

  .step-list li:nth-child(n)::after,
  .process-line li:nth-child(n)::after {
    content: "arrow_downward";
    top: auto;
    right: auto;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .step-list li:last-child::after,
  .process-line li:last-child::after {
    content: none;
  }
}
