/* ============================================================
   index8 · 支付企业风格首页模板 · 全新设计
   设计语言：深空蓝紫渐变 / 玻璃拟态 / 荧光青强调色
   ============================================================ */
:root {
  --ink: #0b1026;
  --ink-2: #131a3a;
  --violet: #7c6cff;
  --cyan: #2ad4ff;
  --mint: #3ee6b8;
  --grad: linear-gradient(120deg, #2ad4ff 0%, #7c6cff 55%, #b16cff 100%);
  --grad-soft: linear-gradient(120deg, rgba(42, 212, 255, .16), rgba(124, 108, 255, .16));
  --text-dark: #1d2440;
  --text-muted: #6b7394;
  --text-soft: #9aa3c7;
  --card-shadow: 0 20px 60px rgba(23, 32, 90, .10);
  --radius: 18px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
  letter-spacing: .01em;
}
img { max-width: 100%; }
a { text-decoration: none; transition: all .25s ease; }
a:hover { text-decoration: none; }

/* ---------------- 通用 ---------------- */
.section { padding: 110px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em;
  color: var(--violet); background: rgba(124, 108, 255, .08);
  border: 1px solid rgba(124, 108, 255, .18);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 10px rgba(124, 108, 255, .9);
}
.sec-title {
  font-size: 36px; font-weight: 800; line-height: 1.3;
  color: var(--text-dark); margin-bottom: 16px;
}
.sec-title .grad-text {
  background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.sec-desc { color: var(--text-muted); font-size: 16px; line-height: 1.9; }
.title-bar {
  width: 56px; height: 4px; border-radius: 4px;
  background: var(--grad); margin: 22px 0 0;
}
.text-center .title-bar { margin-left: auto; margin-right: auto; }

/* 按钮 */
.btn-p {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 34px; border-radius: 100px; font-size: 15px; font-weight: 600;
  color: #fff; background: var(--grad); background-size: 160% 160%;
  border: 0; cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 12px 30px rgba(124, 108, 255, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-p:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(124, 108, 255, .45); color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 34px; border-radius: 100px; font-size: 15px; font-weight: 600;
  color: #fff; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px);
  transition: all .25s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-3px); }
.btn-ghost-dark { color: var(--violet); background: rgba(124, 108, 255, .07); border: 1px solid rgba(124, 108, 255, .3); }
.btn-ghost-dark:hover { color: #fff; background: var(--violet); }

/* ---------------- 导航 ---------------- */
.navbar8 {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1080;
  padding: 22px 0; transition: all .35s ease;
}
.navbar8.scrolled {
  padding: 12px 0;
  background: rgba(11, 16, 38, .82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(5, 8, 25, .45);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.navbar8 .nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.navbar8 .brand { display: flex; align-items: center; gap: 10px; }
.navbar8 .brand img { height: 34px; }
.navbar8 .brand .brand-name {
  color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .02em;
}
.navbar8 .brand .brand-name b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu8 { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu8 > li > a {
  display: block; padding: 9px 16px; border-radius: 100px;
  color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 500;
}
.menu8 > li > a:hover, .menu8 > li.active > a {
  color: #fff; background: rgba(255, 255, 255, .1);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .login-btn {
  padding: 10px 26px; border-radius: 100px; font-size: 14px; font-weight: 600;
  color: #fff; border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px);
  transition: all .25s ease;
}
.nav-cta .login-btn:hover { background: #fff; color: var(--ink); }
.burger {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .1); position: relative; cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 12px; width: 20px; height: 2px;
  border-radius: 2px; background: #fff; transition: all .3s ease;
}
.burger span { top: 21px; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ---------------- Hero ---------------- */
.hero8 {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(124, 108, 255, .35), transparent 60%),
    radial-gradient(800px 520px at 10% 90%, rgba(42, 212, 255, .22), transparent 60%),
    linear-gradient(160deg, #0b1026 0%, #131a3a 55%, #0d1230 100%);
  overflow: hidden; padding: 150px 0 120px;
}
#particles8 { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.hero8 .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px; margin-bottom: 26px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .85); font-size: 13.5px; font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 4px rgba(62, 230, 184, .18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(62, 230, 184, .25); }
  50% { box-shadow: 0 0 0 8px rgba(62, 230, 184, .06); }
}
.hero-title {
  color: #fff; font-size: 52px; font-weight: 800; line-height: 1.22;
  letter-spacing: .01em; margin-bottom: 24px;
}
.hero-title .typed-line {
  display: block; min-height: 1.25em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-title .typed-cursor { color: var(--cyan); opacity: .9; }
.hero-sub {
  color: var(--text-soft); font-size: 16.5px; line-height: 2; max-width: 520px;
  margin-bottom: 40px;
}
.hero-sub b { color: #fff; font-weight: 600; }
.hero-btns { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-metrics { display: flex; gap: 44px; margin-top: 58px; flex-wrap: wrap; }
.hero-metrics .m b {
  display: block; font-size: 30px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-metrics .m b i {
  font-style: normal; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-metrics .m span { color: var(--text-soft); font-size: 13.5px; letter-spacing: .06em; }

/* Hero 右侧 · 支付视觉（纯 CSS 场景） */
.hero-visual { position: relative; height: 520px; }
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  animation: float 7s ease-in-out infinite;
}
.glow-orb.o1 { width: 320px; height: 320px; background: rgba(124, 108, 255, .55); top: 6%; right: 4%; }
.glow-orb.o2 { width: 260px; height: 260px; background: rgba(42, 212, 255, .4); bottom: 4%; left: 0; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}
.ring {
  position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .16);
  animation: spin 40s linear infinite;
}
.ring.r1 { width: 440px; height: 440px; top: 40px; right: 30px; }
.ring.r2 { width: 300px; height: 300px; top: 110px; right: 100px; animation-direction: reverse; animation-duration: 30s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 手机样机 */
.phone {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%);
  width: 258px; height: 512px; border-radius: 40px;
  background: linear-gradient(165deg, #1b2352, #0d1230);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 90px rgba(4, 8, 30, .65), inset 0 0 0 6px rgba(255, 255, 255, .03);
  padding: 18px; z-index: 3; animation: float 6s ease-in-out infinite;
}
.phone::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 20px; border-radius: 12px; background: rgba(0, 0, 0, .55);
}
.pay-screen { margin-top: 52px; text-align: center; color: #fff; }
.pay-screen .ok {
  width: 74px; height: 74px; margin: 6px auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3ee6b8, #2ad4ff);
  box-shadow: 0 0 0 10px rgba(62, 230, 184, .12), 0 14px 34px rgba(62, 230, 184, .35);
  animation: pop .8s cubic-bezier(.2, 1.6, .4, 1) both;
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pay-screen .ok svg { width: 34px; height: 34px; }
.pay-screen .amt { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pay-screen .to { color: var(--text-soft); font-size: 13px; margin-top: 8px; }
.pay-channels { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.pay-channels i {
  font-style: normal; width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 17px; font-weight: 700;
}
.pay-channels i.c1 { color: #5aa9ff; }
.pay-channels i.c2 { color: #3ee6a2; }
.pay-channels i.c3 { color: #ff7d9c; }
.pay-channels i.c4 { color: #ffd166; }

/* 浮动卡片 */
.float-card {
  position: absolute; z-index: 4; border-radius: 16px; padding: 16px 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(4, 8, 30, .45); color: #fff;
  animation: float 5.5s ease-in-out infinite;
}
.float-card .fc-label { font-size: 12px; color: var(--text-soft); margin-bottom: 6px; letter-spacing: .05em; }
.float-card .fc-val { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.float-card .fc-val em { font-style: normal; color: var(--mint); font-size: 13px; margin-left: 6px; }
.fc-arrive { top: 12%; right: 0; animation-delay: -1.2s; }
.fc-trade { bottom: 12%; left: -2%; animation-delay: -2.6s; }
.fc-secure {
  top: 6%; left: 4%; display: flex; align-items: center; gap: 10px;
  animation-delay: -4s;
}
.fc-secure .shield {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); box-shadow: 0 10px 24px rgba(124, 108, 255, .45);
}
.fc-secure .shield svg { width: 20px; height: 20px; }
.fc-secure b { display: block; font-size: 14px; }
.fc-secure span { font-size: 12px; color: var(--text-soft); }

/* ---------------- 渠道带 ---------------- */
.channels {
  background: #fff; border-bottom: 1px solid #eef0f8; padding: 26px 0;
}
.channels .ch-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.channels .ch-label { color: var(--text-muted); font-size: 13.5px; letter-spacing: .14em; white-space: nowrap; }
.channels .ch-items { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.channels .ch-item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 22px; border-radius: 100px; font-size: 14.5px; font-weight: 600;
  color: #40486b; background: #f6f7fd; border: 1px solid #e9ecf7;
  transition: all .25s ease;
}
.channels .ch-item:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 32, 90, .08); }
.channels .ch-item i {
  font-style: normal; width: 24px; height: 24px; border-radius: 7px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 800;
}

/* ---------------- 接入（步骤 + 代码窗） ---------------- */
.step-card {
  display: flex; gap: 18px; padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid #edeff8; box-shadow: var(--card-shadow);
  transition: transform .3s ease; margin-bottom: 20px;
}
.step-card:hover { transform: translateX(8px); }
.step-num {
  flex: none; width: 52px; height: 52px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff; background: var(--grad);
  box-shadow: 0 10px 24px rgba(124, 108, 255, .35);
}
.step-card h5 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.85; margin: 0; }
.code-window {
  border-radius: 20px; overflow: hidden; background: #0d1230;
  border: 1px solid rgba(124, 108, 255, .25);
  box-shadow: 0 30px 80px rgba(23, 32, 90, .25);
}
.code-head {
  display: flex; align-items: center; gap: 8px; padding: 15px 20px;
  background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.code-head i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.code-head i:nth-child(1) { background: #ff5f57; }
.code-head i:nth-child(2) { background: #febc2e; }
.code-head i:nth-child(3) { background: #28c840; }
.code-head span { margin-left: 10px; color: var(--text-soft); font-size: 12.5px; font-family: Menlo, Consolas, monospace; }
.code-body {
  padding: 26px 26px 30px; margin: 0; font-family: Menlo, Consolas, monospace;
  font-size: 13.5px; line-height: 2.05; color: #c9d2f2; overflow-x: auto; white-space: pre;
}
.code-body .k { color: #7c9bff; }
.code-body .s { color: #3ee6b8; }
.code-body .n { color: #ffd166; }
.code-body .c { color: #5b6489; }
.code-body .f { color: #b16cff; }

/* ---------------- 服务 ---------------- */
.sec-light { background: #f6f8ff; }
.svc-card {
  position: relative; height: 100%; padding: 34px 28px; border-radius: 20px;
  background: #fff; border: 1px solid #edeff8; box-shadow: var(--card-shadow);
  transition: transform .35s ease, box-shadow .35s ease; overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: var(--grad); transition: height .35s ease; z-index: 0;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(23, 32, 90, .16); }
.svc-card:hover::after { height: 4px; }
.svc-icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 22px;
  background: var(--grad-soft); border: 1px solid rgba(124, 108, 255, .18);
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h5 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.svc-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.9; margin: 0; }

/* ---------------- 统计 ---------------- */
.stats-sec {
  background:
    radial-gradient(700px 400px at 15% 20%, rgba(42, 212, 255, .18), transparent 60%),
    radial-gradient(700px 420px at 85% 80%, rgba(177, 108, 255, .2), transparent 60%),
    linear-gradient(160deg, #0d1230, #131a3a);
  overflow: hidden;
}
.stat-card {
  text-align: center; padding: 40px 20px; border-radius: 20px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px); transition: transform .3s ease;
}
.stat-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.stat-card .num {
  font-size: 42px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card .num small { font-size: 22px; }
.stat-card .lbl { color: var(--text-soft); font-size: 14px; margin-top: 12px; letter-spacing: .08em; }

/* ---------------- 展望 / 口碑 ---------------- */
.quote-card {
  height: 100%; padding: 34px 30px; border-radius: 20px; background: #fff;
  border: 1px solid #edeff8; box-shadow: var(--card-shadow); position: relative;
  transition: transform .3s ease;
}
.quote-card:hover { transform: translateY(-6px); }
.quote-card .q-mark {
  font-size: 64px; line-height: 1; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .25; font-family: Georgia, serif;
}
.quote-card p { color: #4a527a; font-size: 15px; line-height: 2; margin: 6px 0 22px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px; background: var(--grad);
}
.quote-card .who b { display: block; font-size: 14.5px; color: var(--text-dark); }
.quote-card .who span { font-size: 12.5px; color: var(--text-muted); }

/* ---------------- CTA ---------------- */
.cta-sec { padding: 0; }
.cta-box {
  position: relative; border-radius: 28px; overflow: hidden; padding: 72px 60px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(42, 212, 255, .35), transparent 60%),
    radial-gradient(500px 300px at 5% 100%, rgba(177, 108, 255, .4), transparent 60%),
    linear-gradient(130deg, #171e48, #0d1230);
  color: #fff; text-align: center;
}
.cta-box h3 { font-size: 34px; font-weight: 800; margin-bottom: 16px; }
.cta-box p { color: var(--text-soft); font-size: 16px; margin-bottom: 36px; }
.cta-box .hero-btns { justify-content: center; }

/* ---------------- 页脚 ---------------- */
.footer8 { background: #0b1026; color: var(--text-soft); padding: 80px 0 0; }
.footer8 h6 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .1em; margin-bottom: 22px; }
.footer8 .f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer8 .f-brand .brand-name { color: #fff; font-size: 19px; font-weight: 800; }
.footer8 .f-brand .brand-name b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer8 .f-about { font-size: 14px; line-height: 2; }
.footer8 .f-links { list-style: none; padding: 0; margin: 0; }
.footer8 .f-links li { margin-bottom: 13px; }
.footer8 .f-links a { color: var(--text-soft); font-size: 14px; }
.footer8 .f-links a:hover { color: var(--cyan); padding-left: 4px; }
.footer8 .f-contact p { font-size: 14px; margin-bottom: 12px; }
.footer8 .f-contact a { color: var(--text-soft); }
.footer8 .f-contact a:hover { color: var(--cyan); }
.footer8 .f-contact i {
  font-style: normal; display: inline-flex; width: 22px; height: 22px; margin-right: 9px;
  border-radius: 6px; background: rgba(255, 255, 255, .08); align-items: center;
  justify-content: center; font-size: 11px;
}
.f-bor { height: 1px; background: rgba(255, 255, 255, .08); margin: 46px 0 0; }
.f-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; flex-wrap: wrap; gap: 10px; }
.f-bottom p { margin: 0; font-size: 13.5px; }
.f-bottom a { color: #fff; }
.f-bottom a:hover { color: var(--cyan); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badges span {
  font-size: 12px; padding: 5px 14px; border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .14); color: var(--text-soft);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 991px) {
  .menu8 {
    position: absolute; top: calc(100% + 10px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(13, 18, 48, .97); border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px; padding: 14px; backdrop-filter: blur(20px);
    box-shadow: 0 30px 70px rgba(4, 8, 30, .6); display: none;
  }
  .menu8.open { display: flex; }
  .menu8 > li > a { padding: 12px 18px; }
  .burger { display: block; }
  .nav-cta .login-btn { display: none; }
  .hero-title { font-size: 38px; }
  .hero-visual { height: 480px; margin-top: 30px; }
  .section { padding: 80px 0; }
  .sec-title { font-size: 28px; }
  .cta-box { padding: 56px 28px; }
  .fc-trade { left: 0; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 31px; }
  .hero-metrics { gap: 26px; }
  .hero-metrics .m b { font-size: 24px; }
  .hero-visual { height: 430px; transform: scale(.86); transform-origin: top center; }
  .stat-card .num { font-size: 32px; }
  .cta-box h3 { font-size: 25px; }
}
