/* =================================================================
   澎启平台 · 官网样式
   浅色电商风：白底、橙点、灰底分区、细边卡片
   ================================================================= */

:root {
  --brand: #ff5a00;
  --brand-2: #ff8a3d;
  --brand-soft: #fff4ed;
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e8e8e8;
  --line-2: #f0f0f0;
  --bg: #ffffff;
  --gray: #f7f7f8;
  --dark: #17171a;
  --radius: 14px;
  --wrap: 1160px;
  --nav-h: 66px;
  --shadow-s: 0 2px 10px rgba(0, 0, 0, .04);
  --shadow-m: 0 10px 30px rgba(0, 0, 0, .07);
  --shadow-l: 0 24px 60px rgba(0, 0, 0, .10);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.4px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 18px; border-radius: 19px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #f05200; box-shadow: 0 8px 20px rgba(255, 90, 0, .28); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--brand); background: var(--brand-soft); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #cfcfcf; background: #fafafa; }
.btn-lg { height: 46px; padding: 0 28px; border-radius: 23px; font-size: 15px; font-weight: 600; }

/* ---------------------------------------------------------------- 导航 */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--line-2); box-shadow: 0 2px 12px rgba(0, 0, 0, .04); }
.nav-inner { display: flex; align-items: center; height: var(--nav-h); gap: 30px; }

.brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-mark { width: 30px; height: 30px; }
.brand-text { font-size: 17px; font-weight: 700; letter-spacing: 0; }
.brand-text em { font-style: normal; color: var(--brand); font-weight: 700; }

.nav-menu { display: contents; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  display: block; padding: 0 13px; height: 36px; line-height: 36px;
  font-size: 14.5px; color: var(--ink-2); border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-soft); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0; border: 0; background: none;
  flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; margin-left: auto;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .22s, opacity .22s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- 首屏 */
.hero { position: relative; padding: 64px 0 58px; }
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 640px; z-index: 0;
  background:
    radial-gradient(46% 42% at 50% 0%, rgba(255, 122, 40, .16), transparent 70%),
    radial-gradient(26% 24% at 84% 8%, rgba(255, 176, 120, .18), transparent 70%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; text-align: center; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 15px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow-s);
}
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.hero h1 {
  margin: 22px auto 0; max-width: 900px;
  font-size: 54px; line-height: 1.22; font-weight: 700; letter-spacing: -1.5px;
}
.hero h1 .hl {
  background: linear-gradient(96deg, #ff8a3d, #ff4d00 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub { margin: 20px auto 0; max-width: 660px; font-size: 16.5px; line-height: 1.85; color: var(--ink-2); }

.hero-btns { margin-top: 30px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* 产品界面示意 */
.mock {
  margin: 46px auto 0; max-width: 980px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-l); overflow: hidden; text-align: left;
}
.mock-bar {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px;
  background: #fafafa; border-bottom: 1px solid var(--line-2);
}
.mb-dots { display: flex; gap: 6px; }
.mb-dots i { width: 9px; height: 9px; border-radius: 50%; background: #e0e0e0; }
.mb-dots i:nth-child(1) { background: #ffd0bd; }
.mb-dots i:nth-child(2) { background: #ffe0c4; }
.mb-url { font-size: 12px; color: var(--muted); }

.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.mk-side { background: #fbfbfb; border-right: 1px solid var(--line-2); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.mk-logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #ff8a3d, #ff4d00); margin: 2px 0 12px 6px; }
.mk-nav { font-size: 12.5px; color: var(--ink-2); padding: 7px 10px; border-radius: 7px; }
.mk-nav.active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: var(--shadow-s); }

.mk-main { padding: 16px 18px; background: #fff; }
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mk-kpi { background: #fafafa; border-radius: 10px; padding: 10px 12px; }
.mk-kpi b { display: block; font-size: 19px; line-height: 1.3; letter-spacing: -.5px; }
.mk-kpi span { font-size: 11.5px; color: var(--muted); }

.mk-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mk-col { background: #fafafa; border-radius: 10px; padding: 10px; }
.mk-col-h { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-bottom: 8px; }
.mk-col-h em { font-style: normal; font-size: 11px; color: var(--muted); background: #fff; border-radius: 9px; padding: 1px 7px; }
.mk-card { background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; margin-bottom: 7px; }
.mk-card b { display: block; font-size: 12px; font-weight: 600; }
.mk-card span { font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- 成本条 */
.band { background: var(--dark); color: #fff; padding: 44px 0; }
.band-in { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.band-copy { font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.band-num { display: flex; align-items: baseline; color: var(--brand-2); }
.band-num b { font-size: 62px; line-height: 1; letter-spacing: -2px; }
.band-num span { font-size: 26px; margin-left: 2px; }
.band-num em { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .55); margin-left: 8px; }
.band-list { display: flex; gap: 34px; margin-left: auto; flex-wrap: wrap; }
.band-list b { display: block; font-size: 14.5px; }
.band-list span { font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ---------------------------------------------------------------- 通用版块 */
.sec { padding: 84px 0; }
.sec-gray { background: var(--gray); }
.sec-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 12px; font-size: 12.5px; font-weight: 600;
  color: var(--brand); letter-spacing: 1.5px;
}
.sec-head h2 { font-size: 34px; line-height: 1.35; letter-spacing: -.8px; }
.sec-head p { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }

/* 售前 / 售中 / 售后 */
.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stage {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.stage:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #e0e0e0; }
.stage-h { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.stage-tag {
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 11px; letter-spacing: .5px;
}
.stage-tag.t1 { color: #c2410c; background: #fff0e6; }
.stage-tag.t2 { color: #1d4ed8; background: #eaf0ff; }
.stage-tag.t3 { color: #0f766e; background: #e6f6f3; }
.stage-h h3 { font-size: 17px; }

.stage-list { margin-top: 6px; }
.stage-list li { padding: 16px 0; border-bottom: 1px dashed var(--line-2); }
.stage-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.stage-list b { display: block; font-size: 15px; margin-bottom: 6px; }
.stage-list span { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

/* 工具库 */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #e2e2e2; }
.tool-ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px;
}
.tool-ico svg { width: 21px; height: 21px; }
.tool h3 { font-size: 16px; margin-bottom: 8px; }
.tool p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

.tool-more {
  background: linear-gradient(160deg, #fff8f3, #ffffff 60%);
  border-style: dashed; display: flex; flex-direction: column;
}
.tool-more h3 { color: var(--brand); }
.link-arrow { margin-top: auto; padding-top: 14px; display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--brand); }

/* 四化 */
.quart-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quart { padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.quart-k {
  display: inline-block; font-size: 15px; font-weight: 700; margin-bottom: 10px;
  padding-bottom: 2px; border-bottom: 2px solid var(--brand);
}
.quart p { font-size: 13.5px; color: var(--ink-2); line-height: 1.78; }

/* 多终端 */
.term-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.term {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: box-shadow .2s, transform .2s;
}
.term:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.term-ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 14px;
}
.term-ico svg { width: 21px; height: 21px; }
.term h3 { font-size: 16.5px; margin-bottom: 8px; }
.term p { font-size: 13.5px; color: var(--ink-2); line-height: 1.78; }
.term-mini { background: #fffdfb; border-style: dashed; }

/* 价格方案 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #e0e0e0; }
.plan-hot {
  border-color: #ffcdb2; background: linear-gradient(180deg, #fff7f2, #fff 42%);
  box-shadow: 0 12px 36px rgba(255, 90, 0, .09);
}
.plan-hot:hover { border-color: #ffb98f; box-shadow: 0 18px 44px rgba(255, 90, 0, .14); }
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 3px 13px; border-radius: 11px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .5px; white-space: nowrap;
}
.plan-badge:empty { display: none; }
.plan-h h3 { font-size: 19px; letter-spacing: -.3px; }
.plan-h p { margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.plan-price b { font-size: 38px; line-height: 1.1; font-weight: 700; letter-spacing: -1.5px; }
.plan-price span { font-size: 13px; color: var(--muted); }
/* 定制报价那一档（文字价格）不要压过数字档 */
.plan:last-child .plan-price b { font-size: 30px; letter-spacing: -.5px; }
.plan-hr { height: 1px; background: var(--line-2); margin: 20px 0 18px; }
.plan-feats { flex: 1 1 auto; }
.plan-feats li {
  position: relative; padding-left: 22px; margin-bottom: 11px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.65;
}
.plan-feats li::before {
  content: ''; position: absolute; left: 1px; top: 5px;
  width: 12px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg); border-radius: 1px;
}
.plan-feats li:empty { display: none; }
.plan-btn { width: 100%; height: 42px; border-radius: 21px; margin-top: 8px; font-size: 14.5px; }
.price-tip { margin-top: 28px; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------------------------------------------------------------- 试用 */
.cta { padding: 82px 0 90px; background: #fff; border-top: 1px solid var(--line-2); }
.cta-in { max-width: 620px; text-align: center; }
.cta h2 { font-size: 32px; letter-spacing: -.8px; }
.cta > .wrap > p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

.lead-form { margin-top: 28px; text-align: left; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 13px 16px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-family: inherit; font-size: 14px; color: var(--ink); outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #b3b3b3; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 90, 0, .1); }
.lead-form textarea { min-height: 96px; resize: vertical; }
.lf-submit { width: 100%; margin-top: 4px; }
.lf-submit:disabled { opacity: .6; cursor: default; }
.lf-msg { margin-top: 12px; font-size: 13.5px; color: #0f9d58; min-height: 20px; text-align: center; }
.lf-msg.err { color: #c0392b; }
.cta-note { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.cta-link { color: var(--brand); font-weight: 500; }

/* ---------------------------------------------------------------- 页脚 */
.footer { background: #fafafa; border-top: 1px solid var(--line-2); padding: 54px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand p { margin-top: 12px; font-size: 13.5px; color: var(--muted); max-width: 260px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fcol h4 { font-size: 13.5px; margin-bottom: 14px; }
.fcol a { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 9px; transition: color .15s; }
.fcol a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--muted);
}

/* ---------------------------------------------------------------- 动效 */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .stage:hover, .tool:hover, .term:hover { transform: none; }
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .band-list { margin-left: 0; width: 100%; }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  .nav.open .nav-menu {
    display: block; position: absolute; left: 0; right: 0; top: var(--nav-h);
    padding: 6px 16px 16px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .07);
  }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open .nav-links a { height: 46px; line-height: 46px; padding: 0 8px; font-size: 15px; }
  .nav.open .nav-actions { display: flex; gap: 10px; margin: 10px 0 0; }
  .nav.open .nav-actions .btn { flex: 1; height: 42px; font-size: 14.5px; }
  .nav.open .nav-actions .btn-ghost { border-color: var(--line); background: #fff; }

  .stage-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .quart-grid { grid-template-columns: repeat(2, 1fr); }
  .term-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .hero { padding-top: 42px; }
  .hero h1 { font-size: 33px; letter-spacing: -1px; }
  .hero-sub { font-size: 15px; }
  .hero-btns .btn-lg { flex: 1; min-width: 140px; }
  .mock { border-radius: 12px; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mk-side { display: none; }
  .mk-kpis { grid-template-columns: repeat(2, 1fr); }
  .mk-cols { grid-template-columns: 1fr 1fr; }
  .mk-col:nth-child(3) { display: none; }
  .band { padding: 32px 0; }
  .band-num b { font-size: 48px; }
  .band-list { gap: 20px; }
  .sec { padding: 60px 0; }
  .sec-head h2 { font-size: 25px; }
  .sec-head p { font-size: 14.5px; }
  .cta h2 { font-size: 25px; }
  .lf-row { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px 24px; }
  .plan-price b { font-size: 34px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; align-items: flex-start; }
}

@media (max-width: 420px) {
  .tool-grid { grid-template-columns: 1fr; }
  .quart-grid { grid-template-columns: 1fr; }
}
