/* ==========================================================================================
   源智霖 AI 短剧智能体 · 官网样式
   ------------------------------------------------------------------------------------------
   视觉取自产品本身：深色底（#0b0b0e / 卡片 #1e1e22，与客户端 --color-bg-deep/--color-bg-card 同族）、
   主色取自品牌图标（#1287da → #0c5aa3 的蓝）。
   ★ 不引任何外部字体/CDN：服务器在境内，外链字体既慢又可能被墙，且会削弱"纯静态"的干净度。
     中文一律走系统字体栈。
   ========================================================================================== */

:root {
  --bg:        #0b0b0e;
  --bg-2:      #101013;
  --card:      #16161a;
  --card-2:    #1e1e22;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  --tx:        #f5f5f8;
  --tx-2:      #b9b9c3;
  --tx-3:      #8e8e99;

  --accent:      #1287da;
  --accent-2:    #38a3f0;
  --accent-deep: #0c5aa3;

  /* 暖色取自 wordmark 里的橙 A（#e84000），提亮到深底可用的档位。
     全站只做「点缀」：章节短线、定位句重音、序号、勾点 —— 不抢主色。 */
  --warm:      #ff7a2f;
  --warm-2:    #ffb27a;
  --warm-deep: #e84000;

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;

  --wrap: 1180px;
  --nav-h: 64px;

  --font: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
          "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* 锚点跳转要给吸顶导航让位，否则标题会被压住 */
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ============================== 按钮 ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r);
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 18px rgba(18, 135, 218, 0.32);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  box-shadow: 0 6px 24px rgba(18, 135, 218, 0.45);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--tx);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.24); }

.btn--lg { padding: 13px 24px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--disabled,
.btn[disabled] {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--tx-3);
  cursor: not-allowed;
  box-shadow: none;
}
.btn--disabled:hover { transform: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: var(--tx-2);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16);
}

.badge {
  margin-left: auto;
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
}
.badge--ok   { background: rgba(18, 135, 218, 0.16); color: #7cc4f5; border-color: rgba(18, 135, 218, 0.4); }
.badge--soon { background: rgba(148, 163, 184, 0.14); color: var(--tx-3); border-color: var(--line-2); }

/* ============================== 顶栏 ============================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(11, 11, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  /* 未滚动时也留一条极淡底边：否则首屏顶栏与主视觉糊成一片，
     「栏」这个形状根本不存在，栏目自然显得飘、显得不清 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: border-color .2s, background .2s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 11, 14, 0.92);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { height: 22px; width: auto; display: block; }
/* 两行之间留 5px：原来紧贴时中文字标与英文链路会被读成「一个词组」，
   分开后各自成为独立的一行信息 */
.brand__text { display: flex; flex-direction: column; gap: 5px; line-height: 1.15; }
.brand__text strong { font-size: 15px; font-weight: 600; letter-spacing: .5px; }
/* 字标下的链路行走英文大写：与上方中文字标形成中西对比，
   小字号下大写字母 x-height 高、笔画直，比 11px 中文更整齐不虚。
   字号压到 9.5px 退成「一行注脚」，不与主标抢视线。
   字距定 0.6px：9.5px 这个尺寸下 1.35px 会把 NOVEL 散成一个字母一个字母、0 又会
   把 → 挤到贴住 FILM；0.6px 让三个词各自成立、宽度也从 147px 收到 124px。
   颜色由 --tx-3（6.06:1）提亮到 #9a9aa6（7.07:1）—— 字号减小的可读性损失在这里补回来。 */
.brand__text em {
  font-size: 9.5px;
  font-style: normal;
  color: #9a9aa6;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 栏目整组做成「分段控件」：一层极淡底 + 细边把 5 项框成一块。
   原来只有一行灰字、项间靠空隙分隔 —— 访客读不出「这里有几个可点的栏目」，
   会当成装饰文本，这正是「不够清晰」的来源。 */
.nav__links {
  /* margin-left: auto —— 让栏目组落在品牌与右侧按钮之间的空档里。
     紧贴品牌会把 200px 空白全甩到右边，整条顶栏左重右轻。
     .nav__cta 那边也有一个 auto，两个 auto 平分剩余空间。 */
  display: flex; align-items: center; gap: 4px; margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--tx-2);
  padding: 6px 12px;
  border-radius: 7px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--tx); background: rgba(255, 255, 255, 0.075); }

.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px; height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.nav__burger span {
  display: block; height: 1.5px; width: 16px;
  margin: 0 auto; background: var(--tx-2); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============================== 主视觉 ============================== */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background:
    radial-gradient(46% 58% at 20% 44%, rgba(18, 135, 218, 0.32) 0%, transparent 68%),
    radial-gradient(34% 46% at 80% 20%, rgba(255, 122, 47, 0.17) 0%, transparent 72%),
    radial-gradient(38% 52% at 70% 74%, rgba(12, 90, 163, 0.30) 0%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 56px;
  align-items: center;
}

.hero__title {
  margin: 20px 0 0;
  font-size: clamp(38px, 5.1vw, 66px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.14;
}
/* 定位句的后半句走白→暖的渐变色：整页唯一的重音，多了就俗 */
.hero__title .hl {
  background: linear-gradient(96deg, #ffffff 4%, #ffc79b 46%, var(--warm) 97%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__sub {
  margin-top: 22px;
  font-size: 17.5px;
  line-height: 1.78;
  color: var(--tx-2);
  max-width: 30em;
}
/* 理念句（2026-10-10 追加）。与定位句是两层主张，这里**不抢重音**：
   不用渐变字（整页唯一的重音留给 .hero__title .hl），只用一道暖色竖线 + 稍轻的字号。
   暖色仍取 --warm，与章节点、序号、勾点同一处「点缀」口径。 */
.hero__idea {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--warm);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--tx-2);
  max-width: 36em;
}
.hero__idea b { color: var(--tx); font-weight: 600; }
.hero__btns { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--tx-3); }

.chips {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--tx-2);
}
.chips li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--warm);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.14);
}

/* 截图外框：三条小圆点 + 标题条，让截图看起来像"打开着的软件窗口" */
.shot-frame {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.shot-frame__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: var(--card-2);
  border-bottom: 1px solid var(--line);
}
.shot-frame__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.shot-frame__bar em {
  margin-left: 10px; font-style: normal; font-size: 12px; color: var(--tx-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-frame img { width: 100%; height: auto; }

/* ============================== 通用分区 ============================== */
.section { padding: 96px 0; }
.section--tight { padding: 44px 0 10px; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--accent-2);
  margin-bottom: 12px;
}
/* 章节标签前的一小截暖色短线：冷色文字 + 暖色起笔，给每节一个"落笔" */
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--warm) 0%, rgba(255, 122, 47, 0.05) 100%);
}
.sec-head { max-width: 46em; margin-bottom: 50px; }
.sec-head h2 { font-size: clamp(26px, 2.9vw, 38px); letter-spacing: -0.2px; }
.sec-sub { margin-top: 12px; color: var(--tx-2); font-size: 15px; }

/* ============================== 痛点 ============================== */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pain {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 100%);
}
.pain h3 { font-size: 16px; color: var(--tx); }
.pain p { margin-top: 8px; font-size: 14px; color: var(--tx-3); }

.pains__conclusion {
  position: relative;
  margin-top: 34px;
  padding: 22px 26px 22px 30px;
  border: 1px solid rgba(18, 135, 218, 0.28);
  border-radius: var(--r-lg);
  background: linear-gradient(90deg, rgba(18, 135, 218, 0.13) 0%, rgba(18, 135, 218, 0.02) 100%);
  font-size: 17px;
  color: var(--tx);
}
.pains__conclusion::before {
  content: "";
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--warm) 0%, var(--accent) 100%);
}
.pains__conclusion strong { color: #8ecdff; font-weight: 600; }

/* ============================== 能力卡 ============================== */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: border-color .2s, transform .2s, background .2s;
}
/* 六张卡等大等重会显得呆板；卡顶一道冷→暖细高光给它们各自"起头" */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  opacity: .5;
  transition: opacity .2s;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 163, 240, 0.8) 20%,
                              rgba(255, 122, 47, 0.85) 64%, transparent 100%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(18, 135, 218, 0.42); transform: translateY(-3px); background: var(--card-2); }
.card__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(18, 135, 218, 0.14);
  border: 1px solid rgba(18, 135, 218, 0.28);
  color: #7cc4f5;
  margin-bottom: 16px;
}
.card__ico svg { width: 21px; height: 21px; }
.card h3 { font-size: 16.5px; }
.card p { margin-top: 10px; font-size: 14px; color: var(--tx-2); }
.card b { color: #9ed3ff; font-weight: 600; }

.details { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.detail {
  padding: 20px 22px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
}
.detail h4 { font-size: 15px; color: var(--tx); }
.detail h4::before { content: "· "; color: var(--accent-2); }
.detail p { margin-top: 7px; font-size: 13.5px; color: var(--tx-3); }
.detail b { color: var(--tx-2); }

/* ============================== 工作流程 ============================== */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: flow; }
.flow__step {
  position: relative;
  padding: 26px 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}
/* 步骤之间的连接线：最后一格不画 */
.flow__step::after {
  content: "";
  position: absolute;
  top: 44px; right: -18px;
  width: 18px; height: 1px;
  background: linear-gradient(90deg, rgba(18, 135, 218, 0.6), rgba(18, 135, 218, 0.1));
}
.flow__step:last-child::after { display: none; }
.flow__num {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--warm);
  opacity: .92;
  margin-bottom: 8px;
}
.flow__step h3 { font-size: 16px; }
.flow__step p { margin-top: 9px; font-size: 14px; color: var(--tx-3); }

/* ============================== 截图墙 ============================== */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  cursor: zoom-in;
  transition: border-color .2s, transform .2s;
}
/* 截图加一条窗口栏（三个圆点）：从"贴了张图"变成"开着软件" */
.shot::before {
  content: "";
  display: block;
  height: 30px;
  background-color: var(--card-2);
  background-image:
    radial-gradient(circle at 19px 15px, #55555f 0 3.5px, transparent 3.6px),
    radial-gradient(circle at 35px 15px, #55555f 0 3.5px, transparent 3.6px),
    radial-gradient(circle at 51px 15px, #55555f 0 3.5px, transparent 3.6px);
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}
.shot:hover { border-color: rgba(18, 135, 218, 0.42); transform: translateY(-3px); }
.shot img { width: 100%; height: auto; }
.shot figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--tx-3);
  border-top: 1px solid var(--line);
  background: var(--card-2);
}

/* ============================== 下载 ============================== */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.dl__card {
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}
.dl__card--ready { border-color: rgba(18, 135, 218, 0.4); box-shadow: 0 18px 50px rgba(18, 135, 218, 0.10); }
.dl__card--soon { background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%); }

.dl__top { display: flex; align-items: center; gap: 14px; }
.dl__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(18, 135, 218, 0.13);
  border: 1px solid rgba(18, 135, 218, 0.26);
  color: #7cc4f5;
}
.dl__card--soon .dl__ico { background: rgba(148, 163, 184, 0.1); border-color: var(--line-2); color: var(--tx-3); }
.dl__ico svg { width: 23px; height: 23px; }
.dl__top h3 { font-size: 18px; }
.dl__meta { margin-top: 3px; font-size: 13px; color: var(--tx-3); }

.dl__list { margin: 20px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.dl__list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--tx-2); }
.dl__list li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.dl__card--soon .dl__list li::before { background: var(--tx-3); }

.dl__sha { margin-top: 14px; font-size: 13px; }
.dl__sha summary { cursor: pointer; color: var(--tx-3); }
.dl__sha summary:hover { color: var(--tx-2); }
.dl__sha code {
  display: block; margin-top: 9px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); color: var(--tx-2);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px; word-break: break-all; line-height: 1.6;
}
.dl__soon-note { margin-top: 12px; font-size: 12.5px; color: var(--tx-3); text-align: center; }

.dl__foot { margin-top: 24px; font-size: 13px; color: var(--tx-3); }

/* ---------- 安装指引：包里没有数字签名，Windows 会例行多问一句。
     这里把「两处提示分别怎么点」讲成可照做的一步一动，别让用户卡在门上。 ---------- */
.dl__guide {
  margin-top: 20px;
  padding: 18px 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}
.dl__guide-head h3 { font-size: 15px; }
.dl__guide-head p { margin-top: 6px; font-size: 13px; color: var(--tx-3); line-height: 1.7; max-width: 78ch; }
.dl__guide-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dl__guide-item { padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.dl__shot { margin-bottom: 10px; }
.dl__shot svg { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; }
.dl__guide-item h4 { font-size: 13.5px; font-weight: 500; color: var(--tx); }
.dl__guide-item p { margin-top: 6px; font-size: 12.5px; color: var(--tx-3); line-height: 1.7; }
.dl__guide-item b { color: var(--warm-2); font-weight: 500; }
.dl__guide-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--tx-3); line-height: 1.7; }
.dl__guide-foot code {
  display: inline-block; margin-top: 8px; padding: 5px 10px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg);
  color: var(--tx-2); font-size: 12px; word-break: break-all;
}
@media (max-width: 680px) {
  .dl__guide { padding: 16px 14px 14px; }
  .dl__guide-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* ============================== 合规 ============================== */
.comp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.comp__item {
  padding: 22px 22px 24px;
  border-left: 2px solid rgba(56, 163, 240, 0.55);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: linear-gradient(90deg, rgba(18, 135, 218, 0.075) 0%, rgba(255, 255, 255, 0.012) 62%);
}
.comp__item h3 { font-size: 15.5px; }
.comp__item p { margin-top: 8px; font-size: 13.5px; color: var(--tx-3); }

/* ============================== 页脚 ============================== */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 56px; }
.foot__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 44px;
}
.foot__brand img { height: 20px; width: auto; margin-bottom: 14px; }
.foot__brand p { font-size: 14px; color: var(--tx-2); }
.foot__muted { color: var(--tx-3) !important; font-size: 13px !important; margin-top: 4px; }

.foot__col { display: flex; flex-direction: column; gap: 9px; }
.foot__col h4 { font-size: 13px; color: var(--tx-3); letter-spacing: 1px; margin-bottom: 4px; font-weight: 500; }
.foot__col a, .foot__col p { font-size: 13.5px; color: var(--tx-2); }
.foot__col a:hover { color: var(--accent-2); }

.foot__bar {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--tx-3);
}
.foot__legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot__legal a { color: var(--tx-3); }
.foot__legal a:hover { color: var(--accent-2); text-decoration: underline; }
/* 公安联网备案号：徽章与编号同一行，间距 5px */
.foot__police { display: inline-flex; align-items: center; gap: 5px; }
.foot__police img { display: block; width: 16px; height: auto; }

/* ============================== 截图放大 ============================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
  background: rgba(6, 6, 8, 0.9);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%; max-height: 100%;
  border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: rgba(255, 255, 255, 0.06); color: var(--tx);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.12); }

/* ============================== 进场动画 ============================== */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

/* 尊重"减少动态效果"偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; }
}

/* ============================== 响应式 ============================== */
@media (max-width: 1080px) {
  .cards, .pains, .details, .comp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step:nth-child(2)::after { display: none; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
}

/* 920~1060 档：栏目组做成「分段控件」后整体变宽，这一档塞不下
   「品牌 + 栏目组 + 两个按钮」。先把次要 CTA「网页版入口」收起来腾地方 ——
   不折成汉堡菜单，因为栏目本身正是这一档最该看见的东西。 */
@media (max-width: 1060px) {
  .nav__cta .btn--ghost { display: none; }
}

@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    /* 展开时是一整块全宽菜单：把桌面端那层「分段控件」外壳清掉，
       否则屏幕左右会各留一道圆角细边，像个浮起来的空盒子 */
    margin-left: 0;
    padding: 10px 24px 16px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: rgba(11, 11, 14, 0.98);
  }
  .nav__links.is-open a { padding: 11px 14px; width: 100%; font-size: 15px; }
  .nav__burger { display: flex; }
  .nav__cta .btn--ghost { display: none; }

  .hero { padding: 56px 0 64px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  /* 首屏先给文案与按钮，截图随后 —— 窄屏第一眼要看到"这是什么" */
  .section { padding: 64px 0; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .cards, .pains, .details, .flow, .gallery, .dl, .comp { grid-template-columns: minmax(0, 1fr); }
  .flow__step::after { display: none !important; }
  .foot__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .foot__bar { flex-direction: column; align-items: flex-start; }
  .hero__btns .btn { width: 100%; }
  .hero__idea { font-size: 14.5px; }
  .brand__text em { display: none; }
  .brand__mark { height: 19px; }
}
