/* ===========================================================
   无锡用心软件 · 畅捷通授权经销商站 (chanjet.cc)
   配色参考畅捷通官网橙色调性，版式与结构独立（避免与官网雷同）
   =========================================================== */

:root {
  --brand:       #ff6a00;
  --brand-dark:  #e35c00;
  --brand-light: #fff3e8;
  --ink:         #1b1f24;
  --ink-2:       #3d4652;
  --muted:       #6b7684;
  --line:        #e8ebf0;
  --soft:        #f7f8fa;
  --white:       #ffffff;
  --radius:      14px;
  --shadow:      0 10px 30px rgba(17, 24, 39, .07);
  --wrap:        1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; color: var(--ink-2); }
ul { margin: 0; padding-left: 20px; color: var(--ink-2); }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-alt { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--brand-dark); background: var(--brand-light);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.section-head p { color: var(--muted); margin-bottom: 0; }
.note-text { font-size: 13px; color: var(--muted); margin-top: 8px; }
.coverage-text { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .2s; min-height: 44px;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 0, .25); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: #ffd5b3; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; min-height: 36px; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: #1b1f24; color: #d7dce3; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 20px; flex-wrap: wrap; }
.topbar-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.contact-mask { display: inline-flex; align-items: center; gap: 6px; }
.reveal-btn {
  font-size: 12px; padding: 1px 8px; border-radius: 6px; cursor: pointer;
  background: rgba(255, 106, 0, .12); color: var(--brand-dark); border: 1px solid rgba(255, 106, 0, .3);
}
.topbar .reveal-btn { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
.topbar .contact-mask.revealed .mask-text { font-weight: 700; color: #fff; }
.footer .reveal-btn { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
.footer .contact-mask.revealed .mask-text { font-weight: 700; color: #fff; }

/* ---------- 导航 ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), #ff9838); color: #fff; font-weight: 800; font-size: 19px;
}
.logo-text { display: flex; flex-direction: column; font-weight: 800; font-size: 17px; color: var(--ink); line-height: 1.2; }
.logo-text small { font-size: 11px; font-weight: 500; color: var(--muted); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 15px; }
.nav-links a:hover { background: var(--brand-light); color: var(--brand-dark); }
.nav-links a.active { color: var(--brand-dark); font-weight: 700; background: var(--brand-light); }
.nav-cta { padding: 9px 18px; margin-left: 8px; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 20px; cursor: pointer; color: var(--ink); }

/* ---------- 面包屑 ---------- */
.crumbs { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 13px; }
.crumbs ol { display: flex; gap: 8px; list-style: none; margin: 0; padding: 10px 0; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 72px; background: linear-gradient(160deg, #fff8f2 0%, #ffffff 55%, #f7fbff 100%); overflow: hidden; }
.hero-slim { padding: 44px 0 52px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(680px 320px at 88% 8%, rgba(255, 106, 0, .12), transparent 62%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.35fr .95fr; gap: 40px; align-items: center; }
.hero-slim .hero-inner { grid-template-columns: 1fr; max-width: 860px; }
.hero-badge {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand-dark);
  background: #fff; border: 1px solid #ffd9bd; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 38px; letter-spacing: -.01em; }
.hero-text p { font-size: 15.5px; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; margin: 22px 0 26px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 24px; color: var(--brand-dark); }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.hero-aside-head { font-weight: 800; font-size: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.hero-aside-list { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-aside-list li { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid #f2f4f7; }
.hero-aside-list b { font-size: 14.5px; color: var(--ink); }
.hero-aside-list span { font-size: 13px; color: var(--muted); }

/* ---------- 卡片体系 ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.pcard, .fcard, .ccard, .pricecard, .pathcard, .dcard, .qcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: .22s;
}
.pcard { display: block; color: inherit; }
.pcard:hover, .fcard:hover, .ccard:hover, .qcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.section-alt .pcard, .section-alt .fcard, .section-alt .ccard,
.section-alt .pricecard, .section-alt .pathcard, .section-alt .dcard, .section-alt .qcard { background: #fff; }

.pcard-tag, .ccard-tag, .pathcard-tag { display: inline-block; margin-bottom: 10px; }
.pcard-tag { font-size: 12px; font-weight: 700; color: #fff; background: var(--brand); padding: 3px 10px; border-radius: 6px; }
.ccard-tag, .pathcard-tag { font-size: 12px; font-weight: 700; color: var(--brand-dark); background: var(--brand-light); padding: 4px 10px; border-radius: 6px; }
.pcard-sub { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.pcard p { font-size: 14.5px; }
.pcard ul { font-size: 13.5px; padding-left: 18px; margin-bottom: 14px; }
.pcard-more { font-size: 13.5px; font-weight: 700; color: var(--brand-dark); }

.fnum { display: inline-block; font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .08em; margin-bottom: 6px; }
.fcard p, .ccard p, .dcard p, .pathcard p, .qcard p { font-size: 14.5px; margin-bottom: 0; }
.fcard h3, .ccard h3, .qcard h3, .dcard h3, .pathcard h3 { margin-bottom: 8px; }
.fcard ul, .pathcard ul { font-size: 14px; margin-bottom: 0; }

.dcard { text-align: center; }
.dcard h3 { color: var(--brand-dark); }
.dcard span { font-size: 13px; color: var(--muted); }

.pricecard { text-align: center; position: relative; }
.pricecard-hot, .pathcard-hot { border-color: var(--brand); box-shadow: 0 8px 24px rgba(255, 106, 0, .12); }
.pricecard .pcard-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; }
.pricecard h3 { margin-top: 6px; }
.pricecard .price { font-size: 24px; font-weight: 800; color: var(--brand-dark); margin: 6px 0 14px; }
.pricecard ul { list-style: none; padding: 0; font-size: 13.5px; text-align: left; }
.pricecard li { padding: 6px 0; border-top: 1px solid #f2f4f7; color: var(--ink-2); }

.qcard b { font-size: 24px; color: var(--brand); }

/* ---------- 步骤 ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--brand); border-radius: 10px; padding: 16px 18px 16px 56px;
}
.section-alt .steps li { background: #fff; }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand-dark); font-weight: 800; font-size: 13px;
}
.steps b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.steps span { font-size: 14px; color: var(--muted); }

/* ---------- 标签云 ---------- */
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tagcloud span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; color: var(--ink-2); }
.section-alt .tagcloud span { background: #fff; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ctable { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.ctable th, .ctable td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.ctable thead th { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; white-space: nowrap; }
.ctable tbody tr:last-child td { border-bottom: none; }
.ctable tbody tr:hover { background: #fffaf6; }
.ctable td { color: var(--ink-2); }

/* ---------- 服务承诺 ---------- */
.commit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.commit-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.commit-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.commit-list b { display: block; color: var(--ink); }
.commit-list span { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px; }
.section-alt .faq-item { background: #fff; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; font-size: 15.5px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--brand); font-weight: 800; font-size: 18px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 0 16px; border-top: 1px dashed var(--line); }
.faq-answer div { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; }
.faq-answer a { font-weight: 600; }

/* ---------- 联系表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 12px; }
.contact-list b { min-width: 84px; color: var(--ink); }
.contact-list span { color: var(--ink-2); font-size: 14.5px; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.consult-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.consult-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.consult-form input, .consult-form select, .consult-form textarea {
  font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; color: var(--ink); width: 100%; min-height: 44px;
}
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 106, 0, .12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- 免责声明 ---------- */
.disclaimer { margin: 0 0 40px; padding: 20px 24px; background: #fffaf6; border: 1px dashed #ffcf9f; border-radius: var(--radius); }
.disclaimer h3 { font-size: 14px; color: #9a4a13; margin-bottom: 8px; }
.disclaimer p { font-size: 13px; color: #7a5a3a; margin-bottom: 8px; }
.disclaimer-sub { border-top: 1px dotted #f0c9a1; padding-top: 8px; margin-bottom: 0; }

/* ---------- 页脚 ---------- */
.footer { background: #1b1f24; color: #b9c0c9; padding: 48px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 28px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-brand .logo-text { color: #fff; margin-bottom: 12px; }
.footer-brand .logo-text small { color: #8b939d; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: #b9c0c9; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #b9c0c9; margin: 0; font-size: 14px; }
.official-link { color: #ffb583; font-weight: 600; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.icp { color: #99a2ad; }
.icp:hover { color: #fff; }

/* ---------- AI 面板 / 移动端浮层 ---------- */
.mb-btn, .ai-fab { display: none; }
.ai-panel { display: none; position: fixed; right: 20px; bottom: 92px; width: 340px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(17, 24, 39, .18); z-index: 90; overflow: hidden; }
.ai-panel.open { display: block; }
.ai-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--brand); color: #fff; font-size: 15px; }
.ai-panel-head button { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.ai-panel-body { padding: 16px; max-height: 46vh; overflow-y: auto; }
.ai-panel-foot { padding: 10px 16px; border-top: 1px solid var(--line); text-align: right; }
.ai-question { font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.ai-options { display: grid; gap: 8px; }
.ai-options button { text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; font-size: 14px; min-height: 44px; color: var(--ink-2); }
.ai-options button:hover { border-color: var(--brand); background: var(--brand-light); }
.ai-result { border: 1px solid #ffd9bd; background: var(--brand-light); border-radius: 10px; padding: 14px; }
.ai-result h4 { color: var(--brand-dark); margin-bottom: 6px; font-size: 16px; }
.ai-result p { font-size: 14px; color: var(--ink-2); margin: 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .commit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  h2 { font-size: 24px; }
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 27px; }
  .section { padding: 48px 0; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px; gap: 2px; box-shadow: 0 12px 24px rgba(17, 24, 39, .08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-dealer { display: none; }
  .crumbs ol { font-size: 12.5px; }
  body { padding-bottom: 64px; }
  .mb-btn, .ai-fab { display: flex; }
  .mb-btn { position: fixed; bottom: 0; z-index: 80; align-items: center; justify-content: center; gap: 5px; font-size: 12px; padding: 10px 0; border: none; cursor: pointer; text-decoration: none; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .mb-consult { left: 0; width: 34%; background: #fff; color: var(--brand-dark); border-top: 1px solid var(--line); }
  .mb-ai { left: 34%; width: 30%; background: #fff8f2; color: var(--brand-dark); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .mb-phone { left: 64%; width: 36%; background: var(--brand); color: #fff; }
  .mb-btn span:first-child { font-size: 16px; }
  .ai-fab { position: fixed; right: 16px; bottom: 74px; z-index: 80; align-items: center; gap: 5px; background: #fff; color: var(--brand-dark); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(17, 24, 39, .12); }
  .ai-panel { bottom: 120px; right: 12px; left: 12px; width: auto; }
}
@media print {
  .nav, .topbar, .mb-btn, .ai-fab, .ai-panel, .hero-bg { display: none !important; }
}
