/* =========================================================================
   擎搜搜 · 单页科技感首页  /  assets/tech.css
   设计决策：
   1) 三色体系 = 克莱因蓝 #002FA7（主）+ 薄荷绿 #2FD3A5（荧光点缀）+ 白；
      深色 --night 是克莱因蓝的低明度延伸，不引入第三主色、无灰调渐变。
   2) 首屏用深色科技区，信息区回到白底 —— 保证长文可读性与 LCP。
   3) 动效只走 transform / opacity，避免触发 layout；全部有静止降级。
   4) 零外部依赖：无 CDN、无外链字体、无远程图片。
   ========================================================================= */

:root {
  /* ---- 品牌色 ---- */
  --kle: #002FA7;
  --kle-deep: #001E6E;
  --mint: #2FD3A5;
  --mint-deep: #16A87F;
  --mint-soft: #E8FBF4;
  --white: #FFFFFF;

  /* ---- 深色科技底（克莱因蓝低明度延伸）---- */
  --night: #000B2B;
  --night-2: #001452;
  --night-line: rgba(120, 165, 255, .14);
  --night-text: rgba(235, 242, 255, .78);

  /* ---- 中性 ---- */
  --ink: #101827;
  --muted: #4A5366; /* 白底 ≈ 7.5:1，满足 AAA 正文对比度 */
  --line: #E3E8F2;
  --soft: #F6F9FD;

  /* ---- 设计令牌 ---- */
  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 34px rgba(0, 47, 167, .07);
  --shadow-hover: 0 18px 44px rgba(0, 47, 167, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 180ms;
  --t-base: 260ms;
  --t-slow: 620ms;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--mint); color: var(--night); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 5px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -70px; z-index: 300;
  background: var(--mint); color: var(--night); font-weight: 700;
  padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* 降级提示：仅在图形层全部不可用时显示，正常状态不出现 */
.degrade-badge {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  background: var(--night-2); color: var(--white);
  border-bottom: 1px solid rgba(47, 211, 165, .5);
  font-size: 12px; letter-spacing: .04em; text-align: center;
  padding: 7px 16px;
}
/* 降级提示占位时下移 sticky 导航，避免互相遮挡 */
body.has-degrade .site-header { top: 30px; }
@media (max-width: 940px) { body.has-degrade .nav { top: 102px; } }

/* =========================== Header =========================== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(0, 9, 32, .94);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(120, 165, 255, .16);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
/* 自有 logo 原图为克莱因蓝，深色导航上反相为纯白，保持品牌图形不变 */
.brand-logo { width: 116px; height: auto; filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 14px; color: rgba(235, 242, 255, .9);
  position: relative; padding: 6px 0; white-space: nowrap;
  transition: color var(--t-fast) ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--mint); transition: right var(--t-base) var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(120, 165, 255, .3);
  border-radius: 10px; color: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* =========================== Buttons =========================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1.5px solid var(--kle); background: transparent; color: var(--kle);
  transition: transform var(--t-base) var(--ease), background var(--t-base) ease,
              color var(--t-base) ease, border-color var(--t-base) ease, box-shadow var(--t-base) ease;
}
.btn svg { width: 17px; height: 17px; transition: transform var(--t-base) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--kle); color: var(--white); box-shadow: 0 8px 24px rgba(0, 47, 167, .22); }
.btn-solid:hover { background: var(--kle-deep); border-color: var(--kle-deep); }
.btn-outline:hover { background: var(--kle); color: var(--white); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 13px; }
/* 深色区按钮 */
.btn-glow {
  background: var(--mint); color: var(--night); border-color: var(--mint);
  box-shadow: 0 10px 34px rgba(47, 211, 165, .28);
}
.btn-glow:hover { background: var(--white); border-color: var(--white); color: var(--night); }
.btn-ghost {
  border-color: rgba(235, 242, 255, .42); color: var(--white); background: rgba(255, 255, 255, .04);
}
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); background: rgba(47, 211, 165, .08); }

/* =========================== Hero =========================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--night);
  color: var(--white);
  padding: 92px 0 0;
  isolation: isolate;
}
/* 图形层：WebGL 增强 / Canvas 2D 主视觉，均在文字之下 */
.hero canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 1; pointer-events: none;
}
#gl-layer { opacity: .85; }
#signal-canvas { opacity: .92; }
/* CSS 静态网格：Canvas 不可用时仍是完整的科技感背景（降级兜底） */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--night-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--night-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 70% 45%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 70% 45%, #000 25%, transparent 100%);
}
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 680px; height: 680px; right: -140px; top: -160px; border-radius: 50%;
  background: rgba(0, 47, 167, .42); filter: blur(90px);
}
.hero-glow-2 {
  position: absolute; z-index: 0; pointer-events: none;
  width: 420px; height: 420px; left: -180px; bottom: -220px; border-radius: 50%;
  background: rgba(47, 211, 165, .10); filter: blur(90px);
}
/* 左侧文字保护罩：保证 7:1 以上对比度，核心信息不被图形遮挡 */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 11, 43, .94) 0%, rgba(0, 11, 43, .72) 42%, rgba(0, 11, 43, 0) 78%);
}
.hero-inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center;
  padding-bottom: 68px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em;
  color: var(--mint); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 5px rgba(47, 211, 165, .16);
}
.hero h1 {
  font-size: clamp(40px, 4.8vw, 62px); line-height: 1.18;
  letter-spacing: -.025em; font-weight: 800;
}
/* 第二行略小且整行不换行：避免窄栏把「你」挤成孤字，同时形成数字 / 标语的层级 */
.hero h1 .sub { display: block; font-size: .8em; font-weight: 700; white-space: nowrap; letter-spacing: -.01em; }
/* 极窄屏在语义处主动断行，而非让浏览器把末字挤成孤行 */
.wrap-narrow { display: none; }
@media (max-width: 380px) {
  .wrap-narrow { display: inline; }
  .hero h1 .sub { white-space: normal; }
  .cta h2 { font-size: 23px; }
}
.hero h1 .metric {
  display: inline-block; color: var(--mint);
  font-family: var(--mono); letter-spacing: -.04em;
  text-shadow: 0 0 34px rgba(47, 211, 165, .38);
}
.hero h1 .metric small { font-size: .44em; font-family: var(--font); letter-spacing: 0; font-weight: 700; }
.hero-lead {
  margin-top: 22px; max-width: 530px;
  font-size: 16.5px; line-height: 1.95; color: var(--night-text);
}
/* 首屏能力胶囊：移动端无需滚动也能看到频道数与行业数 */
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-chips span {
  font-size: 12.5px; color: rgba(235, 242, 255, .9);
  border: 1px solid rgba(120, 165, 255, .32); background: rgba(255, 255, 255, .05);
  border-radius: 999px; padding: 6px 14px;
}
.hero-chips b { color: var(--mint); font-family: var(--mono); font-size: 13px; margin-right: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note {
  margin-top: 26px; font-size: 12.5px; letter-spacing: .04em;
  color: rgba(235, 242, 255, .76);
}

/* 右侧玻璃数据面板 */
.hero-panel {
  position: relative; z-index: 3;
  border: 1px solid rgba(120, 165, 255, .26);
  background: rgba(6, 26, 76, .46);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 22px; padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
  transition: transform var(--t-slow) var(--ease);
}
.hero-panel:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: rgba(235, 242, 255, .86); }
.panel-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--mint); font-family: var(--mono);
}
.panel-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(47,211,165,.5); } 50% { opacity: .6; box-shadow: 0 0 0 7px rgba(47,211,165,0); } }
.panel-number {
  margin: 18px 0 4px; font-family: var(--mono);
  font-size: clamp(46px, 4.6vw, 66px); font-weight: 700; line-height: 1;
  color: var(--white); letter-spacing: -.05em;
}
.panel-number em { font-style: normal; color: var(--mint); font-size: .5em; letter-spacing: 0; }
.panel-sub { font-size: 12.5px; color: rgba(235, 242, 255, .78); }
.panel-rows { margin-top: 24px; display: grid; gap: 10px; }
.panel-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(120, 165, 255, .14);
  border-radius: 10px; padding: 11px 14px;
  font-size: 12.5px; color: rgba(235, 242, 255, .8);
}
.panel-row .k { color: var(--mint); font-family: var(--mono); font-size: 11px; width: 30px; flex: none; }
.panel-row .v { margin-left: auto; color: var(--white); font-weight: 600; }
.panel-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.panel-tags span {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(47, 211, 165, .4); color: var(--mint);
}

/* 首屏三格数据条：让「10万+ / 频道 / 行业」在第一屏全部可见 */
.hero-stats {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(120, 165, 255, .2);
}
.hero-stat { padding: 26px 30px 30px; border-right: 1px solid rgba(120, 165, 255, .16); }
.hero-stat:last-child { border-right: 0; }
.hero-stat .num {
  display: block; font-family: var(--mono); font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700; letter-spacing: -.03em; color: var(--white); line-height: 1.2;
}
.hero-stat:nth-child(1) .num { color: var(--mint); text-shadow: 0 0 26px rgba(47, 211, 165, .3); }
.hero-stat .label { display: block; margin-top: 6px; font-size: 13px; color: rgba(235, 242, 255, .82); }

/* =========================== Sections（亮色信息区）=========================== */
.section { padding: 96px 0; }
.section-alt { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--kle); margin-bottom: 16px;
}
.section-kicker::before { content: ""; width: 18px; height: 2px; background: var(--mint); }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; letter-spacing: -.02em; font-weight: 750; }
.section-desc { margin-top: 16px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.accent { color: var(--kle); }

/* 频道卡片 */
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.channel-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; box-shadow: var(--shadow);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) ease, box-shadow var(--t-base) ease;
}
.channel-card:hover {
  transform: translateY(-5px); border-color: var(--mint);
  box-shadow: var(--shadow-hover);
}
.channel-top { display: flex; align-items: center; gap: 13px; }
.channel-icon {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--kle); color: var(--kle);
  background: rgba(0, 47, 167, .04);
}
.channel-icon svg { width: 22px; height: 22px; }
.channel-idx { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.channel-card h3 { font-size: 18px; margin-top: 18px; font-weight: 700; }
.channel-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.8; color: var(--muted); min-height: 48px; }
.channel-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.channel-tags span {
  font-size: 11.5px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(22, 168, 127, .32); color: var(--mint-deep);
  background: var(--mint-soft);
}
.channel-names {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--muted); line-height: 1.9;
}
.channel-names b { color: var(--kle); font-weight: 600; margin-right: 8px; }

/* 行业网格 */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 20px; transition: transform var(--t-base) var(--ease), border-color var(--t-base) ease, box-shadow var(--t-base) ease;
}
.industry-card:hover { transform: translateY(-4px); border-color: var(--kle); box-shadow: var(--shadow); }
.industry-card .ico {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(0, 47, 167, .06); color: var(--kle);
}
.industry-card .ico svg { width: 20px; height: 20px; }
.industry-card h3 { font-size: 15.5px; font-weight: 700; margin-top: 14px; }
.industry-card p { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.7; }

/* 信源机制 */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 1px;
  background: linear-gradient(90deg, var(--kle), var(--mint), var(--kle)); opacity: .35;
}
.flow-item {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; z-index: 1;
}
.flow-no {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--kle); color: var(--white); font-family: var(--mono); font-size: 14px; font-weight: 700;
  box-shadow: 0 0 0 7px rgba(0, 47, 167, .07);
}
.flow-item:nth-child(2) .flow-no { background: var(--mint-deep); box-shadow: 0 0 0 7px rgba(47, 211, 165, .14); }
.flow-item h3 { font-size: 18px; margin-top: 22px; font-weight: 700; }
.flow-item p { font-size: 13.5px; line-height: 1.85; color: var(--muted); margin-top: 9px; }
.flow-tail {
  margin-top: 26px; text-align: center; font-size: 14px; color: var(--muted);
}

/* CTA + Footer */
.cta { padding: 84px 0; background: var(--night); color: var(--white); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -260px;
  border-radius: 50%; background: rgba(0, 47, 167, .5); filter: blur(80px);
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 640px; }
.cta p { margin-top: 14px; color: var(--night-text); font-size: 15.5px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: #00081F; color: rgba(235, 242, 255, .78); padding: 46px 0 26px; }
/* v9：页脚不再做任何链接，只做品牌收尾 —— 左侧 logo + slogan，右侧一段客观品牌介绍 */
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.footer-brand img { width: 116px; filter: brightness(0) invert(1); opacity: .92; }
.footer-slogan {
  margin: 18px 0 0; font-size: clamp(19px, 2.1vw, 26px); font-weight: 800;
  line-height: 1.5; letter-spacing: .01em; color: var(--white);
}
.footer-slogan span { color: var(--mint); font-weight: 600; }
.footer-about p { margin: 0; max-width: 540px; font-size: 13px; line-height: 2.05; }
.footer-bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(120, 165, 255, .14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px;
}

/* =========================== Reveal（滚动入场）=========================== */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.js .hero-panel.reveal { transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(20px); }
.js .hero-panel.reveal.is-visible { transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); }

/* =========================== Responsive =========================== */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 52px; }
  .hero-panel { max-width: 560px; transform: none; }
  .js .hero-panel.reveal, .js .hero-panel.reveal.is-visible { transform: none; }
  .hero::after { background: linear-gradient(180deg, rgba(0,11,43,.9) 0%, rgba(0,11,43,.62) 60%, rgba(0,11,43,.3) 100%); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 20px; }
}
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(0, 11, 43, .98); padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(120, 165, 255, .2);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(120, 165, 255, .1); }
  .nav a::after { display: none; }
  .header-actions .btn { display: none; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  .container { width: min(var(--container), calc(100% - 36px)); }
  .header-inner { height: 64px; gap: 16px; }
  .nav { top: 64px; }
  .brand-logo { width: 98px; }
  .hero { padding-top: 62px; }
  .hero h1 { font-size: clamp(36px, 9.2vw, 50px); }
  .hero h1 .sub { font-size: 1em; white-space: normal; }
  .hero-lead { font-size: 15px; }
  .hero-chips { gap: 7px; margin-top: 18px; }
  .hero-chips span { font-size: 11.5px; padding: 5px 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-inner { gap: 34px; padding-bottom: 40px; }
  .hero-panel { padding: 20px; border-radius: 16px; }
  .panel-number { font-size: 46px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding: 18px 10px 22px; text-align: center; }
  .hero-stat .num { font-size: 21px; }
  .hero-stat .label { font-size: 11px; line-height: 1.5; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .channel-grid, .industry-grid, .flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .channel-card { padding: 20px 16px; }
  .channel-card p { min-height: 0; }
  .channel-top { gap: 9px; }
  .channel-icon { width: 38px; height: 38px; }
  .channel-idx { display: none; }
  .channel-card h3 { font-size: 16px; margin-top: 14px; }
  .industry-card { padding: 16px 14px; }
  .industry-card h3 { font-size: 14px; }
  .industry-card p { font-size: 11.5px; }
  .flow { gap: 12px; }
  .flow::before { display: none; }
  .flow-item { padding: 20px 16px; }
  .flow-item h3 { font-size: 16px; }
  .cta { padding: 62px 0; }
  .cta h2 { font-size: 25px; } /* 避免窄屏把末字挤成孤行 */
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-slogan { font-size: 20px; }
  /* 右侧常驻悬浮标签宽约 36px，给正文留出安全边距，避免每行末字被压住 */
  .footer-about p { max-width: none; padding-right: 40px; }
}
@media (max-width: 420px) {
  /* 三格数据条保持单行：让三个核心数字尽量留在首屏可见范围内 */
  .channel-grid, .industry-grid, .flow { grid-template-columns: 1fr; }
  /* 极窄屏页脚再收紧，避免品牌收尾占掉大半屏 */
  .site-footer { padding: 32px 0 20px; }
  .footer-inner { gap: 16px; }
  .footer-slogan { margin-top: 14px; font-size: 18px; }
  .footer-about p { font-size: 12.5px; line-height: 1.85; }
  .footer-bottom { margin-top: 24px; padding-top: 16px; }
}

/* =========================== 无障碍：静止替代 =========================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .hero-panel.reveal, .js .hero-panel.reveal.is-visible { transform: none !important; }
  .hero canvas { display: none; } /* 静止态：仅保留 CSS 网格与光晕 */
  .panel-live::before { animation: none; }
}
/* 图形层全失效时的静态降级：网格与光晕保持完整科技感 */
.no-canvas .hero canvas { display: none; }
.no-canvas .hero-grid { opacity: 1; -webkit-mask-image: none; mask-image: none; }

/* =========================== 首页 → 信源目录页入口 =========================== */
.channel-more {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px;
  border: 1.5px solid var(--kle); border-radius: var(--radius);
  background: var(--soft);
}
.channel-more strong { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.channel-more p {
  margin-top: 6px; max-width: 680px;
  font-size: 13.5px; line-height: 1.8; color: var(--muted);
}
.channel-more .btn { flex: none; }
@media (max-width: 700px) {
  .channel-more { padding: 18px; }
  .channel-more .btn { width: 100%; }
}

/* =========================== 右上角注册 / 登录入口 =========================== */
.auth-link {
  font-size: 13px; font-weight: 600; color: rgba(235, 242, 255, .9);
  border-bottom: 1px solid rgba(235, 242, 255, .38); padding-bottom: 2px;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.auth-link:hover { color: var(--mint); border-color: var(--mint); }
.auth-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--night);
  background: var(--mint); border: 1px solid var(--mint); border-radius: 8px;
  padding: 8px 14px; transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
}
.auth-btn:hover { background: var(--white); border-color: var(--white); }
.auth-btn svg { width: 13px; height: 13px; }

/* =========================== 示例媒体真实 logo 行 =========================== */
.channel-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.channel-logos span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid var(--line);
  border-radius: 9px; background: var(--white); overflow: hidden;
}
.channel-logos img { display: block; width: 100%; height: 100%; object-fit: contain; }
.channel-names { margin-top: 12px; padding-top: 12px; }

/* =========================== 注册 / 登录弹层（:target，零 JS） =========================== */
.auth-modal {
  display: none; position: fixed; inset: 0; z-index: 400;
  align-items: center; justify-content: center; padding: 20px;
}
.auth-modal:target { display: flex; }
.auth-modal-mask {
  position: absolute; inset: 0; background: rgba(0, 11, 43, .78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.auth-modal-box {
  position: relative; width: min(460px, 100%); padding: 30px 28px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 11, 43, .35);
}
.auth-modal-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 24px; line-height: 1; color: var(--muted); text-decoration: none;
}
.auth-modal-close:hover { color: var(--kle); }
.auth-modal-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  font-weight: 700; color: var(--kle);
}
.auth-modal-box h2 { margin-top: 10px; font-size: 22px; color: var(--ink); }
.auth-modal-box p { margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.auth-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
/* 弹层在白底，深色区按钮改回克莱因蓝实色 */
.auth-modal-actions .btn-glow {
  background: var(--kle); color: var(--white); border-color: var(--kle); box-shadow: none;
}
.auth-modal-actions .btn-glow:hover {
  background: var(--kle-deep); color: var(--white); border-color: var(--kle-deep);
}
.auth-modal-actions .btn-ghost {
  border-color: var(--line); color: var(--kle); background: var(--white);
}
.auth-modal-actions .btn-ghost:hover { border-color: var(--kle); color: var(--kle); }
.auth-modal-actions svg { width: 13px; height: 13px; }

@media (max-width: 700px) {
  .header-actions { gap: 8px; }
  .auth-link { font-size: 12px; }
  .auth-btn { font-size: 12px; padding: 6px 10px; }
  .channel-logos span { width: 30px; height: 30px; }
  .auth-modal-box { padding: 26px 20px; }
  .auth-modal-box h2 { font-size: 19px; }
}
@media (max-width: 380px) {
  .auth-btn svg { display: none; }
  .header-actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-link, .auth-btn { transition: none !important; }
}


/* =========================== v8 · 顶部电话条 =========================== */
.topbar { background: var(--kle); color: var(--white); }
.topbar-inner {
  display: flex; align-items: center; gap: 14px; min-height: 34px;
  font-size: 12.5px; line-height: 1.4;
}
.topbar-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: .02em; }
.topbar-label svg { width: 15px; height: 15px; color: var(--mint); }
.topbar-phones { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 700; letter-spacing: .02em; }
.topbar-phones a { color: var(--mint); border-bottom: 1px solid rgba(47, 211, 165, .45); }
.topbar-phones a:hover { color: var(--white); border-color: var(--white); }
.topbar-phones i { color: rgba(255, 255, 255, .5); font-style: normal; }
.topbar-note { margin-left: auto; color: rgba(255, 255, 255, .68); font-size: 11.5px; }
.site-header { top: 0; }
html { scroll-padding-top: 116px; }

/* =========================== v8 · 注册 / 登录表单弹层 =========================== */
.auth-modal-box {
  width: min(500px, 100%); padding: 0; overflow: hidden;
  max-height: min(88vh, 860px); overflow-y: auto;
}
.auth-modal-close {
  top: 10px; right: 14px; width: 30px; height: 30px; display: flex;
  align-items: center; justify-content: center; border-radius: 50%;
  color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .08); font-size: 22px;
}
.auth-modal-close:hover { color: var(--mint); background: rgba(47, 211, 165, .16); }
.auth-modal-head {
  padding: 24px 28px 20px; background: var(--night); color: var(--white);
  border-bottom: 2px solid var(--mint);
}
.auth-modal-head .auth-modal-eyebrow { color: var(--mint); }
.auth-modal-box h2 { margin-top: 8px; font-size: 24px; color: var(--white); letter-spacing: .01em; }
.auth-modal-box .auth-modal-head p { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--night-text); }
.auth-form { padding: 20px 28px 24px; background: var(--white); }
.auth-field { display: block; margin-bottom: 13px; }
.auth-field-label { display: block; margin-bottom: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.auth-field input {
  width: 100%; height: 40px; padding: 0 12px; font: inherit; font-size: 13px;
  color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 9px; outline: none;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.auth-field input::placeholder { color: #8A93A6; }
.auth-field input:focus { border-color: var(--kle); box-shadow: 0 0 0 3px rgba(0, 47, 167, .1); }
.auth-field input.is-invalid { border-color: #C8324B; }
.auth-field-hint { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.auth-inline { display: flex; align-items: center; gap: 9px; }
.auth-inline input { flex: 1 1 auto; min-width: 0; }
.auth-captcha {
  flex: none; width: 100px; height: 40px; border: 1.5px solid var(--line);
  border-radius: 9px; background: var(--soft); cursor: pointer;
  object-fit: contain; display: block;
}
.auth-captcha:hover { border-color: var(--kle); }
.auth-code-btn {
  flex: none; height: 40px; padding: 0 13px; font: inherit; font-size: 12px; font-weight: 700;
  color: var(--kle); background: var(--white); border: 1.5px solid var(--kle); border-radius: 9px; cursor: pointer;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
.auth-code-btn:hover { background: var(--kle); color: var(--white); }
.auth-code-btn:disabled { cursor: default; opacity: .62; border-color: var(--line); color: var(--muted); }
.auth-check { display: flex; align-items: center; gap: 8px; margin: 4px 0 16px; font-size: 12px; color: var(--muted); }
.auth-check input { width: 15px; height: 15px; accent-color: var(--kle); flex: none; }
.auth-check a { color: var(--kle); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.auth-form-actions .btn { min-height: 42px; padding: 0 24px; font-size: 13.5px; border-radius: 9px; }
.auth-form-msg {
  margin-top: 14px; padding: 12px 14px; border-radius: 9px;
  background: var(--mint-soft); border: 1px solid rgba(22, 168, 127, .28);
  font-size: 12.5px; line-height: 1.7; color: var(--ink);
}
.auth-form-msg.is-error { background: #FFF1F3; border-color: #F0C3CC; }
.auth-form-msg a { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--kle); text-decoration: underline; text-underline-offset: 2px; }
.auth-form-foot { margin-top: 14px !important; font-size: 12px; color: var(--muted); }
.auth-form-foot a { color: var(--kle); font-weight: 700; }

/* =========================== v8 · 右侧业务微信二维码浮层 =========================== */
.wechat-dock {
  position: fixed; right: 0; top: 46%; z-index: 300;
  width: 42px;
}
/* 卡片绝对定位到标签左侧，收起时完全脱离布局流，标签始终紧贴右边缘 */
.wechat-dock-tab {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  width: 42px; padding: 12px 0; font: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; color: var(--night); background: var(--mint);
  border: 0; border-radius: 10px 0 0 10px; cursor: pointer;
  box-shadow: -4px 6px 20px rgba(0, 11, 43, .18);
}
.wechat-dock-tab span { writing-mode: vertical-rl; }
.wechat-dock-tab svg { width: 19px; height: 19px; }
.wechat-dock-tab:hover { background: var(--white); }
.wechat-dock-panel {
  position: absolute; top: 0; right: 42px; width: 196px; padding: 12px;
  background: var(--white); border: 1px solid var(--line);
  border-right: 0; border-radius: 12px 0 0 12px;
  box-shadow: -8px 12px 34px rgba(0, 11, 43, .18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(24px);
  transition: opacity var(--t-base) ease, transform var(--t-base) var(--ease), visibility var(--t-base);
}
.wechat-dock.is-open .wechat-dock-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
.wechat-dock-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 9px; }
.wechat-dock-head strong { font-size: 12.5px; color: var(--kle); }
.wechat-dock-close {
  width: 22px; height: 22px; padding: 0; font: inherit; font-size: 17px; line-height: 1;
  color: var(--muted); background: transparent; border: 0; border-radius: 50%; cursor: pointer;
}
.wechat-dock-close:hover { color: var(--kle); background: var(--soft); }
.wechat-qr { display: block; width: 100%; height: auto; border-radius: 8px; }
.wechat-dock-tip { margin: 9px 0 6px; font-size: 11px; line-height: 1.55; color: var(--muted); text-align: center; }
.wechat-dock-tel {
  display: block; padding: 7px 0; border-radius: 8px; text-align: center;
  font-size: 11.5px; font-weight: 700; color: var(--white); background: var(--kle);
}
.wechat-dock-tel:hover { background: var(--kle-deep); }

@media (max-width: 700px) {
  .topbar-inner { gap: 8px; min-height: 32px; font-size: 11px; }
  .topbar-note { display: none; }
  .topbar-label svg { width: 13px; height: 13px; }
  .auth-modal-box { width: min(460px, 100%); }
  .auth-modal-head { padding: 20px 20px 16px; }
  .auth-modal-box h2 { font-size: 20px; }
  .auth-form { padding: 16px 20px 20px; }
  .wechat-dock { top: auto; bottom: 84px; width: 36px; }
  .wechat-dock-tab { width: 36px; font-size: 11px; padding: 9px 0; }
  .wechat-dock-tab svg { width: 16px; height: 16px; }
  .wechat-dock-panel { width: 160px; padding: 9px; right: 36px; }
  .wechat-dock-head strong { font-size: 11px; }
}
@media (max-width: 380px) {
  .topbar-inner { font-size: 10px; gap: 6px; }
  .topbar-label { font-size: 10px; }
  .auth-inline { gap: 6px; }
  .auth-code-btn { padding: 0 9px; font-size: 11px; }
  .wechat-dock-panel { width: 146px; }
}
@media (prefers-reduced-motion: reduce) {
  .wechat-dock, .wechat-dock-panel, .auth-field input, .auth-code-btn { transition: none !important; }
}
