:root {
  font: 16px/1.7 Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #1a2132;
  background: #fff;
  --ink: #171d30;
  --muted: #596475;
  --primary: #534bd8;
  --primary-dark: #4039b7;
  --line: #e5e8ef;
  --soft: #f5f6fa;
  --rail: #151a2d;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; overflow-x: hidden; }
body, a, button { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid #8e89ef; outline-offset: 3px; }
.skip-link { position: fixed; top: .5rem; left: 1rem; z-index: 10; transform: translateY(-160%); padding: .55rem .85rem; border-radius: .5rem; color: #fff; background: var(--rail); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #e7e9efcc; background: #ffffffec; backdrop-filter: blur(16px); }
.nav-wrap { width: min(calc(100% - 2rem), var(--max)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.home-brand { display: inline-flex; align-items: center; gap: .72rem; font-weight: 820; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { width: 2.65rem; height: 2.65rem; display: grid; place-items: center; flex: none; border: 1px solid #e8eaf1; border-radius: .78rem; background: #fff; box-shadow: 0 7px 20px #22294a0d; }
.brand-mark img { object-fit: contain; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: .35rem; }
.nav-links a { padding: .55rem .72rem; color: #4f5a6c; font-size: .9rem; }
.nav-links a:hover { color: var(--primary); }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: .55rem 1.05rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 680; line-height: 1.2; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--primary); box-shadow: 0 10px 26px #534bd829; }
.button-primary:hover { background: var(--primary-dark); }
.button-quiet { color: #3f4858; }
.button-quiet:hover { background: #f0f1f6; }
.button-outline { border-color: #d9dce7; background: #fff; }
.button-outline:hover { border-color: #bcb8ef; color: var(--primary-dark); }
.button-large { min-height: 50px; padding-inline: 1.35rem; }

.hero { width: min(calc(100% - 2rem), var(--max)); min-height: 690px; margin: auto; padding: clamp(4.4rem, 8vw, 7.5rem) 0 5rem; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); position: relative; isolation: isolate; }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 31rem; height: 31rem; right: -17rem; top: 1.5rem; background: radial-gradient(circle, #e9e7ff 0, #f5f3ff80 48%, transparent 72%); }
.hero-glow-two { width: 23rem; height: 23rem; left: -18rem; bottom: -4rem; background: radial-gradient(circle, #e5f7f1 0, transparent 70%); }
.eyebrow, .section-kicker { color: var(--primary-dark); font-size: .83rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.25rem; }
.eyebrow span { width: 2rem; height: 2px; background: var(--primary); }
.hero h1 { max-width: 750px; color: var(--ink); font-size: clamp(2.7rem, 5.4vw, 4.75rem); line-height: 1.13; letter-spacing: .02em; font-weight: 840; }
.hero h1 strong { color: var(--primary); font-weight: inherit; }
.hero-description { max-width: 670px; margin-top: 1.6rem; color: var(--muted); font-size: clamp(1.05rem, 1.75vw, 1.23rem); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.support-list { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; margin: 1.55rem 0 0; padding: 0; list-style: none; color: #536072; font-size: .85rem; }
.support-list span { display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; margin-right: .35rem; border-radius: 50%; color: #29694f; background: #e2f4ec; font-size: .72rem; font-weight: 800; }

.hero-visual { min-width: 0; padding: 1.1rem; border: 1px solid #303651; border-radius: 1.45rem; color: #fff; background: linear-gradient(145deg, #171c30, #222941); box-shadow: 0 32px 90px #171c3033; transform: rotate(1.2deg); }
.hero-visual figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.visual-topline { display: flex; align-items: center; min-height: 2.2rem; gap: .55rem; padding: 0 .25rem .8rem; color: #cbd2e6; font-size: .8rem; }
.live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #54d79b; box-shadow: 0 0 0 .28rem #54d79b1b; }
.visual-badge { margin-left: auto; padding: .18rem .48rem; border: 1px solid #ffffff1f; border-radius: 999px; color: #e3e6f5; background: #ffffff0a; }
.receipt-card { padding: 1.15rem; border-radius: 1rem; color: #1f2739; background: #fff; box-shadow: 0 16px 40px #0507143b; }
.receipt-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; }
.mini-logo { width: 2.45rem; height: 2.45rem; display: grid; place-items: center; border-radius: .7rem; background: #f0efff; }
.receipt-heading small { display: block; color: #697487; font-size: .72rem; }
.receipt-heading strong { display: block; margin-top: .08rem; font-size: 1.45rem; line-height: 1.2; }
.receipt-heading time { color: #687385; font-size: .78rem; font-variant-numeric: tabular-nums; }
.receipt-card dl { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #e8ebf1; }
.receipt-card dl div { display: flex; justify-content: space-between; gap: .7rem; padding: .3rem 0; font-size: .78rem; }
.receipt-card dt { color: #7b8494; }
.receipt-card dd { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 630; }
.channel { padding: .12rem .4rem; border-radius: .35rem; }
.channel-wechat { color: #186445; background: #e2f6ec; }
.flow-line { height: 3.4rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; padding-inline: 2rem; color: #9fa8c2; font-size: .68rem; }
.flow-line span { height: 1px; background: linear-gradient(90deg, transparent, #59637e); }
.flow-line span:last-child { background: linear-gradient(90deg, #59637e, transparent); }
.flow-line i { font-style: normal; }
.api-card { padding: .85rem 1rem; border: 1px solid #ffffff18; border-radius: .85rem; background: #ffffff0b; }
.api-card > div { display: flex; align-items: center; gap: .6rem; }
.api-method { padding: .18rem .38rem; border-radius: .3rem; color: #c8fff0; background: #2f8f7066; font-size: .66rem; font-weight: 800; }
.api-card code { color: #c9d4f2; font: .75rem ui-monospace, "Cascadia Code", monospace; }
.api-card p { margin-top: .65rem; color: #e6eafa; font-size: .78rem; }
.api-card p span { color: #63dea7; margin-right: .4rem; }

.trust-strip { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: 1.3rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-block: 1px solid var(--line); color: #6a7485; }
.trust-strip p { font-size: .85rem; }
.trust-strip div { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.payment-logo { padding: .34rem .66rem; border-radius: 999px; font-size: .77rem; font-weight: 680; }
.payment-logo.wechat { color: #176344; background: #e3f6ed; }
.payment-logo.alipay { color: #1762a1; background: #e7f2ff; }
.payment-logo.api { color: #5148be; background: #edebff; }

.section { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: clamp(5rem, 9vw, 8rem) 0; }
.section-intro { max-width: 760px; }
.section h2, .workflow-section h2, .final-cta h2 { color: var(--ink); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.22; letter-spacing: -.035em; }
.section-intro h2, .workflow-copy h2 { margin-top: .7rem; }
.section-intro > p:last-child, .workflow-copy > p { margin-top: 1.05rem; color: var(--muted); font-size: 1.02rem; }
.feature-grid { display: grid; grid-template-columns: 1.08fr .96fr .96fr; gap: 1rem; margin-top: 2.8rem; }
.feature-card { min-height: 300px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.15rem; background: #fff; box-shadow: 0 16px 40px #18223b08; }
.feature-highlight { background: linear-gradient(160deg, #f8f7ff, #fff 72%); }
.feature-icon { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: .82rem; color: #5149c6; background: #eeedff; }
.feature-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon-mint { color: #25664f; background: #e5f5ed; }
.feature-icon-amber { color: #91601e; background: #fff1dc; }
.feature-card h3 { margin-top: 1.25rem; font-size: 1.18rem; }
.feature-card > p { margin-top: .7rem; color: var(--muted); font-size: .92rem; }
.feature-demo { margin-top: 1.6rem; padding: .75rem .85rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; border: 1px solid #e3e4f2; border-radius: .72rem; background: #fff; font-size: .78rem; }
.feature-demo span { color: #7b8494; }
.feature-demo i { display: inline-block; width: .45rem; height: .45rem; margin-right: .4rem; border-radius: 50%; background: #52ca94; }
.feature-demo strong { font-size: .8rem; }

.workflow-section { padding: clamp(4.5rem, 8vw, 7.5rem) max(1rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: minmax(0, .8fr) minmax(460px, 1.2fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); color: #fff; background: var(--rail); }
.workflow-section h2 { color: #fff; }
.workflow-copy > p { color: #bbc4da; }
.workflow-section .section-kicker { color: #a9a4ff; }
.text-link { display: inline-flex; gap: .55rem; margin-top: 1.4rem; color: #c7c4ff; font-weight: 680; }
.text-link:hover { color: #fff; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid #ffffff18; }
.steps li:last-child { border-bottom: 1px solid #ffffff18; }
.steps > li > span { color: #8f89ef; font: 700 .82rem ui-monospace, monospace; }
.steps h3 { font-size: 1.06rem; }
.steps p { margin-top: .35rem; color: #aeb8d0; font-size: .9rem; }

.seo-section { padding-bottom: 4.5rem; }
.seo-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); padding: clamp(1.6rem, 4vw, 3.25rem); border: 1px solid var(--line); border-radius: 1.3rem; background: var(--soft); }
.seo-panel h2 { margin-top: .7rem; font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.seo-copy { display: grid; gap: 1rem; color: var(--muted); }
.use-cases { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.use-cases span { padding: .45rem .78rem; border: 1px solid var(--line); border-radius: 999px; color: #596475; background: #fff; font-size: .8rem; }

.final-cta { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto 5rem; padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.35rem; border-radius: 1.3rem; color: #fff; background: linear-gradient(120deg, #5149cd, #3f38af); box-shadow: 0 24px 65px #4b43c62d; }
.final-cta > img { width: 3.6rem; height: 4.3rem; padding: .65rem; border-radius: .9rem; background: #fff; filter: none; object-fit: contain; }
.final-cta p { color: #cbc8ff; font-size: .78rem; font-weight: 760; letter-spacing: .1em; }
.final-cta h2 { margin-top: .2rem; color: #fff; font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
.final-cta div > span { display: block; margin-top: .3rem; color: #dedcff; font-size: .9rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
.button-light { color: #423bb5; background: #fff; }
.button-dark-outline { border-color: #ffffff4f; color: #fff; }
.button-dark-outline:hover { background: #ffffff10; }

.site-footer { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: 2.2rem 0 2.8rem; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem 2rem; border-top: 1px solid var(--line); color: #727c8c; font-size: .82rem; }
.footer-brand { color: var(--ink); }
.footer-brand .brand-mark { width: 2.35rem; height: 2.35rem; }
.site-footer nav { display: flex; gap: 1rem; }
.site-footer nav a:hover { color: var(--primary); }
.site-footer small { white-space: nowrap; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 4.5rem; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .support-list { justify-content: center; }
  .hero-description { margin-inline: auto; }
  .hero-visual { width: min(100%, 580px); margin: auto; transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-highlight { grid-column: 1 / -1; }
  .workflow-section { grid-template-columns: 1fr; }
  .seo-panel { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: auto 1fr; }
  .cta-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 620px) {
  .nav-wrap { width: min(calc(100% - 1.25rem), var(--max)); min-height: 64px; }
  .home-brand > span:last-child { font-size: .93rem; }
  .brand-mark { width: 2.35rem; height: 2.35rem; }
  .nav-actions { gap: .15rem; }
  .nav-actions .button { min-height: 38px; padding-inline: .65rem; font-size: .82rem; }
  .hero { width: min(calc(100% - 1.25rem), var(--max)); padding-top: 3.4rem; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.35rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button-large { padding-inline: .85rem; }
  .support-list { display: grid; gap: .55rem; text-align: left; width: fit-content; margin-inline: auto; }
  .hero-visual { padding: .8rem; border-radius: 1.1rem; }
  .trust-strip { align-items: flex-start; flex-direction: column; padding-inline: .3rem; }
  .trust-strip div { justify-content: flex-start; }
  .section { width: min(calc(100% - 1.25rem), var(--max)); padding-block: 4.4rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-highlight { grid-column: auto; }
  .feature-card { min-height: 0; }
  .workflow-section { padding-inline: .8rem; }
  .steps li { grid-template-columns: 2.4rem 1fr; }
  .seo-panel { padding: 1.25rem; }
  .final-cta { width: min(calc(100% - 1.25rem), var(--max)); grid-template-columns: 1fr; text-align: center; }
  .final-cta > img { margin: auto; }
  .cta-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .site-footer { width: min(calc(100% - 1.25rem), var(--max)); grid-template-columns: 1fr; text-align: center; }
  .footer-brand { margin: auto; }
  .site-footer > p, .site-footer nav, .site-footer small { grid-column: 1; }
  .site-footer nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
