/* 常州君科软件科技有限公司 - 前台样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #333; background: #f7f9fb; font-size: 15px; line-height: 1.7; }
a { color: #1a5fa8; text-decoration: none; }
a:hover { color: #e64a19; }
img { max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* 顶栏 */
.site-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; background: linear-gradient(135deg, #1a5fa8, #29b6f6); border-radius: 8px; color: #fff; font-weight: bold; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.logo-text b { font-size: 19px; color: #12355b; display: block; line-height: 1.2; }
.logo-text span { font-size: 12px; color: #888; }
.main-nav { display: flex; gap: 6px; align-items: center; }
.main-nav a { padding: 8px 16px; color: #33475b; font-size: 15px; position: relative; }
.main-nav a:hover { color: #1a5fa8; }
.main-nav a.active { color: #1a5fa8; font-weight: bold; }
.main-nav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 2px; background: #1a5fa8; }
.hotline { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(90deg, #2f7fd8, #1a5fa8); color: #fff; padding: 9px 20px; border-radius: 22px; font-size: 14px; flex: none; }
.hotline:hover { filter: brightness(1.1); color: #fff; }
.hotline svg { flex: none; }
/* 移动端折叠菜单按钮（桌面端隐藏） */
.nav-toggle { display: none; width: 44px; height: 42px; flex: none; border: 1px solid #dbe6f1; background: #fff; border-radius: 8px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: #12355b; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-tel { display: none; }

/* 横幅（首页顶部两栏：左文案 + 右产品矩阵） */
.banner { background: radial-gradient(1100px 520px at 78% -12%, #175086 0%, #0d2b4e 48%, #081c33 100%); color: #fff; padding: 38px 0 32px; position: relative; overflow: hidden; }
.banner-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.banner-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #cfe4f7; font-size: 13px; padding: 7px 16px; border-radius: 20px; }
.banner-badge i { width: 6px; height: 6px; border-radius: 50%; background: #39e6c3; flex: none; }
.banner h1.title { font-size: 42px; line-height: 1.28; margin: 14px 0 10px; letter-spacing: 1px; color: #fff; }
.banner h1.title .grad { background: linear-gradient(90deg, #39e6c3, #2ea8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner-desc { color: #b9cde2; font-size: 15px; line-height: 1.9; max-width: 560px; }
.banner-actions { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.banner-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px; border-radius: 26px; font-size: 15px; background: linear-gradient(90deg, #2fd8b5, #26b7d8); color: #04222f; font-weight: bold; }
.banner-btn:hover { filter: brightness(1.08); color: #04222f; }
.banner-btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: normal; }
.banner-btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; filter: none; }
.banner-stats { display: flex; gap: 52px; margin-top: 26px; flex-wrap: wrap; }
.banner-stats b { font-size: 26px; color: #fff; display: block; line-height: 1.3; }
.banner-stats b em { font-style: normal; color: #39e6c3; font-size: 14px; margin-left: 2px; }
.banner-stats span { font-size: 13px; color: #9fb7cd; }
.matrix { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 22px; }
.matrix h3 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.matrix h3::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: #39e6c3; }
.matrix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.matrix-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 11px 12px; color: #dceafa; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.matrix-item:hover { background: rgba(255,255,255,.13); color: #fff; }
.matrix-item svg { flex: none; }

/* 区块 */
.section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: 28px; color: #12355b; }
.section-title p { color: #8a9bb0; font-size: 14px; margin-top: 6px; }
.section-title::after { content: ""; display: block; width: 48px; height: 3px; background: #ff7043; margin: 14px auto 0; border-radius: 2px; }

/* 首页产品中心板块头（胶囊标签 + 大标题 + 分类筛选） */
.prod-hero { text-align: center; margin-bottom: 36px; }
.prod-hero-badge { display: inline-flex; align-items: center; gap: 7px; background: #e8f1fb; color: #1a5fa8; font-size: 16px; font-weight: 600; padding: 8px 22px; border-radius: 999px; }
.prod-hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: #1a5fa8; }
.prod-hero h2 { font-size: 34px; color: #12355b; margin-top: 18px; letter-spacing: 1px; }
.prod-hero h2 em { font-style: normal; background: linear-gradient(90deg, #12b3a8, #2ecc71); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.prod-hero-desc { color: #7d8fa5; font-size: 15px; margin-top: 12px; }
.prod-hero-cats { margin-top: 24px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.prod-cat { display: inline-block; padding: 9px 22px; border-radius: 999px; background: #fff; border: 1px solid #dde6ef; color: #42526b; font-size: 14px; text-decoration: none; transition: all .15s; }
.prod-cat:hover { border-color: #1a5fa8; color: #1a5fa8; }
.prod-cat.cur { background: #1a5fa8; border-color: #1a5fa8; color: #fff; }
@media (max-width: 640px) { .prod-hero h2 { font-size: 24px; } }

/* 关于我们 - 服务承诺（深色区块） */
.promise-box { background: linear-gradient(135deg, #0d2a4a 0%, #174a75 100%); border-radius: 14px; padding: 34px 30px; margin-top: 26px; color: #fff; }
.promise-box h2, .promise-box .content-box h2 { color: #fff !important; border-left: none !important; padding-left: 0 !important; font-size: 22px; margin-bottom: 12px; }
.promise-intro { color: #c3d3e3; font-size: 14px; line-height: 1.9; margin: 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.promise-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 20px 18px; }
.promise-card svg { color: #35d0ba; }
.promise-card h3 { color: #fff; font-size: 15px; margin: 12px 0 8px; }
.promise-card p { color: #b6c7d9; font-size: 13px; line-height: 1.8; margin: 0; }
@media (max-width: 900px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promise-grid { grid-template-columns: 1fr; } .promise-box { padding: 26px 20px; } }

/* 卡片 */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-contact { grid-template-columns: 1fr 1.6fr; margin-top: 14px; }
.grid-join { grid-template-columns: 1fr 1.8fr; margin-top: 14px; }
/* 「我们的优势」卡片 */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.adv-card { background: #fff; border: 1px solid #e3ebf3; border-radius: 12px; padding: 26px 24px; transition: transform .2s, box-shadow .2s; }
.adv-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(18,53,91,.10); }
.adv-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 14px; }
.adv-blue { background: linear-gradient(135deg, #2e7ce0, #1a5fa8); }
.adv-teal { background: linear-gradient(135deg, #26b8a2, #0f9d8a); }
.adv-purple { background: linear-gradient(135deg, #8b6ce8, #6d4fd6); }
.adv-orange { background: linear-gradient(135deg, #f0a53a, #e08c14); }
.adv-card h3 { font-size: 17px; margin: 0 0 8px; color: #1c3350; }
.adv-card p { font-size: 14px; color: #6b7c90; line-height: 1.7; margin: 0; }
.card { background: #fff; border-radius: 10px; padding: 28px 24px; box-shadow: 0 2px 10px rgba(18,53,91,.07); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(18,53,91,.13); }
.card h3 { font-size: 17px; color: #12355b; margin: 12px 0 8px; }
.card p { color: #66788c; font-size: 14px; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: #eaf3fc; color: #1a5fa8; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.card .tag { display: inline-block; background: #fff3ec; color: #f4511e; font-size: 12px; padding: 2px 10px; border-radius: 20px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.card-meta .tag.soft { background: #eaf3fc; color: #1a5fa8; font-family: Consolas, monospace; }
.card-meta .tag.ed { background: #e8f7f1; color: #0d9d6d; }
.card-feats { border-top: 1px solid #eef2f7; margin-top: 14px; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-feats span { background: #f4f7fb; color: #5c7089; font-size: 12px; padding: 3px 10px; border-radius: 5px; }
.more-btn { display: inline-block; padding: 10px 34px; border: 1px solid #1a5fa8; color: #1a5fa8; border-radius: 24px; }
.more-btn:hover { background: #1a5fa8; color: #fff; }

/* 右侧在线客服悬浮条 */
.side-float { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 300; background: #fff; border: 1px solid #e3ebf4; border-radius: 10px; box-shadow: 0 4px 18px rgba(18,53,91,.14); }
.sf-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 13px 11px; min-width: 64px; color: #33475b; font-size: 12px; text-decoration: none; cursor: pointer; }
.sf-item + .sf-item { border-top: 1px solid #eef2f7; }
.sf-item svg { width: 22px; height: 22px; }
.sf-wechat { color: #0d9d6d; }
.sf-qq { color: #1a5fa8; }
.sf-tel { color: #f4511e; }
.sf-item:hover { background: #f5f9fd; color: #1a5fa8; }
.sf-pop { display: none; position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%); width: 196px; padding: 16px 16px 18px; background: #fff; border: 1px solid #e3ebf4; border-radius: 12px; box-shadow: 0 6px 24px rgba(18,53,91,.18); text-align: center; }
.sf-pop::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; width: 11px; height: 11px; background: #fff; border-right: 1px solid #e3ebf4; border-top: 1px solid #e3ebf4; transform: rotate(45deg); }
.sf-item:hover .sf-pop, .sf-item.sf-open .sf-pop { display: block; }
.sf-pop-head { display: flex; align-items: center; justify-content: flex-start; gap: 7px; font-size: 14px; color: #1a5fa8; padding-bottom: 10px; border-bottom: 1px solid #eef2f7; margin-bottom: 12px; }
.sf-pop-head svg { width: 17px; height: 17px; flex: none; }
.sf-pop img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 6px; margin: 0 auto; }
.sf-pop p { font-size: 13px; color: #8c9aab; margin: 12px 0 0; line-height: 1.7; }
.sf-pop-tel { text-align: left; }
.sf-tel-num { display: block; font-size: 21px; color: #1a5fa8; letter-spacing: .5px; font-family: Arial, "Microsoft YaHei", sans-serif; }
.sf-tel-ext { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; font-size: 14px; color: #33475b; }
.sf-pop-tel p { border-top: 1px solid #eef2f7; margin-top: 12px; padding-top: 10px; font-size: 13px; }
/* QQ 咨询弹层：号码 + 一键复制 */
.sf-pop-qq { width: 210px; }
.sf-qq-num { display: block; font-size: 22px; font-weight: 700; color: #12355b; letter-spacing: 1px; margin: 0 0 14px; font-family: Arial, "Microsoft YaHei", sans-serif; word-break: break-all; }
.sf-qq-copy { display: block; width: 100%; padding: 9px 0; border: 1px solid #1a5fa8; background: #1a5fa8; color: #fff; border-radius: 6px; font-size: 13px; font-family: inherit; cursor: pointer; transition: background .15s; }
.sf-qq-copy:hover { background: #14508f; }
.sf-qq-copy.done { background: #0d9d6d; border-color: #0d9d6d; }
.sf-pop-qq p { margin-top: 12px; }
.sf-qq-chat { display: inline-block; margin-top: 12px; font-size: 12px; color: #1a5fa8; text-decoration: none; border-top: 1px solid #eef2f7; padding-top: 10px; width: 100%; }
.sf-qq-chat:hover { color: #e64a19; }

/* 人才招聘 */
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: #66788c; font-size: 13px; }
.job-meta span { display: inline-flex; align-items: center; }
.job-meta span + span::before { content: "|"; margin: 0 12px; color: #d6e0ea; }
.job-meta-head { margin-top: 10px; color: #cfe0f3; }
.job-meta-head span + span::before { color: rgba(255,255,255,.35); }
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card { background: #fff; border: 1px solid #e8eef6; border-radius: 12px; padding: 24px 28px; box-shadow: 0 2px 10px rgba(18,53,91,.05); }
.job-card h3 { font-size: 18px; color: #12355b; margin-bottom: 8px; }
.job-card .job-desc { margin-top: 14px; }
.job-apply { margin-top: 16px; }
.job-apply a { display: inline-block; padding: 7px 20px; border: 1px solid #1a5fa8; color: #1a5fa8; border-radius: 20px; font-size: 13px; }
.job-apply a:hover { background: #1a5fa8; color: #fff; }
.job-desc { color: #33475b; font-size: 15px; line-height: 1.9; }
@media (max-width: 760px) {
  .job-card { padding: 18px 18px; }
}

/* 产品分类筛选栏 */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cat-nav a { padding: 6px 16px; border: 1px solid #d6e0ea; border-radius: 20px; background: #fff; color: #4a6784; font-size: 14px; }
.cat-nav a:hover { border-color: #1a5fa8; color: #1a5fa8; }
.cat-nav a.cur { background: #1a5fa8; border-color: #1a5fa8; color: #fff; }

/* 客户案例 */
.case-filter { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.case-search { display: flex; gap: 8px; }
.case-search input { width: 220px; border: 1px solid #d6e0ea; border-radius: 20px; padding: 7px 16px; font-size: 14px; outline: none; transition: border-color .15s; }
.case-search input:focus { border-color: #1a5fa8; }
.case-search button { border: none; background: #1a5fa8; color: #fff; padding: 7px 24px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: background .15s; }
.case-search button:hover { background: #12355b; }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.case-cell { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e8eef6; border-radius: 10px; padding: 16px 18px; transition: box-shadow .2s, transform .2s; overflow: hidden; }
.case-cell:hover { box-shadow: 0 4px 16px rgba(18,53,91,.12); transform: translateY(-2px); }
.case-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2e9e6b; }
.case-name { font-size: 15px; color: #12355b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-count { text-align: center; color: #8c9aab; font-size: 13px; margin-top: 20px; }

/* 合作加盟 */
.join-info .row { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #e8eef6; font-size: 14px; }
.join-info .row b { flex: none; color: #12355b; }
.join-info .row span { color: #33475b; }
.join-tip { margin-top: 16px; background: #eaf3fc; border-radius: 8px; padding: 12px 16px; font-size: 13px; color: #33475b; line-height: 1.8; }
.join-ok { background: #e8f5e9; color: #2e7d32; padding: 18px 20px; border-radius: 10px; margin: 16px 0; font-size: 15px; line-height: 2; }
.join-prods { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 6px 0; }
.join-prod { margin: 0; font-size: 14px; color: #33475b; display: inline-flex; align-items: center; }
.join-info p { line-height: 1.9; }

/* 新闻列表 */
.news-item { display: flex; gap: 20px; background: #fff; border-radius: 10px; padding: 20px 24px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(18,53,91,.06); }
.news-date { flex-shrink: 0; width: 74px; text-align: center; background: #eaf3fc; border-radius: 8px; padding: 10px 0; align-self: flex-start; }
.news-date b { display: block; font-size: 24px; color: #1a5fa8; line-height: 1.1; }
.news-date span { font-size: 12px; color: #8a9bb0; }
.news-item h3 { font-size: 16px; margin-bottom: 6px; }
.news-item p { color: #66788c; font-size: 14px; }

/* 正文页 */
.page-head { background: linear-gradient(120deg, #12355b, #1a5fa8); color: #fff; padding: 44px 0; }
.page-head h1 { font-size: 26px; }
.page-head p { opacity: .85; font-size: 14px; }
.breadcrumb { font-size: 13px; color: #8a9bb0; padding: 14px 0 0; }
.content-box { background: #fff; border-radius: 10px; padding: 34px 38px; box-shadow: 0 2px 10px rgba(18,53,91,.07); }
.content-box h2 { font-size: 20px; color: #12355b; border-left: 4px solid #ff7043; padding-left: 12px; margin: 26px 0 12px; }
.content-box h2:first-child { margin-top: 0; }
/* 富文本正文（后台编辑器排版的内容） */
.prose { line-height: 2; color: #333; }
/* 统一后台从 Word/WPS 粘贴的内容样式，避免与站点排版不一致 */
.prose p { margin: .5em 0 !important; margin-left: 0 !important; margin-right: 0 !important; text-indent: 2em !important; line-height: 2 !important; font-size: inherit !important; }
.prose span { font-size: inherit !important; font-family: inherit !important; }
.prose blockquote p { text-indent: 0 !important; }

/* 产品资料下载按钮组（在线预览 / 在线下载） */
.dl-actions { display: flex; gap: 8px; flex: none; }
.dl-actions a { display: inline-block; padding: 9px 22px; border-radius: 6px; font-size: 14px; text-decoration: none; white-space: nowrap; }
.dl-actions .dl-preview { background: #fff; color: #1a5fa8; border: 1px solid #9cc3e8; }
.dl-actions .dl-preview:hover { background: #e3f0fd; color: #1a5fa8; }
.dl-actions .dl-download { background: #1a5fa8; color: #fff; }
.dl-actions .dl-download:hover { background: #14508f; color: #fff; }
@media (max-width: 600px) {
    .dl-actions { width: 100%; }
    .dl-actions a { flex: 1; text-align: center; padding: 10px 0; }
}
.prose h2 { font-size: 19px; color: #12355b; margin: 1em 0 .4em; text-indent: 0; }
.prose h3 { font-size: 16px; color: #12355b; margin: .9em 0 .4em; text-indent: 0; }
.prose ul, .prose ol { padding-left: 2em; margin: .5em 0; }
.prose li { margin: .25em 0; }
.prose img { display: block; max-width: 100% !important; height: auto !important; margin: 14px 0; border: 1px solid #e8eef6; border-radius: 8px; box-shadow: 0 4px 14px rgba(18,53,91,.06); }
.prose img + p { margin-top: 10px; }
.prose a { color: #1a5fa8; }
.prose blockquote { border-left: 3px solid #1a5fa8; background: #f5f9fd; margin: .6em 0; padding: .4em 1em; color: #555; text-indent: 0; }
.prose table { border-collapse: collapse; width: 100%; margin: .6em 0; }
.prose th, .prose td { border: 1px solid #d6e0ea; padding: 6px 10px; font-size: 14px; }
.article-title { font-size: 24px; color: #12355b; margin-bottom: 8px; }
.article-meta { color: #8a9bb0; font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid #eef2f6; margin-bottom: 20px; }

/* 联系页 */
.contact-info .row { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.contact-info .row b { color: #12355b; min-width: 72px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-item { display: flex; flex-direction: column; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 14px; color: #33475b; margin-bottom: 5px; }
.form-item input, .form-item select, .form-item textarea { width: 100%; border: 1px solid #d6e0ea; border-radius: 6px; padding: 10px 12px; font-size: 14px; font-family: inherit; background: #fff; box-sizing: border-box; }
.form-item select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2366788c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; cursor: pointer; }
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { outline: none; border-color: #1a5fa8; box-shadow: 0 0 0 3px rgba(26,95,168,.12); }
.btn-submit { background: #1a5fa8; color: #fff; border: none; padding: 12px 40px; border-radius: 6px; font-size: 15px; cursor: pointer; }
.btn-submit:hover { background: #12355b; }

/* 特色数字 */
.stats { display: flex; justify-content: space-around; background: #12355b; color: #fff; border-radius: 10px; padding: 34px 20px; }
.stats b { display: block; font-size: 34px; color: #ffd180; }
.stats span { font-size: 14px; opacity: .85; }

/* 页脚 */
.site-footer { background: #0d2743; color: #9db4cc; margin-top: 60px; padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1.3fr; gap: 30px; padding-bottom: 30px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-grid a { display: block; color: #9db4cc; font-size: 14px; padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
/* 友情链接：三列排布，过长名称省略并靠 title 显示全称 */
.footer-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 10px; }
.footer-links a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copyright { border-top: 1px solid #1d3b5e; text-align: center; padding: 16px 0; font-size: 13px; color: #6e86a1; }
.copyright a { color: #6e86a1; }
.copyright a:hover { color: #fff; }
.copyright .beian-link { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; }
.copyright .beian-link img { width: 14px; height: 16px; flex-shrink: 0; }

@media (max-width: 960px) {
  .banner-inner { grid-template-columns: 1fr; gap: 30px; }
  .banner { padding: 48px 0 44px; }
  .banner h1.title { font-size: 34px; }
}

@media (max-width: 760px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner h1.title { font-size: 28px; }
  .banner-stats { gap: 28px; }
  /* 头部：logo + 汉堡按钮同一行，导航改为下拉面板 */
  .site-header .container { height: auto; padding-top: 10px; padding-bottom: 10px; flex-direction: row; gap: 10px; position: relative; }
  .site-header .logo { flex: 1; min-width: 0; }
  .logo-text b { font-size: 16px; }
  .logo-text span { font-size: 11px; }
  .logo-mark { width: 38px; height: 38px; font-size: 18px; flex: none; }
  .nav-toggle { display: block; }
  .hotline { display: none; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-top: 1px solid #eef2f7; box-shadow: 0 14px 26px rgba(18,53,91,.14); padding: 6px 0 12px; max-height: 74vh; overflow-y: auto; }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 20px; font-size: 15px; border-bottom: 1px solid #f2f6fa; }
  .main-nav a:hover { background: #f7fbff; }
  .main-nav a.active { background: #f4f9fe; font-weight: bold; }
  .main-nav a.active::after { display: none; }
  .nav-tel { display: block; margin: 12px 20px 4px; padding: 11px 16px; border: 1px solid #cfe0f3; border-radius: 8px; background: #f4f9fe; color: #1a5fa8; font-weight: bold; text-align: center; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  /* 移动端保留客服悬浮条：缩小尺寸；弹层由点按开关（footer.php 内脚本加 .sf-open） */
  .side-float { right: 8px; box-shadow: 0 3px 12px rgba(18,53,91,.18); }
  .sf-item { padding: 9px 8px; min-width: 52px; font-size: 11px; gap: 4px; }
  .sf-item svg { width: 20px; height: 20px; }
  .sf-pop { width: 176px; padding: 12px 12px 14px; }
  .sf-pop-qq { width: 190px; }
  .sf-qq-num { font-size: 19px; }
  .sf-qq-copy { padding: 8px 0; font-size: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-contact, .grid-join { grid-template-columns: 1fr; gap: 16px; }
  .content-box { padding: 22px 18px; }
  .stats { flex-wrap: wrap; gap: 20px; }
  .case-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  /* 产品列表手机端改单列：两列时标题与标签被压得过窄 */
  .prod-grid { grid-template-columns: 1fr; }
  .case-filter { flex-direction: column; align-items: stretch; }
  .case-search input { flex: 1; width: auto; }
}

/* ==================== 正版查询 ==================== */
.verify-box { max-width: 900px; margin: 0 auto 0 0; }
.verify-tip { color: #66788c; font-size: 14px; line-height: 1.9; margin: 10px 0 0; }
.verify-form { display: flex; gap: 10px; margin: 20px 0 6px; flex-wrap: wrap; }
.verify-form input {
  flex: 1 1 320px; min-width: 0; padding: 13px 16px; font-size: 15px; font-family: inherit;
  border: 1px solid #d6e0ea; border-radius: 8px; background: #fbfdff; color: #1b2b3d;
  letter-spacing: .5px;
}
.verify-form input:focus { outline: none; border-color: #1a5fa8; background: #fff; box-shadow: 0 0 0 3px rgba(26,95,168,.12); }
.verify-form button {
  padding: 13px 34px; font-size: 15px; font-family: inherit; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #1a5fa8, #2f86d6); border: 0; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(26,95,168,.25);
}
.verify-form button:hover { filter: brightness(1.06); }

.verify-alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; line-height: 1.8; margin: 18px 0 0; }
.verify-alert.ok   { background: #eaf7ee; color: #1b7a3d; border: 1px solid #bfe6cc; }
.verify-alert.bad  { background: #fdecea; color: #c62828; border: 1px solid #f6c9c4; }
.verify-alert.warn { background: #fff7e6; color: #a15c00; border: 1px solid #f3ddb0; }

.verify-table-wrap { margin-top: 14px; overflow-x: auto; border-radius: 8px; border: 1px solid #e3ebf3; }
.verify-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.verify-table th { background: #f2f7fc; color: #1a5fa8; font-weight: 600; text-align: left; padding: 11px 14px; white-space: nowrap; }
.verify-table td { padding: 11px 14px; border-top: 1px solid #eef3f8; color: #2c3e50; }
.verify-table tr:nth-child(even) td { background: #fafcfe; }
.verify-table td.mono { font-family: Consolas, Menlo, monospace; font-size: 13px; word-break: break-all; color: #12355b; }
.verify-table td.mono.dim { color: #9aa9ba; font-family: inherit; }
.verify-note { color: #8c9aab; font-size: 13px; margin: 12px 0 0; }

.verify-help { margin-top: 26px; padding-top: 20px; border-top: 1px dashed #e3ebf3; display: grid; gap: 10px; }
.verify-help > div { display: flex; gap: 14px; font-size: 14px; color: #4a5b6d; }
.verify-help b { flex: 0 0 76px; color: #12355b; }

@media (max-width: 640px) {
  .verify-form button { flex: 1 1 100%; }
  .verify-help > div { flex-direction: column; gap: 2px; }
  .verify-help b { flex: none; }
}

/* ==================== 在线技术支持（悬浮聊天窗） ==================== */
/* hidden 属性会被 display:flex 覆盖，聊天窗内部统一强制生效 */
.chat-box [hidden] { display: none !important; }
/* 悬浮条第 4 项：button 需要重置默认样式 */
.sf-chat { background: none; border: 0; font-family: inherit; font-size: 12px; color: #1a5fa8; width: 100%; }
.sf-chat.active { background: #eef6ff; }
.sf-badge { position: absolute; top: 5px; right: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: #f4511e; color: #fff; font-size: 10px; line-height: 17px; text-align: center; font-style: normal; }

.chat-box { position: fixed; right: 92px; bottom: 24px; z-index: 400; width: 348px; height: 486px;
  display: none; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e3ebf4;
  border-radius: 14px; box-shadow: 0 16px 44px rgba(18,53,91,.22); }
.chat-box.open { display: flex; animation: cbIn .18s ease-out; }
@keyframes cbIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.chat-box-head { position: relative; padding: 12px 44px 12px 16px; color: #fff;
  background: linear-gradient(135deg, #12355b, #1a5fa8 70%, #2f86d6); }
.cb-title { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.cb-dot { width: 8px; height: 8px; border-radius: 50%; background: #b6c6d6; flex: none; }
.cb-dot.on { background: #39e6a0; box-shadow: 0 0 0 3px rgba(57,230,160,.25); }
.cb-sub { margin-top: 4px; font-size: 12px; color: #c6d8ea; line-height: 1.5; }
.cb-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px;
  background: rgba(255,255,255,.14); color: #fff; font-size: 20px; line-height: 26px; cursor: pointer; }
.cb-close:hover { background: rgba(255,255,255,.26); }

.chat-box-body { position: relative; flex: 1; overflow-y: auto; padding: 14px 12px 10px; background: #f6f9fc; }
.chat-msgs { display: flex; flex-direction: column; }
.cm-row { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 12px; }
.cm-row.cm-visitor { align-items: flex-end; }
.cm-row.cm-system { align-items: center; }
.cm-bubble { max-width: 84%; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid #e6edf5;
  font-size: 13.5px; line-height: 1.75; color: #2c3e50; white-space: pre-wrap; word-break: break-word; }
.cm-visitor .cm-bubble { background: linear-gradient(135deg, #1a5fa8, #2f86d6); border-color: transparent; color: #fff; border-bottom-right-radius: 4px; }
.cm-admin .cm-bubble { border-bottom-left-radius: 4px; }
.cm-system .cm-bubble { background: #eaf1f9; border: 0; color: #66788c; font-size: 12.5px; text-align: center; border-radius: 9px; max-width: 92%; }
.cm-time { margin-top: 4px; font-size: 11px; color: #a7b4c3; }

.chat-tip { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #fdecea; color: #c62828; font-size: 12.5px; text-align: center; }
.chat-contact { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 8px;
  background: #fff; border: 1px solid #e3ebf4; border-radius: 10px; box-shadow: 0 6px 18px rgba(18,53,91,.10); }
.chat-contact input { flex: 1 1 100px; min-width: 0; padding: 7px 9px; border: 1px solid #dbe6f1; border-radius: 7px; font: inherit; font-size: 13px; }
.chat-contact input:focus { outline: none; border-color: #1a5fa8; }
.chat-contact button { flex: none; padding: 7px 14px; border: 0; border-radius: 7px; background: #1a5fa8; color: #fff; font-size: 13px; cursor: pointer; }

.chat-box-foot { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 8px; background: #fff; border-top: 1px solid #eef2f7; }
.chat-box-foot textarea { flex: 1; max-height: 96px; padding: 8px 10px; border: 1px solid #dbe6f1; border-radius: 9px;
  font: inherit; font-size: 13.5px; line-height: 1.6; resize: none; }
.chat-box-foot textarea:focus { outline: none; border-color: #1a5fa8; box-shadow: 0 0 0 3px rgba(26,95,168,.10); }
.chat-box-foot button { flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: #1a5fa8; color: #fff; font-size: 14px; cursor: pointer; }
.chat-box-foot button:hover { background: #12355b; }
.chat-box-foot button:disabled { opacity: .55; cursor: default; }

.chat-box-meta { display: flex; justify-content: space-between; align-items: center; padding: 0 12px 9px; background: #fff; }
.chat-box-meta span { font-size: 11px; color: #aab7c6; }
.cb-link { padding: 0; border: 0; background: none; color: #1a5fa8; font-size: 11.5px; cursor: pointer; text-decoration: underline; }

@media (max-width: 760px) {
  .chat-box { left: 8px; right: 8px; bottom: 8px; width: auto; height: 70vh; max-height: 560px; border-radius: 12px; }
  .chat-box-head { padding: 10px 40px 10px 14px; }
  .cb-title { font-size: 14px; }
  .cm-bubble { font-size: 14px; }
}
