/* ========== 基础 ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #0b57d0;
  --primary-dark: #08408f;
  --primary-light: #e8f0fe;
  --accent: #f26b1d;
  --text: #1f2937;
  --text-2: #4b5563;
  --text-3: #8a94a6;
  --border: #e5e8ef;
  --bg: #f5f7fb;
  --radius: 8px;
  --shadow: 0 4px 18px rgba(15, 35, 80, .07);
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.75; color: var(--text); background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== 顶部条 ========== */
.topbar { background: #f2f4f8; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { margin-left: 16px; }
.topbar .sep { margin-left: 16px; color: #ccd2dc; }

/* ========== 头部导航 ========== */
.header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; }
.logo-text strong { display: block; font-size: 20px; line-height: 1.2; color: var(--primary-dark); letter-spacing: 1px; }
.logo-text small { display: block; font-size: 10px; color: var(--text-3); letter-spacing: 1px; }
.nav { display: flex; gap: 4px; }
.nav a { display: block; padding: 0 16px; line-height: 72px; font-size: 16px; position: relative; }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 6px 8px; background: var(--text); border-radius: 2px; }

/* ========== 按钮 ========== */
.btn { display: inline-block; padding: 10px 26px; border-radius: var(--radius); border: 1px solid var(--primary); background: var(--primary); color: #fff; font-size: 15px; cursor: pointer; transition: all .2s; text-align: center; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: #d95a10; border-color: #d95a10; }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-light); color: var(--primary); }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 5px 14px; font-size: 13px; }

/* ========== 首页横幅 ========== */
.hero { position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, #0a3d91 0%, #0b57d0 55%, #2f7cf6 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }
.hero .container { position: relative; padding-top: 80px; padding-bottom: 90px; }
.hero h1 { font-size: 40px; line-height: 1.35; letter-spacing: 2px; margin-bottom: 14px; }
.hero p.lead { font-size: 18px; opacity: .9; max-width: 640px; }
.hero-search { display: flex; max-width: 640px; margin-top: 32px; background: #fff; border-radius: var(--radius); padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.hero-search select { border: 0; padding: 0 12px; background: transparent; color: var(--text); outline: none; border-right: 1px solid var(--border); }
.hero-search input { flex: 1; border: 0; padding: 10px 14px; outline: none; color: var(--text); min-width: 0; }
.hero-tags { margin-top: 14px; font-size: 13px; opacity: .85; }
.hero-tags a { margin-right: 14px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ========== 子页头部 ========== */
.page-banner { background: linear-gradient(120deg, #0a3d91, #0b57d0); color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }
.page-banner .container { position: relative; }
.page-banner h1 { font-size: 30px; letter-spacing: 2px; }
.page-banner p { opacity: .85; margin-top: 6px; }
.breadcrumb { font-size: 13px; color: var(--text-3); padding: 14px 0; border-bottom: 1px solid var(--border); background: #fff; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb span { margin: 0 6px; }

/* ========== 通用区块 ========== */
.section { padding: 70px 0; }
.section.gray { background: var(--bg); }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: 30px; letter-spacing: 1px; }
.section-title p { color: var(--text-3); margin-top: 8px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.section-head h2 { font-size: 22px; padding-left: 12px; border-left: 4px solid var(--primary); line-height: 1.2; }
.section-head a { font-size: 14px; color: var(--text-3); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 数据统计 */
.stats { background: #fff; box-shadow: var(--shadow); border-radius: 12px; margin-top: -46px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 0; }
.stats div { text-align: center; border-right: 1px solid var(--border); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 30px; color: var(--primary); font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; }
.stats span { font-size: 14px; color: var(--text-3); }

/* 服务卡片 */
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 30px 26px; transition: all .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cdd9f3; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 14px; }
.card .more { display: inline-block; margin-top: 14px; color: var(--primary); font-size: 14px; }

/* 列表 */
.news-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.news-list li a { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-list li a::before { content: ""; display: inline-block; width: 5px; height: 5px; background: #b8c4d9; border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.news-list li time { color: var(--text-3); font-size: 13px; flex-shrink: 0; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px 26px; }

.tag { display: inline-block; font-size: 12px; line-height: 20px; padding: 0 8px; border-radius: 4px; background: var(--primary-light); color: var(--primary); flex-shrink: 0; }
.tag.supply { background: #e7f6ee; color: #12854a; }
.tag.demand { background: #fff1e8; color: #d0560f; }
.tag.coop { background: #f1ebff; color: #6a3fd1; }
.tag.ad { background: #f3f4f6; color: #8a94a6; border: 1px solid #e0e3e8; }

/* 资讯列表页 */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; padding: 36px 0 70px; }
.article-item { display: block; padding: 24px 0; border-bottom: 1px solid var(--border); }
.article-item:first-child { padding-top: 0; }
.article-item h3 { font-size: 19px; margin-bottom: 6px; }
.article-item p { color: var(--text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-item .meta { margin-top: 10px; font-size: 13px; color: var(--text-3); display: flex; gap: 18px; align-items: center; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button { padding: 6px 18px; border-radius: 20px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 14px; }
.tabs button.active, .tabs button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.side-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin-bottom: 20px; }
.side-box h4 { font-size: 16px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.side-box .news-list li { padding: 8px 0; font-size: 14px; }
.side-cta { background: linear-gradient(135deg, #0b57d0, #2f7cf6); color: #fff; border: 0; }
.side-cta h4 { border-color: rgba(255,255,255,.25); }
.side-cta p { font-size: 14px; opacity: .9; margin-bottom: 14px; }

/* 文章详情 */
.article h1 { font-size: 28px; line-height: 1.4; margin-bottom: 12px; }
.article .meta { font-size: 13px; color: var(--text-3); padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 18px; }
.article-body p { margin-bottom: 16px; text-indent: 2em; color: #333; font-size: 16px; line-height: 1.9; }
.article-body h3 { font-size: 18px; margin: 26px 0 12px; }
.article-note { margin-top: 30px; padding: 14px 18px; background: var(--bg); border-radius: var(--radius); font-size: 13px; color: var(--text-3); }

/* 企业信息库 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.filter-bar input, .filter-bar select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; outline: none; }
.filter-bar input { flex: 1; min-width: 180px; }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--primary); }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; transition: all .2s; }
.info-item:hover { box-shadow: var(--shadow); border-color: #cdd9f3; }
.info-item .body { flex: 1; min-width: 0; }
.info-item h3 { font-size: 17px; margin-bottom: 4px; }
.info-item p { font-size: 14px; color: var(--text-2); }
.info-item .meta { font-size: 13px; color: var(--text-3); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 16px; }
.empty { text-align: center; color: var(--text-3); padding: 60px 0; }
.lock-box { margin-top: 24px; padding: 22px; border: 1px dashed #f0b48d; background: #fffaf6; border-radius: 12px; }
.lock-box h4 { color: #c4550f; margin-bottom: 6px; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; font-size: 15px; }
.kv dt { color: var(--text-3); }
.blur { filter: blur(4px); user-select: none; }

/* 会员价格 */
.price-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 34px 28px; text-align: center; position: relative; display: flex; flex-direction: column; }
.price-card.hot { border: 2px solid var(--primary); box-shadow: 0 12px 34px rgba(11, 87, 208, .14); }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; padding: 2px 14px; border-radius: 20px; }
.price-card h3 { font-size: 20px; }
.price-card .desc { color: var(--text-3); font-size: 13px; margin-top: 4px; }
.price-card .price { margin: 18px 0; color: var(--primary); }
.price-card .price strong { font-size: 42px; font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; }
.price-card .price small { color: var(--text-3); font-size: 14px; }
.price-card ul { text-align: left; margin-bottom: 24px; flex: 1; }
.price-card li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; color: var(--text-2); border-bottom: 1px dashed var(--border); }
.price-card li::before { content: "✓"; position: absolute; left: 4px; color: #12a150; font-weight: bold; }
.price-card li.no { color: #b4bccb; }
.price-card li.no::before { content: "—"; color: #c8ced8; }

/* 表格 */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.table th, .table td { border: 1px solid var(--border); padding: 12px 14px; text-align: center; }
.table th { background: #f0f4fb; font-weight: 600; }
.table td:first-child, .table th:first-child { text-align: left; }
.table .yes { color: #12a150; font-weight: bold; }
.table .no { color: #c0c6d1; }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { text-align: center; padding: 26px 18px; background: #fff; border-radius: 12px; border: 1px solid var(--border); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: bold; font-size: 18px; }
.step h4 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--text-3); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 20px; color: var(--text-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--text-2); font-size: 14px; }

/* 文档类页面（协议、制度） */
.doc { max-width: 900px; margin: 0 auto; padding: 46px 20px 80px; }
.doc .doc-meta { color: var(--text-3); font-size: 13px; text-align: center; margin-bottom: 30px; }
.doc h1 { text-align: center; font-size: 28px; margin-bottom: 8px; }
.doc h2 { font-size: 19px; margin: 32px 0 12px; padding-left: 10px; border-left: 4px solid var(--primary); line-height: 1.3; }
.doc h3 { font-size: 16px; margin: 18px 0 8px; }
.doc p { margin-bottom: 12px; color: #333; }
.doc ol, .doc ul.dot { padding-left: 1.6em; margin-bottom: 12px; }
.doc ol { list-style: decimal; }
.doc ul.dot { list-style: disc; }
.doc li { margin-bottom: 6px; color: #333; }
.doc .highlight { background: #fff8e6; border-left: 4px solid #f5a524; padding: 14px 18px; border-radius: 4px; margin: 16px 0; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.doc-nav a { font-size: 14px; padding: 4px 14px; border: 1px solid var(--border); border-radius: 20px; }
.doc-nav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 关于我们 */
.about-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.about-intro p { color: var(--text-2); margin-bottom: 14px; text-indent: 2em; }
.about-visual { border-radius: 16px; min-height: 320px; background: linear-gradient(135deg, #0a3d91, #2f7cf6); position: relative; overflow: hidden; color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; }
.about-visual::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 20px 20px; }
.about-visual > * { position: relative; }
.about-visual strong { font-size: 26px; letter-spacing: 2px; }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 90px; top: 6px; bottom: 6px; width: 2px; background: #d5def0; }
.timeline li { display: flex; gap: 40px; padding-bottom: 26px; position: relative; }
.timeline .year { width: 70px; text-align: right; font-weight: bold; color: var(--primary); flex-shrink: 0; }
.timeline li::before { content: ""; position: absolute; left: 85px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.timeline .txt { color: var(--text-2); }
.cert { border: 1px solid var(--border); border-radius: 12px; padding: 22px; background: #fff; }
.cert h4 { font-size: 16px; margin-bottom: 10px; }

/* 表单 */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text-2); }
.form-row label .req { color: #e5484d; margin-right: 2px; }
.form-control { width: 100%; padding: 10px 14px; border: 1px solid #d6dbe4; border-radius: var(--radius); outline: none; background: #fff; transition: border-color .2s; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 87, 208, .1); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-inline { display: flex; gap: 10px; }
.form-inline .form-control { flex: 1; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); }
.check input { margin-top: 5px; }
.check a { color: var(--primary); }

/* 登录注册 */
.auth-wrap { min-height: calc(100vh - 360px); background: var(--bg); padding: 60px 20px; }
.auth-box { max-width: 440px; margin: 0 auto; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 38px 40px; }
.auth-box h2 { text-align: center; font-size: 24px; margin-bottom: 6px; }
.auth-box .sub { text-align: center; font-size: 14px; color: var(--text-3); margin-bottom: 26px; }
.auth-box .alt { text-align: center; font-size: 14px; margin-top: 18px; color: var(--text-3); }
.auth-box .alt a { color: var(--primary); }

/* 联系我们 */
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--text-3); font-size: 13px; }

/* CTA */
.cta { background: linear-gradient(120deg, #0a3d91, #0b57d0 60%, #2f7cf6); color: #fff; text-align: center; padding: 60px 0; }
.cta h2 { font-size: 28px; margin-bottom: 8px; }
.cta p { opacity: .85; margin-bottom: 24px; }
.cta .btn { margin: 0 8px; }

/* ========== 页脚 ========== */
.footer { background: #111a2e; color: #9aa6bd; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 30px; padding: 50px 0 36px; }
.footer h5 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 600; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .f-brand p { margin-top: 12px; font-size: 13px; line-height: 1.9; }
.footer .f-brand .logo-text strong { color: #fff; }
.footer-bottom { border-top: 1px solid #222d45; padding: 20px 0; text-align: center; font-size: 13px; line-height: 2; }
.footer-bottom a, .footer-bottom span { margin: 0 8px; display: inline-block; }
.footer-bottom .police-icon { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* 提示 */
.toast { position: fixed; left: 50%; top: 90px; transform: translate(-50%, -20px); background: rgba(17, 26, 46, .92); color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; opacity: 0; transition: all .3s; z-index: 999; pointer-events: none; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.back-top { position: fixed; right: 24px; bottom: 30px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .3s; font-size: 18px; z-index: 40; }
.back-top.show { opacity: 1; visibility: visible; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pager button { min-width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 6px; background: #fff; cursor: pointer; }
.pager button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.text-muted { color: var(--text-3); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .footer .f-brand, .footer .f-contact { grid-column: span 3; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav a { padding: 0 10px; font-size: 15px; }
  .nav a.active::after { left: 10px; right: 10px; }
}
@media (max-width: 860px) {
  .topbar .welcome { display: none; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { line-height: 48px; padding: 0 24px; border-top: 1px solid var(--border); }
  .nav a.active::after { display: none; }
  .hero h1 { font-size: 28px; }
  .hero .container { padding-top: 50px; padding-bottom: 76px; }
  .grid-2, .grid-3, .layout, .about-intro { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stats div:nth-child(2) { border-right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 50px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer .f-brand, .footer .f-contact { grid-column: span 2; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .auth-box { padding: 30px 22px; }
  .hero-search select { display: none; }
  .kv { grid-template-columns: 90px 1fr; }
  .topbar .hide-sm { display: none; }
  .topbar a { margin-left: 12px; }
}
