:root {
  --primary: #ff7a1a;
  --primary-dark: #e5660a;
  --dark: #10141f;
  --dark-2: #171d2d;
  --text: #2b3245;
  --muted: #6b7280;
  --light: #f6f7fa;
  --white: #ffffff;
  --green: #16a34a;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(16,20,31,.92);
  backdrop-filter: blur(10px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 700; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #ffb14a);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 19px; height: 19px; color: #fff; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: #c7cdd8; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--primary); color: #fff; padding: 9px 22px;
  border-radius: 22px; font-size: 14px; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--primary-dark); }

/* 汉堡菜单（移动端） */
.menu-toggle {
  display: none; background: none; border: none; color: #fff;
  cursor: pointer; padding: 8px;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ===== Hero ===== */
.hero {
  padding: 150px 0 90px;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(255,122,26,.18), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(22,163,74,.14), transparent 60%),
    var(--dark);
  color: #fff;
  text-align: center;
}
.hero-badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  background: rgba(255,122,26,.15); color: #ffb14a;
  font-size: 14px; margin-bottom: 24px; border: 1px solid rgba(255,122,26,.35);
}
.hero h1 { font-size: 46px; line-height: 1.25; letter-spacing: 1px; }
.hero h1 span { color: var(--primary); }
.hero p.lead {
  margin: 22px auto 40px; max-width: 680px;
  color: #a9b2c3; font-size: 17px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 26px;
  font-size: 16px; font-weight: 600; transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); color: #e6e9ef; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-stats {
  display: flex; justify-content: center; gap: 56px; margin-top: 64px; flex-wrap: wrap;
}
.hero-stats .stat b { font-size: 30px; color: #ffb14a; display: block; }
.hero-stats .stat span { color: #8f98a8; font-size: 14px; }

/* ===== 通用 section ===== */
section { padding: 84px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .tag {
  color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: 2px;
}
.section-head h2 { font-size: 32px; margin: 10px 0 14px; }
.section-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ===== 功能 ===== */
.features { background: var(--light); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: 0 4px 18px rgba(20,30,50,.06);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(20,30,50,.12); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,122,26,.15), rgba(255,177,74,.2));
}
.feature-icon svg { width: 26px; height: 26px; color: var(--primary); }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ===== 流程 ===== */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step { text-align: center; position: relative; padding: 0 8px; }
.flow-num {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: var(--primary);
  box-shadow: 0 4px 14px rgba(255,122,26,.18);
  position: relative; z-index: 1;
}
.flow-step::after {
  content: ''; position: absolute; top: 31px; left: calc(50% + 36px);
  width: calc(100% - 72px); height: 2px;
  background: repeating-linear-gradient(90deg, #ffb14a 0 8px, transparent 8px 14px);
}
.flow-step:last-child::after { display: none; }
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 14px; }

/* ===== 双端介绍 ===== */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo-card {
  border-radius: 18px; padding: 40px 36px; color: #fff;
  position: relative; overflow: hidden;
}
.duo-card.merchant { background: linear-gradient(135deg, #1d2740, #10141f); }
.duo-card.admin { background: linear-gradient(135deg, #14532d, #052e16); }
.duo-card h3 { font-size: 24px; margin-bottom: 6px; }
.duo-card .sub { color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 22px; }
.duo-card ul li {
  padding: 9px 0; font-size: 15px; color: rgba(255,255,255,.88);
  display: flex; align-items: flex-start; gap: 10px;
}
.duo-card ul li::before { content: '✓'; color: var(--primary); font-weight: 800; }
.duo-card.admin ul li::before { content: '✓'; color: #4ade80; font-weight: 800; }

/* ===== 场景 ===== */
.scenes { background: var(--light); }
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scene-card {
  background: var(--white); border-radius: var(--radius); text-align: center;
  padding: 34px 18px; border: 1px solid #e9ecf2;
  transition: all .25s;
}
.scene-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.scene-card .ico { margin-bottom: 12px; }
.scene-card .ico svg { width: 34px; height: 34px; color: var(--primary); }
.scene-card h3 { font-size: 17px; margin-bottom: 6px; }
.scene-card p { color: var(--muted); font-size: 13.5px; }

/* ===== 优势 ===== */
.advantage-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.adv-list li {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px dashed #e5e8ee;
}
.adv-list li:last-child { border-bottom: none; }
.adv-list .num {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,122,26,.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.adv-list h3 { font-size: 17px; margin-bottom: 4px; }
.adv-list p { color: var(--muted); font-size: 14px; }
.adv-panel {
  background: var(--dark); color: #fff; border-radius: 18px; padding: 44px 38px;
}
.adv-panel h3 { font-size: 22px; margin-bottom: 24px; }
.bar-item { margin-bottom: 20px; }
.bar-item .bar-label { display: flex; justify-content: space-between; font-size: 14px; color: #c2c9d6; margin-bottom: 8px; }
.bar-item .bar-label b { color: #ffb14a; }
.bar-track { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--primary), #ffb14a); }

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(255,122,26,.25), transparent 70%),
    var(--dark-2);
  color: #fff; text-align: center; padding: 76px 0;
}
.cta h2 { font-size: 30px; margin-bottom: 14px; }
.cta p { color: #a9b2c3; margin-bottom: 30px; }

/* ===== 页脚 ===== */
footer { background: var(--dark); color: #8f98a8; padding: 44px 0 30px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
footer h4 { color: #e6e9ef; font-size: 16px; margin-bottom: 14px; }
footer li { padding: 4px 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; text-align: center; }

/* ===== 动画 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .feature-grid, .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .flow-step::after { display: none; }
  .duo, .advantage-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(16,20,31,.98);
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 24px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 24px; font-size: 15px; }
}
@media (max-width: 520px) {
  .feature-grid, .scene-grid, .flow-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 28px; }
}
