/* ============================================================
   万境 AI · 全站共享样式（首页 / 工具页 / 功能 / FAQ / 联系）
   命名：组件一律 .site- 前缀或语义化独立命名，避免与工具页内联样式冲突
   ============================================================ */

:root {
  --navy: #04111f;
  --navy-2: #0a2236;
  --brand: #0284c7;
  --brand-a: #1e9fff;
  --brand-b: #06b6d4;
  --cyan-edge: rgba(56, 224, 240, .32);
  --ink: #16323f;
  --muted: #5f7a88;
  --line: #ddeaf1;
  --nav-h: 62px;
  /* footer：sf-pad = 固定底条高度，sf-fade = 四列区顶部过渡高度 */
  --sf-fade: 28px;
  --sf-bar: 50px;
  --sf-pad: 56px;
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--navy);
  min-height: 100vh;
  padding-top: var(--nav-h);
  /* 底部留白由 footer 的 padding-bottom 负责（给固定底条让位），body 不再额外加 */
  padding-bottom: 0;
}

::selection { background: rgba(6, 182, 212, .28); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============ 背景层（视频页使用） ============ */
.bg-layer {
  position: fixed; inset: -2%; z-index: 0; pointer-events: none;
  background: var(--navy); overflow: hidden;
  animation: bgZoom 38s ease-in-out infinite alternate;
  will-change: transform;
}
.bg-layer video { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes bgZoom { from { transform: scale(1); } to { transform: scale(1.09); } }

/* 静态页背景（无视频，轻量） */
body.site-static { background: var(--navy); }
.bg-static {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 560px at 50% -10%, rgba(6, 182, 212, .18), transparent 62%),
    radial-gradient(900px 500px at 85% 20%, rgba(30, 159, 255, .10), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(6, 182, 212, .08), transparent 60%),
    linear-gradient(180deg, #04111f 0%, #061a2c 55%, #04111f 100%);
}
.bg-static::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(56, 224, 240, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 224, 240, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(1200px 800px at 50% 0%, #000 30%, transparent 75%);
}

/* 暗色遮罩：压住背景亮度，保证内容清晰 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 12, 26, .72) 0%, rgba(3, 12, 26, .52) 34%, rgba(3, 12, 26, .78) 100%),
    radial-gradient(1100px 520px at 50% -8%, rgba(6, 182, 212, .16), transparent 62%);
}
body.site-static::before {
  background: linear-gradient(180deg, rgba(3, 12, 26, .42) 0%, rgba(3, 12, 26, .30) 40%, rgba(3, 12, 26, .6) 100%);
}

/* 科技边框 */
.tech-frame {
  position: fixed; inset: 14px; z-index: 3; pointer-events: none; border-radius: 20px;
  border: 1px solid var(--cyan-edge);
  box-shadow: inset 0 0 60px rgba(6, 182, 212, .08), 0 0 26px rgba(6, 182, 212, .14);
  animation: frameGlow 4.5s ease-in-out infinite;
}
@keyframes frameGlow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

/* ============ 顶部导航 ============ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  background: rgba(4, 17, 31, .62);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 224, 240, .18);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled {
  background: rgba(4, 17, 31, .92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; gap: 18px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-logo img {
  width: 38px; height: 38px; border-radius: 10px; object-fit: contain; padding: 3px;
  background: linear-gradient(135deg, #fff, #e6f7fc);
  box-shadow: 0 4px 14px rgba(6, 150, 170, .35);
}
.nav-logo .nl-name {
  font-size: 18px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(92deg, #fff 5%, #d6f8ff 50%, #8deef7 98%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a.nl {
  color: #b9d6e2; font-size: 14px; font-weight: 600; padding: 8px 15px;
  border-radius: 9px; transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a.nl:hover { color: #fff; background: rgba(56, 224, 240, .12); }
.nav-links a.nl.active { color: #8deef7; background: rgba(56, 224, 240, .14); }
.nav-cta {
  margin-left: 8px; font-size: 14px; font-weight: 700; color: #fff !important;
  padding: 9px 20px !important; border-radius: 10px; white-space: nowrap;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  box-shadow: 0 6px 18px rgba(6, 150, 175, .42);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 24px rgba(6, 160, 185, .5); }

/* ============ 下载 App 下拉菜单 ============ */
.nav-download-wrap { position: relative; }
.nav-download-btn {
  background: none; border: none; cursor: pointer;
  color: #b9d6e2; font-size: 14px; font-weight: 600; padding: 8px 15px;
  border-radius: 9px; transition: color .2s, background .2s; white-space: nowrap;
  font-family: inherit; display: inline-flex; align-items: center; gap: 4px;
}
.nav-download-btn:hover { color: #fff; background: rgba(56, 224, 240, .12); }
.nav-download-wrap.open .nav-download-btn { color: #8deef7; background: rgba(56, 224, 240, .14); }
.dl-caret { font-size: 10px; transition: transform .2s; display: inline-block; }
.nav-download-wrap.open .dl-caret { transform: rotate(180deg); }

.nav-download-panel {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 210px;
  background: rgba(8, 26, 46, .98);
  border: 1px solid rgba(56, 224, 240, .25);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .5);
  padding: 8px;
  display: none;
  z-index: 100;
}
.nav-download-wrap.open .nav-download-panel { display: block; animation: dl-fade .18s ease; }
@keyframes dl-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.dl-option {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 9px;
  color: #d6eef5; text-decoration: none;
  transition: background .15s, color .15s;
}
.dl-option:hover { background: rgba(56, 224, 240, .12); color: #fff; }
.dl-ico { font-size: 24px; line-height: 1; }
.dl-text { display: flex; flex-direction: column; gap: 2px; }
.dl-title { font-size: 14.5px; font-weight: 700; }
.dl-sub { font-size: 12px; color: #7a9fb0; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(56, 224, 240, .35);
  border-radius: 9px; width: 40px; height: 38px; cursor: pointer; flex: none;
  color: #8deef7; font-size: 18px; line-height: 1;
}

/* ============ 通用布局 ============ */
.site-wrap { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; padding: 0 24px; }
.site-section { padding: 76px 0; position: relative; }
.site-section.tight { padding: 48px 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-head .sh-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 3px;
  color: #8deef7; text-transform: uppercase; margin-bottom: 14px;
  padding: 5px 16px; border-radius: 20px;
  border: 1px solid rgba(56, 224, 240, .35); background: rgba(6, 182, 212, .08);
}
.section-head h2 {
  font-size: 30px; line-height: 1.35; color: #f2fbff; font-weight: 800; letter-spacing: .5px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .4);
}
.section-head p { color: #a8c8d6; font-size: 15px; line-height: 1.9; margin-top: 14px; }

/* ============ 按钮 ============ */
.site-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 15.5px; font-weight: 700; letter-spacing: .5px;
  padding: 14px 34px; border-radius: 13px; border: none;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, background .2s;
}
.site-btn.primary {
  color: #fff; background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  box-shadow: 0 10px 28px rgba(6, 150, 175, .42);
}
.site-btn.primary:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 16px 36px rgba(6, 160, 185, .52); }
.site-btn.ghost {
  color: #d9f6ff; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(125, 232, 245, .45);
  backdrop-filter: blur(6px);
}
.site-btn.ghost:hover { background: rgba(56, 224, 240, .14); transform: translateY(-2px); }
.site-btn.light {
  color: #0b5a72; background: linear-gradient(135deg, #ffffff, #e3f7fd);
  box-shadow: 0 10px 26px rgba(2, 60, 90, .25);
}
.site-btn.light:hover { transform: translateY(-2px); filter: brightness(1.02); box-shadow: 0 16px 34px rgba(2, 60, 90, .32); }

/* ============ 玻璃卡片（深色页用） ============ */
.glass-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(125, 232, 245, .22);
  border-radius: 18px; padding: 28px 26px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px rgba(0, 10, 24, .35);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s;
  height: 100%;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(125, 232, 245, .55);
  background: rgba(255, 255, 255, .085);
  box-shadow: 0 22px 50px rgba(2, 40, 66, .55), 0 0 26px rgba(6, 182, 212, .18);
}
.glass-card .gc-icon {
  width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(30, 159, 255, .25), rgba(6, 182, 212, .18));
  border: 1px solid rgba(125, 232, 245, .4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 18px rgba(6, 150, 170, .25);
}
.glass-card h3 { color: #f0fbff; font-size: 18px; margin-bottom: 11px; font-weight: 800; }
.glass-card p, .glass-card li { color: #aecedb; font-size: 14px; line-height: 1.9; }
.glass-card ul { list-style: none; margin-top: 10px; }
.glass-card ul li { padding-left: 20px; position: relative; margin-bottom: 7px; }
.glass-card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #5ee7f2; font-weight: 800;
}

/* ============ 首屏 Hero ============ */
.hero { padding: 92px 0 70px; text-align: center; position: relative; }
.hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #c9f5ff;
  padding: 7px 18px; border-radius: 30px; margin-bottom: 26px;
  background: rgba(6, 182, 212, .1); border: 1px solid rgba(125, 232, 245, .4);
  box-shadow: 0 0 24px rgba(6, 182, 212, .18);
}
.hero .hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #5ee7f2;
  box-shadow: 0 0 10px #5ee7f2; animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  font-size: clamp(32px, 5.4vw, 56px); line-height: 1.25; font-weight: 900;
  letter-spacing: 2px; margin-bottom: 22px;
  background: linear-gradient(92deg, #ffffff 4%, #d6f8ff 45%, #8deef7 88%, #5ee7f2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(6, 182, 212, .25));
}
.hero .hero-sub {
  max-width: 720px; margin: 0 auto 18px;
  font-size: clamp(15px, 2vw, 18px); line-height: 2; color: #c3dfea;
}
.hero .hero-sub b { color: #8deef7; font-weight: 700; }
.hero .hero-honest {
  max-width: 720px; margin: 0 auto 36px; font-size: 13.5px; line-height: 1.9;
  color: #ffd98a;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero 八步链路静态预览 */
.hero-chain {
  margin: 56px auto 0; max-width: 1060px;
  background: rgba(4, 20, 38, .55); border: 1px solid rgba(56, 224, 240, .28);
  border-radius: 16px; padding: 22px 18px;
  backdrop-filter: blur(6px);
}
.hc-bar { display: flex; align-items: stretch; justify-content: space-between; gap: 2px; }
.hc-node { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hc-node .num {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #d9f8ff;
  background: linear-gradient(135deg, rgba(30, 159, 255, .35), rgba(6, 182, 212, .3));
  border: 1.5px solid rgba(126, 240, 250, .6);
  box-shadow: 0 0 14px rgba(6, 182, 212, .35);
}
.hc-node .nm {
  font-size: 11.5px; line-height: 1.35; color: #bfe4ef; text-align: center; font-weight: 600;
}
.hc-arrow { color: rgba(125, 232, 245, .55); align-self: flex-start; margin-top: 9px; font-size: 15px; flex: none; }
.hero-chain .hc-cap { text-align: center; margin-top: 14px; font-size: 12.5px; color: #7fa9b8; letter-spacing: 1px; }

/* ============ 三栏 / 多栏网格 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ============ 品类网格 ============ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(125, 232, 245, .18);
  border-radius: 13px; padding: 16px 18px;
  transition: transform .22s, border-color .22s, background .22s;
}
.cat-item:hover {
  transform: translateY(-3px); border-color: rgba(125, 232, 245, .5);
  background: rgba(6, 182, 212, .1);
}
.cat-item .ci-emoji { font-size: 24px; flex: none; }
.cat-item .ci-name { color: #d9eef6; font-size: 14.5px; font-weight: 700; }
.cat-item .ci-desc { color: #8fb4c3; font-size: 12px; margin-top: 2px; }

/* ============ 工作原理步骤 ============ */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: how; }
.how-step { position: relative; padding: 30px 26px 26px; }
.how-step::after {
  counter-increment: how; content: "0" counter(how);
  position: absolute; right: 22px; top: 14px;
  font-size: 44px; font-weight: 900; line-height: 1;
  color: rgba(125, 232, 245, .14); font-style: italic;
}
.how-step .hs-emoji { font-size: 30px; margin-bottom: 14px; }
.how-step h3 { color: #f0fbff; font-size: 17px; margin-bottom: 9px; }
.how-step p { color: #aecedb; font-size: 13.5px; line-height: 1.9; }

/* ============ 白色内容卡片区（深色背景上的白色面板，沿用工具页语言） ============ */
.white-card {
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 30px; box-shadow: 0 10px 34px rgba(8, 100, 130, .12);
  color: var(--ink);
}

/* ============ CTA 区 ============ */
.cta-band {
  position: relative; border-radius: 22px; padding: 56px 40px; text-align: center;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(125, 232, 245, .22), transparent 70%),
    linear-gradient(135deg, rgba(8, 48, 74, .9), rgba(4, 28, 48, .92));
  border: 1px solid rgba(125, 232, 245, .35);
  box-shadow: 0 20px 60px rgba(0, 8, 20, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.cta-band h2 { color: #f4fcff; font-size: 27px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: #b5d5e2; font-size: 15px; line-height: 1.9; margin-bottom: 28px; }

/* ============ FAQ 手风琴 ============ */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-group-title {
  color: #8deef7; font-size: 14px; font-weight: 800; letter-spacing: 2px;
  margin: 26px 0 4px; padding-left: 4px;
}
.faq-item {
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(125, 232, 245, .2);
  border-radius: 13px; overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq-item.open { border-color: rgba(125, 232, 245, .55); background: rgba(255, 255, 255, .085); }
.faq-q {
  width: 100%; text-align: left; cursor: pointer; background: none; border: none;
  padding: 18px 48px 18px 20px; position: relative;
  color: #e6f7fc; font-size: 15px; font-weight: 700; line-height: 1.6;
  font-family: inherit;
}
.faq-q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: #5ee7f2; transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-a-inner { padding: 0 20px 18px; color: #aecedb; font-size: 14px; line-height: 2; }
.faq-a-inner b { color: #d9f6ff; }

/* ============ 内页头部横幅 ============ */
.page-hero { padding: 74px 0 46px; text-align: center; }
.page-hero h1 {
  font-size: clamp(28px, 4.4vw, 42px); font-weight: 900; letter-spacing: 2px;
  margin-bottom: 14px; color: #f2fbff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .4);
}
.page-hero p { color: #b6d3df; font-size: 16px; line-height: 1.9; max-width: 680px; margin: 0 auto; }
.crumb { font-size: 13px; color: #7fa9b8; margin-bottom: 18px; }
.crumb a { color: #8deef7; }
.crumb a:hover { text-decoration: underline; }

/* ============ 功能详解页：步骤大卡 ============ */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px 24px; }
.feat-card .fc-num {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: #04162a;
  background: linear-gradient(135deg, #7ef0fa, #36cfe0);
  box-shadow: 0 6px 18px rgba(6, 182, 212, .45);
}
.feat-card h3 { color: #f0fbff; font-size: 17px; margin-bottom: 8px; }
.feat-card p { color: #aecedb; font-size: 13.5px; line-height: 1.9; }
.feat-card .fc-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.feat-card .fc-tags span {
  font-size: 11.5px; font-weight: 600; color: #9feef7;
  border: 1px solid rgba(125, 232, 245, .35); border-radius: 20px; padding: 3px 11px;
  background: rgba(6, 182, 212, .08);
}
.feat-card.span2 { grid-column: 1 / -1; }
.feat-card[id] { scroll-margin-top: calc(var(--nav-h) + 22px); }

/* 四图能力卡 */
.imgfeat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.imgfeat-card { text-align: center; padding: 26px 18px; }
.imgfeat-card .ifc-ratio {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 16px; margin-bottom: 14px;
  font-size: 13px; font-weight: 800; color: #04162a;
  background: linear-gradient(135deg, #c9f7fd, #7de8f2);
  box-shadow: 0 8px 22px rgba(6, 182, 212, .4);
}
.imgfeat-card .ifc-ratio.vertical { width: 60px; height: 88px; }
.imgfeat-card h4 { color: #f0fbff; font-size: 14.5px; margin-bottom: 7px; }
.imgfeat-card p { color: #aecedb; font-size: 12.5px; line-height: 1.8; }

/* 护栏卡 */
.guard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guard-card { border-left: 3px solid #ffc94d; }
.guard-card .gc-icon { background: linear-gradient(135deg, rgba(255, 201, 77, .28), rgba(255, 170, 60, .18)); border-color: rgba(255, 210, 120, .5); }

/* ============ 联系页 ============ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { text-align: center; padding: 36px 28px; }
.contact-card .cc-emoji { font-size: 40px; margin-bottom: 16px; }
.contact-card h3 { color: #f0fbff; font-size: 19px; margin-bottom: 10px; }
.contact-card p { color: #aecedb; font-size: 14px; line-height: 1.9; }
.contact-card .cc-value {
  display: inline-block; margin-top: 14px; font-size: 16px; font-weight: 800; color: #8deef7;
  padding: 10px 22px; border-radius: 10px; background: rgba(6, 182, 212, .1);
  border: 1px dashed rgba(125, 232, 245, .45); word-break: break-all;
}
.qr-ph {
  width: 168px; height: 168px; margin: 16px auto 0; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255, 255, 255, .05); border: 2px dashed rgba(125, 232, 245, .35);
  color: #8fb4c3; font-size: 13px; text-align: center; padding: 14px;
}
.qr-ph .qr-emoji { font-size: 34px; }
.who-list { list-style: none; max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; }
.who-list li {
  color: #c8e3ee; font-size: 14px; line-height: 1.8; padding-left: 26px; position: relative;
}
.who-list li::before {
  content: "→"; position: absolute; left: 0; color: #5ee7f2; font-weight: 800;
}

/* ============ 全站 Footer ============ */
/* 四列区：文档流，白色底，滚动到页面底部才出现 */
.site-footer {
  position: relative; z-index: 2;          /* 高于 body::before 暗色遮罩(1)，保证白底不发暗 */
  background: linear-gradient(180deg, #ffffff 0%, #eef6fb 100%);
  border-top: 1px solid rgba(6, 182, 212, .35);
  padding-bottom: var(--sf-pad);            /* 给固定底条留位 */
}
/* 顶部柔和渐隐：从视频/内容区过渡到白色 footer */
.sf-fade {
  position: absolute; left: 0; right: 0; top: calc(-1 * var(--sf-fade)); height: var(--sf-fade);
  background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.sf-inner {
  max-width: 1180px; margin: 0 auto; padding: 40px 28px 32px;
  display: grid; grid-template-columns: 2.4fr 1fr 1fr 1.2fr; gap: 36px;
}
.sf-col h4 {
  font-size: 13px; color: #0b6b85; margin-bottom: 12px; letter-spacing: 1.5px;
  font-weight: 700;
}
.sf-col a, .sf-col span.sf-item {
  display: block; font-size: 12.5px; color: #5a7d8c; line-height: 1.95;
  transition: color .2s;
}
.sf-col a:hover { color: var(--brand); }
.sf-brand img {
  height: 110px; width: auto; margin-bottom: 16px;
  filter: drop-shadow(0 2px 6px rgba(2, 90, 130, .14));
}
.sf-brand p { font-size: 13px; color: #5a7d8c; line-height: 1.8; margin-bottom: 14px; max-width: 360px; }
.sf-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.sf-tags span {
  font-size: 11px; font-weight: 600; color: #0b6b85;
  border: 1px solid rgba(2, 132, 199, .32); border-radius: 14px; padding: 3px 10px;
  background: rgba(6, 182, 212, .08);
}
.sf-pending { color: #a0762a !important; }
/* 底部细条：固定在视口底部，白色，始终可见，兼挡视频水印 */
.sf-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  background: linear-gradient(180deg, #ffffff 0%, #eaf7fc 100%);
  border-top: 1px solid rgba(6, 182, 212, .5);
  box-shadow: 0 -4px 16px rgba(4, 22, 40, .18);
  padding: 6px 20px 7px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; color: #7a98a5;
}
.sf-bar .sb-inner {
  max-width: 1180px; margin: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sb-beian { text-align: center; font-size: 11.5px; line-height: 1.4; }
.sb-beian a { color: #7a98a5; text-decoration: none; border-bottom: 1px dotted rgba(122, 152, 165, .4); transition: color .2s; }
.sb-beian a:hover { color: #0284c7; border-bottom-color: rgba(2, 132, 199, .4); }

/* ============ 滚动渐入动效 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* hero 元素入场 */
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-in { animation: heroIn .8s ease both; }
.hero-in.d1 { animation-delay: .1s; }
.hero-in.d2 { animation-delay: .25s; }
.hero-in.d3 { animation-delay: .4s; }
.hero-in.d4 { animation-delay: .55s; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .grid-3, .how-grid { grid-template-columns: 1fr; }
  .grid-4, .cat-grid, .imgfeat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .guard-grid, .contact-grid { grid-template-columns: 1fr; }
  .who-list { grid-template-columns: 1fr; }
  .sf-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  body { --sf-pad: 56px; padding-bottom: 0; }
  .section-head h2 { font-size: 24px; }
  .site-section { padding: 56px 0; }
  .nav-cta { display: none; }             /* 中等屏空间不足，保留登录/用户区为主操作 */
  .nav-links { gap: 2px; }
  .nav-links a.nl { padding: 8px 10px; font-size: 13.5px; }
  .nav-download-btn { padding: 8px 10px; font-size: 13.5px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(4, 17, 31, .97); border-bottom: 1px solid rgba(56, 224, 240, .25);
    padding: 12px 20px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a.nl { padding: 13px 14px; font-size: 15px; }
  .nav-cta { display: none; }
  /* 下载 App 菜单：移动端内联展开 */
  .nav-download-wrap { width: 100%; }
  .nav-download-btn { width: 100%; justify-content: center; padding: 13px 14px; font-size: 15px; }
  .nav-download-panel {
    position: static; box-shadow: none; border: none;
    background: rgba(6, 182, 212, .06);
    border-radius: 10px; margin-top: 4px;
  }
  .hero { padding: 60px 0 50px; }
  .hero-chain { overflow-x: auto; padding: 18px 12px; }
  .hc-bar { flex-wrap: nowrap; min-width: 560px; }
  .grid-4, .cat-grid, .imgfeat-grid { grid-template-columns: repeat(2, 1fr); }
  .white-card { padding: 22px 18px; }
  .cta-band { padding: 40px 22px; }
  .tech-frame { inset: 8px; border-radius: 14px; }
  .site-wrap { padding: 0 16px; }
  .sf-bar { padding: 10px 16px; }
  .sf-bar .sb-inner { flex-direction: column; gap: 3px; text-align: center; }
}

/* 纯移动端：隐藏 footer 四列，只保留底部细条 */
@media (max-width: 640px) {
  .sf-inner { display: none; }
  body { --sf-pad: 56px; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-layer, .tech-frame, .hero .hero-badge .dot { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in { animation: none; }
}

/* ============================================================
   会员 / 登录 / 套餐（纯前端模拟，localStorage 状态）
   ============================================================ */

/* ---- 顶导用户区 ---- */
.nav-user {
  display: flex; align-items: center; gap: 10px;
  margin-left: 8px; padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.nav-login {
  padding: 7px 16px; border-radius: 20px; font-size: 13.5px; font-weight: 600;
  color: #8deef7; background: rgba(56,224,240,.1);
  border: 1px solid rgba(56,224,240,.35); cursor: pointer;
  transition: all .2s; text-decoration: none;
}
.nav-login:hover { background: rgba(56,224,240,.2); color: #fff; }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #38e0f0, #0284c7);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.nav-uname { font-size: 13.5px; color: #cfe9f0; font-weight: 600; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; cursor: pointer; }
a.nav-uname:hover { color: #fff; text-decoration: underline; }
.vip-chip {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700;
  background: linear-gradient(90deg, #ffd76a, #f0a93b);
  color: #5a3a00; white-space: nowrap;
}
.vip-chip::before { content: '👑'; }
.nav-logout {
  font-size: 12px; color: #7fa9b8; cursor: pointer; padding: 4px 6px;
  border-radius: 6px; transition: all .2s;
}
.nav-logout:hover { color: #ff8a8a; background: rgba(255,100,100,.1); }

/* ---- 通用弹窗 ---- */
.modal-mask {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(2, 12, 24, .72); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; animation: fadeIn .2s ease; }
.modal {
  width: 100%; max-width: 420px;
  background: linear-gradient(160deg, #0d2842, #081a2e);
  border: 1px solid rgba(56,224,240,.25); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  overflow: hidden; position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  font-size: 22px; color: #7fa9b8; cursor: pointer;
  background: none; border: none; line-height: 1;
}
.modal-close:hover { color: #fff; }
.modal-head {
  padding: 26px 28px 8px; text-align: center;
}
.modal-head h3 { font-size: 22px; color: #fff; margin: 0; font-weight: 800; }
.modal-head p { margin: 8px 0 0; font-size: 13.5px; color: #8fb4c3; }
.modal-tabs {
  display: flex; gap: 4px; margin: 18px 28px 0;
  background: rgba(255,255,255,.05); padding: 4px; border-radius: 12px;
}
.modal-tab {
  flex: 1; padding: 10px; text-align: center; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: #7fa9b8; cursor: pointer;
  transition: all .2s; border: none; background: none;
}
.modal-tab.active { color: #0d2842; background: linear-gradient(90deg, #8deef7, #38e0f0); }
.modal-body { padding: 20px 28px 26px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: #8fb4c3; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(56,224,240,.2);
  color: #fff; font-size: 14px; outline: none; transition: border-color .2s;
  box-sizing: border-box;
}
.field input:focus { border-color: #38e0f0; }
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row input { flex: 1; }
.captcha-row canvas {
  width: 100px; height: 40px; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(56,224,240,.25); flex-shrink: 0;
}
.captcha-row .code-btn {
  flex: 0 0 auto; padding: 0 14px; border: 0; border-radius: 10px;
  background: #0f7a52; color: #fff; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.captcha-row .code-btn:disabled { opacity: .6; cursor: default; }
.modal-btn {
  width: 100%; padding: 12px; border-radius: 12px; border: none;
  font-size: 15px; font-weight: 700; cursor: pointer;
  color: #0d2842; background: linear-gradient(90deg, #8deef7, #38e0f0);
  transition: filter .2s, transform .2s;
}
.modal-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.modal-btn.gold { background: linear-gradient(90deg, #ffd76a, #f0a93b); color: #5a3a00; }
.modal-foot { text-align: center; margin-top: 14px; font-size: 12px; color: #5a7d8c; }
.modal-foot + .modal-foot { margin-top: 8px; }
.modal-foot a { color: #8deef7; cursor: pointer; text-decoration: none; }
.pay-ways { display: flex; gap: 12px; margin: 16px 0; }
.pay-way {
  flex: 1; padding: 12px; border-radius: 10px; text-align: center;
  border: 1px solid rgba(56,224,240,.2); background: rgba(255,255,255,.04);
  cursor: pointer; font-size: 13px; color: #cfe9f0; transition: all .2s;
}
.pay-way.active { border-color: #38e0f0; background: rgba(56,224,240,.1); }
.pay-way .pw-ico { font-size: 22px; display: block; margin-bottom: 4px; }
.success-icon { font-size: 56px; text-align: center; margin: 10px 0 6px; }
.success-icon { animation: popIn .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes popIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---- 套餐页 ---- */
.plan-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 10px;
}
.plan-card {
  position: relative; background: linear-gradient(160deg, rgba(13,40,66,.9), rgba(8,26,46,.9));
  border: 1px solid rgba(56,224,240,.2); border-radius: 18px;
  padding: 28px 22px; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.plan-card:hover { transform: translateY(-4px); border-color: rgba(56,224,240,.45); }
.plan-card.hot {
  border-color: rgba(240,169,59,.6);
  box-shadow: 0 0 0 1px rgba(240,169,59,.3), 0 16px 40px rgba(240,169,59,.15);
}
.plan-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 12px; font-size: 12px; font-weight: 700;
  background: linear-gradient(90deg, #ffd76a, #f0a93b); color: #5a3a00;
  white-space: nowrap;
}
.plan-name { font-size: 18px; font-weight: 800; color: #fff; text-align: center; margin-bottom: 4px; }
.plan-sub { text-align: center; font-size: 12.5px; color: #8fb4c3; margin-bottom: 18px; }
.plan-price { text-align: center; margin-bottom: 16px; }
.plan-price .cur { font-size: 22px; color: #8deef7; font-weight: 700; vertical-align: top; }
.plan-price .num { font-size: 48px; font-weight: 900; color: #fff; line-height: 1; }
.plan-price .unit { font-size: 13px; color: #8fb4c3; margin-left: 2px; }
.plan-price .old { display: block; font-size: 13px; color: #5a7d8c; text-decoration: line-through; margin-top: 6px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-feats li {
  font-size: 13px; color: #cfe9f0; padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08); display: flex; align-items: center; gap: 8px;
}
.plan-feats li::before { content: '✓'; color: #38e0f0; font-weight: 700; }
.plan-feats li.muted { color: #5a7d8c; }
.plan-feats li.muted::before { content: '—'; color: #5a7d8c; }
.plan-btn {
  display: block; width: 100%; padding: 11px; border-radius: 12px;
  text-align: center; font-size: 14.5px; font-weight: 700; cursor: pointer;
  border: none; text-decoration: none; transition: all .2s;
  background: rgba(56,224,240,.12); color: #8deef7; border: 1px solid rgba(56,224,240,.3);
}
.plan-btn:hover { background: rgba(56,224,240,.22); }
.plan-card.hot .plan-btn {
  background: linear-gradient(90deg, #ffd76a, #f0a93b); color: #5a3a00; border-color: transparent;
}
.plan-card.hot .plan-btn:hover { filter: brightness(1.06); }
.plan-note {
  text-align: center; margin-top: 28px; font-size: 12.5px; color: #7fa9b8; line-height: 1.8;
}

/* ---- 工具页试用 / VIP 状态条 ---- */
.trial-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; margin-bottom: 18px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(56,224,240,.1), rgba(240,169,59,.08));
  border: 1px solid rgba(56,224,240,.2);
  font-size: 13.5px; color: #cfe9f0;
}
.trial-bar .tb-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trial-bar .tb-ico { font-size: 18px; }
.trial-bar .tb-link { color: #8deef7; font-weight: 600; cursor: pointer; text-decoration: none; }
.trial-bar .tb-link:hover { text-decoration: underline; }
.vip-lock-mask {
  position: absolute; inset: 0; border-radius: inherit;
  background: rgba(2,12,24,.82); backdrop-filter: blur(3px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; z-index: 5;
}
.vip-lock-mask .vl-title { font-size: 16px; font-weight: 700; color: #ffd76a; }
.vip-lock-mask .vl-sub { font-size: 13px; color: #cfe9f0; text-align: center; padding: 0 20px; }

/* ---- 响应式：套餐 / 弹窗 ---- */
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-user { padding-left: 8px; margin-left: 4px; gap: 6px; }
  .nav-uname { display: none; }
  .nav-logout { display: none; }
  .plan-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .trial-bar { flex-direction: column; align-items: flex-start; }
}

/* ---- 返回顶部按钮（全站） ---- */
/* 放左下角：右下角已让给「万小境」小助手挂件，避免（尤其手机上）互相遮挡 */
.to-top {
  position: fixed; left: 22px; right: auto; bottom: 26px; z-index: 60;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(125,232,245,.45); background: rgba(4,17,31,.72);
  color: #8deef7; font-size: 18px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s, transform .25s, background .2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0,10,24,.4);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: rgba(6,182,212,.3); color: #fff; }

/* ---- 首页：能力数字条 ---- */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding: 30px 26px; border-radius: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(125,232,245,.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px rgba(0,10,24,.35);
}
.stat-bar .stat { text-align: center; position: relative; }
.stat-bar .stat + .stat::before {
  content: ""; position: absolute; left: -9px; top: 18%; bottom: 18%;
  width: 1px; background: linear-gradient(180deg, transparent, rgba(125,232,245,.4), transparent);
}
.stat-bar .sv {
  font-size: 44px; font-weight: 900; line-height: 1.1;
  background: linear-gradient(120deg, #8deef7 10%, #38e0f0 45%, #ffd76a 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-bar .sl { margin-top: 6px; font-size: 13px; color: #a8c8d6; letter-spacing: .5px; }

/* ---- 首页：万境AI vs 传统服务商对比 ---- */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.vs-card {
  border-radius: 18px; padding: 26px 26px 22px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(125,232,245,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .28s, border-color .28s, box-shadow .28s;
}
.vs-card .vs-tag {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1px;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 16px;
}
.vs-card ul { list-style: none; }
.vs-card li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 13.5px; line-height: 1.75; }
.vs-card li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.vs-old { filter: saturate(.55); }
.vs-old .vs-tag { color: #93aec0; border: 1px solid rgba(147,174,192,.4); background: rgba(147,174,192,.08); }
.vs-old li { color: #8aa4b4; }
.vs-old li::before { content: "✕"; color: #d84848; }
.vs-new {
  border-color: rgba(88,240,170,.4);
  background: linear-gradient(165deg, rgba(6,182,212,.10), rgba(255,255,255,.04) 55%);
  box-shadow: 0 14px 44px rgba(6,182,212,.14), inset 0 1px 0 rgba(255,255,255,.1);
}
.vs-new:hover { transform: translateY(-5px); border-color: rgba(88,240,170,.7); box-shadow: 0 22px 54px rgba(6,182,212,.22); }
.vs-new .vs-tag { color: #8ff0c8; border: 1px solid rgba(88,240,170,.5); background: rgba(46,184,92,.12); }
.vs-new li { color: #d6f2f8; }
.vs-new li::before { content: "✓"; color: #5ee7f2; }
.vs-new li b { color: #fff; }

@media (max-width: 860px) {
  .stat-bar { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; padding: 24px 16px; }
  .stat-bar .stat:nth-child(3)::before { display: none; }
  .stat-bar .sv { font-size: 34px; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-old { order: 2; }
  .vs-new { order: 1; }
}

/* ---- 全站顶部阅读进度条 ---- */
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 90; pointer-events: none; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b) 55%, #7ef0fa);
  box-shadow: 0 0 12px rgba(6, 182, 212, .55);
  transition: width .08s linear;
}

/* ---- 全站断网提示条 ---- */
.net-offline {
  position: fixed; top: calc(var(--nav-h) + 10px); left: 50%;
  transform: translate(-50%, -12px);
  z-index: 95; pointer-events: none;
  font-size: 13px; font-weight: 700; color: #7a4a00; white-space: nowrap;
  background: linear-gradient(135deg, #ffe9b8, #ffd98a);
  border: 1px solid #f0c14b; border-radius: 30px; padding: 9px 22px;
  box-shadow: 0 10px 28px rgba(120, 80, 0, .28);
  opacity: 0; transition: opacity .3s, transform .3s;
}
.net-offline.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- FAQ 页实时搜索 ---- */
.faq-search { position: relative; max-width: 520px; margin: 0 auto 38px; }
.faq-search input {
  width: 100%; padding: 14px 46px 14px 20px;
  font-size: 14.5px; font-family: inherit; color: #eaf7fc;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(125, 232, 245, .3); border-radius: 13px;
  outline: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.faq-search input::placeholder { color: #6f95a5; }
.faq-search input:focus {
  border-color: rgba(125, 232, 245, .65); background: rgba(255, 255, 255, .09);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, .14);
}
.faq-search .fs-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(125, 232, 245, .12); color: #8deef7; font-size: 14px; line-height: 1;
  display: none; align-items: center; justify-content: center;
}
.faq-search.has-text .fs-clear { display: flex; }
.faq-search .fs-clear:hover { background: rgba(125, 232, 245, .26); }
.faq-empty {
  display: none; text-align: center; padding: 34px 20px; margin-bottom: 20px;
  color: #a8c8d6; font-size: 14px; line-height: 2;
  border: 1px dashed rgba(125, 232, 245, .3); border-radius: 14px;
  background: rgba(6, 182, 212, .05);
}
.faq-empty a { color: #8deef7; font-weight: 700; }
.faq-empty a:hover { text-decoration: underline; }

/* ---- 自定义滚动条（深色科技风） ---- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(4, 17, 31, .5); }
::-webkit-scrollbar-thumb { background: rgba(6, 182, 212, .45); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(6, 182, 212, .72); }
::-webkit-scrollbar-corner { background: transparent; }
html { scrollbar-color: rgba(6, 182, 212, .5) rgba(4, 17, 31, .6); scrollbar-width: thin; }

/* ============ 键盘焦点可见性（Tab 导航友好，鼠标点击不触发） ============ */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-a);
  outline-offset: 2px;
  border-radius: 4px;
}
