/* ============================================================
   PayBroadcast — 官方网站样式
   ============================================================ */
:root {
  --blue: #2e6bff;
  --cyan: #00b1ea;
  --green: #06c98a;
  --ink: #0b1f3a;
  --ink-2: #41566e;
  --ink-3: #6b7d92;
  --line: #e3edf6;
  --bg: #f4f8fc;
  --white: #fff;
  --grad: linear-gradient(150deg, #2e6bff 0%, #00b1ea 55%, #06c98a 100%);
  --radius: 16px;
  --shadow: 0 18px 50px -18px rgba(11, 31, 58, .25);
  --shadow-sm: 0 6px 20px -8px rgba(11, 31, 58, .18);
  --container: 1140px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 80px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(0, 177, 234, .8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(0, 177, 234, .85); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.7); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- 顶栏 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img, .brand svg { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 4px; font-size: 13px; color: var(--ink-3); }
.lang-switch a { padding: 4px 8px; border-radius: 6px; }
.lang-switch a.active { color: #fff; background: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 380px at 85% -10%, rgba(0, 177, 234, .18), transparent 60%),
    radial-gradient(500px 320px at -10% 20%, rgba(46, 107, 255, .15), transparent 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 76px 0 90px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: #e7f7f0; color: #04916a; font-size: 13px; font-weight: 700; margin-bottom: 20px;
}
.hero h1 { font-size: 47px; line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 20px 0 30px; font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.hero-visual { position: relative; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .num { font-size: 28px; font-weight: 800; color: var(--ink); }
.hero-stats .lbl { font-size: 13px; color: var(--ink-3); }

/* 产品 mockup */
.mockup {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line);
  overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.mockup-bar { display: flex; gap: 7px; padding: 13px 16px; background: #f7fafd; border-bottom: 1px solid var(--line); }
.mockup-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mockup-bar i:nth-child(1) { background: #ff5f57; }
.mockup-bar i:nth-child(2) { background: #febc2e; }
.mockup-bar i:nth-child(3) { background: #28c840; }
.mockup-body { padding: 22px; }
.mockup-row { display: flex; gap: 12px; margin-bottom: 14px; }
.mockup-card { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.mockup-card .t { font-size: 11px; color: var(--ink-3); }
.mockup-card .v { font-size: 19px; font-weight: 800; margin-top: 3px; }
.mockup-pay {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 12px;
  background: linear-gradient(120deg, #eff6ff, #e6faf4); border: 1px solid #d8ecff; margin-top: 12px;
}
.mockup-pay .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; flex: none;
}
.mockup-pay .who { font-size: 13px; color: var(--ink-3); }
.mockup-pay .amt { font-size: 18px; font-weight: 800; color: #0a8f63; }
.sound-wave { display: flex; gap: 4px; align-items: center; margin-left: auto; height: 34px; }
.sound-wave i { width: 5px; border-radius: 3px; background: var(--grad); animation: wave 1.1s ease-in-out infinite; }
.sound-wave i:nth-child(1) { height: 40%; animation-delay: 0s; }
.sound-wave i:nth-child(2) { height: 75%; animation-delay: .15s; }
.sound-wave i:nth-child(3) { height: 100%; animation-delay: .3s; }
.sound-wave i:nth-child(4) { height: 75%; animation-delay: .45s; }
.sound-wave i:nth-child(5) { height: 40%; animation-delay: .6s; }
@keyframes wave { 0%,100% { transform: scaleY(.55);} 50% { transform: scaleY(1);} }
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 10px 15px; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.chip-1 { top: -14px; right: 6px; }
.chip-2 { bottom: -14px; left: -10px; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.tint { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.section-head h2 { font-size: 34px; letter-spacing: -.02em; margin: 10px 0 12px; font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 17px; }

/* 特性卡片 */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(46,107,255,.12), rgba(6,201,138,.14));
}
.card .ico svg { width: 25px; height: 25px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; }

/* 步骤 */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 0 14px; }
.step .n {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad);
  color: #fff; font-size: 24px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0,177,234,.8);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; }

/* 引擎/双栏 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split ul { margin-top: 18px; display: grid; gap: 13px; }
.split li { display: flex; gap: 11px; color: var(--ink-2); font-size: 15px; }
.split li .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #e7f7f0; color: #04916a; display: grid; place-items: center; margin-top: 2px; }
.split-visual { background: var(--grad); border-radius: 22px; padding: 38px; color: #fff; box-shadow: var(--shadow); }
.voice-pill { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; padding: 15px 18px; margin-bottom: 12px; backdrop-filter: blur(4px); }
.voice-pill b { display: block; font-size: 15px; }
.voice-pill span { font-size: 13px; opacity: .85; }

/* 地区 */
.region-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto; }
.region-tags span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 0 22px; }
.faq details[open] { border-color: rgba(0,177,234,.5); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 0; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--cyan); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 19px; color: var(--ink-2); font-size: 15px; }

/* 下载 CTA */
.cta-band {
  background: var(--grad); border-radius: 28px; padding: 64px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 80% -40%, rgba(255,255,255,.25), transparent 60%);
}
.cta-band h2 { font-size: 33px; position: relative; letter-spacing: -.02em; }
.cta-band p { opacity: .92; margin: 12px 0 28px; position: relative; font-size: 17px; }
.cta-band .btn { position: relative; }
.cta-band .meta { position: relative; margin-top: 16px; font-size: 13px; opacity: .82; }

/* 页脚 */
.footer { background: var(--ink); color: #b9c7d8; padding: 58px 0 34px; margin-top: 88px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { font-size: 14px; max-width: 330px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; }
  .hero h1 { font-size: 36px; }
  .mockup { transform: none; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 18px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }
  .nav-right .btn { display: none; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head h2, .cta-band h2 { font-size: 27px; }
  .hero h1 { font-size: 30px; }
  .cta-band { padding: 44px 22px; }
  .float-chip { display: none; }
}
