.merchant-hero {
  background:
    radial-gradient(circle at 72% 18%, rgba(66,59,140,0.20), transparent 30%),
    radial-gradient(circle at 18% 72%, rgba(30,160,255,0.12), transparent 32%),
    linear-gradient(110deg, #f6f4ff 0%, #ffffff 48%, #eef8ff 100%);
}

.loader-wrapper,
.loader,
.loder-section {
  display: none !important;
}

#pain.about-section {
  padding: 112px 0 118px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 75%, rgba(66,59,140,0.1), transparent 34%),
    linear-gradient(180deg, #f7f5ff 0%, #ffffff 100%);
}

#pain .section-title.problem-title {
  max-width: 1000px;
  margin: 0 auto 58px;
}

#pain .section-title h1 {
  line-height: 1.16;
  font-size: 48px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

#pain .section-title h4 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: auto;
  color: var(--fpx-brand);
}

#pain .section-title h4:before,
#pain .section-title h4:after {
  content: "";
  position: static;
  display: inline-block;
  width: 46px;
  height: 2px;
  background: var(--fpx-brand);
  transform: none;
}

#pain p.desc-one {
  width: 100%;
  max-width: 820px;
  color: #6f7685;
  line-height: 1.85;
  font-size: 18px;
  margin-left: auto;
  margin-right: auto;
}

.merchant-hero-stage {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merchant-browser-card {
  width: min(430px, 88vw);
  border-radius: 28px;
  padding: 26px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(66,59,140,0.12);
  box-shadow: 0 30px 80px rgba(24,22,63,0.16);
  backdrop-filter: blur(18px);
}

.browser-dot-row {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.browser-dot-row span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(66,59,140,0.20);
}

.browser-dot-row span:first-child {
  background: #ff7d7d;
}

.browser-dot-row span:nth-child(2) {
  background: #ffc857;
}

.browser-dot-row span:nth-child(3) {
  background: #65d08d;
}

.browser-title {
  color: var(--fpx-brand-dark);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 22px;
}

.invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: rgba(66,59,140,0.06);
  color: var(--fpx-brand-dark);
}

.invoice-row strong {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.invoice-row span {
  color: var(--fpx-brand);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.browser-action {
  margin-top: 20px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  background: var(--fpx-brand);
  box-shadow: 0 16px 34px rgba(66,59,140,0.22);
}

.merchant-phone-card {
  position: absolute;
  right: 0;
  bottom: 54px;
  width: 220px;
  padding: 24px 20px;
  border-radius: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(66,59,140,0.10);
  box-shadow: 0 24px 60px rgba(24,22,63,0.14);
}

.qr-box {
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: var(--fpx-brand);
  font-size: 62px;
  background:
    linear-gradient(90deg, rgba(66,59,140,0.13) 50%, transparent 50%) 0 0/22px 22px,
    linear-gradient(rgba(66,59,140,0.08) 50%, transparent 50%) 0 0/22px 22px,
    #f8f7ff;
}

.merchant-phone-card h3 {
  color: var(--fpx-brand-dark);
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.merchant-phone-card p {
  color: var(--fpx-muted);
  font-size: 14px;
  margin: 0;
}

.merchant-plugin-badge {
  position: absolute;
  left: 0;
  top: 88px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--fpx-brand-dark);
  font-weight: 800;
  background: #fff;
  border: 1px solid rgba(66,59,140,0.10);
  box-shadow: 0 18px 44px rgba(24,22,63,0.12);
}

.merchant-plugin-badge i {
  color: var(--fpx-brand);
  font-size: 22px;
}

.merchant-system-section {
  padding-bottom: 104px;
}

.merchant-role-grid {
  margin-bottom: 30px;
}

.merchant-value-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(66,59,140,0.10);
  box-shadow: 0 20px 56px rgba(24,22,63,0.08);
}

.merchant-value-panel div {
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(66,59,140,0.06);
}

.merchant-value-panel strong,
.merchant-value-panel span {
  display: block;
}

.merchant-value-panel strong {
  color: var(--fpx-brand-dark);
  font-size: 20px;
  margin-bottom: 8px;
}

.merchant-value-panel span {
  color: var(--fpx-muted);
  line-height: 1.6;
}

.merchant-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.merchant-flow-card {
  position: relative;
  min-height: 300px;
  padding: 28px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(66,59,140,0.09);
  box-shadow: var(--fpx-shadow);
}

.merchant-flow-card:after {
  content: "";
  position: absolute;
  top: 54px;
  right: -23px;
  width: 28px;
  height: 2px;
  background: rgba(66,59,140,0.24);
}

.merchant-flow-card:last-child:after {
  display: none;
}

.merchant-flow-card h4 {
  color: var(--fpx-brand-dark);
  font-size: 22px;
  line-height: 1.34;
  margin-bottom: 14px;
}

.merchant-flow-card p {
  color: var(--fpx-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 1199px) {
  .merchant-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .merchant-flow-card:after {
    display: none;
  }
}

@media (max-width: 991px) {
  .merchant-hero-stage {
    min-height: 520px;
    margin-top: 46px;
  }

  .merchant-value-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .merchant-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .merchant-hero-stage {
    min-height: auto;
    display: block;
  }

  .merchant-browser-card {
    width: 100%;
  }

  .merchant-phone-card,
  .merchant-plugin-badge {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .merchant-phone-card {
    display: block;
  }

  .merchant-value-panel,
  .merchant-flow-grid {
    grid-template-columns: 1fr;
  }

.merchant-flow-card {
    min-height: auto;
  }
}

.merchant-news-section {
  padding-top: 10px;
}

.merchant-news-section .article-card h4 a {
  color: inherit;
}

.merchant-news-section .article-card h4 a:hover {
  color: var(--fpx-brand);
}
