/* 官网首页 v2 — 收款网关落地页 */
.hp {
  --hp-ink: #07111f;
  --hp-muted: #5a6b7d;
  --hp-line: rgba(7, 17, 31, .08);
  --hp-accent: #0a6ebd;
  --hp-deep: #053056;
  --hp-teal: #0e8a9a;
  --hp-bg: #eef3f8;
  --hp-font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  margin: 0;
  min-height: 100vh;
  font-family: var(--hp-font);
  color: var(--hp-ink);
  background: var(--hp-bg);
  -webkit-font-smoothing: antialiased;
}
.hp * { box-sizing: border-box; }
.hp a { text-decoration: none; color: inherit; }

/* —— Nav —— */
.hp-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  padding: 16px clamp(20px, 4vw, 48px);
  color: #fff;
  transition: background .25s, box-shadow .25s, color .25s, backdrop-filter .25s;
}
.hp-nav.is-solid {
  background: rgba(255, 255, 255, .92);
  color: var(--hp-ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(7, 17, 31, .08);
}
.hp-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(20px, 2.6vw, 26px); font-weight: 750; letter-spacing: -.02em;
}
.hp-brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  font-size: 17px; font-weight: 800;
  transition: background .25s, color .25s, box-shadow .25s;
}
.hp-nav.is-solid .hp-brand .mark {
  background: linear-gradient(145deg, var(--hp-accent), var(--hp-teal));
  color: #fff;
  box-shadow: none;
}
.hp-nav .spacer { flex: 1; }
.hp-nav .link {
  color: rgba(255,255,255,.8); font-size: 14px; margin-left: 10px;
  transition: color .2s;
}
.hp-nav.is-solid .link { color: var(--hp-muted); }
.hp-nav .link:hover { color: #fff; }
.hp-nav.is-solid .link:hover { color: var(--hp-accent); }
.hp-nav .cta {
  margin-left: 14px; padding: 9px 16px; border-radius: 999px;
  background: #fff; color: var(--hp-deep); font-weight: 650; font-size: 13px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.hp-nav.is-solid .cta {
  background: var(--hp-accent); color: #fff;
  box-shadow: 0 8px 20px rgba(10, 110, 189, .28);
}
.hp-nav .cta:hover { transform: translateY(-1px); }

/* —— Hero —— */
.hp-hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px clamp(20px, 4vw, 48px) 0;
  color: #fff;
  overflow: hidden;
}
.hp-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 480px at 88% 8%, rgba(14, 138, 154, .5), transparent 58%),
    radial-gradient(720px 400px at 8% 88%, rgba(10, 110, 189, .42), transparent 55%),
    linear-gradient(152deg, #031a33 0%, #064a7a 38%, #087a8f 100%);
}
.hp-hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, #000 15%, transparent 88%);
  animation: hpGrid 20s linear infinite;
}
.hp-hero-bg::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--hp-bg));
}
@keyframes hpGrid {
  from { transform: translateY(0); }
  to { transform: translateY(52px); }
}

.hp-hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: end;
  padding-bottom: 36px;
}
.hp-brand-line {
  margin: 0;
  font-size: clamp(42px, 7.5vw, 76px);
  line-height: .95; font-weight: 800; letter-spacing: -.045em;
  background: linear-gradient(105deg, #fff 10%, #b8e8f5 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; animation: hpRise .75s ease .08s forwards;
}
.hp-title {
  margin: 14px 0 16px;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.25; font-weight: 650; letter-spacing: -.02em;
  color: rgba(255,255,255,.92);
  opacity: 0; animation: hpRise .75s ease .18s forwards;
}
.hp-desc {
  margin: 0 0 28px; max-width: 28em;
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.72);
  opacity: 0; animation: hpRise .75s ease .28s forwards;
}
.hp-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  opacity: 0; animation: hpRise .75s ease .38s forwards;
}
.hp-actions .btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 650; font-size: 15px;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}
.hp-actions .btn-primary {
  background: #fff; color: var(--hp-deep);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.hp-actions .btn-primary:hover { transform: translateY(-2px); }
.hp-actions .btn-ghost {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}
.hp-actions .btn-ghost:hover { background: rgba(255,255,255,.18); }

.hp-pay-stage {
  position: relative;
  opacity: 0; animation: hpRise .85s ease .32s forwards;
}
.hp-pay-glow {
  position: absolute; inset: 8% 6%;
  background: radial-gradient(circle, rgba(255,255,255,.2), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hp-pay-board {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  padding: 18px; border-radius: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.hp-pay-item {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: hpFloat 4.8s ease-in-out infinite;
}
.hp-pay-item:nth-child(odd) { animation-delay: .2s; }
.hp-pay-item:nth-child(3n) { animation-delay: .45s; }
.hp-pay-item:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 16px 28px rgba(0,0,0,.16);
  animation-play-state: paused;
}
.hp-pay-item img { width: 58%; height: 58%; object-fit: contain; }
.hp-pay-caption {
  margin: 14px 0 0; text-align: center;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

@keyframes hpRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes hpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* —— Marquee —— */
.hp-marquee {
  position: relative; z-index: 1;
  overflow: hidden;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hp-mq-track {
  display: flex; gap: 28px; width: max-content;
  animation: hpMarquee 32s linear infinite;
}
.hp-mq-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  white-space: nowrap;
}
.hp-mq-item img {
  width: 28px; height: 28px; object-fit: contain;
  border-radius: 8px; background: #fff; padding: 3px;
}
.hp-mq-item em {
  font-style: normal; font-size: 13px; color: rgba(255,255,255,.85); font-weight: 550;
}
@keyframes hpMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— Sections —— */
.hp-section {
  max-width: 1180px; margin: 0 auto;
  padding: 64px clamp(20px, 4vw, 48px);
}
.sec-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -.03em; font-weight: 750;
}
.sec-desc {
  margin: 0 0 28px; color: var(--hp-muted); font-size: 15px; max-width: 36em;
}

.hp-methods {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.hp-method {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 12px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--hp-line);
  box-shadow: 0 8px 24px rgba(15, 34, 58, .04);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.hp-method:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 110, 189, .28);
  box-shadow: 0 16px 32px rgba(10, 110, 189, .1);
}
.hp-method .ico {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  background: #f3f7fb;
  box-shadow: inset 0 0 0 1px var(--hp-line);
}
.hp-method .ico img { width: 40px; height: 40px; object-fit: contain; }
.hp-method .name { font-size: 14px; font-weight: 650; }
.hp-method .code { font-size: 11px; color: #94a3b8; letter-spacing: .04em; }

/* —— Flow band —— */
.hp-band {
  background:
    linear-gradient(180deg, #fff 0%, #f5f9fc 100%);
  border-block: 1px solid var(--hp-line);
}
.hp-band-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 64px clamp(20px, 4vw, 48px);
}
.hp-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  counter-reset: none;
}
.hp-steps li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--hp-line);
  box-shadow: 0 10px 28px rgba(7, 17, 31, .04);
}
.hp-steps .num {
  flex: none;
  font-size: 28px; font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(145deg, var(--hp-accent), var(--hp-teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.hp-steps b { display: block; margin-bottom: 6px; font-size: 16px; }
.hp-steps p { margin: 0; color: var(--hp-muted); font-size: 14px; line-height: 1.65; }

/* —— Features —— */
.hp-features {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.hp-feat {
  padding: 26px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--hp-line);
}
.hp-feat-main {
  grid-row: span 2;
  background:
    radial-gradient(500px 280px at 100% 0%, rgba(14, 138, 154, .12), transparent 55%),
    linear-gradient(165deg, #0a4f7c 0%, #0b6e8a 100%);
  color: #fff;
  border: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 280px;
}
.hp-feat .tag {
  display: inline-flex; align-self: flex-start;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(10, 110, 189, .1); color: var(--hp-accent); font-weight: 650;
  margin-bottom: 12px;
}
.hp-feat-main .tag {
  background: rgba(255,255,255,.14); color: #fff;
}
.hp-feat h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.02em; }
.hp-feat p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--hp-muted); }
.hp-feat-main p { color: rgba(255,255,255,.78); }

/* —— CTA —— */
.hp-cta {
  padding: 0 clamp(20px, 4vw, 48px) 72px;
}
.hp-cta-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 48px clamp(24px, 4vw, 56px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(600px 240px at 90% 20%, rgba(14, 138, 154, .45), transparent 60%),
    linear-gradient(135deg, #042a4d 0%, #0a5f88 55%, #0c7a8c 100%);
  box-shadow: 0 24px 48px rgba(4, 42, 77, .22);
}
.hp-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -.03em;
}
.hp-cta p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.72); font-size: 15px; max-width: 32em;
}
.hp-cta .hp-actions { opacity: 1; animation: none; }
.hp-cta .btn-ghost {
  border-color: rgba(255,255,255,.28);
}

.hp-foot {
  text-align: center;
  padding: 28px 16px 36px;
  color: #94a3b8; font-size: 12px;
  border-top: 1px solid var(--hp-line);
  background: #fff;
}

@media (max-width: 960px) {
  .hp-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hp-methods { grid-template-columns: repeat(3, 1fr); }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-features { grid-template-columns: 1fr; }
  .hp-feat-main { grid-row: auto; min-height: 200px; }
}
@media (max-width: 640px) {
  .hp-nav .link { display: none; }
  .hp-hero { min-height: auto; padding-top: 96px; }
  .hp-pay-board { grid-template-columns: repeat(4, 1fr); }
  .hp-methods { grid-template-columns: repeat(2, 1fr); }
  .hp-brand-line { font-size: clamp(36px, 12vw, 52px); }
}
