/* ==========================================================================
   二掌门智能宿舍管理系统 — 官网样式
   设计令牌 / 基础重置 / 布局 / 组件 / 页面模块 / 响应式
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌色 */
  --c-primary: #3d7bff;
  --c-primary-d: #2b5ce6;
  --c-primary-dd: #1b3a8f;
  --c-violet: #7b5bff;
  --c-cyan: #22c4e6;
  --c-grad: linear-gradient(118deg, #2b5ce6 0%, #3d7bff 46%, #7b5bff 100%);
  --c-grad-soft: linear-gradient(118deg, rgba(61, 123, 255, .12) 0%, rgba(123, 91, 255, .12) 100%);

  /* 中性色 */
  --c-ink: #1d2129;
  --c-text: #4e5969;
  --c-text-2: #86909c;
  --c-text-3: #c9cdd4;
  --c-line: #e5e6eb;
  --c-line-2: #f2f3f5;
  --c-bg: #f5f7fb;
  --c-bg-2: #fafbfd;
  --c-white: #fff;

  /* 深色区块 */
  --c-dark: #0d1a33;
  --c-dark-2: #132444;
  --c-dark-line: rgba(255, 255, 255, .12);

  /* 圆角 */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 16px;
  --r-5: 24px;

  /* 阴影 */
  --sh-1: 0 2px 8px rgba(29, 33, 41, .04);
  --sh-2: 0 6px 20px rgba(29, 33, 41, .06);
  --sh-3: 0 14px 40px rgba(29, 33, 41, .1);
  --sh-brand: 0 12px 30px rgba(61, 123, 255, .28);

  /* 尺寸 */
  --wrap: 1200px;
  --hd-h: 72px;

  --font: "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- 2. 重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { color: var(--c-ink); line-height: 1.35; font-weight: 600; }
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
button { cursor: pointer; border: 0; background: none; }

::selection { background: rgba(61, 123, 255, .18); }

/* ---------- 3. 布局 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sec { padding: 88px 0; }
.sec-sm { padding: 56px 0; }
.sec-bg { background: var(--c-bg); }
.sec-bg2 { background: var(--c-bg-2); }
.sec-dark { background: var(--c-dark); color: rgba(255, 255, 255, .72); }
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4 { color: #fff; }

/* 区块标题 */
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary); font-weight: 600; margin-bottom: 14px;
}
.sec-head .label::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--c-grad);
}
.sec-head.center .label::before { display: none; }
.sec-head h2 { margin-bottom: 16px; letter-spacing: -.01em; }
.sec-head p { font-size: 16px; color: var(--c-text-2); line-height: 1.8; }
.sec-dark .sec-head .label { color: var(--c-cyan); }
.sec-dark .sec-head p { color: rgba(255, 255, 255, .6); }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: var(--r-2);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: all .22s ease; border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--c-grad); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(61, 123, 255, .36); }
.btn-outline { border-color: var(--c-line); color: var(--c-ink); background: #fff; }
.btn-outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-ghost { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 34px; font-size: 16px; }
.btn-link { color: var(--c-primary); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.btn-link svg { width: 14px; height: 14px; transition: transform .2s; }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- 5. 头部导航 ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--hd-h); transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hd-in { display: flex; align-items: center; height: 100%; gap: 40px; }
.hd-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.hd-logo img { width: 36px; height: 36px; border-radius: var(--r-1); }
.hd-logo b { font-size: 19px; font-weight: 600; color: var(--c-ink); letter-spacing: .01em; }
.hd-logo span { display: block; font-size: 11px; color: var(--c-text-2); letter-spacing: .18em; font-weight: 400; line-height: 1.2; }
.hd-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hd-nav a {
  position: relative; padding: 8px 16px; font-size: 15px; color: var(--c-text);
  border-radius: var(--r-1); font-weight: 400;
}
.hd-nav a:hover { color: var(--c-primary); }
.hd-nav a.on { color: var(--c-primary); font-weight: 500; }
.hd-nav a.on::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--c-grad);
}
.hd-act { display: flex; align-items: center; gap: 16px; flex: none; }
.hd-tel { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--c-text); font-weight: 500; }
.hd-tel svg { width: 16px; height: 16px; color: var(--c-primary); }

/* 顶部透明态（首页 hero 之上） */
.hd.top { background: transparent; border-bottom-color: rgba(255, 255, 255, .1); }
.hd.top .hd-logo b { color: #fff; }
.hd.top .hd-logo span { color: rgba(255, 255, 255, .55); }
.hd.top .hd-nav a { color: rgba(255, 255, 255, .78); }
.hd.top .hd-nav a:hover, .hd.top .hd-nav a.on { color: #fff; }
.hd.top .hd-tel { color: rgba(255, 255, 255, .8); }
.hd.top .hd-tel svg { color: var(--c-cyan); }
.hd.top .btn-outline { border-color: rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.hd.top .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* 滚动后 / 内页 */
.hd.solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--c-line); box-shadow: 0 1px 12px rgba(29, 33, 41, .05); }

/* 汉堡 */
.hd-burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hd-burger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--c-ink); transition: .25s; }
.hd.top .hd-burger i { background: #fff; }
.hd-burger.on i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd-burger.on i:nth-child(2) { opacity: 0; }
.hd-burger.on i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  position: fixed; inset: var(--hd-h) 0 0 0; z-index: 890; background: #fff;
  padding: 16px 24px 40px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s;
}
.drawer.on { transform: none; opacity: 1; pointer-events: auto; }
.drawer a { display: block; padding: 15px 4px; font-size: 16px; color: var(--c-ink); border-bottom: 1px solid var(--c-line-2); }
.drawer a.on { color: var(--c-primary); font-weight: 500; }
.drawer .drawer-cta { margin-top: 24px; display: grid; gap: 12px; }
.drawer .drawer-cta .btn { width: 100%; }

/* ---------- 6. 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: calc(var(--hd-h) + 76px) 0 96px;
  background: radial-gradient(1200px 600px at 78% 8%, #24437f 0%, transparent 60%),
              linear-gradient(160deg, #0a142b 0%, #102346 48%, #17315f 100%);
  color: rgba(255, 255, 255, .72);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(720px 460px at 72% 42%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero-city {
  position: absolute; left: 0; right: 0; bottom: 0; height: 300px;
  background: url(../images/hero-city.jpg) center bottom / cover no-repeat;
  opacity: .16; mask-image: linear-gradient(180deg, transparent, #000 70%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px;
  border-radius: 999px; font-size: 13px; color: #d5e3ff;
  background: rgba(61, 123, 255, .16); border: 1px solid rgba(61, 123, 255, .34);
  margin-bottom: 22px;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 0 4px rgba(34, 196, 230, .18); }
.hero h1 { font-size: 50px; line-height: 1.2; color: #fff; margin-bottom: 20px; letter-spacing: -.02em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #6fa4ff 0%, #7b5bff 40%, #35d7f2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 16px; line-height: 1.85; color: rgba(255, 255, 255, .68); max-width: 520px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-kv { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-kv b { display: block; font-size: 28px; color: #fff; font-weight: 600; line-height: 1.2; }
.hero-kv b i { font-size: 15px; font-style: normal; font-weight: 400; color: rgba(255, 255, 255, .55); margin-left: 3px; }
.hero-kv span { font-size: 13px; color: rgba(255, 255, 255, .5); }

/* Hero 右侧截图 */
.hero-shot { position: relative; }
.hero-shot .frame { box-shadow: 0 40px 80px rgba(3, 10, 26, .55); border-color: rgba(255, 255, 255, .16); }
.hero-shot .float {
  position: absolute; left: -26px; bottom: -26px; width: 176px;
  border-radius: var(--r-3); overflow: hidden; border: 3px solid rgba(255, 255, 255, .9);
  box-shadow: 0 22px 46px rgba(3, 10, 26, .5); background: #fff;
}
.hero-shot .tag {
  position: absolute; right: -14px; top: 26px; display: flex; align-items: center; gap: 8px;
  background: rgba(13, 26, 51, .82); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; color: #dbe7ff;
}
.hero-shot .tag i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }

/* 浏览器/窗口外框 */
.frame {
  position: relative; border-radius: var(--r-3); overflow: hidden;
  border: 1px solid var(--c-line); background: #fff; box-shadow: var(--sh-2);
}
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f7f8fa; border-bottom: 1px solid var(--c-line-2); }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e5e6eb; }
.frame-bar i:nth-child(1) { background: #ff5f57; }
.frame-bar i:nth-child(2) { background: #febc2e; }
.frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar span { margin-left: 8px; font-size: 11px; color: var(--c-text-3); letter-spacing: .04em; }

/* ---------- 7. 信任条 ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--c-line); padding: 26px 0; }
.trust-in { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center; }
.trust-in p { font-size: 13px; color: var(--c-text-3); letter-spacing: .1em; }
.trust-in li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-text-2); font-weight: 500; }
.trust-in li svg { width: 18px; height: 18px; color: var(--c-primary); }

/* ---------- 8. 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-3);
  padding: 28px; transition: all .25s ease;
}
.card:hover { border-color: rgba(61, 123, 255, .35); box-shadow: var(--sh-2); transform: translateY(-3px); }
.card-ico {
  width: 44px; height: 44px; border-radius: var(--r-2); display: flex; align-items: center; justify-content: center;
  background: var(--c-grad-soft); color: var(--c-primary); margin-bottom: 18px;
}
.card-ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--c-text-2); line-height: 1.75; }
.card ul.li { margin-top: 14px; }
.card ul.li li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--c-text-2); line-height: 1.9; }
.card ul.li li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-primary); opacity: .5; }

/* 硬件产品卡（顶部产品图，图片撑满卡片宽度） */
.card-prod { padding: 0; overflow: hidden; }
.card-prod .card-img { aspect-ratio: 3 / 2; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.card-prod .card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-prod > h3 { margin: 24px 26px 10px; }
.card-prod > p { margin: 0 26px; }
.card-prod > ul.li { margin: 14px 26px 28px; }

/* 编号卡 */
.card-num { font-size: 13px; font-weight: 600; color: var(--c-primary); letter-spacing: .1em; margin-bottom: 12px; display: block; }
.card-flat { background: var(--c-bg); border-color: transparent; }
.card-flat:hover { background: #fff; }

/* 模块卡（带截图） */
.mod { display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden; padding: 0; }
.mod:hover { transform: translateY(-4px); }
.mod-ico { display: flex; align-items: center; gap: 12px; padding: 22px 24px 16px; }
.mod-ico .i { width: 40px; height: 40px; border-radius: var(--r-2); background: var(--c-grad-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; flex: none; }
.mod-ico .i svg { width: 20px; height: 20px; }
.mod-ico h3 { font-size: 16px; margin: 0; }
.mod-ico span { display: block; font-size: 12px; color: var(--c-text-3); letter-spacing: .06em; }
.mod-body { padding: 0 24px 20px; }
.mod-body p { font-size: 14px; color: var(--c-text-2); }
.mod-body ul.li li { font-size: 13px; line-height: 1.85; }
.mod-shot { border-top: 1px solid var(--c-line-2); background: #f7f9fc; padding: 16px; }
.mod-shot img { border-radius: var(--r-2); border: 1px solid var(--c-line); width: 100%; }

/* ---------- 9. 数据/统计 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats > div { text-align: center; padding: 8px 16px; border-right: 1px solid var(--c-line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-size: 38px; font-weight: 600; color: var(--c-ink); line-height: 1.15; letter-spacing: -.02em; }
.stats b .u { font-size: 16px; color: var(--c-text-2); font-weight: 400; margin-left: 4px; }
.stats span { font-size: 13.5px; color: var(--c-text-2); }
.sec-dark .stats > div { border-color: var(--c-dark-line); }
.sec-dark .stats b { color: #fff; }
.sec-dark .stats span { color: rgba(255, 255, 255, .5); }

/* ---------- 10. 左图右文 ---------- */
.row-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; align-items: center; }
.row-2.rev .row-media { order: 2; }
.row-media { position: relative; }
.row-media .frame { box-shadow: var(--sh-3); }
.row-txt h2 { font-size: 30px; margin-bottom: 16px; }
.row-txt > p { font-size: 16px; color: var(--c-text-2); line-height: 1.85; margin-bottom: 26px; }
.feat-list { display: grid; gap: 20px; }
.feat-list li { display: flex; gap: 14px; }
.feat-list .i { width: 36px; height: 36px; flex: none; border-radius: var(--r-2); background: var(--c-grad-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; }
.feat-list .i svg { width: 18px; height: 18px; }
.feat-list h4 { font-size: 15.5px; margin-bottom: 4px; }
.feat-list p { font-size: 14px; color: var(--c-text-2); line-height: 1.75; }

/* 数字角标 */
.media-badge {
  position: absolute; background: #fff; border-radius: var(--r-3); box-shadow: var(--sh-3);
  padding: 14px 20px; display: flex; align-items: center; gap: 12px;
}
.media-badge b { font-size: 22px; color: var(--c-primary); line-height: 1.2; }
.media-badge span { font-size: 12.5px; color: var(--c-text-2); }
.media-badge.tl { left: -24px; top: -24px; }
.media-badge.br { right: -24px; bottom: -24px; }

/* ---------- 11. 标签页 ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--c-line); margin-bottom: 40px; }
.tabs button, .tabs a {
  position: relative; padding: 14px 22px; font-size: 15px; color: var(--c-text-2);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .2s; cursor: pointer;
}
.tabs button:hover, .tabs a:hover { color: var(--c-primary); }
.tabs button.on, .tabs a.on { color: var(--c-primary); font-weight: 500; border-bottom-color: var(--c-primary); }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 12. 时间轴 ---------- */
.tl-line { position: relative; display: grid; gap: 0; }
.tl-item { position: relative; padding: 0 0 30px 62px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 21px; top: 34px; bottom: 0; width: 1px; background: var(--c-line);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  position: absolute; left: 0; top: 0; width: 43px; height: 43px; border-radius: 50%;
  background: #fff; border: 1px solid var(--c-line); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--c-text-2);
}
.tl-item.on .tl-dot { background: var(--c-grad); border-color: transparent; color: #fff; box-shadow: var(--sh-brand); }
.tl-item h4 { font-size: 16px; margin-bottom: 8px; }
.tl-item p { font-size: 14px; color: var(--c-text-2); line-height: 1.8; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-line);
}
.chip.on { background: rgba(61, 123, 255, .08); border-color: rgba(61, 123, 255, .25); color: var(--c-primary); }

/* 水平流程 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow-item { position: relative; padding: 0 14px; text-align: center; }
.flow-item::after {
  content: ''; position: absolute; right: -6px; top: 26px; width: 12px; height: 12px;
  border-top: 1.5px solid var(--c-text-3); border-right: 1.5px solid var(--c-text-3);
  transform: rotate(45deg);
}
.flow-item:last-child::after { display: none; }
.flow-item .i {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--c-line); color: var(--c-primary); position: relative; z-index: 1;
}
.flow-item .i svg { width: 22px; height: 22px; }
.flow-item h4 { font-size: 15px; margin-bottom: 6px; }
.flow-item p { font-size: 13px; color: var(--c-text-2); line-height: 1.7; }
.sec-dark .flow-item .i { background: var(--c-dark-2); border-color: var(--c-dark-line); color: var(--c-cyan); }
.sec-dark .flow-item::after { border-color: rgba(255, 255, 255, .25); }

/* ---------- 13. 内页 Hero ---------- */
.p-hero {
  position: relative; overflow: hidden; padding: calc(var(--hd-h) + 68px) 0 64px;
  background: linear-gradient(150deg, #0d1a33 0%, #16294d 55%, #1d3766 100%);
  color: rgba(255, 255, 255, .7);
}
.p-hero::after {
  content: ''; position: absolute; right: -120px; top: -180px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 123, 255, .34), transparent 66%); pointer-events: none;
}
.p-hero-in { position: relative; z-index: 2; max-width: 780px; }
.p-hero h1 { color: #fff; font-size: 42px; margin-bottom: 16px; letter-spacing: -.02em; }
.p-hero p { font-size: 16px; line-height: 1.85; color: rgba(255, 255, 255, .66); }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .45); margin-bottom: 18px; }
.crumb a:hover { color: #fff; }
.crumb i { color: rgba(255, 255, 255, .25); font-style: normal; }
.crumb b { color: rgba(255, 255, 255, .82); font-weight: 400; }

/* ---------- 14. 侧栏锚点导航 ---------- */
.with-side { display: grid; grid-template-columns: 208px 1fr; gap: 56px; align-items: start; }
.side { position: sticky; top: calc(var(--hd-h) + 24px); border-left: 1px solid var(--c-line); }
.side a {
  display: block; padding: 11px 0 11px 20px; font-size: 14px; color: var(--c-text-2);
  border-left: 2px solid transparent; margin-left: -1px; transition: .2s;
}
.side a:hover { color: var(--c-primary); }
.side a.on { color: var(--c-primary); font-weight: 500; border-left-color: var(--c-primary); }
.side b { display: block; font-size: 12px; color: var(--c-text-3); letter-spacing: .1em; padding: 0 0 10px 20px; font-weight: 500; }

/* ---------- 15. 深色科技区块 ---------- */
.arch {
  border-radius: var(--r-4); background: #fff; border: 1px solid var(--c-line);
  padding: 28px; box-shadow: var(--sh-2);
}
.arch img { width: 100%; }

/* 深浅卡片 */
.d-card {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--c-dark-line);
  border-radius: var(--r-3); padding: 26px; transition: .25s;
}
.d-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(61, 123, 255, .45); }
.d-card .i { width: 42px; height: 42px; border-radius: var(--r-2); background: rgba(61, 123, 255, .18); color: #8fb4ff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.d-card .i svg { width: 20px; height: 20px; }
.d-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.d-card p { font-size: 14px; color: rgba(255, 255, 255, .58); line-height: 1.8; }

/* ---------- 16. 报价格/对比小卡 ---------- */
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini > div { background: var(--c-bg); border-radius: var(--r-2); padding: 18px 20px; }
.mini b { display: block; font-size: 24px; color: var(--c-primary); line-height: 1.3; }
.mini span { font-size: 13px; color: var(--c-text-2); }

/* ---------- 17. 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--c-line-2); }
.tbl th { background: #f7f8fa; color: var(--c-ink); font-weight: 500; font-size: 13.5px; white-space: nowrap; }
.tbl td { color: var(--c-text); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { border: 1px solid var(--c-line); border-radius: var(--r-3); overflow: hidden; overflow-x: auto; }
.tbl-wrap .tbl { min-width: 640px; }

/* ---------- 18. 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-3); overflow: hidden; transition: .25s; height: 100%; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }
.news-thumb { aspect-ratio: 16 / 9; background: var(--c-grad-soft); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb .ph { font-size: 34px; font-weight: 600; color: rgba(61, 123, 255, .32); letter-spacing: .06em; }
.news-tag { position: absolute; left: 14px; top: 14px; height: 26px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: var(--r-1); background: rgba(255, 255, 255, .92); font-size: 12px; color: var(--c-primary); font-weight: 500; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 17px; line-height: 1.55; margin-bottom: 12px; transition: color .2s; }
.news-card:hover .news-body h3 { color: var(--c-primary); }
.news-body p { font-size: 14px; color: var(--c-text-2); line-height: 1.8; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--c-line-2); font-size: 12.5px; color: var(--c-text-3); }

/* 列表行 */
.nlist { border-top: 1px solid var(--c-line); }
.nlist li { border-bottom: 1px solid var(--c-line); }
.nlist a { display: flex; align-items: center; gap: 28px; padding: 26px 4px; transition: .22s; }
.nlist a:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(61, 123, 255, .045), transparent 70%); }
.nlist .date { flex: none; width: 92px; }
.nlist .date b { display: block; font-size: 24px; color: var(--c-ink); line-height: 1.2; font-weight: 600; }
.nlist .date span { font-size: 12.5px; color: var(--c-text-3); }
.nlist .txt { flex: 1; min-width: 0; }
.nlist .txt h3 { font-size: 17px; margin-bottom: 6px; }
.nlist a:hover .txt h3 { color: var(--c-primary); }
.nlist .txt p { font-size: 14px; color: var(--c-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlist .go { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line); display: flex; align-items: center; justify-content: center; color: var(--c-text-3); transition: .22s; }
.nlist a:hover .go { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.nlist .go svg { width: 15px; height: 15px; }
/* 栏目暂无内容（由 main.js 在空列表时插入） */
.nlist .nlist-empty {
  display: block; padding: 64px 0; text-align: center;
  color: var(--c-text-3); font-size: 15px; border-bottom: 0;
}

/* 分页（原生帝国分页由 main.js 按页码下拉重绘成按钮组） */
.pager {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px;
  font-size: 0;   /* 重绘前先压掉「页次 1/1 每页20 总数3 转到:」这类原生文本，避免闪一下 */
}
.pager button, .pager a, .pager > span {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--r-2); border: 1px solid var(--c-line);
  background: #fff; font-size: 14px; color: var(--c-text); display: inline-flex; align-items: center; justify-content: center; transition: .2s;
}
.pager button:hover, .pager a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager .on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 500; }
.pager .dis { color: var(--c-text-3); cursor: not-allowed; }
.pager .dis:hover { border-color: var(--c-line); color: var(--c-text-3); }
/* 重绘前的原生分页内容（文本 + 下拉框）先不占位，避免闪一下旧样式 */
.pager .epages, .pager select { display: none; }
.pager .gap { border: 0; background: none; color: var(--c-text-3); min-width: 20px; padding: 0; font-size: 14px; }

/* 文章正文 */
.article { max-width: 820px; margin: 0 auto; }
.article-hd { text-align: center; margin-bottom: 40px; }
.article-hd h1 { font-size: 34px; line-height: 1.42; margin-bottom: 20px; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 13.5px; color: var(--c-text-3); padding-bottom: 28px; border-bottom: 1px solid var(--c-line); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; }
.article-body { font-size: 16px; line-height: 2; color: var(--c-text); }
.article-body > * + * { margin-top: 22px; }
.article-body h3 { font-size: 20px; margin-top: 42px; padding-left: 14px; border-left: 3px solid var(--c-primary); }
.article-body h4 { font-size: 17px; margin-top: 30px; }
.article-body ul { padding-left: 4px; }
.article-body ul li { position: relative; padding-left: 20px; margin-top: 10px; }
.article-body ul li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.article-body blockquote {
  background: var(--c-bg); border-left: 3px solid var(--c-primary); border-radius: 0 var(--r-2) var(--r-2) 0;
  padding: 20px 24px; color: var(--c-text); font-size: 15px; line-height: 1.9;
}
.article-body strong { color: var(--c-ink); font-weight: 600; }
.article-fig { border-radius: var(--r-3); overflow: hidden; border: 1px solid var(--c-line); }
.article-fig figcaption { padding: 12px 18px; font-size: 13px; color: var(--c-text-3); background: #fafbfd; text-align: center; }
.article-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.article-tags b { font-size: 13.5px; color: var(--c-text-3); font-weight: 400; }

/* ---------- 19. CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-5);
  background: linear-gradient(118deg, #1b3a8f 0%, #2b5ce6 42%, #7b5bff 100%);
  padding: 64px 56px; color: rgba(255, 255, 255, .78);
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.cta::after {
  content: ''; position: absolute; right: -80px; bottom: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 62%);
}
.cta-txt { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.cta p { font-size: 15.5px; color: rgba(255, 255, 255, .74); max-width: 520px; }
.cta-btns { position: relative; z-index: 2; display: flex; gap: 14px; flex: none; }
.cta .btn-white { background: #fff; color: var(--c-primary-d); box-shadow: 0 12px 28px rgba(6, 16, 40, .28); }
.cta .btn-white:hover { transform: translateY(-2px); }

/* ---------- 20. 页脚 ---------- */
.ft { background: #0b1628; color: rgba(255, 255, 255, .5); padding: 64px 0 0; font-size: 14px; }
.ft-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ft-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ft-brand img { width: 36px; height: 36px; border-radius: var(--r-1); }
.ft-brand b { color: #fff; font-size: 18px; font-weight: 600; }
.ft > .wrap > .ft-top p { line-height: 1.9; max-width: 300px; }
.ft h5 { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 20px; }
.ft li { margin-bottom: 12px; }
.ft li a:hover { color: #fff; }
.ft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ft-contact svg { width: 16px; height: 16px; color: var(--c-primary); flex: none; margin-top: 5px; }
.ft-contact b { display: block; color: #fff; font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.ft-bot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 28px; font-size: 13px; flex-wrap: wrap; }
.ft-bot a:hover { color: #fff; }
.ft-bot .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 21. 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 14px; color: var(--c-ink); margin-bottom: 8px; font-weight: 500; }
.field label i { color: #f53f3f; font-style: normal; margin-left: 2px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--c-line); border-radius: var(--r-2); padding: 12px 14px;
  font-size: 14.5px; color: var(--c-ink); background: #fff; transition: .2s;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.7; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(61, 123, 255, .1); }
.field input::placeholder, .field textarea::placeholder { color: var(--c-text-3); }
.form-tip { font-size: 13px; color: var(--c-text-3); }
.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; padding: 22px 24px; background: var(--c-bg); border-radius: var(--r-3); }
.contact-item .i { width: 42px; height: 42px; flex: none; border-radius: var(--r-2); background: #fff; color: var(--c-primary); display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-1); }
.contact-item .i svg { width: 20px; height: 20px; }
.contact-item h4 { font-size: 15px; margin-bottom: 5px; }
.contact-item p { font-size: 14px; color: var(--c-text-2); line-height: 1.75; }
.contact-item p strong { color: var(--c-ink); font-size: 17px; font-weight: 600; }

/* ---------- 22. 通用小件 ---------- */
.tagline { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--c-primary); background: rgba(61, 123, 255, .07); border-radius: 999px; height: 30px; padding: 0 14px; }
.notice { display: flex; gap: 12px; padding: 18px 22px; border-radius: var(--r-2); background: rgba(61, 123, 255, .06); border: 1px solid rgba(61, 123, 255, .16); font-size: 14px; color: var(--c-text); line-height: 1.8; }
.notice svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; margin-top: 3px; }
.two-col { columns: 2; column-gap: 40px; }
.two-col li { break-inside: avoid; }
.mt24 { margin-top: 24px; }
.mt40 { margin-top: 40px; }
.mt56 { margin-top: 56px; }
.mb0 { margin-bottom: 0; }
.tc { text-align: center; }
.gap16 { gap: 16px; }
.gap40 { gap: 40px; }

/* 滚动出现动画 */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.rv.in { opacity: 1; transform: none; }

/* 返回顶部 */
.totop {
  position: fixed; right: 26px; bottom: 30px; z-index: 800; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-2); color: var(--c-text-2);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: .25s;
}
.totop.on { opacity: 1; pointer-events: auto; }
.totop:hover { color: var(--c-primary); border-color: var(--c-primary); }
.totop svg { width: 18px; height: 18px; }

/* ==========================================================================
   23. 响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .hero h1 { font-size: 42px; }
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .ft-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .ft-top > div:nth-child(4) { display: none; }
  .with-side { grid-template-columns: 180px 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
  .hd-nav, .hd-tel { display: none; }
  .hd-burger { display: flex; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .hero-shot { max-width: 640px; }
  .row-2 { grid-template-columns: 1fr; gap: 36px; }
  .row-2.rev .row-media { order: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .with-side { grid-template-columns: 1fr; gap: 32px; }
  .side { position: static; border-left: 0; display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--c-line); padding-bottom: 0; }
  .side b { display: none; }
  .side a { border-left: 0; border-bottom: 2px solid transparent; padding: 12px 16px; margin: 0; white-space: nowrap; }
  .side a.on { border-bottom-color: var(--c-primary); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .flow-item::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stats > div:nth-child(2n) { border-right: 0; }
  .cta { flex-direction: column; align-items: flex-start; gap: 28px; padding: 48px 36px; }
}

@media (max-width: 768px) {
  :root { --hd-h: 64px; }
  body { font-size: 14.5px; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .sec { padding: 60px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-head h2 { font-size: 24px; }
  .hero { padding: calc(var(--hd-h) + 48px) 0 68px; }
  .hero h1 { font-size: 31px; }
  .hero-sub { font-size: 15px; }
  .hero-kv { gap: 26px; }
  .hero-kv b { font-size: 23px; }
  .hero-btns { width: 100%; }
  .hero-btns .btn { flex: 1; }
  .p-hero { padding: calc(var(--hd-h) + 44px) 0 44px; }
  .p-hero h1 { font-size: 27px; }
  .p-hero p { font-size: 15px; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats b { font-size: 28px; }
  .mini { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .row-txt h2 { font-size: 24px; }
  .cta { padding: 40px 26px; }
  .cta h2 { font-size: 23px; }
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-btns .btn { width: 100%; }
  .media-badge { display: none; }
  .hero-shot .float { width: 118px; left: -10px; bottom: -18px; }
  .hero-shot .tag { display: none; }
  .nlist a { gap: 16px; padding: 20px 0; }
  .nlist .date { width: 62px; }
  .nlist .date b { font-size: 19px; }
  .nlist .txt p { display: none; }
  .nlist .go { display: none; }
  .article-hd h1 { font-size: 23px; }
  .article-body { font-size: 15.5px; }
  .article-body h3 { font-size: 18px; margin-top: 32px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .ft-top > div:first-child { grid-column: 1 / -1; }
  .ft-bot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .two-col { columns: 1; }
  .tbl th, .tbl td { padding: 12px 14px; }
}
