/* 零云聚合支付 - 官网首页（参考 A5 风格） */
:root {
  --bg: #030410;
  --accent: #4f6ef7;
  --accent2: #9b5cf6;
  --teal: #06d6b4;
  --text: #fff;
  --muted: #7c8a9e;
  --muted2: #b4bece;
  --card-bg: rgba(255, 255, 255, .035);
  --card-bd: rgba(255, 255, 255, .075);
  --card-bdh: rgba(255, 255, 255, .16);
  --grad: linear-gradient(135deg, #4f6ef7 0%, #9b5cf6 100%);
  --grad2: linear-gradient(135deg, rgba(6, 214, 180, .2) 0%, rgba(79, 110, 247, .2) 100%);
  --r1: 10px;
  --r2: 16px;
  --r3: 24px;
  --r4: 36px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.home-page *, .home-page *::before, .home-page *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.home-page {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.home-page a { text-decoration: none; color: inherit; }
.home-page ul { list-style: none; }
.home-page img { display: block; max-width: 100%; }

.home-page::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025;
}

.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); will-change: transform; }
.o1 { width: 65vw; height: 65vw; top: -15%; left: -12%; background: radial-gradient(circle, rgba(79, 110, 247, .28) 0%, transparent 68%); animation: d1 22s ease-in-out infinite alternate; }
.o2 { width: 55vw; height: 55vw; bottom: -15%; right: -12%; background: radial-gradient(circle, rgba(155, 92, 246, .22) 0%, transparent 68%); animation: d2 28s ease-in-out infinite alternate; }
.o3 { width: 38vw; height: 38vw; top: 38%; left: 36%; background: radial-gradient(circle, rgba(6, 214, 180, .12) 0%, transparent 68%); animation: d3 18s ease-in-out infinite alternate; }
@keyframes d1 { to { transform: translate(50px, -35px) scale(1.08); } }
@keyframes d2 { to { transform: translate(-45px, 28px) scale(1.05); } }
@keyframes d3 { to { transform: translate(-70px, 55px); } }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 10; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; padding: 14px 0; transition: background .4s, border-color .4s; }
.nav.scrolled { background: rgba(3, 4, 16, .9); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.05rem; letter-spacing: .1px; }
.brand-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(79, 110, 247, .5); flex-shrink: 0; }
.brand-icon svg { width: 17px; height: 17px; fill: #fff; }

.nav-links { display: flex; align-items: center; }
.nav-links a { padding: 8px 15px; border-radius: var(--r1); font-size: .9rem; font-weight: 500; color: #ccd3e8; transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.nav-cta { display: flex; align-items: center; gap: 9px; }
.hamburger { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r1); cursor: pointer; color: #fff; flex-shrink: 0; }
.hamburger svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

.m-menu { position: absolute; top: calc(100% + 6px); left: 14px; right: 14px; background: rgba(6, 8, 22, .97); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r3); padding: 10px; display: none; flex-direction: column; gap: 3px; box-shadow: 0 24px 70px rgba(0, 0, 0, .7); }
.m-menu.open { display: flex; animation: mdown .22s var(--ease); }
@keyframes mdown { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.m-link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r2); color: #c8d4e8; font-size: .95rem; font-weight: 500; background: rgba(255, 255, 255, .025); transition: background .18s, color .18s; }
.m-link:hover, .m-link:active { background: rgba(255, 255, 255, .07); color: #fff; }
.m-ico { width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.m-ico svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ic-b { background: rgba(79, 110, 247, .18); color: #7ca3fa; }
.ic-p { background: rgba(155, 92, 246, .18); color: #bf93f9; }
.ic-g { background: rgba(74, 222, 128, .18); color: #4ade80; }
.ic-a { background: rgba(250, 204, 21, .18); color: #facc15; }
.m-sep { height: 1px; background: rgba(255, 255, 255, .06); margin: 4px 0; }
.m-btns { display: flex; gap: 8px; padding: 4px 2px 2px; justify-content: center; }
.m-btns .btn { padding: 11px 22px !important; font-size: .88rem !important; border-radius: var(--r2) !important; flex: 0 0 auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font); font-weight: 500; font-size: .95rem; border: none; cursor: pointer; transition: transform .22s, box-shadow .22s, background .22s, border-color .22s; position: relative; overflow: hidden; padding: 10px 22px; border-radius: var(--r2); white-space: nowrap; }
.btn:active { transform: scale(.95) !important; }
.btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn-p { background: var(--grad); color: #fff; box-shadow: 0 4px 18px rgba(79, 110, 247, .38), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-p:hover { box-shadow: 0 7px 28px rgba(79, 110, 247, .6); transform: translateY(-2px); }
.btn-s { background: var(--grad2); color: #c8d8ff; border: 1px solid rgba(79, 110, 247, .45); box-shadow: 0 4px 14px rgba(79, 110, 247, .14), inset 0 1px 0 rgba(255, 255, 255, .06); }
.btn-s:hover { background: linear-gradient(135deg, rgba(6, 214, 180, .3) 0%, rgba(79, 110, 247, .3) 100%); border-color: rgba(79, 110, 247, .7); color: #fff; box-shadow: 0 6px 22px rgba(79, 110, 247, .28); transform: translateY(-2px); }
.btn-g { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); color: #ccd4ee; }
.btn-g:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; transform: translateY(-1px); }

.hero { padding: 144px 0 56px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(79, 110, 247, .1); border: 1px solid rgba(79, 110, 247, .22); border-radius: 50px; padding: 6px 18px; font-size: .82rem; color: #a5b4fc; font-weight: 500; margin-bottom: 32px; animation: fadeUp .7s var(--ease) both; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 7px #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero-title { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.8px; margin-bottom: 22px; animation: fadeUp .7s .08s var(--ease) both; }
.hero-title .line2 { display: block; margin-top: .05em; }
.grad-text { background: linear-gradient(110deg, #7ca3fa 0%, #bf93f9 55%, #34ead0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { color: var(--muted2); font-size: 1rem; line-height: 1.8; max-width: 520px; margin: 0 auto 38px; animation: fadeUp .7s .16s var(--ease) both; }
.hero-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; animation: fadeUp .7s .24s var(--ease) both; }
.hero-btns .btn { padding: 13px 32px; font-size: 1rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.marquee { margin-top: 50px; overflow: hidden; border-top: 1px solid rgba(79, 110, 247, .14); border-bottom: 1px solid rgba(79, 110, 247, .14); background: rgba(79, 110, 247, .05); padding: 14px 0; animation: fadeUp .7s .32s var(--ease) both; }
.marquee-track { display: flex; gap: 52px; width: max-content; white-space: nowrap; animation: mscroll 26s linear infinite; }
@keyframes mscroll { to { transform: translateX(-50%); } }
.mq-item { display: flex; align-items: center; gap: 8px; font-size: .83rem; font-weight: 500; color: var(--muted2); }
.mq-item strong { color: var(--accent); font-weight: 700; }
.mq-sep { color: rgba(255, 255, 255, .12); }

.stats { padding: 44px 0 36px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.s-card { background: var(--card-bg); border: 1px solid var(--card-bd); border-radius: var(--r3); padding: 28px 22px; text-align: center; position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.s-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent); }
.s-card:hover { transform: translateY(-5px); border-color: rgba(79, 110, 247, .3); }
.s-glow { position: absolute; width: 70px; height: 70px; border-radius: 50%; filter: blur(28px); opacity: 0; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: opacity .4s; }
.s-card:hover .s-glow { opacity: .8; }
.g-blue { background: #4f6ef7; } .g-purple { background: #9b5cf6; } .g-teal { background: #06d6b4; } .g-amber { background: #f5c842; }
.s-num { font-size: 2rem; font-weight: 700; line-height: 1; margin-bottom: 7px; letter-spacing: -.5px; position: relative; z-index: 1; }
.s-lbl { font-size: .7rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; position: relative; z-index: 1; }
.c-b { color: #7ca3fa; } .c-p { color: #bf93f9; } .c-t { color: #34ead0; } .c-a { color: #f7d45a; }

.eyebrow { display: inline-block; font-size: .7rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.sh { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.18; letter-spacing: -.4px; }
.sub { color: var(--muted); font-size: .98rem; line-height: 1.75; margin-top: 12px; }

.features { padding: 48px 0 60px; }
.feat-hd { text-align: center; margin-bottom: 44px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.f-card { background: var(--card-bg); border: 1px solid var(--card-bd); border-radius: var(--r3); padding: 38px 32px; position: relative; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.f-card::after { content: ''; position: absolute; bottom: -70px; right: -70px; width: 160px; height: 160px; border-radius: 50%; filter: blur(50px); opacity: 0; transition: opacity .4s; background: var(--f-glow, rgba(79, 110, 247, .25)); }
.f-card:hover { transform: translateY(-7px); border-color: var(--card-bdh); }
.f-card:hover::after { opacity: 1; }
.fc-b { --f-glow: rgba(79, 110, 247, .3); } .fc-p { --f-glow: rgba(155, 92, 246, .3); } .fc-t { --f-glow: rgba(6, 214, 180, .3); }
.f-ico { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: transform .3s; flex-shrink: 0; }
.f-card:hover .f-ico { transform: scale(1.1) rotate(5deg); }
.fi-b { background: rgba(79, 110, 247, .14); color: #7ca3fa; border: 1px solid rgba(79, 110, 247, .22); }
.fi-p { background: rgba(155, 92, 246, .14); color: #bf93f9; border: 1px solid rgba(155, 92, 246, .22); }
.fi-t { background: rgba(6, 214, 180, .14); color: #34ead0; border: 1px solid rgba(6, 214, 180, .22); }
.f-title { font-size: 1.08rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -.1px; }
.f-desc { color: var(--muted); font-size: .93rem; line-height: 1.78; }
.f-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag { padding: 3px 11px; border-radius: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .3px; border: 1px solid; }
.t-b { color: #7ca3fa; background: rgba(79, 110, 247, .1); border-color: rgba(79, 110, 247, .22); }
.t-p { color: #bf93f9; background: rgba(155, 92, 246, .1); border-color: rgba(155, 92, 246, .22); }
.t-t { color: #34ead0; background: rgba(6, 214, 180, .1); border-color: rgba(6, 214, 180, .22); }

.code-sec { padding: 16px 0 60px; }
.code-wrap { background: var(--card-bg); border: 1px solid var(--card-bd); border-radius: var(--r4); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.code-left { padding: 52px 46px; display: flex; flex-direction: column; justify-content: center; }
.code-desc { color: var(--muted); font-size: .95rem; line-height: 1.78; margin: 14px 0 28px; }
.doc-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 600; font-size: .9rem; transition: gap .2s; }
.doc-link:hover { gap: 13px; }
.doc-link svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.code-right { background: #010208; border-left: 1px solid rgba(255, 255, 255, .07); padding: 32px; font-family: var(--mono); font-size: .84rem; overflow-x: auto; }
.c-topbar { display: flex; align-items: center; gap: 7px; margin-bottom: 24px; }
.dr { width: 11px; height: 11px; border-radius: 50%; background: #f24444; }
.dy { width: 11px; height: 11px; border-radius: 50%; background: #f5c842; }
.dg { width: 11px; height: 11px; border-radius: 50%; background: #4ade80; }
.c-lbl { margin-left: auto; font-size: .68rem; letter-spacing: 1.5px; color: #283048; font-family: var(--font); text-transform: uppercase; }
.cb { line-height: 1.95; color: #3e5a80; }
.cb .ln { color: #1a2535; padding-right: 18px; user-select: none; font-size: .76rem; }
.tk { color: #9b5cf6; } .ts { color: #34ead0; } .tn { color: #7ca3fa; } .tc { color: #f7d45a; } .tm { color: #f9a8d4; } .tcm { color: #2e4060; }

.cta-sec { padding: 28px 0 72px; }
.cta-box { background: linear-gradient(135deg, rgba(79, 110, 247, .11) 0%, rgba(155, 92, 246, .11) 100%); border: 1px solid rgba(79, 110, 247, .22); border-radius: var(--r4); padding: 60px 52px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 55% at 50% 0%, rgba(79, 110, 247, .16), transparent); }
.cta-box .sh { font-size: clamp(1.5rem, 3.2vw, 2.2rem); position: relative; }
.cta-box .sub { position: relative; max-width: 460px; margin: 12px auto 36px; font-size: 1rem; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-btns .btn { padding: 13px 34px; font-size: .97rem; }
.cta-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(79, 110, 247, .13); pointer-events: none; }
.cr1 { width: 380px; height: 380px; top: -190px; right: -90px; }
.cr2 { width: 240px; height: 240px; bottom: -110px; left: -55px; }

.home-footer { border-top: 1px solid rgba(255, 255, 255, .07); background: rgba(2, 3, 10, .85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 62px 0 36px; }
.ft-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 46px; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ft-about p { color: #4e5e74; font-size: .88rem; line-height: 1.8; margin: 14px 0 22px; }
.ft-col h5 { font-weight: 700; font-size: 1rem; color: #e8edf5; letter-spacing: .1px; margin-bottom: 20px; position: relative; padding-bottom: 11px; }
.ft-col h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.ft-link { display: block; color: #5a6c80; font-size: .93rem; margin-bottom: 11px; transition: color .2s, padding-left .2s; }
.ft-link:hover { color: #b8c8df; padding-left: 5px; }
.ft-link-plain { cursor: default; }
.copyright { padding-top: 30px; text-align: center; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; color: #334050; font-size: .8rem; }
.copyright a { color: #3e5060; transition: color .2s; }
.copyright a:hover { color: #7a99bb; }
.cp-sep { color: #243040; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .05s; } .d2 { transition-delay: .12s; } .d3 { transition-delay: .19s; } .d4 { transition-delay: .26s; }

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .code-wrap { grid-template-columns: 1fr; }
  .code-right { display: none; }
  .code-left { padding: 44px 34px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: flex; }
  .hero { padding: 108px 0 42px; }
  .hero-title { font-size: clamp(1.85rem, 7.5vw, 2.5rem); letter-spacing: -.4px; }
  .hero-sub { font-size: .92rem; margin-bottom: 28px; }
  .hero-btns { gap: 10px; flex-wrap: nowrap; justify-content: center; }
  .hero-btns .btn { flex: 0 0 auto !important; padding: 11px 22px !important; font-size: .9rem !important; min-width: 0; }
  .marquee { margin-top: 34px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .s-card { padding: 20px 16px; }
  .s-num { font-size: 1.7rem; }
  .features { padding: 36px 0 44px; }
  .feat-hd { margin-bottom: 32px; }
  .feat-grid { grid-template-columns: 1fr; }
  .f-card { padding: 28px 22px; }
  .code-sec { padding: 12px 0 48px; }
  .cta-sec { padding: 20px 0 60px; }
  .cta-box { padding: 40px 22px; }
  .cta-btns .btn { padding: 12px 26px !important; font-size: .92rem !important; }
  .ft-grid { grid-template-columns: 1fr; gap: 26px; }
  .ft-col h5 { font-size: .98rem; margin-bottom: 14px; }
  .wrap { padding: 0 18px; }
  .home-footer { padding: 48px 0 28px; }
}

@media (max-width: 400px) {
  .hero-btns .btn { padding: 10px 17px !important; font-size: .86rem !important; }
  .hero-badge { font-size: .74rem; padding: 5px 13px; }
}
