/* =========================================================
   山东信数数字科技有限公司 · 企业宣传册
   现代 / 专业 / 响应式 样式
   ========================================================= */

:root {
  --navy:        #0b1f3a;   /* 主色：深蓝 */
  --navy-2:      #102a4c;
  --blue:        #2563eb;   /* 强调：科技蓝 */
  --blue-soft:   #3b82f6;
  --teal:        #14b8a6;   /* 次强调：青绿 */
  --ink:         #1e293b;   /* 正文 */
  --muted:       #64748b;   /* 次要文字 */
  --line:        #e2e8f0;   /* 描边 */
  --bg:          #ffffff;
  --bg-soft:     #f6f9fc;   /* 浅色区块底 */
  --bg-dark:     #0b1f3a;   /* 深色区块底 */
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 18px 40px -20px rgba(11,31,58,.35);
  --shadow-sm:   0 8px 24px -12px rgba(11,31,58,.25);
  --container:   1180px;
  --font-disp:   "Sora", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body:   "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(37,99,235,.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(37,99,235,.8); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-disp); font-size: 18px; letter-spacing: .5px; }
.brand-text em { font-style: normal; font-size: 10px; letter-spacing: 2px; color: var(--muted); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--blue);
  transition: width .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  border: none; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-light { background: var(--bg); }
.section-dark { background: var(--bg-dark); color: #e8eefb; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(37,99,235,.28), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, rgba(20,184,166,.18), transparent 60%);
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.light { color: #e8eefb; }
.kicker {
  display: inline-block;
  font-family: var(--font-disp);
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-head.light .kicker { color: var(--teal); }
.section-head h2 {
  font-family: var(--font-disp);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--navy);
  line-height: 1.25;
}
.section-head.light h2 { color: #fff; }
.section-lead { margin-top: 14px; font-size: 17px; color: var(--muted); }
.section-head.light .section-lead { color: #b9c6e3; }

.grad-text {
  background: linear-gradient(120deg, #6ea8ff, #14b8a6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(1200px 600px at 70% 0%, #13315c, var(--navy) 55%);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.mesh {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
}
.mesh-1 { width: 420px; height: 420px; background: #2563eb; top: -80px; right: 8%; }
.mesh-2 { width: 360px; height: 360px; background: #14b8a6; bottom: -120px; left: -60px; opacity: .4; }

.hero-inner { position: relative; z-index: 1; padding: 120px 24px 80px; max-width: 920px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 14px; letter-spacing: 2px; font-weight: 600;
  color: #9fc1ff;
  padding: 7px 16px;
  border: 1px solid rgba(159,193,255,.3);
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 1px;
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(16px, 2vw, 20px);
  color: #cdd9f0;
  max-width: 640px;
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  max-width: 720px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 28px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-disp);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
}
.hero-stats span { font-size: 13px; color: #9fb2d6; margin-top: 4px; }
.hero-note { margin-top: 16px; font-size: 12px; color: #7e93ba; }

/* ---------- 公司简介 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p { font-size: 16px; color: var(--ink); margin-bottom: 18px; }
.about-text strong { color: var(--navy); }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about-tags span {
  font-size: 13px; font-weight: 500;
  padding: 7px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
}
.about-cards { display: flex; flex-direction: column; gap: 18px; }
.mini-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mini-card h3 { font-family: var(--font-disp); font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.mini-card p { font-size: 15px; color: var(--muted); }

/* ---------- 解决方案 ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.solution-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110,168,255,.6);
  background: rgba(255,255,255,.07);
}
.solution-card.span-2 { grid-column: span 2; }
.sol-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,.25), rgba(20,184,166,.25));
  color: #aecbff;
  margin-bottom: 18px;
}
.solution-card h3 { font-family: var(--font-disp); font-size: 20px; color: #fff; margin-bottom: 10px; }
.solution-card p { font-size: 15px; color: #c2cfe8; }

/* ---------- 技术优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.adv-item {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.adv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-num {
  font-family: var(--font-disp);
  font-size: 30px; font-weight: 800;
  color: var(--blue);
  opacity: .18;
  position: absolute; top: 18px; right: 22px;
}
.adv-item h3 { font-family: var(--font-disp); font-size: 18px; color: var(--navy); margin-bottom: 10px; position: relative; }
.adv-item p { font-size: 15px; color: var(--muted); }

/* ---------- 成功案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.case-card:hover { transform: translateY(-5px); border-color: rgba(110,168,255,.6); }
.case-thumb {
  height: 160px;
  display: grid; place-items: end start;
  padding: 16px;
  color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
}
.thumb-a { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.thumb-b { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.thumb-c { background: linear-gradient(135deg, #312e81, #6366f1); }
.thumb-d { background: linear-gradient(135deg, #155e75, #0ea5e9); }
.case-body { padding: 24px 26px 28px; }
.case-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--teal);
  background: rgba(20,184,166,.12);
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.case-body h3 { font-family: var(--font-disp); font-size: 19px; color: #fff; margin-bottom: 10px; }
.case-body p { font-size: 15px; color: #c2cfe8; }

/* ---------- 联系方式 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-ic {
  flex: none;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--blue);
}
.info-list strong { display: block; font-size: 15px; color: var(--navy); }
.info-list span { font-size: 14px; color: var(--muted); }
.map-placeholder {
  height: 200px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--muted);
  font-size: 14px;
  background:
    repeating-linear-gradient(45deg, #f6f9fc, #f6f9fc 12px, #eef3fa 12px, #eef3fa 24px);
}

.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  font-family: inherit; font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.field input.invalid, .field textarea.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}
.form-tip { min-height: 20px; font-size: 14px; margin-top: 6px; }
.form-tip.ok { color: #0f9d58; }
.form-tip.err { color: #ef4444; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #07182e; color: #c6d3ea; padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; color: #9fb2d6; max-width: 320px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h4 { font-size: 15px; color: #fff; margin-bottom: 14px; }
.footer-links a { display: block; font-size: 14px; color: #9fb2d6; padding: 5px 0; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 13px; color: #7e93ba;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  color: #fff;
  font-size: 20px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 滚动揭示动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* =========================================================
   官网维护稿 v1.0 新增组件
   ========================================================= */
.version-chip {
  font-family: var(--font-disp);
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  color: var(--blue);
  background: rgba(37,99,235,.1);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

/* Hero 元信息 */
.hero-meta {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  max-width: 760px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 26px;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 6px; }
.hero-meta-item span { font-size: 12px; letter-spacing: 1px; color: #8fa5cc; }
.hero-meta-item strong {
  font-family: var(--font-disp);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 700; color: #fff;
}

/* ---------- 工程项目：分类筛选 ---------- */
.proj-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.proj-tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: #c2cfe8;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.proj-tab:hover { background: rgba(255,255,255,.11); transform: translateY(-2px); }
.proj-tab.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(37,99,235,.8);
}
.tab-id { font-family: var(--font-disp); font-size: 11px; font-weight: 700; opacity: .7; letter-spacing: .5px; }
.tab-num {
  font-family: var(--font-disp); font-size: 11px;
  background: rgba(255,255,255,.16);
  border-radius: 999px; padding: 1px 7px;
}

.proj-panel { margin-bottom: 46px; }
.proj-panel:last-child { margin-bottom: 0; }
.cat-head {
  display: flex; align-items: flex-start; gap: 20px;
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 20px;
  margin-bottom: 22px;
}
.cat-id {
  flex: none;
  font-family: var(--font-disp);
  font-size: 15px; font-weight: 800; letter-spacing: 1px;
  color: var(--teal);
  background: rgba(20,184,166,.12);
  border-radius: 8px; padding: 7px 11px;
  margin-top: 2px;
}
.cat-title { flex: 1; min-width: 0; }
.cat-title h3 {
  font-family: var(--font-disp);
  font-size: 22px; font-weight: 700; color: #fff;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.cat-title h3 em {
  font-style: normal; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; color: #8fa5cc;
}
.cat-title p { font-size: 14px; color: #b9c6e3; margin-top: 6px; }
.cat-entry {
  flex: none;
  font-size: 13px; font-weight: 500;
  color: #a9c8ff;
  border: 1px solid rgba(110,168,255,.35);
  border-radius: 999px; padding: 7px 14px;
  transition: background .2s ease;
}
.cat-entry:hover { background: rgba(110,168,255,.14); }

.proj-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.proj-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 22px 22px 24px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.proj-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110,168,255,.55);
  background: rgba(255,255,255,.075);
}
.proj-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.proj-id {
  font-family: var(--font-disp); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; color: #a9c8ff;
}
.proj-badge {
  font-size: 11px; font-weight: 500;
  color: #7fe3d4; background: rgba(20,184,166,.14);
  border-radius: 999px; padding: 3px 9px; white-space: nowrap;
}
.proj-badge.pending { color: #f5c46b; background: rgba(245,196,107,.13); }
.proj-card h4 { font-family: var(--font-disp); font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 9px; }
.proj-card p { font-size: 13.5px; color: #c2cfe8; flex: 1; }
.proj-source { font-size: 12px !important; color: #8fa5cc !important; margin-top: 12px; flex: none; }
.proj-link {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 500; color: #a9c8ff;
  align-self: flex-start;
}
.proj-link:hover { text-decoration: underline; }
.proj-empty {
  border: 1.5px dashed rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
  font-size: 14px; color: #a8b9da;
}
.proj-empty strong { color: var(--teal); }
.proj-empty code {
  font-family: var(--font-disp); font-size: 13px;
  background: rgba(255,255,255,.09); padding: 2px 7px; border-radius: 5px; color: #dbe6fb;
}

/* EP 类别封面插图（如消防供水系统组成示意图），仅展示于项目专题类别面板 */
.cat-cover {
  margin: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  align-self: flex-start;
}
/* 有封面图的类别：标题区在左、示意图在右，避免大图铺满不搭 */
.proj-panel.has-cover { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.proj-panel.has-cover .cat-head { flex: 1 1 420px; min-width: 300px; }
.proj-panel.has-cover .cat-cover { flex: 0 0 320px; max-width: 320px; }
.proj-panel.has-cover .proj-cards { flex-basis: 100%; }
.cat-cover img { width: 100%; height: auto; display: block; background: #fff; }
.cat-cover figcaption {
  padding: 12px 16px;
  font-size: 12.5px; line-height: 1.7;
  color: #9fb2d6;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(11,31,58,.55);
}
.cat-cover-note { display: block; margin-top: 6px; color: #f0b35e; font-size: 12px; }

/* 项目卡警示字段（如「示意图 · 错字待校 · 非项目现场」） */
.proj-note {
  margin-top: 10px;
  font-size: 12.5px; line-height: 1.6;
  color: #f0b35e;
  background: rgba(240,179,94,.08);
  border-left: 2px solid #f0b35e;
  padding: 6px 10px;
  border-radius: 0 6px 6px 0;
}

/* 浅色区块里的解决方案卡 */
.section-soft { background: var(--bg-soft); }
.light-grid .solution-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-sm);
}
.light-grid .solution-card:hover { border-color: rgba(37,99,235,.5); background: #fff; box-shadow: var(--shadow); }
.light-grid .solution-card h3 { color: var(--navy); }
.light-grid .solution-card p { color: var(--muted); }

/* 联系信息补充 */
.field select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.info-list small { display: block; font-size: 12px; color: #94a3b8; margin-top: 3px; }
.submit-hint {
  margin-top: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.submit-hint strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.submit-hint p { font-size: 14px; color: var(--muted); }

/* ---------- 版本与维护说明 ---------- */
.section-maintain { background: #fff; border-top: 1px solid var(--line); padding: 76px 0; }
.maint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.maint-col h2 {
  font-family: var(--font-disp); font-size: clamp(24px, 3vw, 32px);
  font-weight: 800; color: var(--navy); margin-bottom: 14px;
}
.maint-col > p { font-size: 15px; color: var(--muted); max-width: 520px; }
.maint-col h3 { font-family: var(--font-disp); font-size: 16px; color: var(--navy); margin-bottom: 14px; }
.maint-col h3.mt { margin-top: 30px; }
.maint-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.maint-badge {
  font-size: 13px; font-weight: 500; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 999px; padding: 8px 16px;
}
.maint-badge.ghost { background: transparent; color: var(--blue); border: 1px solid rgba(37,99,235,.3); }
.changelog { display: flex; flex-direction: column; gap: 0; }
.changelog li {
  position: relative; padding: 0 0 18px 22px;
  border-left: 2px solid var(--line);
}
.changelog li:last-child { border-left-color: transparent; padding-bottom: 0; }
.changelog li::before {
  content: ""; position: absolute; left: -6px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue); border: 2px solid #fff;
}
.changelog strong { font-family: var(--font-disp); font-size: 14px; color: var(--blue); }
.changelog span { font-size: 12px; color: var(--muted); margin-left: 10px; }
.changelog p { font-size: 14px; color: var(--ink); margin-top: 5px; }
.open-issues { display: flex; flex-direction: column; gap: 10px; }
.open-issues li {
  font-size: 13.5px; color: var(--muted);
  padding-left: 18px; position: relative;
}
.open-issues li::before {
  content: "○"; position: absolute; left: 0; top: 0;
  color: #e0a458; font-size: 14px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card.span-2 { grid-column: span 2; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
  .proj-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .maint-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .version-chip { display: none; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 24px 16px;
    transform: translateY(-130%);
    transition: transform .35s ease;
    margin-left: 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .solution-grid { grid-template-columns: 1fr; }
  .solution-card.span-2 { grid-column: span 1; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
  .proj-cards { grid-template-columns: 1fr; }
  .cat-head { flex-wrap: wrap; gap: 12px; }
  .cat-entry { margin-left: 0; }
  .proj-tabs { gap: 8px; }
  .proj-tab { font-size: 13px; padding: 8px 13px; }
  .section-maintain { padding: 60px 0; }
}

@media (max-width: 420px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-meta-item strong { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* =========================================================
   v1.1 新增 · 项目专题（真实界面截图）与卡片辅助信息；v1.2 起按项目群分组
   ========================================================= */
.proj-group {
  margin-top: 10px; font-size: 12.5px; color: var(--blue);
  background: rgba(37,99,235,.07); border-left: 2px solid var(--blue);
  padding: 5px 10px; border-radius: 0 6px 6px 0;
}
.proj-demo { margin-top: 8px; font-size: 12px; color: #b45309; line-height: 1.6; }
.proj-badge.review { background: rgba(180,83,9,.12); color: #b45309; border-color: rgba(180,83,9,.25); }
.proj-badge.archived { background: rgba(100,116,139,.10); color: #64748b; border-color: rgba(100,116,139,.25); }

.showcase-notice {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff8ec; border: 1px solid #f5dfb8;
  border-left: 4px solid #d99a2b; border-radius: var(--radius-sm);
  padding: 18px 22px; margin-bottom: 34px;
}
.showcase-notice .notice-label {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #92400e; background: #fde9c8; padding: 4px 10px; border-radius: 999px; margin-top: 2px;
}
.showcase-notice p { font-size: 13.5px; line-height: 1.85; color: #7c4a12; }

/* v1.11：统一等高网格·完整显示。
   全部截图按 16:9 缩略区 contain 完整显示、不裁切；去除 v1.6 的末尾单张
   通栏（图左文右）拆分处理；仅当分组确为单张或末尾奇数张时，该卡跨双列以
   「正常卡片版式（图在上、文在下）」铺满，保持 2 列网格整齐、卡片等高对齐。 */
.shot-grid { display: block; }
.shot-group + .shot-group { margin-top: 44px; }
.shot-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.shot-group-head {
  margin: 0 0 22px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
/* 单张分组 / 末尾奇数张：跨双列铺满，但保持正常卡片版式（不再拆为图左文右） */
.shot-group.single .shot-card,
.shot-group-grid > .shot-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* v1.6：小尺寸局部截图（fit=contain）完整显示，不裁切菜单文字 */
.shot-thumb.contain img { object-fit: contain; object-position: center; }
.shot-group-head h3 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  font: 700 19px var(--font-disp); color: var(--navy);
}
.shot-group-head h3::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--blue); }
.shot-group-head p { font-size: 12.5px; line-height: 1.75; color: var(--muted); max-width: 920px; }
.shot-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.shot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot-thumb {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; flex: 0 0 auto;
  border: 0; padding: 0; background: #0b1f3a; cursor: zoom-in; overflow: hidden;
}
.shot-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .45s ease; }
.shot-thumb:hover img { transform: scale(1.02); }
.shot-zoom {
  position: absolute; right: 12px; bottom: 12px; font-size: 12px; color: #fff;
  background: rgba(11,31,58,.82); border: 1px solid rgba(255,255,255,.28);
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.shot-thumb:hover .shot-zoom, .shot-thumb:focus-visible .shot-zoom { opacity: 1; transform: none; }
.shot-meta { flex: 1 1 auto; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.shot-meta-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.shot-id { font: 700 12px var(--font-disp); letter-spacing: .08em; color: var(--blue); }
.shot-tag { font-size: 11.5px; padding: 3px 10px; border-radius: 999px; color: #0f766e; background: #e6f7f4; }
.shot-tag.warn { color: #92400e; background: #fde9c8; }
.shot-meta h3 { font-size: 17px; margin-bottom: 6px; color: var(--navy); }
.shot-meta p { font-size: 13px; color: var(--muted); line-height: 1.7; min-height: 44px; }
.shot-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.shot-demo { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: #fff4e0; color: #b45309; }
.shot-demo.real { background: #e6f7f4; color: #0f766e; }
.showcase-foot { margin-top: 26px; font-size: 12.5px; color: var(--muted); text-align: center; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 6vh 5vw; background: rgba(4,12,26,.94); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; text-align: center; }
.lightbox img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
  border: 1px solid rgba(255,255,255,.16);
}
.lightbox figcaption { margin-top: 14px; font-size: 13px; color: #c7d7f0; line-height: 1.7; }
.lightbox-close {
  position: absolute; top: 22px; right: 28px; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

@media (max-width: 980px) {
  .shot-group-grid { gap: 20px; }
  .shot-meta { padding: 17px 18px 19px; }
}
@media (max-width: 760px) {
  .shot-group-grid { grid-template-columns: 1fr; }
  .shot-group + .shot-group { margin-top: 34px; }
  .showcase-notice { flex-direction: column; gap: 10px; padding: 16px 18px; }
  .shot-zoom { opacity: 1; transform: none; }
  .lightbox { padding: 8vh 4vw; }
  .lightbox-close { top: 14px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot-card, .shot-thumb img, .shot-zoom { transition: none; }
}
