/* =========================================================
   鹿枢云服官网 - 全站样式
   配色取自 zscy.net 原站：主色 #0068e8，辅色 Slate 灰阶
   ========================================================= */

:root {
  --primary: #0068e8;
  --primary-dark: #0056c4;
  --primary-light: #2979ff;
  --primary-bg: #eaf2ff;
  --ink: #1e293b;
  --ink-2: #475569;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --bg: #f1f5f9;
  --card: #ffffff;
  --orange: #f3a73f;
  --orange-bg: #fef6ec;
  --green: #18bc37;
  --green-bg: #e8f8eb;
  --red: #e43d33;
  --red-bg: #fceceb;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(15, 23, 42, .06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--card);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 24px; border-radius: 10px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; font-family: var(--font);
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(0, 104, 232, .3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-bg); }
.btn-outline-light { background: transparent; color: #cbd5e1; border: 1px solid #475569; }
.btn-outline-light:hover { border-color: #94a3b8; color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.btn-sm { padding: 7px 18px; font-size: 14px; border-radius: 8px; }
.btn-lg { padding: 13px 32px; font-size: 16px; border-radius: 12px; }

/* ===== 顶部信息条 ===== */
.topbar { background: #0f2544; color: #cbd5e1; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar-slogan { letter-spacing: 1px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-divider { width: 1px; height: 12px; background: #334155; }

/* ===== 主导航 ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 20px; color: var(--ink); letter-spacing: 1px; white-space: nowrap; }
.brand-text em { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: 2.5px; white-space: nowrap; }

.nav { display: flex; gap: 4px; flex: 0 1 auto; min-width: 0; justify-content: center; }
.nav-link {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); transition: all .2s; white-space: nowrap; flex: 0 0 auto;
}
.nav-link:hover { color: var(--primary); background: var(--primary-bg); }
.nav-link.active { color: var(--primary); font-weight: 600; position: relative; }
.nav-link.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--primary);
}

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.auth-link { white-space: nowrap; }
.pub-link { text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== PC 顶部导航：窗口收窄时逐级缩放，始终单行显示完整菜单名（821px 起，≤820px 才收纳为抽屉）===== */
@media (max-width: 1200px) {
  .nav { gap: 3px; }
  .nav-link { padding: 8px 12px; font-size: 14.5px; }
}
@media (max-width: 1080px) {
  .nav { gap: 2px; }
  .nav-link { padding: 7px 9px; font-size: 13.5px; }
  .brand-text em { display: none; }
  .header-cta { gap: 10px; }
}
@media (max-width: 960px) {
  .nav { gap: 1px; }
  .nav-link { padding: 6px 7px; font-size: 13px; border-radius: 7px; }
  .brand-text strong { font-size: 18px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-sm { padding: 7px 14px; }
  .theme-toggle { width: 34px; height: 34px; }
}
@media (max-width: 860px) {
  .nav { gap: 0; }
  .nav-link { padding: 5px 6px; font-size: 12.5px; }
  .brand { gap: 8px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-text strong { font-size: 17px; }
  .auth-link { font-size: 13px; padding: 7px 8px; }
  .header-cta .btn-sm { padding: 7px 12px; font-size: 13px; }
}

/* ===== 轮播 Banner ===== */
.hero { position: relative; overflow: hidden; }
.hero-slide {
  display: none; position: relative;
  min-height: 460px; align-items: center;
  padding: 60px 0;
  color: #fff;
}
.hero-slide.active { display: block; animation: heroIn .6s ease; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-slide.theme-blue  { background: linear-gradient(120deg, #003d8f 0%, #0068e8 55%, #2979ff 100%); }
.hero-slide.theme-orange { background: linear-gradient(120deg, #8a4d0b 0%, #f3a73f 60%, #f9d39f 130%); color: #fff; }
.hero-slide.theme-deep  { background: linear-gradient(120deg, #0f172a 0%, #1e3a8a 70%, #2563eb 110%); }

/* 装饰图形 */
.hero-slide::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 70%);
}
.hero-slide::after {
  content: ""; position: absolute; left: -80px; bottom: -160px;
  width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
}
.hero-deco {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 340px; height: 340px; opacity: .9; pointer-events: none;
}
.hero-tag {
  display: inline-block; padding: 5px 14px; margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px;
  font-size: 13px; letter-spacing: 2px; background: rgba(255, 255, 255, .1);
}
.hero-title { font-size: 44px; font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; }
.hero-sub { font-size: 19px; opacity: .92; margin-bottom: 34px; letter-spacing: 1px; }
.hero-actions { display: flex; gap: 14px; }

.hero-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
  width: 24px; height: 4px; border-radius: 4px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .4); transition: .25s;
}
.hero-dot.active { background: #fff; width: 36px; }

/* ===== 信任服务条 ===== */
.trustbar { background: var(--bg); border-bottom: 1px solid var(--line); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 24px; height: 24px; }
.trust-text { display: flex; flex-direction: column; line-height: 1.4; }
.trust-text strong { font-size: 15px; color: var(--ink); }
.trust-text span { font-size: 12.5px; color: var(--muted); }

/* ===== 通用区块 ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 42px; }
.section-tag {
  display: inline-block; padding: 4px 14px; margin-bottom: 12px;
  background: var(--primary-bg); color: var(--primary);
  border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 2px;
}
.section-title { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.section-sub { margin-top: 10px; color: var(--muted); font-size: 15px; }
.section-more {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--primary); font-weight: 500; font-size: 14px; margin-top: 6px;
}
.section-more:hover { opacity: .8; }
.section-head-flex {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 36px; text-align: left;
}
.section-head-flex .section-head { margin-bottom: 0; text-align: left; }

/* ===== 快捷服务 ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: all .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon.i-blue   { background: linear-gradient(135deg, #2979ff, #0068e8); }
.service-icon.i-orange { background: linear-gradient(135deg, #f9d39f, #f3a73f); }
.service-icon.i-green  { background: linear-gradient(135deg, #4ade80, #18bc37); }
.service-icon.i-purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.service-icon.i-red    { background: linear-gradient(135deg, #f87171, #e43d33); }
.service-icon.i-teal   { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.service-info h3 { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.service-info p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ===== 数据统计 ===== */
.stats-band { background: linear-gradient(120deg, #003d8f, #0068e8); color: #fff; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 38px; font-weight: 700; letter-spacing: 1px; }
.stat-num em { font-style: normal; font-size: 17px; font-weight: 500; margin-left: 3px; }
.stat-label { margin-top: 4px; font-size: 14px; opacity: .85; }

/* ===== 项目卡片 ===== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: all .25s ease; position: relative; overflow: hidden;
}
.project-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0; transition: .25s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card:hover::before { opacity: 1; }
.project-head { display: flex; align-items: center; gap: 14px; }
.project-logo {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 700;
}
.project-name { font-size: 17px; font-weight: 600; }
.project-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; margin-top: 2px; }
.project-meta span { display: inline-flex; align-items: center; gap: 3px; }
.project-amount {
  background: var(--primary-bg); color: var(--primary);
  border-radius: 8px; padding: 8px 14px; display: flex; justify-content: space-between; align-items: center;
}
.project-amount strong { font-size: 18px; font-weight: 700; }
.project-amount span { font-size: 12px; color: var(--ink-2); }
.project-desc {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 3px 10px; border-radius: 6px; font-size: 12px;
  background: var(--bg); color: var(--ink-2); border: 1px solid var(--line);
}
.tag-stage { background: var(--orange-bg); color: #b4700f; border-color: #fdedd9; }
.project-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }

/* ===== 机构卡片 ===== */
.inst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inst-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: all .25s ease; display: flex; flex-direction: column; gap: 12px;
}
.inst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.inst-head { display: flex; align-items: center; gap: 14px; }
.inst-logo {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700;
}
.inst-name { font-size: 16.5px; font-weight: 600; }
.inst-type {
  display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 5px;
  font-size: 11.5px; background: var(--primary-bg); color: var(--primary);
}
.inst-intro { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.inst-row { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.inst-row b { color: var(--ink-2); font-weight: 500; }

/* ===== 供需列表 ===== */
.supply-list { display: flex; flex-direction: column; gap: 14px; max-width: 960px; margin: 0 auto; }
.supply-item {
  display: flex; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: all .2s ease;
}
.supply-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.supply-type {
  flex-shrink: 0; padding: 4px 10px; border-radius: 7px;
  font-size: 12.5px; font-weight: 600; background: var(--orange-bg); color: #b4700f;
}
.supply-body { flex: 1; min-width: 0; }
.supply-title { font-size: 15.5px; font-weight: 600; margin-bottom: 5px; }
.supply-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.supply-meta span { display: inline-flex; align-items: center; gap: 4px; }
.supply-price { flex-shrink: 0; text-align: right; }
.supply-price strong { font-size: 19px; font-weight: 700; color: var(--red); }
.supply-price em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ===== 新闻区块 ===== */
.news-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; }
.news-feature {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #003d8f, #0068e8);
  color: #fff; padding: 38px 34px; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px;
}
.news-feature::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.news-feature::after {
  content: ""; position: absolute; right: 30px; bottom: -80px; width: 200px; height: 200px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
}
.news-feature .n-cat {
  position: absolute; top: 24px; left: 34px;
  padding: 3px 12px; border-radius: 999px; font-size: 12px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35);
}
.news-feature h3 { font-size: 22px; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }
.news-feature p { font-size: 14px; opacity: .88; margin-bottom: 18px; }
.news-feature .n-time { font-size: 12.5px; opacity: .7; }
.news-feature:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

.news-items { display: flex; flex-direction: column; gap: 10px; }
.news-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px; border-radius: 12px; border: 1px solid transparent;
  transition: all .2s ease;
}
.news-item:hover { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.news-date {
  flex-shrink: 0; text-align: center; background: var(--bg); border-radius: 10px;
  padding: 7px 10px; line-height: 1.25; min-width: 58px;
}
.news-date b { display: block; font-size: 18px; color: var(--primary); }
.news-date span { font-size: 11.5px; color: var(--muted); }
.news-item h4 { font-size: 14.5px; font-weight: 600; line-height: 1.5; margin-bottom: 3px; }
.news-item:hover h4 { color: var(--primary); }
.news-item p {
  font-size: 12.5px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== CTA 区块 ===== */
.cta-band { background: linear-gradient(120deg, #003d8f, #0068e8); border-radius: 20px; color: #fff; padding: 46px 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-band h3 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.cta-band p { opacity: .85; font-size: 15px; }

/* ===== 页面头（内页 banner）===== */
.page-hero { background: linear-gradient(120deg, #003d8f, #0068e8); color: #fff; padding: 52px 0 46px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -100px; top: -100px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.page-hero::after { content: ""; position: absolute; left: -60px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.page-hero h1 { font-size: 32px; font-weight: 700; letter-spacing: 2px; margin-bottom: 8px; }
.page-hero p { opacity: .85; font-size: 15px; }
.breadcrumb { margin-top: 16px; font-size: 13px; opacity: .75; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== 筛选标签 ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-chip {
  padding: 7px 18px; border-radius: 999px; font-size: 14px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
  transition: all .2s; font-family: var(--font);
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* ===== 详情页 ===== */
.detail-wrap { max-width: 860px; margin: 0 auto; }
.detail-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 48px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); margin-bottom: 22px; align-items: center; }
.detail-meta .n-cat-pill { background: var(--primary-bg); color: var(--primary); padding: 3px 12px; border-radius: 999px; font-weight: 600; }
.detail-title { font-size: 27px; font-weight: 700; line-height: 1.45; margin-bottom: 18px; }
.detail-content { font-size: 15.5px; color: var(--ink-2); line-height: 1.9; }
.detail-content p { margin-bottom: 18px; text-align: justify; }
.detail-content strong { color: var(--ink); }
.detail-back { margin-top: 34px; }
.side-card { background: var(--bg); border-radius: var(--radius); padding: 22px 24px; margin-top: 24px; }
.side-card h4 { font-size: 15px; margin-bottom: 14px; color: var(--ink); }
.side-list { display: flex; flex-direction: column; gap: 10px; }
.side-list a { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.side-list a:hover { color: var(--primary); }

/* ===== 商城页 ===== */
.mall-hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mall-cat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: all .25s ease;
}
.mall-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mall-cat-icon { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; }
.mall-cat-icon svg { width: 30px; height: 30px; }
.mall-cat h3 { font-size: 16.5px; margin-bottom: 6px; }
.mall-cat p { font-size: 13px; color: var(--muted); }
.mall-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.mall-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.mall-step-num { font-size: 40px; font-weight: 800; color: var(--primary-bg); position: absolute; top: 10px; right: 18px; line-height: 1; }
.mall-step h4 { font-size: 16px; margin-bottom: 8px; position: relative; }
.mall-step p { font-size: 13px; color: var(--muted); position: relative; }

/* ===== 关于页 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-visual {
  border-radius: 20px; min-height: 320px;
  background: linear-gradient(135deg, #003d8f, #0068e8 60%, #2979ff);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.about-visual::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.1); }
.about-visual::after { content: ""; position: absolute; left: -60px; bottom: -100px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.about-visual-mark { font-size: 88px; font-weight: 800; color: rgba(255,255,255,.92); letter-spacing: 4px; }
.about-text h2 { font-size: 26px; margin-bottom: 16px; }
.about-text p { color: var(--ink-2); margin-bottom: 12px; text-align: justify; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.value-card .v-icon { width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 14px; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.value-card .v-icon svg { width: 25px; height: 25px; }
.value-card h4 { font-size: 16px; margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.contact-card .c-icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-card .c-icon svg { width: 25px; height: 25px; }
.contact-card h4 { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.contact-card p { font-size: 17px; font-weight: 600; color: var(--ink); }

/* ===== 页脚 ===== */
.footer { background: #0f172a; color: #94a3b8; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 54px 20px 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; }
.footer-logo strong { font-size: 20px; letter-spacing: 1px; }
.footer-desc { font-size: 13.5px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 13.5px; color: #94a3b8; transition: .2s; }
.footer-col li a:hover { color: #fff; }
.footer-col li { font-size: 13.5px; }
.footer-btn { margin-top: 16px; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 18px 0; text-align: center; font-size: 12.5px; color: #64748b; }

/* ===== 返回顶部 ===== */
.backtop {
  position: fixed; right: 26px; bottom: 34px; z-index: 90;
  width: 44px; height: 44px; border-radius: 12px; border: none; cursor: pointer;
  background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(0, 104, 232, .35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.backtop.show { opacity: 1; visibility: visible; transform: none; }
.backtop svg { width: 20px; height: 20px; }
.backtop:hover { background: var(--primary-dark); }

/* ===== 动画进入 ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .services-grid, .projects-grid, .inst-grid, .mall-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .trustbar-inner, .mall-steps { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .about-grid, .about-values, .contact-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; }
  .hero-deco { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .section-head-flex { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-band { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
    flex-direction: column; gap: 0; background: var(--card);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 400px; }
  .nav-link { padding: 14px 24px; border-radius: 0; }
  .nav-link.active::after { display: none; }
  .nav-toggle { display: flex; }
  .topbar-right { display: none; }
  .services-grid, .projects-grid, .inst-grid, .mall-hero-grid, .mall-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; }
  .hero-slide { min-height: 380px; padding: 40px 0; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .detail-card { padding: 28px 22px; }
  .detail-title { font-size: 21px; }
  .supply-item { flex-direction: column; align-items: flex-start; }
  .supply-price { text-align: left; }
  /* 手机端右上角：主题/发布/登录均为紧凑图标态，不再隐藏 */
  .header-cta { gap: 6px; }
  .theme-toggle { width: 32px; height: 32px; border-radius: 8px; }
  .pub-link { padding: 7px 9px !important; }
  .pub-link span { display: none; } /* 仅显 ＋ 图标，title 提示“发布需求” */
  .auth-link { padding: 7px 6px; }
  .auth-link span { display: none; } /* 仅显人物图标，title 提示“登录/注册” */
}
@media (max-width: 420px) {
  .brand-text strong { font-size: 16px; }
  .header-inner { gap: 6px; }
}

/* ===== 综合服务列表页 ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-more { font-style: normal; font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 8px; display: inline-block; }
.notice-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--orange-bg); border: 1px solid #fdedd9; border-radius: var(--radius);
  padding: 20px 24px; max-width: 960px; margin: 0 auto;
}
.notice-card .notice-icon { width: 24px; height: 24px; color: #b4700f; flex-shrink: 0; margin-top: 2px; }
.notice-card p { font-size: 13.5px; color: #8a5a16; line-height: 1.8; }

/* ===== 服务详情页 ===== */
.svc-sec-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.svc-sec-bar { width: 4px; height: 20px; border-radius: 2px; background: var(--primary); }
.svc-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-feature { background: var(--bg); border-radius: 12px; padding: 18px 20px; }
.svc-feature h4 { font-size: 15px; margin-bottom: 6px; color: var(--primary); }
.svc-feature p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.svc-steps { display: flex; flex-direction: column; }
.svc-step { display: flex; gap: 16px; align-items: flex-start; }
.svc-step-dot {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.svc-step h4 { font-size: 15px; margin-bottom: 3px; }
.svc-step p { font-size: 13.5px; color: var(--muted); }
.svc-step-line { width: 2px; height: 22px; background: var(--line); margin-left: 15px; margin-bottom: 6px; border-radius: 2px; }
.svc-adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-adv { border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px; }
.svc-adv svg { width: 22px; height: 22px; color: var(--green); margin-bottom: 8px; }
.svc-adv h4 { font-size: 14.5px; margin-bottom: 5px; }
.svc-adv p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.svc-side-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }

/* ===== 首页综合服务迷你宫格 ===== */
.svc-mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc-mini {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  transition: all .25s ease;
}
.svc-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-mini-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.svc-mini-icon svg { width: 21px; height: 21px; }
.svc-mini b { display: block; font-size: 14px; }
.svc-mini em { font-style: normal; font-size: 11.5px; color: var(--muted); display: block; line-height: 1.4; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== 融资事件 ===== */
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: all .2s ease;
}
.event-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.event-date-col { flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 96px; }
.event-date-col b { font-size: 13px; color: var(--muted); font-weight: 600; }
.event-main { flex: 1; min-width: 0; }
.event-main h3 { font-size: 15.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.event-amount-pill {
  font-size: 12px; font-weight: 700; color: var(--red);
  background: var(--red-bg); border-radius: 6px; padding: 2px 8px;
}
.event-main p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; }

/* ===== 行业报告 ===== */
.report-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.report-card {
  display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; transition: all .25s ease;
}
.report-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.report-cover {
  width: 110px; height: 150px; flex-shrink: 0; border-radius: 10px; position: relative;
  background: linear-gradient(150deg, #003d8f, #0068e8); color: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
}
.report-cover svg { width: 40px; height: 40px; }
.report-pages {
  position: absolute; bottom: 8px; right: 8px; font-size: 10.5px;
  background: rgba(0, 0, 0, .35); color: #fff; border-radius: 5px; padding: 2px 7px;
}
.report-body { flex: 1; display: flex; flex-direction: column; }
.report-body h3 { font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 7px; }
.report-body p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.report-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.report-btn { align-self: flex-start; }
.report-mini-list { display: flex; flex-direction: column; gap: 10px; }
.report-mini {
  display: flex; gap: 14px; align-items: center;
  padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  transition: all .2s ease;
}
.report-mini:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.report-mini-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.report-mini-icon svg { width: 22px; height: 22px; }
.report-mini-body { min-width: 0; }
.report-mini-body b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.report-mini-body em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ===== 软件商城 ===== */
.mall-cat-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.goods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.goods-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column;
}
.goods-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.goods-cover { position: relative; aspect-ratio: 1; background: var(--bg); overflow: hidden; }
.goods-cover img { width: 100%; height: 100%; object-fit: cover; }
.goods-cover.noimg::after {
  content: "软件产品"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 15px; letter-spacing: 2px;
}
.goods-cat-pill {
  position: absolute; top: 10px; left: 10px; font-size: 11px;
  background: rgba(0, 104, 232, .85); color: #fff; border-radius: 6px; padding: 3px 9px;
}
.goods-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.goods-body h3 {
  font-size: 14.5px; font-weight: 600; line-height: 1.45; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.goods-foot { display: flex; justify-content: space-between; align-items: baseline; }
.goods-price { color: var(--red); font-weight: 700; }
.goods-price em { font-style: normal; font-size: 12px; }
.goods-sales { font-size: 12px; color: var(--muted); }

/* 商品详情 */
.goods-detail-head { display: flex; gap: 28px; }
.goods-detail-cover {
  width: 300px; height: 300px; flex-shrink: 0; border-radius: 14px; overflow: hidden;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
}
.goods-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.goods-detail-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.goods-detail-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.goods-detail-actions { display: flex; gap: 12px; margin-top: 10px; }
.detail-content ul { padding-left: 22px; margin-bottom: 18px; }
.detail-content li { margin-bottom: 6px; }
.detail-content h3 { font-size: 17px; color: var(--ink); margin: 20px 0 10px; }

/* ===== 会员页 ===== */
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.member-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 18px;
  padding: 34px 32px; display: flex; flex-direction: column; gap: 18px;
  transition: all .25s ease; position: relative;
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member-card-vip { border-color: var(--primary); }
.member-card-vip::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 18px; pointer-events: none;
  box-shadow: 0 0 0 4px rgba(0, 104, 232, .08);
}
.member-head { display: flex; align-items: center; justify-content: space-between; }
.member-head h3 { font-size: 22px; font-weight: 700; }
.member-badge {
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  background: var(--red-bg); color: var(--red);
}
.member-card-vip .member-badge { background: var(--primary-bg); color: var(--primary); }
.member-price > div:first-child { display: flex; align-items: baseline; gap: 3px; }
.member-price em { font-style: normal; font-size: 18px; font-weight: 700; color: var(--red); }
.member-price b { font-size: 42px; font-weight: 800; color: var(--red); line-height: 1; }
.member-price span { font-size: 14px; color: var(--muted); }
.member-year { font-size: 13px; color: var(--muted); margin-top: 6px; }
.member-benefits { display: flex; flex-direction: column; gap: 11px; padding: 18px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.member-benefits li { font-size: 14px; color: var(--ink-2); padding-left: 24px; position: relative; }
.member-benefits li b { color: var(--primary); }
.member-benefits li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px;
  background: var(--green-bg); border-radius: 50%;
}
.member-benefits li::after {
  content: ""; position: absolute; left: 4.5px; top: 9px; width: 6px; height: 3.5px;
  border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg);
}

/* ===== FAQ ===== */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bg); border-radius: 12px; padding: 18px 22px; }
.faq-item h4 { font-size: 15px; margin-bottom: 6px; }
.faq-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

@media (max-width: 992px) {
  .svc-grid, .svc-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-mini-grid { grid-template-columns: repeat(3, 1fr); }
  .goods-grid, .report-grid { grid-template-columns: repeat(2, 1fr); }
  .member-grid { grid-template-columns: 1fr; }
  .goods-detail-head { flex-direction: column; }
  .goods-detail-cover { width: 100%; height: 260px; }
  .news-layout[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .svc-grid, .svc-feature-grid, .svc-adv-grid, .svc-side-list { grid-template-columns: 1fr; }
  .svc-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .goods-grid, .report-grid { grid-template-columns: 1fr; }
  .event-item { flex-direction: column; gap: 10px; }
}

/* ===== 板块子导航（项目库/机构库/事件/报告/FA/委托）===== */
.subnav { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 68px; z-index: 60; }
.subnav-inner { display: flex; gap: 6px; overflow-x: auto; }
.subnav-link {
  padding: 13px 18px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap; border-bottom: 2.5px solid transparent; transition: .2s;
}
.subnav-link:hover { color: var(--primary); }
.subnav-link.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }

/* ===== 发布需求 ===== */
.demand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.demand-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: all .25s ease;
}
.demand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.demand-card h3 { font-size: 17px; }
.demand-card p { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.demand-auth {
  font-size: 11.5px; color: #b4700f; background: var(--orange-bg);
  border-radius: 6px; padding: 4px 10px;
}
.demand-tip { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-top: 16px; background: var(--bg); border-radius: 10px; padding: 12px 16px; }
.demand-tip b { color: var(--ink-2); }

/* ===== 表单 ===== */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.form-item { display: flex; flex-direction: column; gap: 7px; }
.form-item.form-full { grid-column: 1 / -1; }
.form-item > span { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.form-item > span i { color: var(--red); font-style: normal; }
.form-item input, .form-item select, .form-item textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font-size: 14px; font-family: var(--font); color: var(--ink); background: var(--card);
  outline: none; transition: border-color .2s; resize: vertical;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--primary); }
.upload-box {
  border: 1.5px dashed var(--line); border-radius: 12px; padding: 26px 16px;
  text-align: center; color: var(--muted); font-size: 13.5px; cursor: pointer; transition: .2s;
}
.upload-box:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 委托登记布局 ===== */
.entrust-layout { display: flex; gap: 24px; align-items: flex-start; }
.entrust-side { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; }
.entrust-stat b { display: block; font-size: 30px; font-weight: 800; color: var(--primary); }
.entrust-stat span { font-size: 13px; color: var(--muted); }

/* ===== 企业查询 ===== */
.ent-search { display: flex; gap: 12px; }
.ent-search input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: 14.5px; font-family: var(--font); outline: none; transition: border-color .2s; }
.ent-search input:focus { border-color: var(--primary); }
.ent-tips { margin-top: 18px; }
.ent-tips h4 { font-size: 13.5px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.ent-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.ent-head h3 { font-size: 17px; }
.ent-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.ent-scope { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ent-scope b { color: var(--ink-2); }
.ent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ent-actions .tag { cursor: pointer; }
.ent-actions .tag:hover { border-color: var(--primary); color: var(--primary); }

/* ===== AI 快问 ===== */
.ai-chat-demo { max-width: 640px; margin: 32px auto 0; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.ai-msg { border-radius: 14px; padding: 13px 17px; font-size: 14px; line-height: 1.75; max-width: 85%; }
.ai-msg-user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg-bot { align-self: flex-start; background: var(--bg); color: var(--ink-2); border-bottom-left-radius: 4px; }

/* ===== 计算器 ===== */
.calc-num { font-size: 19px; font-weight: 700; color: var(--primary) !important; }

@media (max-width: 992px) {
  .demand-grid { grid-template-columns: 1fr; }
  .entrust-layout { flex-direction: column; }
  .entrust-side { width: 100%; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .subnav { top: 102px; }
}

/* ===== 顶部下拉（＋发布 / 我的中心）===== */
.header-cta { position: relative; }
.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; }
.mine-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; font-family: var(--font);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 8px 10px;
  border-radius: 8px; transition: .2s;
}
.mine-toggle:hover { color: var(--primary); background: var(--primary-bg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 200;
  width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s ease;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu-user { width: 270px; }
.dropdown-item {
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 14px; border-radius: 10px; transition: .18s;
}
.dropdown-item:hover { background: var(--primary-bg); }
.dropdown-item b { font-size: 14px; color: var(--ink); font-weight: 600; }
.dropdown-item:hover b { color: var(--primary); }
.dropdown-item span { font-size: 12px; color: var(--muted); }
.dropdown-divider { height: 1px; background: var(--line); margin: 6px 8px; }

/* ===== 右侧悬浮侧边栏 ===== */
.floatbar {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 95;
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px 6px;
}
.floatbar-item {
  width: 62px; padding: 9px 0 7px; border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--ink-2); border-radius: 10px; transition: .2s; font-family: var(--font);
  text-decoration: none;
}
.floatbar-item svg { width: 20px; height: 20px; }
.floatbar-item span { font-size: 10.5px; line-height: 1; }
.floatbar-item:hover { color: var(--primary); background: var(--primary-bg); }
@media (max-width: 992px) {
  .floatbar { display: none; }
}

/* ===== 登录页 ===== */
.login-layout { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: start; max-width: 1000px; margin: 0 auto; }
.login-side h2 { font-size: 28px; margin-bottom: 12px; }
.login-side > p { color: var(--ink-2); line-height: 1.8; margin-bottom: 20px; }
.login-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.login-points li { padding-left: 26px; position: relative; font-size: 14.5px; color: var(--ink-2); }
.login-points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  background: var(--green-bg); border-radius: 50%;
}
.login-points li::after {
  content: ""; position: absolute; left: 4px; top: 7px; width: 6.5px; height: 3.5px;
  border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg);
}
.login-hotline {
  background: var(--primary-bg); border-radius: 12px; padding: 14px 20px;
  display: flex; align-items: center; gap: 14px;
}
.login-hotline span { font-size: 13px; color: var(--muted); }
.login-hotline b { font-size: 18px; color: var(--primary); }
.login-card { padding: 34px 34px 28px; }
.login-tabs { display: flex; gap: 26px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.login-tab {
  background: none; border: none; cursor: pointer; font-family: var(--font);
  font-size: 18px; font-weight: 600; color: var(--muted); padding: 0 2px 12px;
  border-bottom: 2.5px solid transparent; transition: .2s;
}
.login-tab.active { color: var(--ink); border-bottom-color: var(--primary); }
.sms-row { display: flex; gap: 10px; }
.sms-row input { flex: 1; }
.sms-btn { white-space: nowrap; min-width: 106px; }
.login-extra { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 20px; font-size: 13px; color: var(--muted); }
.login-remember { display: flex; align-items: center; gap: 6px; }
.login-link:hover { color: var(--primary); }
.login-agree { margin-top: 16px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.login-agree a { color: var(--primary); }
.login-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 16px; color: var(--muted); font-size: 12px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-divider span { white-space: nowrap; }
.login-other { display: flex; justify-content: center; gap: 14px; }
.login-other-item {
  padding: 9px 22px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: .2s;
}
.login-other-item:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 我的中心 ===== */
.mine-user {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(120deg, #003d8f, #0068e8); border-radius: var(--radius);
  color: #fff; padding: 22px 26px; margin-bottom: 26px;
}
.mine-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255, 255, 255, .2); border: 2px solid rgba(255, 255, 255, .5);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.mine-user-info { flex: 1; }
.mine-user-info b { display: block; font-size: 18px; }
.mine-user-info span { font-size: 13px; opacity: .85; }
.mine-user-info a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mine-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: all .25s ease;
}
.mine-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mine-card-head { display: flex; gap: 12px; align-items: center; }
.mine-card-head h3 { font-size: 15.5px; }
.mine-card-head p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.mine-empty { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

/* ===== 协议页 ===== */
.agree-list { padding-left: 22px; margin-bottom: 8px; }
.agree-list li { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; margin-bottom: 4px; }
.agree-p { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }

@media (max-width: 992px) {
  .login-layout { grid-template-columns: 1fr; }
  .mine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mine-grid { grid-template-columns: 1fr; }
  .mine-toggle span { display: none; }
}

/* =========================================================
   黑白主题切换（data-theme="dark"，与原站同机制）
   ========================================================= */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-2); cursor: pointer; transition: .2s;
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

html[data-theme="dark"] {
  --ink: #e2e8f0;
  --ink-2: #c3cdda;
  --muted: #7e8ca3;
  --line: #2f3d52;
  --bg: #101827;
  --card: #19222f;
  --primary-bg: rgba(64, 134, 255, .18);
  --orange-bg: rgba(243, 167, 63, .15);
  --green-bg: rgba(52, 199, 89, .16);
  --red-bg: rgba(240, 90, 80, .16);
  --shadow: 0 2px 12px rgba(0, 0, 0, .45);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] body { background: var(--card); color: var(--ink); }
html[data-theme="dark"] .header { background: rgba(16, 22, 34, .95); border-bottom-color: var(--line); }
html[data-theme="dark"] .topbar { background: #0a1220; color: #8fa1bb; }
html[data-theme="dark"] .subnav { background: var(--card); border-bottom-color: var(--line); }
html[data-theme="dark"] .dropdown-menu { background: #1f2b3d; border-color: var(--line); }
html[data-theme="dark"] .dropdown-item b { color: var(--ink); }
html[data-theme="dark"] .floatbar { background: #1f2b3d; border-color: var(--line); }
html[data-theme="dark"] .theme-toggle { background: var(--card); }
html[data-theme="dark"] .mine-toggle { color: var(--ink-2); }
html[data-theme="dark"] .btn-white { color: #10233f; }
html[data-theme="dark"] .btn-outline { color: #6ea8ff; border-color: #3a66b8; }
html[data-theme="dark"] .btn-outline:hover { background: var(--primary-bg); }
html[data-theme="dark"] .news-date { background: var(--bg); }
html[data-theme="dark"] .supply-type { background: var(--orange-bg); color: #f0b56a; }
html[data-theme="dark"] .tag-stage { background: var(--orange-bg); color: #f0b56a; border-color: transparent; }
html[data-theme="dark"] .demand-auth { background: var(--orange-bg); color: #f0b56a; }
html[data-theme="dark"] .notice-card { background: var(--orange-bg); border-color: rgba(243, 167, 63, .25); }
html[data-theme="dark"] .notice-card p { color: #e8c58c; }
html[data-theme="dark"] .notice-card .notice-icon { color: #f0b56a; }
html[data-theme="dark"] .member-badge { background: var(--red-bg); color: #ff9a92; }
html[data-theme="dark"] .member-card-vip .member-badge { background: var(--primary-bg); color: #6ea8ff; }
html[data-theme="dark"] .event-amount-pill { background: var(--red-bg); color: #ff9a92; }
html[data-theme="dark"] .goods-price, html[data-theme="dark"] .member-price b, html[data-theme="dark"] .member-price em { color: #ff8d84; }
html[data-theme="dark"] .supply-price strong { color: #ff8d84; }
html[data-theme="dark"] .mall-step-num { color: var(--primary-bg); }
html[data-theme="dark"] .upload-box { border-color: var(--line); }
html[data-theme="dark"] .form-item input, html[data-theme="dark"] .form-item select, html[data-theme="dark"] .form-item textarea,
html[data-theme="dark"] .ent-search input { background: var(--bg); border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .ai-msg-bot { background: var(--bg); color: var(--ink-2); }
html[data-theme="dark"] .footer { background: #0b1220; }
html[data-theme="dark"] .footer-bottom { border-top-color: #1c2940; }
html[data-theme="dark"] .login-other-item { border-color: var(--line); color: var(--ink-2); }
html[data-theme="dark"] .login-other-item:hover { color: #6ea8ff; border-color: #3a66b8; }
html[data-theme="dark"] .side-card { background: var(--bg); }
html[data-theme="dark"] .faq-item { background: var(--bg); }
html[data-theme="dark"] .svc-feature { background: var(--bg); }
html[data-theme="dark"] .svc-adv { border-color: var(--line); }
html[data-theme="dark"] .mine-user { background: linear-gradient(120deg, #0c2b5e, #0a4bb5); }
html[data-theme="dark"] .news-item:hover { background: var(--card); }

/* =========================================================
   手机端布局调整：模块一行 2 个为主
   ========================================================= */

/* 产业招商子导航：手机端保持单行横向滑动 */
@media (max-width: 640px) {
  .subnav-inner { flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .subnav-inner::-webkit-scrollbar { display: none; }
  .subnav-link { padding: 12px 14px; }

  /* 模块卡片一律一行 2 个 */
  .services-grid,
  .projects-grid,
  .inst-grid,
  .mall-hero-grid,
  .mall-steps,
  .goods-grid,
  .report-grid,
  .svc-grid,
  .svc-adv-grid,
  .svc-feature-grid,
  .demand-grid,
  .mine-grid,
  .about-values,
  .contact-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* 卡片内边距收紧，适配 2 列 */
  .service-card, .project-card, .inst-card, .report-card, .goods-card,
  .svc-feature, .svc-adv, .mall-step, .mine-card, .demand-card,
  .value-card, .contact-card, .mall-cat { padding: 14px 12px; }
  .service-card { gap: 10px; }
  .service-icon { width: 40px; height: 40px; border-radius: 11px; }
  .service-icon svg { width: 20px; height: 20px; }
  .service-info h3 { font-size: 14px; }
  .service-info p { font-size: 11.5px; }
  .project-logo, .inst-logo { width: 40px; height: 40px; font-size: 16px; }
  .project-name, .inst-name { font-size: 14.5px; }
  .project-amount strong { font-size: 15px; }
  .project-desc { font-size: 12px; -webkit-line-clamp: 2; }
  .report-cover { width: 76px; height: 104px; }
  .report-body h3 { font-size: 13.5px; }
  .report-body p { font-size: 11.5px; -webkit-line-clamp: 2; }
  .report-meta { gap: 2px 10px; font-size: 10.5px; }
  .goods-body h3 { font-size: 13px; }
  .goods-price { font-size: 14px; }
  .mall-cat-icon { width: 44px; height: 44px; }
  .mall-cat-icon svg { width: 22px; height: 22px; }
  .mall-cat h3 { font-size: 14px; }
  .mall-cat p { font-size: 11px; }
  .mall-step-num { font-size: 30px; }
  .mall-step h4 { font-size: 14px; }
  .mall-step p { font-size: 11.5px; }
  .svc-feature h4, .svc-adv h4 { font-size: 13px; }
  .svc-feature p, .svc-adv p { font-size: 11.5px; }
  .value-card h4 { font-size: 14px; }
  .value-card p { font-size: 11.5px; }
  .contact-card p { font-size: 14px; }
  .demand-card h3 { font-size: 15px; }
  .demand-card p { font-size: 12px; }
  .mine-card-head h3 { font-size: 14px; }
  .mine-card-head p { font-size: 11px; }
  .mine-avatar { width: 44px; height: 44px; font-size: 18px; }
  .stat-num { font-size: 26px; }
  .trust-text strong { font-size: 13px; }
  .trust-text span { font-size: 11px; }
  .trust-icon { width: 36px; height: 36px; }
  .trust-icon svg { width: 19px; height: 19px; }

  /* 表单保持单列（输入类需要宽度） */
  .form-grid { grid-template-columns: 1fr !important; }
  .svc-side-list { grid-template-columns: 1fr !important; }
}

/* ===== 手机端右上角菜单收纳：关闭按钮 + 面板 ===== */
@media (max-width: 640px) {
  .nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 10px; border-bottom: 1px solid var(--line); }
  .nav-title { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 1px; }
  .nav-close {
    background: var(--bg); border: none; cursor: pointer; width: 30px; height: 30px;
    border-radius: 8px; color: var(--ink-2); display: flex; align-items: center; justify-content: center;
  }
  .nav-close svg { width: 16px; height: 16px; }
  .nav { box-shadow: none; }
  .nav.open { box-shadow: var(--shadow-lg); }

  /* 下拉菜单面板：内容一行两个 */
  .dropdown-menu {
    position: fixed; left: 50%; right: auto; top: 150px; transform: translate(-50%, 8px);
    width: min(94vw, 420px); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px;
  }
  .dropdown.open .dropdown-menu { transform: translate(-50%, 0); }
  .dropdown-divider { grid-column: 1 / -1; }
  .dropdown-item { padding: 9px 10px; align-items: flex-start; }
  .dropdown-item b { font-size: 12.5px; }
  .dropdown-item span { font-size: 10.5px; }
}
/* 横排导航（≥821px）隐藏抽屉菜单头部 */
@media (min-width: 821px) {
  .nav-head { display: none; }
}

/* ===== 权限提示组件（对齐原站认证/会员权限）===== */
.perm-banner {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  background: var(--primary-bg); border: 1px solid rgba(0, 104, 232, .18);
  border-radius: 12px; padding: 16px 20px;
}
.perm-banner > svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; }
.perm-banner-text { flex: 1; min-width: 200px; }
.perm-banner-text b { display: block; font-size: 14.5px; color: var(--ink); }
.perm-banner-text span { font-size: 12.5px; color: var(--ink-2); }
.perm-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.perm-lock { color: var(--muted); }
.perm-lock-row { opacity: .85; }
@media (max-width: 640px) {
  .perm-banner-actions { width: 100%; }
  .perm-banner-actions .btn { flex: 1; }
}

/* =========================================================
   手机端修复：子导航滑动 / 指定页面单列 / 防溢出 / 页脚3列
   ========================================================= */

/* 禁止页面级横向溢出（不影响 sticky，避免整页乱滑导致子导航“滑不动”的错觉） */
/* 页面级横向溢出改由 html 隐藏，避免影响内部滚动容器 */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

/* ---- 产业招商子导航：手机端稳定单行横向滑动 ---- */
@media (max-width: 992px) {
  .subnav { overflow: visible; }
  .subnav .container.subnav-inner {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-left: 14px; padding-right: 14px;
  }
  .subnav .container.subnav-inner::-webkit-scrollbar { display: none; }
  .subnav-link { flex: 0 0 auto; min-width: max-content; }
}
/* 吸顶位置：顶部条不吸附，主 header 高 68px */
@media (max-width: 992px) {
  .subnav { top: 68px; }
}

/* ---- 项目库/机构库/融资事件/行业报告：手机端一行一个 ---- */
@media (max-width: 640px) {
  .page-projects .projects-grid,
  .page-institution .inst-grid,
  .page-reports .report-grid { grid-template-columns: 1fr !important; }

  /* 融资事件条目单列并防溢出 */
  .page-events .event-item { flex-direction: column; gap: 10px; padding: 16px; }
  .page-events .event-date-col { flex-direction: row; align-items: center; gap: 10px; min-width: 0; }
  .page-events .event-main h3 { flex-wrap: wrap; }
  .page-events .event-main h3 .event-amount-pill { max-width: 100%; }
  .page-events .supply-meta span { word-break: break-all; }

  /* 机构卡内容防溢出 */
  .page-institution .inst-row { font-size: 12px; word-break: break-all; }
  .page-institution .inst-intro { font-size: 13px; }

  /* 报告卡单列自适应 */
  .page-reports .report-card { flex-direction: row; }
  .page-reports .report-cover { width: 96px; height: 128px; flex-shrink: 0; }
  .page-reports .report-meta { word-break: break-all; }
}

/* ---- 首页 优质融资项目 / 合作机构矩阵：保持 2 列但缩放防溢出 ---- */
@media (max-width: 640px) {
  .project-card, .inst-card, .report-card, .goods-card { min-width: 0; overflow: hidden; }
  .project-amount { flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 10px; }
  .project-amount strong { font-size: 14px; }
  .project-amount span { font-size: 10.5px; }
  .project-tags { gap: 5px; }
  .project-tags .tag { padding: 2px 7px; font-size: 10.5px; max-width: 100%; word-break: break-all; }
  .project-foot { flex-wrap: wrap; gap: 4px; font-size: 11px; }
  .inst-card .inst-row { font-size: 11px; word-break: break-all; }
  .inst-card .inst-row b { flex-shrink: 0; }
  .inst-name { font-size: 14px; }
  .supply-meta { word-break: break-all; }
  .supply-meta span { max-width: 100%; }
}

/* ---- 顶部导航：小平板宽度（641-820px）收纳为抽屉菜单；≥821px 始终单行横排 ---- */
@media (max-width: 820px) and (min-width: 641px) {
  .nav {
    position: fixed; top: 102px; left: 0; right: 0; z-index: 99;
    flex-direction: column; gap: 0; background: var(--card);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 520px; }
  .nav-link { padding: 14px 24px; border-radius: 0; font-size: 15px; }
  .nav-link.active::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px 10px; border-bottom: 1px solid var(--line);
  }
  .nav-title { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 1px; }
  .nav-close {
    background: var(--bg); border: none; cursor: pointer; width: 30px; height: 30px;
    border-radius: 8px; color: var(--ink-2); display: flex; align-items: center; justify-content: center;
  }
  .nav-close svg { width: 16px; height: 16px; }
}

/* ---- 页脚：手机端三列水平分布 ---- */
@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 12px; padding: 36px 16px 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-desc { font-size: 12px; }
  .footer-col h4 { font-size: 13px; margin-bottom: 12px; }
  .footer-col ul { gap: 8px; }
  .footer-col li, .footer-col li a { font-size: 12px; }
  .footer-contact .footer-btn { display: none; }
  .footer-bottom { font-size: 11px; }
}

/* =========================================================
   修复：header 白线 + 子导航触摸滑动
   ========================================================= */

/* 1) 消除 header 底部压在蓝色 hero 上的白线：未滚动时隐藏分隔线，滚动后显示 */
.header { border-bottom-color: transparent; }
.header.scrolled { border-bottom-color: var(--line); }
html[data-theme="dark"] .header.scrolled { border-bottom-color: var(--line); }

/* 2) 子导航：强制可滚动（scroll 而非 auto），允许横向触摸手势 */
@media (max-width: 992px) {
  .subnav-inner {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 14px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
  }
  .subnav-inner::-webkit-scrollbar { display: none !important; }
  .subnav-link {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    white-space: nowrap;
  }
}

/* =========================================================
   手机端（≤640px）抽屉菜单：黑白主题适配 + 菜单项两列布局
   ========================================================= */
@media (max-width: 640px) {
  /* 背景跟随主题（修复：原来写死 #fff 导致深色模式下刺眼） */
  .nav { background: var(--card) !important; }

  /* 菜单项两列网格布局 */
  .nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .nav-head { grid-column: 1 / -1; }
  .nav-link {
    flex: none;
    text-align: center;
    padding: 15px 10px !important;
    font-size: 15px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  /* 奇数项（每行左列）去掉右边框，末行底部边框由面板底边兜底 */
  .nav-link:nth-child(2n + 1) { border-right: none; }
  .nav { border-left: 1px solid var(--line); }
}
@media (min-width: 821px) {
  /* 横排导航恢复 flex，不受抽屉网格影响 */
  .nav { display: flex !important; grid-template-columns: none; }
  .nav-link { border-right: none; border-bottom: none; }
}

/* ===== 收银台 ===== */
.cashier-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; box-shadow: var(--shadow);
}
.cashier-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.cashier-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0;
}
.cashier-head h2 { font-size: 21px; margin-bottom: 3px; }
.cashier-amount { margin-left: auto; text-align: right; }
.cashier-amount em { font-style: normal; display: block; font-size: 12px; color: var(--muted); }
.cashier-amount b { font-size: 30px; font-weight: 800; color: var(--red); }
.cashier-discount { display: block; font-size: 12px; color: var(--green); margin-top: 2px; }
.cashier-channels { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.cashier-channel {
  display: flex; align-items: center; gap: 14px; text-align: left;
  border: 1.5px solid var(--line); background: var(--card); border-radius: 12px;
  padding: 15px 18px; cursor: pointer; font-family: var(--font); transition: all .2s ease;
}
.cashier-channel:hover:not(.disabled) { border-color: var(--primary); background: var(--primary-bg); }
.cashier-channel.disabled { opacity: .55; cursor: not-allowed; }
.cc-icon { font-size: 24px; flex-shrink: 0; }
.cc-name { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.cc-name small { font-weight: 400; font-size: 12px; color: var(--muted); }
.cc-charge { font-size: 12.5px; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.cc-arrow { color: var(--muted); font-size: 20px; }
.cashier-wechat { text-align: center; padding: 18px 0 6px; border-top: 1px dashed var(--line); }
.cashier-wechat h3 { font-size: 16px; margin-bottom: 14px; }
.cashier-wechat img { border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; }
.cashier-wechat .btn { margin-top: 12px; }
.cashier-waiting { text-align: center; padding: 14px 0 4px; }
.cashier-waiting p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.spinner {
  width: 26px; height: 26px; margin: 0 auto; border: 3px solid var(--line);
  border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cashier-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.cashier-note a { color: var(--primary); }
@media (max-width: 640px) {
  .cashier-card { padding: 20px 16px; }
  .cashier-head { flex-wrap: wrap; }
  .cashier-amount { margin-left: 0; text-align: left; width: 100%; display: flex; align-items: baseline; gap: 8px; }
  .cashier-amount b { font-size: 24px; }
}

/* ===== 发布需求四入口 Tab ===== */
.pub-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pub-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; cursor: pointer; font-family: var(--font); text-align: left;
  transition: all .2s ease;
}
.pub-tab b { font-size: 16px; color: var(--ink); }
.pub-tab small { font-size: 12px; color: var(--muted); }
.pub-tab:hover { border-color: var(--primary); }
.pub-tab.active { border-color: var(--primary); background: var(--primary-bg); box-shadow: 0 4px 14px rgba(0, 104, 232, .12); }
.pub-tab.active b { color: var(--primary); }
@media (max-width: 640px) {
  .pub-tabs { grid-template-columns: repeat(2, 1fr); }
  .pub-tab { padding: 14px 12px; }
  .pub-tab b { font-size: 14px; }
}

/* =========================================================
   二维码体系：PC 悬浮栏气泡 / 页脚二维码 / 关于我们展示区
   图片地址全部来自后台「站点设置 - 二维码设置」
   ========================================================= */

/* ===== PC 右侧悬浮栏：二维码按钮 + 悬停气泡 ===== */
.floatbar-qr { position: relative; }
.floatbar-qr span { white-space: nowrap; }
.floatbar-pop {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  width: 148px; padding: 14px 14px 13px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 100;
}
.floatbar-pop::after {
  content: ""; position: absolute; right: -7px; top: 50%; margin-top: -7px;
  border: 7px solid transparent; border-left-color: var(--card);
  filter: drop-shadow(1px 0 0 var(--line));
}
.floatbar-pop img {
  width: 120px; height: 120px; object-fit: cover;
  border-radius: 8px; background: #fff; padding: 5px;
  display: block; margin: 0 auto; border: 1px solid var(--line);
}
.floatbar-pop b { display: block; margin-top: 9px; font-size: 14px; color: var(--ink); }
.floatbar-pop small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.floatbar-qr:hover .floatbar-pop,
.floatbar-qr:focus-within .floatbar-pop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* ===== PC 页脚：联系我们右侧水平二维码 ===== */
.footer-qrs { display: flex; gap: 14px; margin-top: 16px; }
.footer-qr { text-align: center; }
.footer-qr img {
  width: 82px; height: 82px; object-fit: cover;
  background: #fff; padding: 5px; border-radius: 8px;
  display: block; transition: transform .25s ease;
}
.footer-qr:hover img { transform: translateY(-3px); }
.footer-qr span { display: block; margin-top: 7px; font-size: 11.5px; color: #94a3b8; white-space: nowrap; }

/* ===== PC 关于我们：产品二维码展示区 ===== */
.qr-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.qr-show-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 22px 28px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.qr-show-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.qr-show-icon {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-bg); color: var(--primary);
}
.qr-show-icon svg { width: 27px; height: 27px; }
.qr-show-card img {
  width: 160px; height: 160px; max-width: 100%; object-fit: cover;
  background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: 12px;
  display: block; margin: 0 auto 16px;
}
.qr-show-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.qr-show-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 二维码仅在 PC（≥993px）展示；悬浮栏本身已在 ≤992px 隐藏 */
@media (max-width: 992px) {
  .footer-qrs { display: none; }
  .qr-show-section { display: none; }
}
@media (min-width: 993px) and (max-width: 1200px) {
  .qr-show-card { padding: 26px 16px 24px; }
  .qr-show-card img { width: 130px; height: 130px; }
}
