:root {
  --primary: #1e4fa3;
  --primary-dark: #163a78;
  --primary-light: #e8f0fe;
  --accent: #f59e0b;
  --bg: #f5f8fd;
  --bg-alt: #eef3fb;
  --text: #1f2a3d;
  --text-soft: #5a6b85;
  --white: #ffffff;
  --border: #e2e9f3;
  --shadow: 0 8px 30px rgba(30, 79, 163, 0.10);
  --radius: 16px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;            /* 正文基准 ≥14px */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;         /* 杜绝移动端横向滚动 */
}
img { max-width: 100%; height: auto; display: block; }   /* 图片自适应 */
a { text-decoration: none; color: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Buttons — 触控高度 ≥44px */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary-light); }
.btn-lg { padding: 13px 32px; font-size: 16px; min-height: 50px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 19px;
}
.brand-text { color: var(--primary-dark); letter-spacing: .5px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-soft); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--primary); cursor: pointer; }

/* Breadcrumb */
.breadcrumb { background: var(--bg); border-bottom: 1px solid var(--border); font-size: 14px; }
.breadcrumb .container { padding: 12px 20px; color: var(--text-soft); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span.sep { margin: 0 8px; color: #b9c5da; }
.breadcrumb span.cur { color: var(--text); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #eef3fb 0%, #ffffff 60%);
  padding: 64px 0 72px; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.badge {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: 46px; line-height: 1.22; font-weight: 800; color: var(--primary-dark); }
.hero h1 .hl { color: var(--primary); }
.hero-sub { margin: 20px 0 26px; color: var(--text-soft); font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 26px; color: var(--primary); font-weight: 800; }
.hero-trust span { font-size: 14px; color: var(--text-soft); }
.hero-visual { position: relative; }
.hero-scene { width: 100%; max-width: 420px; margin: 0 auto; }
.ai-tag {
  position: absolute; left: 8px; bottom: 8px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--primary);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 6px;
}
.ai-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.section-head h2 { font-size: 32px; color: var(--primary-dark); margin: 10px 0; font-weight: 800; }
.section-head p { color: var(--text-soft); font-size: 16px; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 32px; margin-bottom: 12px; }
.card h3 { color: var(--primary-dark); font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 15px; }

/* Stats bar */
.stats-bar { background: var(--primary); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: 32px; font-weight: 800; }
.stat span { font-size: 14px; opacity: .92; }

/* Trust / 资质荣誉 */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.badge-item {
  background: #fff; border: 1px dashed var(--border); border-radius: 12px; padding: 20px 16px; text-align: center;
}
.badge-item .b-ico { font-size: 30px; }
.badge-item h4 { color: var(--primary-dark); font-size: 16px; margin: 8px 0 4px; }
.badge-item p { color: var(--text-soft); font-size: 13px; }

/* Testimonials / 客户评价 */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.testi .stars { color: var(--accent); font-size: 16px; margin-bottom: 10px; }
.testi p { color: var(--text); font-size: 15px; }
.testi .who { margin-top: 14px; font-size: 14px; color: var(--text-soft); font-weight: 600; }

/* Guarantee / 售后承诺 */
.guarantee {
  background: var(--primary-light); border-radius: var(--radius); padding: 26px 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px;
}
.guarantee div { display: flex; gap: 10px; align-items: flex-start; }
.guarantee .g-ico { font-size: 22px; }
.guarantee h4 { color: var(--primary-dark); font-size: 16px; }
.guarantee p { color: var(--text-soft); font-size: 14px; }

/* Cases */
.case-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  border: 1px solid var(--border); background: #fff; color: var(--text-soft); min-height: 40px;
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all .2s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.case-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  position: relative; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-tag {
  position: absolute; top: 18px; right: 18px; background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.case-card h3 { color: var(--primary-dark); font-size: 18px; margin: 6px 0 10px; padding-right: 64px; }
.case-desc { color: var(--text-soft); font-size: 14px; flex: 1; }
.case-result { list-style: none; margin-top: 14px; }
.case-result li { font-size: 14px; color: var(--primary); padding: 3px 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.step-no {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 20px; font-weight: 800; margin: 0 auto 12px;
}
.step h4 { color: var(--primary-dark); font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: 14px; }

/* CTA band — 中部转化入口 */
.cta-band { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px 20px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; font-weight: 800; }
.cta-band p { opacity: .92; font-size: 16px; margin-top: 6px; }
.cta-band .btn-ghost { background: #fff; color: var(--primary); border-color: #fff; }

/* Lead form — 留资表单（≤3项） */
.lead-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lead-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.lead-form h3 { color: var(--primary-dark); font-size: 20px; margin-bottom: 6px; }
.lead-form .sub { color: var(--text-soft); font-size: 14px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; color: var(--text); font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; min-height: 46px; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
  font-size: 15px; outline: none; font-family: inherit;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 90px; }
.lead-form .btn { width: 100%; margin-top: 6px; }
.lead-note { font-size: 13px; color: var(--text-soft); margin-top: 12px; text-align: center; }
.lead-success { display: none; text-align: center; padding: 20px; }
.lead-success.show { display: block; }
.lead-success .ok { font-size: 40px; }
.lead-success h3 { color: var(--primary-dark); margin: 8px 0; }

/* About / contact card */
.about-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.about-copy h2 { font-size: 30px; color: var(--primary-dark); margin: 10px 0 14px; font-weight: 800; }
.about-copy p { color: var(--text-soft); font-size: 16px; }
.check-list { list-style: none; margin: 18px 0 24px; }
.check-list li { color: var(--text); font-size: 15px; padding: 5px 0; }
.about-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.about-card h3 { color: var(--primary-dark); font-size: 20px; margin-bottom: 16px; }
.contact-line { font-size: 15px; margin-bottom: 12px; color: var(--text); }
.contact-line span { display: inline-block; width: 56px; color: var(--primary); font-weight: 600; }
.call-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px;
  background: var(--accent); color: #fff; border-radius: 10px; font-weight: 700; font-size: 16px; margin-top: 6px;
}
.call-btn:hover { filter: brightness(1.05); }
.tip { margin-top: 16px; font-size: 14px; color: var(--text-soft); background: var(--primary-light); padding: 10px 12px; border-radius: 10px; }

/* Footer + 企业公示 */
.footer { background: var(--primary-dark); color: #fff; padding: 40px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer .brand-text { color: #fff; }
.footer-note { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 8px; }
.footer h4 { font-size: 15px; margin-bottom: 12px; color: #fff; }
.footer ul { list-style: none; }
.footer ul li { font-size: 14px; color: rgba(255,255,255,.8); padding: 4px 0; }
.footer ul li a:hover { color: #fff; }
.publicity { background: rgba(0,0,0,.18); border-radius: 10px; padding: 16px 18px; margin: 22px 0; font-size: 14px; }
.publicity h4 { color: #fff; font-size: 14px; margin-bottom: 8px; }
.publicity p { color: rgba(255,255,255,.82); font-size: 13.5px; line-height: 1.8; }
.copyright { color: rgba(255,255,255,.6); font-size: 13px; text-align: center; margin-top: 8px; }

/* Floating buttons — 咨询 + 一键拨号（右侧悬浮） */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 100; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.call-fab, .chat-fab {
  width: 58px; height: 58px; border-radius: 50%; color: #fff; font-size: 26px; display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 10px 30px rgba(30,79,163,.4); transition: transform .2s; text-decoration: none;
}
.call-fab { background: var(--accent); box-shadow: 0 10px 30px rgba(245,158,11,.45); }
.chat-fab { background: var(--primary); }
.call-fab:hover, .chat-fab:hover { transform: scale(1.08); }
.fab-label { font-size: 11px; color: #fff; background: rgba(0,0,0,.55); padding: 2px 8px; border-radius: 999px; margin-top: 2px; }

.chat-panel {
  position: fixed; right: 22px; bottom: 96px; width: 372px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 120px);
  background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(20,40,90,.28);
  display: none; flex-direction: column; overflow: hidden; z-index: 101; border: 1px solid var(--border);
}
.chat-panel.open { display: flex; animation: pop .2s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.chat-header { background: var(--primary); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--primary); display: grid; place-items: center; font-weight: 800; }
.chat-title { font-weight: 700; font-size: 15px; }
.chat-status { font-size: 12px; opacity: .9; display: flex; align-items: center; gap: 5px; }
.chat-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.chat-close { background: none; border: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; gap: 8px; max-width: 92%; }
.msg-avatar { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg.user .msg-avatar { background: var(--accent); }
.msg-bubble { padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.55; word-break: break-word; }
.msg.bot .msg-bubble { background: #fff; border: 1px solid var(--border); border-top-left-radius: 4px; }
.msg.user .msg-bubble { background: var(--primary); color: #fff; border-top-right-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-soft); animation: blink 1.2s infinite; }
.typing span:nth-child(2){ animation-delay: .2s; } .typing span:nth-child(3){ animation-delay: .4s; }
@keyframes blink { 0%,60%,100%{opacity:.3;} 30%{opacity:1;} }
.chat-quick { display: flex; gap: 8px; padding: 10px 12px; flex-wrap: wrap; border-top: 1px solid var(--border); background: #fff; }
.quick-chip { border: 1px solid var(--border); background: var(--bg); color: var(--primary); font-size: 13px; min-height: 36px; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.quick-chip:hover { background: var(--primary-light); border-color: var(--primary); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: #fff; }
.chat-input input { flex: 1; min-height: 44px; border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; font-size: 15px; outline: none; }
.chat-input input:focus { border-color: var(--primary); }
.chat-input .btn { min-height: 44px; padding: 10px 18px; }

/* Article（产品/详情长文）*/
.article { max-width: 860px; margin: 0 auto; }
.article-h { color: var(--primary-dark); font-size: 22px; margin: 30px 0 10px; font-weight: 800; }
.article p { color: var(--text); font-size: 16px; margin-bottom: 14px; }
.article strong { color: var(--primary-dark); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .about-inner, .lead-wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3, .grid-4, .badges, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .guarantee { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 24px; gap: 14px; border-bottom: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .grid-3, .grid-4, .badges, .testi-grid, .steps, .stats-grid, .footer-top { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .chat-panel { right: 12px; bottom: 92px; height: 70vh; }
  .fab-stack { right: 14px; bottom: 14px; }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 26px; }
}
