/* ==========================================================================
   武汉曜岩信息科技有限公司 — 官网设计系统
   风格：科技蓝 · 专业稳重 | 零外部依赖 | 参考宽度 1200px
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌深蓝 */
  --navy-950: #04142F;
  --navy-900: #062045;
  --navy-800: #0A2C5E;
  --navy-700: #0F3B7D;
  /* 品牌亮蓝 */
  --blue-700: #1250C4;
  --blue-600: #1A63E8;
  --blue-500: #2E7BFF;
  --blue-300: #7FB0FF;
  --blue-100: #E6EFFE;
  --blue-50: #F4F8FF;
  /* 点缀 */
  --cyan-500: #12B8D6;
  --cyan-300: #6FE0F0;

  /* 中性 */
  --ink-900: #0C1A2E;
  --ink-800: #17273F;
  --ink-600: #4B5C74;
  --ink-500: #6B7C93;
  --ink-400: #93A2B5;
  --ink-300: #C3CDDB;
  --line: #E4EBF5;
  --line-soft: #EFF4FA;
  --bg: #FFFFFF;
  --bg-soft: #F6F9FE;
  --bg-mute: #EDF3FC;

  /* 语义 */
  --ok: #12A150;
  --warn: #D98A00;
  --danger: #E5484D;
  --ok-bg: #E9F8EF;
  --warn-bg: #FEF4E2;
  --danger-bg: #FDECEC;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(9, 30, 66, .06);
  --sh-sm: 0 2px 8px rgba(9, 30, 66, .06), 0 1px 2px rgba(9, 30, 66, .04);
  --sh-md: 0 12px 28px -8px rgba(9, 30, 66, .14), 0 4px 12px rgba(9, 30, 66, .05);
  --sh-lg: 0 28px 60px -18px rgba(9, 30, 66, .24), 0 8px 20px rgba(9, 30, 66, .06);
  --sh-blue: 0 14px 34px -12px rgba(26, 99, 232, .5);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  /* 布局 */
  --maxw: 1200px;
  --nav-h: 72px;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", sans-serif;
  --font-num: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, Menlo, monospace;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
button { font-family: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--blue-100); color: var(--navy-800); }

/* ---------- 3. 排版 ---------- */
.display {
  font-size: clamp(2.1rem, 4.6vw, 3.65rem);
  line-height: 1.14;
  letter-spacing: -.025em;
  font-weight: 800;
}
.h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: -.02em;
}
.h3 { font-size: clamp(1.1rem, 1.6vw, 1.32rem); }

/* 标题多行时自动平衡断行，避免末行孤字 */
.display, .h2, .section__title, .pagehead h1 { text-wrap: balance; }
.lead {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.85;
  color: var(--ink-600);
}
.muted { color: var(--ink-500); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}
.eyebrow--dark {
  background: rgba(127, 176, 255, .16);
  color: var(--blue-300);
}
.eyebrow--dark::before { background: var(--cyan-300); }

/* ---------- 4. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 880px; }

.section { padding: clamp(64px, 8vw, 108px) 0; }
.section--soft { background: var(--bg-soft); }
.section--mute { background: var(--bg-mute); }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
/* 联系页：压缩上内边距，让电话/邮箱尽快进入首屏 */
.section--contact { padding-top: clamp(40px, 4.2vw, 58px); }
.section--dark {
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(46, 123, 255, .3), transparent 68%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 62%, #0B2A57 100%);
  color: rgba(255, 255, 255, .78);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__desc { color: rgba(255, 255, 255, .68); }

.section__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 4.4vw, 60px);
}
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head .eyebrow { margin-bottom: 18px; }
.section__title { margin-bottom: 16px; }
.section__desc { font-size: 1.05rem; line-height: 1.85; color: var(--ink-600); }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s, background .22s, border-color .22s, color .22s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -14px rgba(26, 99, 232, .62);
}

.btn--ghost {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--line);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover {
  color: var(--blue-700);
  border-color: var(--blue-300);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn--outline-light {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { color: var(--blue-700); transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn--lg { padding: 15px 32px; font-size: 1.02rem; }
.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .95rem;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .24s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. 顶部导航 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 22px -12px rgba(9, 30, 66, .22);
}
.header--solid {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 22px -12px rgba(9, 30, 66, .22);
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__logo { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.18; }
.brand__name {
  font-size: 1.03rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  transition: color .3s;
}
.brand__sub {
  font-size: .64rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
  transition: color .3s;
}
.header.is-scrolled .brand__name,
.header--solid .brand__name { color: var(--ink-900); }
.header.is-scrolled .brand__sub,
.header--solid .brand__sub { color: var(--ink-400); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-full);
  font-size: .94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav__link.is-active { color: #fff; font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--cyan-300);
  transform: translateX(-50%);
}
.header.is-scrolled .nav__link,
.header--solid .nav__link { color: var(--ink-600); }
.header.is-scrolled .nav__link:hover,
.header--solid .nav__link:hover { color: var(--blue-700); background: var(--blue-50); }
.header.is-scrolled .nav__link.is-active,
.header--solid .nav__link.is-active { color: var(--blue-700); }
.header.is-scrolled .nav__link.is-active::after,
.header--solid .nav__link.is-active::after { background: var(--blue-500); }

.header__cta { flex: none; margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.header.is-scrolled .nav-toggle,
.header--solid .nav-toggle { border-color: var(--line); background: #fff; }
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .28s, opacity .28s, background .3s;
}
.header.is-scrolled .nav-toggle span,
.header--solid .nav-toggle span { background: var(--ink-800); }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(56px, 7vw, 96px)) 0 clamp(64px, 7vw, 104px);
  overflow: hidden;
  background: linear-gradient(168deg, var(--navy-950) 0%, var(--navy-800) 52%, #0D3168 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 88% 76% at 50% 30%, #000 24%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 88% 76% at 50% 30%, #000 24%, transparent 76%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--a {
  width: 620px; height: 620px;
  top: -240px; right: -140px;
  background: radial-gradient(circle, rgba(46, 123, 255, .55), transparent 66%);
}
.hero__glow--b {
  width: 520px; height: 520px;
  bottom: -300px; left: -160px;
  background: radial-gradient(circle, rgba(18, 184, 214, .3), transparent 68%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(36px, 4.5vw, 64px);
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero__title { color: #fff; margin: 22px 0 20px; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #7FE3FF, #7FB0FF 52%, #C9DEFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc {
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, .74);
  max-width: 560px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero__note {
  margin-top: 20px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__note svg { width: 15px; height: 15px; flex: none; }

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero__tag {
  padding: 6px 13px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  font-size: .8rem;
  color: rgba(255, 255, 255, .76);
}

/* Hero 右侧：诊断预览卡 */
.hero__panel {
  position: relative;
  padding: 26px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .6);
}
.hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.hero__panel-title {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
}
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 0 0 rgba(111, 224, 240, .7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 224, 240, .6); }
  70% { box-shadow: 0 0 0 9px rgba(111, 224, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 224, 240, 0); }
}
.hero__panel-badge {
  font-size: .72rem;
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: rgba(18, 184, 214, .16);
  color: var(--cyan-300);
  font-weight: 600;
}
.hero__score {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.hero__score-ring { position: relative; width: 104px; height: 104px; flex: none; }
.hero__score-num {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff;
}
.hero__score-num b {
  font-family: var(--font-num);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
}
.hero__score-num span { font-size: .67rem; color: rgba(255, 255, 255, .55); margin-top: 4px; }
.hero__score-text h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.hero__score-text p { font-size: .82rem; color: rgba(255, 255, 255, .6); line-height: 1.65; }

.hero__bars { display: grid; gap: 13px; }
.hero__bar-row { display: grid; gap: 6px; }
.hero__bar-top {
  display: flex; justify-content: space-between;
  gap: 10px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
}
.hero__bar-top > span:first-child { flex: 1; min-width: 0; }
.hero__bar-top b { flex: none; font-family: var(--font-num); color: #fff; font-weight: 600; font-size: .82rem; }
.hero__bar-track {
  height: 5px; border-radius: 3px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.hero__bar-fill {
  display: block;
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan-300), var(--blue-300));
  width: 0;
  transition: width 1.1s cubic-bezier(.2, .7, .3, 1);
}
.hero__bar-fill.is-low { background: linear-gradient(90deg, #FFB020, #FF7A45); }

.hero__float {
  position: absolute;
  left: -30px; bottom: -26px;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 17px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-lg);
  animation: floaty 5.4s ease-in-out infinite;
}
.hero__float-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--ok-bg); color: var(--ok);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.hero__float-icon svg { width: 18px; height: 18px; }
.hero__float b { display: block; font-size: .85rem; color: var(--ink-900); line-height: 1.3; }
.hero__float span { font-size: .72rem; color: var(--ink-400); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ---------- 8. 数据条 ---------- */
.stats {
  position: relative;
  margin-top: -46px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.stat {
  padding: 30px 26px;
  border-right: 1px solid var(--line-soft);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-num);
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__num small { font-size: .5em; font-weight: 600; margin-left: 2px; }
.stat__label { font-size: .86rem; color: var(--ink-500); margin-top: 8px; }

/* ---------- 9. 通用卡片 ---------- */
.card {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-300);
  box-shadow: var(--sh-md);
}
.card__icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600);
  margin-bottom: 18px;
}
.card__icon svg { width: 23px; height: 23px; }
.card__title { font-size: 1.09rem; margin-bottom: 10px; }
.card__text { font-size: .93rem; line-height: 1.8; color: var(--ink-600); }
.card__list { margin-top: 16px; display: grid; gap: 9px; }
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .89rem;
  color: var(--ink-600);
  line-height: 1.7;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--blue-500);
  border-bottom: 2px solid var(--blue-500);
  transform: rotate(-45deg);
}
.card--dark {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .13);
}
.card--dark:hover { border-color: rgba(127, 176, 255, .5); background: rgba(255, 255, 255, .08); }
.card--dark .card__title { color: #fff; }
.card--dark .card__text { color: rgba(255, 255, 255, .68); }
.card--dark .card__icon { background: rgba(46, 123, 255, .18); color: var(--blue-300); }

/* 序号卡（痛点） */
.pain { position: relative; padding-left: 0; }
.pain__idx {
  font-family: var(--font-num);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue-500);
  opacity: .7;
}

/* ---------- 10. 工作闭环 ---------- */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.flow__line {
  position: absolute;
  top: 33px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.flow__item { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.flow__num {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--blue-700);
  background: #fff;
  border: 2px solid var(--blue-100);
  box-shadow: 0 8px 20px -8px rgba(26, 99, 232, .3);
}
.flow__title { font-size: 1.06rem; margin-bottom: 9px; }
.flow__text { font-size: .9rem; color: var(--ink-600); line-height: 1.78; }

/* ---------- 11. 对比表 ---------- */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-sm);
}
.compare__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  border-bottom: 1px solid var(--line-soft);
}
.compare__row:last-child { border-bottom: 0; }
.compare__cell {
  padding: 17px 20px;
  font-size: .92rem;
  line-height: 1.7;
  border-right: 1px solid var(--line-soft);
}
.compare__cell:last-child { border-right: 0; }
.compare__row--head { background: var(--bg-soft); }
.compare__row--head .compare__cell {
  font-weight: 700;
  color: var(--ink-900);
  font-size: .9rem;
}
.compare__row--head .compare__cell:nth-child(2) { color: var(--ink-500); }
.compare__row--head .compare__cell:nth-child(3) { color: var(--blue-700); }
.compare__cell--label { font-weight: 600; color: var(--ink-800); }
.compare__cell--before { color: var(--ink-500); }
.compare__cell--after { color: var(--ink-800); background: rgba(46, 123, 255, .035); font-weight: 500; }

/* ---------- 12. CTA 横幅 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.4vw, 68px) clamp(28px, 4vw, 56px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(46, 123, 255, .42), transparent 66%),
    linear-gradient(140deg, var(--navy-900), var(--navy-700) 78%);
  box-shadow: var(--sh-lg);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 90% at 80% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 80% 20%, #000, transparent 72%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .7); font-size: 1rem; line-height: 1.8; }

/* ---------- 13. 表单 ---------- */
.field { display: grid; gap: 8px; }
.field__label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-800);
}
.field__label .req { color: var(--danger); margin-left: 3px; }
.field__hint { font-size: .8rem; color: var(--ink-400); }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3.5px rgba(46, 123, 255, .14);
}
.textarea { resize: vertical; min-height: 118px; line-height: 1.7; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7C93' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.input--lg { padding: 16px 20px; font-size: 1.02rem; border-radius: var(--r-lg); }

.inline-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.inline-form .input { flex: 1; min-width: 0; }

.form-note {
  font-size: .82rem;
  color: var(--ink-400);
  line-height: 1.7;
  margin-top: 14px;
}
.form-note a { text-decoration: underline; text-underline-offset: 3px; }

.field-error { font-size: .8rem; color: var(--danger); display: none; }

/* 快捷诊断表单：空输入时的可见反馈
   原先只调 input.focus()，页面上没有任何变化，用户看到的就是"点了没反应"。
   配色针对深色 .cta-band 背景，故用亮红系而非 --danger。 */
.inline-form.is-error .input {
  border-color: #FF9A9A;
  box-shadow: 0 0 0 3.5px rgba(255, 120, 120, .22);
  animation: yy-shake .4s cubic-bezier(.36, .07, .19, .97);
}
.inline-form__err {
  display: none;
  margin-top: 12px;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.6;
  color: #FFC9C9;
}
.inline-form__err.is-show { display: block; }
@keyframes yy-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  /* 关掉抖动，仅保留变色与提示文字（文字本身已足够传达） */
  .inline-form.is-error .input { animation: none; }
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--danger); box-shadow: 0 0 0 3.5px rgba(229, 72, 77, .12); }
.field.has-error .field-error { display: block; }

.form-success {
  display: none;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--ok-bg);
  border: 1px solid rgba(18, 161, 80, .26);
  color: #0B6B36;
  font-size: .92rem;
  line-height: 1.7;
  margin-top: 16px;
}
.form-success.is-show { display: block; }

/* ---------- 14. 关于 / 联系 版式 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.4vw, 64px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.18fr .82fr; }
/* 顶部对齐：左右两栏高度差大时（如联系页的矮信息卡 vs 高表单），
   center 会把矮的一栏整体推下去，造成首屏大片空白 */
.split--top { align-items: start; }

.facts { display: grid; gap: 14px; }
.fact {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
}
.fact:hover { border-color: var(--blue-300); box-shadow: var(--sh-sm); }
.fact__icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
}
.fact__icon svg { width: 20px; height: 20px; }
.fact__label { display: block; font-size: .8rem; color: var(--ink-400); line-height: 1.5; }
.fact__value { display: block; font-size: .96rem; font-weight: 600; color: var(--ink-900); line-height: 1.6; margin-top: 2px; }

.contact-card {
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.contact-item {
  display: flex;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item__icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__label { display: block; font-size: .82rem; color: var(--ink-400); margin-bottom: 3px; }
.contact-item__value { display: block; font-size: 1rem; font-weight: 600; color: var(--ink-900); line-height: 1.6; word-break: break-all; }
.contact-item__value--ph { color: var(--ink-400); font-weight: 500; font-style: italic; }
.contact-item__value[href] { display: block; color: inherit; }
.contact-item__value[href]:hover { color: var(--blue-600); }
.contact-item__hint { display: block; margin-top: 3px; font-size: .76rem; font-weight: 400; line-height: 1.6; color: var(--ink-400); }

/* ---------- 15. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq__item.is-open { border-color: var(--blue-300); box-shadow: var(--sh-sm); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  font-family: inherit;
  line-height: 1.6;
}
.faq__q svg {
  width: 19px; height: 19px; flex: none;
  color: var(--blue-600);
  transition: transform .3s;
}
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .34s ease;
}
.faq__a-inner {
  padding: 0 22px 21px;
  font-size: .93rem;
  line-height: 1.85;
  color: var(--ink-600);
}

/* ---------- 16. 页脚 ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .58);
  padding: clamp(48px, 5vw, 68px) 0 0;
  font-size: .89rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255, 255, 255, .42); }
.footer__desc { line-height: 1.85; font-size: .87rem; max-width: 330px; }
.footer__col h4 {
  color: #fff;
  font-size: .93rem;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a { color: rgba(255, 255, 255, .58); font-size: .88rem; }
.footer__links a:hover { color: #fff; }
.footer__links span { font-size: .88rem; line-height: 1.75; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0 26px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .42);
}
.footer__bottom a { color: rgba(255, 255, 255, .42); }
.footer__bottom a:hover { color: #fff; }
/* 公安联网备案：公安部国徽图标 + 备案号作为整体。
   🔴 图标是**官方素材**（beian.mps.gov.cn/img/ghs.png 的 20×20 原件，量化压缩后自托管），
   不是手绘等效图 —— 早期自绘的盾牌+五角星与官方国徽不符，已替换。 */
.footer__bottom .beian-police { display: inline-flex; align-items: center; gap: 5px; }
.footer__bottom .beian-police__icon { flex: none; display: block; width: 16px; height: 16px; }

/* ---------- 17. 页头（内页） ---------- */
.pagehead {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(48px, 5.6vw, 78px)) 0 clamp(44px, 5vw, 66px);
  background: linear-gradient(165deg, var(--navy-950), var(--navy-800) 70%, #0D3168);
}
.pagehead__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 100% at 30% 10%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 30% 10%, #000, transparent 76%);
}
.pagehead__inner { position: relative; max-width: 780px; }
.pagehead h1 { color: #fff; margin: 18px 0 16px; }
.pagehead p { color: rgba(255, 255, 255, .7); font-size: 1.04rem; line-height: 1.85; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .48);
  margin-bottom: 4px;
}
.breadcrumb a { color: rgba(255, 255, 255, .68); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255, 255, 255, .32); }

/* ---------- 18. 滚动入场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s cubic-bezier(.2, .7, .3, 1), transform .72s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.reveal[data-d="5"] { transition-delay: .45s; }
.reveal[data-d="6"] { transition-delay: .54s; }

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

/* ---------- 19. 诊断页专用 ---------- */
.diag-layout {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 30px;
  align-items: start;
}
.diag-side {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  gap: 18px;
}
.diag-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.diag-card--accent {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  border-color: transparent;
  color: rgba(255, 255, 255, .74);
}
.diag-card--accent h3 { color: #fff; font-size: 1.04rem; margin-bottom: 10px; }
.diag-card--accent p { font-size: .89rem; line-height: 1.8; }
.diag-card__title {
  font-size: 1.06rem;
  margin-bottom: 6px;
}
.diag-card__desc { font-size: .89rem; color: var(--ink-500); line-height: 1.75; margin-bottom: 20px; }

.dim-list { display: grid; gap: 13px; margin-top: 18px; }
.dim-item { display: flex; gap: 12px; align-items: flex-start; }
.dim-item__ico {
  width: 34px; height: 34px; flex: none;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
}
.dim-item__ico svg { width: 17px; height: 17px; }
.dim-item__t { display: block; font-size: .9rem; font-weight: 600; color: var(--ink-900); line-height: 1.5; }
.dim-item__d { display: block; font-size: .82rem; color: var(--ink-500); line-height: 1.65; margin-top: 3px; }

.fact > span:last-child,
.contact-item > span:last-child,
.dim-item > span:last-child,
.plat > span:last-child { flex: 1; min-width: 0; }

.diag-card--accent .dim-item__ico { background: rgba(127, 176, 255, .16); color: var(--blue-300); }
.diag-card--accent .dim-item__t { color: #fff; }
.diag-card--accent .dim-item__d { color: rgba(255, 255, 255, .6); }

.diag-form { display: grid; gap: 18px; }
.diag-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 扫描加载态 */
.scan {
  display: none;
  padding: 44px 30px;
  text-align: center;
}
.scan.is-show { display: block; }
.scan__ring {
  width: 116px; height: 116px;
  margin: 0 auto 28px;
  position: relative;
}
.scan__ring svg { width: 100%; height: 100%; animation: spin 2.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scan__pulse {
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 123, 255, .22), transparent 70%);
  animation: pulse 1.8s ease-in-out infinite;
}
.scan__title { font-size: 1.12rem; margin-bottom: 8px; }
.scan__sub { font-size: .9rem; color: var(--ink-500); margin-bottom: 30px; }
.scan__steps {
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  text-align: left;
}
.scan__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: .9rem;
  color: var(--ink-400);
  transition: all .35s;
}
.scan__step.is-active {
  border-color: var(--blue-300);
  background: var(--blue-50);
  color: var(--ink-900);
  box-shadow: 0 6px 18px -10px rgba(26, 99, 232, .4);
}
.scan__step.is-done { border-color: rgba(18, 161, 80, .3); background: var(--ok-bg); color: var(--ink-800); }
.scan__step-ico {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  border: 2px solid var(--ink-300);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.scan__step-ico svg { width: 12px; height: 12px; opacity: 0; color: #fff; transition: opacity .3s; }
.scan__step.is-active .scan__step-ico { border-color: var(--blue-500); border-top-color: transparent; animation: spin .8s linear infinite; }
.scan__step.is-done .scan__step-ico { border-color: var(--ok); background: var(--ok); }
.scan__step.is-done .scan__step-ico svg { opacity: 1; }
.scan__bar {
  max-width: 480px;
  height: 5px;
  margin: 26px auto 0;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.scan__bar i {
  display: block; height: 100%; width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
  transition: width .5s ease;
}

/* 报告 */
.report { display: none; }
.report.is-show { display: block; animation: riseIn .6s cubic-bezier(.2, .7, .3, 1); }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.report__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(46, 123, 255, .34), transparent 66%),
    linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, .72);
  margin-bottom: 20px;
}
.score-ring { position: relative; width: 168px; height: 168px; flex: none; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.score-ring__num {
  font-family: var(--font-num);
  font-size: 3.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
}
.score-ring__unit { font-size: .72rem; color: rgba(255, 255, 255, .55); letter-spacing: .18em; margin-top: 7px; }
.report__name { font-size: 1.28rem; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.report__meta { font-size: .86rem; color: rgba(255, 255, 255, .56); margin-bottom: 16px; }
.report__basis {
  font-size: .8rem;
  color: rgba(255, 255, 255, .52);
  line-height: 1.55;
  margin: -8px 0 16px;
}
.report__verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--r-full);
  font-size: .86rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
}
.report__summary {
  margin-top: 16px;
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .68);
  max-width: 480px;
}

.report__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; margin-bottom: 20px; }
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.panel__title { font-size: 1rem; display: flex; align-items: center; gap: 9px; }
.panel__title svg { width: 18px; height: 18px; color: var(--blue-600); }
.panel__hint { font-size: .78rem; color: var(--ink-400); }

.metrics { display: grid; gap: 17px; }
.metric__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.metric__name { flex: 1; min-width: 0; font-size: .9rem; font-weight: 500; color: var(--ink-800); }
.metric__name .muted { white-space: nowrap; }
.metric__val { flex: none; white-space: nowrap; font-family: var(--font-num); font-size: .92rem; font-weight: 700; }
.metric__val--good { color: var(--ok); }
.metric__val--mid { color: var(--warn); }
.metric__val--bad { color: var(--danger); }
.metric__track {
  height: 8px;
  border-radius: 4px;
  background: var(--bg-mute);
  overflow: hidden;
}
.metric__fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1s cubic-bezier(.2, .7, .3, 1);
}
.metric__fill--good { background: linear-gradient(90deg, #2BB673, #12A150); }
.metric__fill--mid { background: linear-gradient(90deg, #F5C042, #D98A00); }
.metric__fill--bad { background: linear-gradient(90deg, #F2727A, #E5484D); }
.metric__note { font-size: .78rem; color: var(--ink-400); margin-top: 7px; line-height: 1.6; }

/* AI 平台收录矩阵 */
.plat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.plat {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.plat__logo {
  width: 32px; height: 32px; flex: none;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-sans);
}
.plat__name { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-800); }
.plat__state { display: block; font-size: .74rem; margin-top: 2px; }
.plat__state--ok { color: var(--ok); }
.plat__state--warn { color: var(--warn); }
.plat__state--bad { color: var(--danger); }

/* 问题清单 */
.issues { display: grid; gap: 12px; }
.issue {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 17px 19px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  border-left-width: 4px;
}
.issue--p0 { border-left-color: var(--danger); background: linear-gradient(90deg, rgba(229, 72, 77, .05), transparent 42%); }
.issue--p1 { border-left-color: var(--warn); background: linear-gradient(90deg, rgba(217, 138, 0, .05), transparent 42%); }
.issue--p2 { border-left-color: var(--blue-500); background: linear-gradient(90deg, rgba(46, 123, 255, .05), transparent 42%); }
.issue__tag {
  align-self: start;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-num);
  letter-spacing: .04em;
  white-space: nowrap;
}
.issue--p0 .issue__tag { background: var(--danger-bg); color: var(--danger); }
.issue--p1 .issue__tag { background: var(--warn-bg); color: var(--warn); }
.issue--p2 .issue__tag { background: var(--blue-100); color: var(--blue-700); }
.issue__title { font-size: .95rem; font-weight: 600; color: var(--ink-900); line-height: 1.6; margin-bottom: 5px; }
.issue__desc { font-size: .87rem; color: var(--ink-600); line-height: 1.75; }
.issue__fix {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  font-size: .85rem;
  color: var(--ink-600);
  line-height: 1.75;
}
.issue__fix b { color: var(--blue-700); font-weight: 600; }

/* 报告底部留资 */
.report__cta {
  margin-top: 20px;
  padding: 30px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(560px 220px at 8% 0%, rgba(46, 123, 255, .38), transparent 66%),
    linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, .72);
}
.report__cta h3 { color: #fff; font-size: 1.18rem; margin-bottom: 10px; }
.report__cta > p { font-size: .92rem; line-height: 1.8; max-width: 620px; margin-bottom: 22px; }
.report__cta .input,
.report__cta .select { background: rgba(255, 255, 255, .96); border-color: transparent; }
.report__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.report__form .field--full { grid-column: 1 / -1; }
.report__cta .field__label { color: rgba(255, 255, 255, .86); }

.disclaimer {
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: .82rem;
  line-height: 1.75;
  color: var(--ink-500);
}
.disclaimer b { color: var(--ink-800); }

/* ---------- 19b. 免费速诊 / 留资解锁 ---------- */

.panel--free { margin-bottom: 20px; }
.panel--free .panel__hint { color: var(--blue-600); font-weight: 500; }

/* 缺陷统计条 */
.teaser-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.tstat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 17px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.tstat--alert { background: var(--danger-bg); border-color: rgba(229, 72, 77, .22); }
.tstat__num {
  font-family: var(--font-num);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-900);
}
.tstat--alert .tstat__num { color: var(--danger); }
.tstat__label { font-size: .82rem; color: var(--ink-500); }

/* 被锁定的优化建议 */
.issue__fix--locked {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--bg-mute);
  border-top: 0;
  color: var(--ink-400);
  font-size: .83rem;
}
.issue__fix--locked b { color: var(--ink-600); }

/* 解锁门槛 */
.gate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
.gate.is-done { display: none; }

.gate__teaser {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 480px;
}
.gate__blur {
  display: grid;
  gap: 20px;
  filter: blur(4px);
  transform: scale(.985);
  opacity: .95;
  pointer-events: none;
  user-select: none;
}
.gate__teaser::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 249, 254, 0) 0%, rgba(246, 249, 254, .42) 52%, rgba(246, 249, 254, .92) 100%);
}

/* 骨架占位条 */
.sk {
  display: block;
  border-radius: 4px;
  background: linear-gradient(90deg, #E1E8F1 0%, #F1F5FA 50%, #E1E8F1 100%);
  background-size: 220% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .sk { animation: skShimmer 1.9s linear infinite; }
}
@keyframes skShimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

/* 解锁面板 */
.gate__panel {
  align-self: start;
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-md);
}
.gate__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 11px;
  margin-bottom: 16px;
  border-radius: var(--r-full);
  background: var(--ok-bg);
  color: var(--ok);
  font-size: .78rem;
  font-weight: 600;
}
.gate__badge svg { width: 14px; height: 14px; }
.gate__title { font-size: 1.3rem; color: var(--ink-900); line-height: 1.45; margin-bottom: 10px; }
.gate__desc { font-size: .9rem; color: var(--ink-500); line-height: 1.75; margin-bottom: 14px; }
.gate__desc b { font-family: var(--font-num); font-size: 1.06rem; color: var(--danger); }
.gate__list { display: grid; gap: 9px; list-style: none; }
.gate__list li {
  position: relative;
  padding-left: 20px;
  font-size: .86rem;
  color: var(--ink-600);
  line-height: 1.7;
}
.gate__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}
.gate__privacy {
  margin-top: 15px;
  font-size: .76rem;
  color: var(--ink-400);
  line-height: 1.65;
}

/* ---------- 19c. 证据驱动诊断：事实明细 / 核查明细 / 失败态 ---------- */

/* 扫描用时。诚实反馈：服务端确实在逐个抓取，让访客知道等待是有效等待 */
.scan__elapsed {
  margin-top: 18px;
  font-size: .82rem;
  color: var(--ink-500);
  line-height: 1.7;
  text-align: center;
}
.scan__elapsed b { font-family: var(--font-num); font-size: .95rem; color: var(--blue-600); }

/* 核查失败：如实报错 + 重试，坚决不给一个没有依据的分数 */
.diag-fail {
  display: none;
  max-width: 620px;
  margin: 0 auto;
  padding: 34px 30px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(229, 72, 77, .22);
  background: #fff;
  box-shadow: var(--sh-md);
  text-align: center;
}
.diag-fail.is-show { display: block; animation: riseIn .5s cubic-bezier(.2, .7, .3, 1); }
.diag-fail__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 16px;
  border-radius: 50%;
  background: var(--danger-bg);
  color: var(--danger);
}
.diag-fail__ico svg { width: 26px; height: 26px; }
.diag-fail__title { font-size: 1.14rem; color: var(--ink-900); margin-bottom: 10px; }
.diag-fail__msg { font-size: .92rem; color: var(--ink-600); line-height: 1.8; }
.diag-fail__why {
  margin-top: 14px; padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  font-size: .82rem; color: var(--ink-500); line-height: 1.75;
}
.diag-fail__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* 额度用完的引导卡片。骨架与 .diag-fail 共用，语义却完全不同：
   上面那张是「我们没跑成，你可以重试」，这张是「规则如此，你也没做错」。
   所以换成中性蓝 + 微信/电话出口，不用红色警示 —— 把规则渲染成报错，
   访客只会以为网站坏了然后关掉页面。 */
.diag-fail--info { border-color: rgba(46, 123, 255, .22); }
.diag-fail--info .diag-fail__ico { background: var(--blue-50); color: var(--blue-600); }
.diag-fail--info .wx-cta { text-align: left; }

/* 内部口令生效时的角标（演示模式）。默认 hidden，服务端确认后才显示。 */
.staff-flag {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: fit-content; max-width: 100%;
  margin: 0 auto 18px; padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(217, 138, 0, .28);
  background: var(--warn-bg);
  color: #8A5A00;
  font-size: .82rem; line-height: 1.5; text-align: center;
}
.staff-flag[hidden] { display: none; }
.staff-flag svg { width: 15px; height: 15px; flex: none; }

/* 面板导语 */
.panel__lead { margin-top: 16px; font-size: .86rem; color: var(--ink-500); line-height: 1.8; }

/* 本次核查到的原始事实 —— 让「分数不是随便打的」这句话可被逐条验证 */
.facts { display: grid; gap: 0; margin-top: 4px; }
.fact-row {
  display: grid;
  grid-template-columns: 52px 118px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: .85rem;
  line-height: 1.7;
}
.fact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-row__g {
  padding: 1px 0;
  border-radius: var(--r-full);
  background: var(--bg-mute);
  color: var(--ink-500);
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.fact-row__k { color: var(--ink-500); }
.fact-row__v { color: var(--ink-800); font-weight: 500; min-width: 0; word-break: break-word; }
.fact-row__v::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--ink-300);
  vertical-align: middle;
}
.fact-row--ok .fact-row__v::before { background: var(--ok); }
.fact-row--warn .fact-row__v::before { background: var(--warn); }
.fact-row--bad .fact-row__v::before { background: var(--danger); }

.tstat__slash { font-size: 1.05rem; font-weight: 400; color: var(--ink-300); margin: 0 1px; }

/* 问题条目里的核查证据与出处 */
.issue__meta {
  font-family: var(--font-num);
  font-size: .76rem;
  color: var(--ink-500);
  margin-bottom: 7px;
}
.issue__ev {
  margin: 8px 0 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border-left: 3px solid var(--blue-300);
  font-size: .82rem;
  color: var(--ink-600);
  line-height: 1.75;
  word-break: break-word;
}
.issue__ev b {
  display: block;
  margin-bottom: 3px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue-700);
}

/* 维度解读的证据列表 */
.evlist { display: grid; gap: 6px; margin-top: 10px; list-style: none; }
.evlist li {
  position: relative;
  padding-left: 15px;
  font-size: .8rem;
  color: var(--ink-600);
  line-height: 1.72;
  word-break: break-word;
}
.evlist li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-300);
}
.evlist b { color: var(--ink-800); font-weight: 600; }

/* 逐项核查明细。用原生 <details> 折叠，不依赖任何 JS，也不违反 CSP */
.checks { margin-top: 12px; }
.checks > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: .79rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.checks > summary::-webkit-details-marker { display: none; }
.checks > summary::before {
  content: '';
  width: 0; height: 0;
  border-left: 5px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform .2s;
}
.checks[open] > summary::before { transform: rotate(90deg); }
.checks > summary:hover { background: var(--blue-100); }

.chklist { display: grid; gap: 0; margin-top: 12px; }
.chk {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}
.chk__m { color: var(--ink-300); }
.chk__m svg { display: block; width: 13px; height: 13px; margin-top: 4px; }
.chk--ok .chk__m { color: var(--ok); }
.chk--bad .chk__m { color: var(--danger); }
.chk__b { display: block; min-width: 0; }
.chk__l { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-800); line-height: 1.6; }
.chk__w {
  margin-left: 7px;
  font-family: var(--font-num);
  font-size: .72rem;
  font-weight: 500;
  font-style: normal;
  color: var(--ink-500);
}
.chk__e { display: block; margin-top: 3px; font-size: .81rem; color: var(--ink-600); line-height: 1.72; word-break: break-word; }
.chk--bad .chk__e { color: var(--ink-800); }

/* AI 维度的「推断项」标注 —— 推断与实测必须一眼可辨 */
.infer-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 14px; }
.infer-badge:empty { display: none; }
.infer-badge__tag {
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: var(--warn-bg);
  color: var(--warn);
  font-size: .74rem;
  font-weight: 700;
}
.infer-badge__t { font-size: .8rem; color: var(--ink-500); }

.plat--wide { grid-column: 1 / -1; align-items: flex-start; }
.plat__logo--ok { background: var(--ok-bg); color: var(--ok); }
.plat__logo--bad { background: var(--danger-bg); color: var(--danger); }
.plat__logo svg { width: 14px; height: 14px; }
.plat__body { min-width: 0; }
.plat--wide .plat__state { line-height: 1.68; }

/* 留资表单 */
.lead-form { display: grid; gap: 15px; margin-top: 22px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 110px; gap: 14px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--ink-600);
  line-height: 1.65;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 15px; height: 15px;
  margin-top: 3px;
  accent-color: var(--blue-500);
  cursor: pointer;
}
.consent a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

.form-error {
  display: none;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  background: var(--danger-bg);
  border: 1px solid rgba(229, 72, 77, .24);
  color: var(--danger);
  font-size: .84rem;
  line-height: 1.6;
}
.form-error.is-show { display: block; }

/* 完整报告 */
.report__full { display: none; }
.report__full.is-show { display: block; animation: riseIn .6s cubic-bezier(.2, .7, .3, 1); }
.report__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 19d. 报告分享（只读快照） ---------- */

/* 分享区块刻意做得低调一些：它是辅助动作，不能抢走「留资解锁」和
   「联系顾问」这两条主链路的注意力。 */
.share {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--blue-50);
}
.share__head { display: flex; gap: 14px; align-items: flex-start; }
.share__ico {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-600);
  color: #fff;
}
.share__ico svg { width: 19px; height: 19px; }
.share__txt { min-width: 0; }
.share__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.4;
}
.share__desc { margin: 0; font-size: 13.5px; color: var(--ink-600); line-height: 1.75; }
.share__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.share__meta { font-size: 12.5px; color: var(--ink-500); }
.share__out { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.share__label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-600);
  margin-bottom: 7px;
}
.share__row { display: flex; gap: 8px; }
.share__input {
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
  font-family: var(--font-num);
  font-size: 13px;
}
.share__tip { margin: 9px 0 0; font-size: 12.5px; color: var(--ink-500); }
.share__err {
  margin: 14px 0 0;
  padding: 9px 12px;
  background: var(--danger-bg);
  color: var(--danger);
  border-radius: var(--r-sm);
  font-size: 13px;
}
/* 手机：链接与复制按钮必须纵向排开 —— 横排会把链接输入框挤到无法阅读，
   而客户恰恰要在手机上确认自己复制到的东西是对的。 */
@media (max-width: 640px) {
  .share { padding: 16px; }
  .share__head { gap: 11px; }
  .share__row { flex-direction: column; }
  .share__row .btn { width: 100%; }
}

/* ---------- 19c. 法律条款页 ---------- */
.legal { max-width: 880px; }

.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding: 15px 18px;
  margin-bottom: 26px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: .82rem;
  color: var(--ink-500);
}

.legal h2 {
  margin: 36px 0 12px;
  padding-left: 13px;
  border-left: 3px solid var(--blue-500);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink-900);
}

.legal p {
  margin-bottom: 12px;
  font-size: .9rem;
  line-height: 1.9;
  color: var(--ink-600);
}

.legal strong { color: var(--ink-900); font-weight: 600; }

.legal p.legal__lead {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .94rem;
}

.legal p.legal__note {
  padding: 14px 17px;
  border-radius: var(--r-md);
  background: var(--warn-bg);
  border: 1px solid rgba(217, 138, 0, .22);
  font-size: .85rem;
  line-height: 1.8;
}

.legal__list { display: grid; gap: 10px; margin: 6px 0 14px; padding-left: 0; list-style: none; }

.legal ol.legal__list { counter-reset: lg; }
.legal ol.legal__list li {
  counter-increment: lg;
  position: relative;
  padding-left: 30px;
  font-size: .89rem;
  line-height: 1.85;
  color: var(--ink-600);
}
.legal ol.legal__list li::before {
  content: counter(lg);
  position: absolute;
  left: 0; top: 4px;
  width: 19px; height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: var(--font-num);
  font-size: .7rem;
  font-weight: 700;
}

.legal ul.legal__list li {
  position: relative;
  padding-left: 20px;
  font-size: .89rem;
  line-height: 1.85;
  color: var(--ink-600);
}
.legal ul.legal__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

.legal__scroll { margin: 14px 0 18px; overflow-x: auto; }
.legal__table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: .85rem;
}
.legal__table th {
  padding: 12px 15px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink-800);
}
.legal__table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.75;
  color: var(--ink-600);
  vertical-align: top;
}
.legal__table tr:last-child td { border-bottom: 0; }

.legal__contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 20px;
}
.legal__contact > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.legal__contact-label { font-size: .78rem; color: var(--ink-400); }
.legal__contact-value { font-size: .88rem; font-weight: 600; color: var(--ink-800); line-height: 1.6; }

.legal__back {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 19.5 微信咨询二维码 ---------- */
.wx-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--bg-soft);
}
.wx-cta__qr {
  position: relative;
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line-soft);
}
.wx-cta__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* 图片未上传时的占位层（图片加载成功即隐藏） */
.wx-cta__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  text-align: center;
  font-size: .64rem;
  line-height: 1.4;
  color: var(--ink-400);
  background: repeating-linear-gradient(45deg, #F5F8FD 0 7px, #EBF2FB 7px 14px);
}
.wx-cta__ph b { font-size: .72rem; font-weight: 600; color: var(--ink-500); }
/* 通用：容器标记 is-ready 后隐藏占位层（微信卡与弹窗共用） */
.is-ready .wx-cta__ph { display: none; }

.wx-cta__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.wx-cta__text b { font-size: .94rem; font-weight: 600; color: var(--ink-900); line-height: 1.5; }
.wx-cta__text span { font-size: .82rem; color: var(--ink-500); line-height: 1.65; }

/* 深色区块上的变体 */
.wx-cta--dark {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
}
.wx-cta--dark .wx-cta__qr { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.wx-cta--dark .wx-cta__text b { color: #fff; }
.wx-cta--dark .wx-cta__text span { color: rgba(255, 255, 255, .74); }

/* ---------- 19.6 联系顾问弹窗 ----------
   由 main.js 的 initContactModal() 动态注入到 body，
   所有带 data-contact-modal 的按钮共用这一个实例。 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s ease, visibility .26s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 47, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 452px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -18px rgba(4, 20, 47, .5);
  transform: translateY(16px) scale(.975);
  transition: transform .34s cubic-bezier(.2, .7, .3, 1);
}
.modal.is-open .modal__dialog { transform: none; }

/* 头部 */
.modal__head {
  position: relative;
  padding: 24px 56px 22px 24px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(158deg, var(--navy-900), var(--navy-700));
}
.modal__eyebrow {
  display: block;
  font-family: var(--font-num);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--cyan-300);
}
.modal__title {
  margin: 8px 0 7px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.modal__sub { font-size: .855rem; line-height: 1.7; color: rgba(255, 255, 255, .72); }

.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .25s;
}
.modal__close:hover { background: rgba(255, 255, 255, .26); transform: rotate(90deg); }
.modal__close svg { width: 15px; height: 15px; }

/* 二维码 */
.modal__body { padding: 20px 24px 2px; }
.modal__qrwrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
}
.modal__qr {
  position: relative;
  flex: none;
  width: 126px;
  height: 126px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.modal__qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.modal__qrtxt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.modal__qrtxt b { font-size: .96rem; font-weight: 600; line-height: 1.5; color: var(--ink-900); }
.modal__qrtxt span { font-size: .81rem; line-height: 1.72; color: var(--ink-500); }
.modal__qrtxt em { font-style: normal; font-weight: 600; color: var(--blue-600); }

/* 联系信息 */
.modal__list { display: grid; gap: 1px; margin-top: 14px; }
.modal__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background .2s;
}
a.modal__item:hover { background: var(--blue-50); }
.modal__item svg { width: 18px; height: 18px; flex: none; color: var(--blue-500); }
.modal__item-k { flex: none; width: 62px; font-size: .83rem; color: var(--ink-400); }
.modal__item-v { font-size: .945rem; font-weight: 600; color: var(--ink-900); word-break: break-all; }

/* 底部 */
.modal__foot { margin-top: 12px; padding: 16px 24px 22px; border-top: 1px solid var(--line-soft); }
.modal__foot .btn { width: 100%; }
.modal__note {
  margin-top: 11px;
  font-size: .755rem;
  line-height: 1.64;
  text-align: center;
  color: var(--ink-400);
}
.modal__note a { color: var(--ink-500); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 640px) {
  .modal { padding: 16px; align-items: flex-end; }
  .modal__dialog { max-width: 100%; max-height: calc(100vh - 32px); }
  .modal__head { padding: 20px 52px 18px 20px; }
  .modal__title { font-size: 1.18rem; }
  .modal__body { padding: 18px 20px 2px; }
  .modal__qrwrap { flex-direction: column; gap: 13px; padding: 17px; text-align: center; }
  .modal__qr { width: 144px; height: 144px; }
  .modal__item { padding: 11px 6px; }
  .modal__item-k { width: 58px; font-size: .8rem; }
  .modal__foot { padding: 14px 20px 20px; }
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 52px; }
  .hero__content { max-width: 100%; }
  .hero__panel { max-width: 560px; }
  .hero__float { left: auto; right: 16px; bottom: -20px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .diag-layout { grid-template-columns: 1fr; }
  .diag-side { position: static; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header__cta { display: none; }

  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    padding: 18px 20px 30px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  body.nav-open .nav__link {
    color: var(--ink-800);
    padding: 14px 16px;
    border-radius: var(--r-md);
    font-size: 1rem;
  }
  body.nav-open .nav__link.is-active { color: var(--blue-700); background: var(--blue-50); }
  body.nav-open .nav__link.is-active::after { display: none; }
  body.nav-open .nav__cta-mobile { display: flex; margin-top: 12px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line-soft); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n + 3) { border-bottom: 0; }

  .grid--3, .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
  .flow__line { display: none; }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: 36px; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 28px; }
  .report__head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .report__grid { grid-template-columns: 1fr; }
  .report__form { grid-template-columns: 1fr; }
  .gate { grid-template-columns: 1fr; }
  .gate__teaser { min-height: 0; max-height: 280px; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__cell { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .compare__row--head { display: none; }
}

.nav__cta-mobile { display: none; }

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .header__inner { padding: 0 18px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:nth-child(n + 3) { border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: 0; }
  .flow { grid-template-columns: 1fr; }
  .diag-form__row { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .brand__name { font-size: .96rem; }
  .brand__sub { font-size: .58rem; letter-spacing: .13em; }
  .card { padding: 24px 22px; }
  .range-hint { display: none; }
  .report__head { padding: 22px 20px; gap: 18px; }
  .score-ring, .score-ring svg { width: 142px; height: 142px; }
  .score-ring__num { font-size: 2.5rem; }
  .report__cta { padding: 24px 20px; }
  .teaser-stats { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; gap: 3px; padding: 12px 0; }
  .fact-row__g { justify-self: start; padding: 1px 9px; }
  .fact-row__k { font-size: .78rem; }
  .diag-fail { padding: 26px 20px; }
  .diag-fail__btns { flex-direction: column; }
  .diag-fail__btns .btn { width: 100%; }
  .lead-form__row { grid-template-columns: 1fr; }
  .gate__panel { padding: 24px 20px; }
  .gate__title { font-size: 1.16rem; }
  .report__cta-btns .btn { width: 100%; }
  .legal__contact { grid-template-columns: 1fr; }
  .legal h2 { margin-top: 30px; }
  .wx-cta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .wx-cta__qr { width: 124px; height: 124px; }
}

/* ---------- 21. 工具类 ---------- */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 22. 线索后台（/admin.html） ---------- */
.admin-page { background: var(--bg-soft); min-height: 100vh; }
/* 视图切换靠 hidden 属性，必须压过下面 .admin-login 的 display:flex */
.admin-page [hidden] { display: none !important; }

.admin-top {
  position: sticky; top: 0; z-index: 30;
  background: var(--navy-900); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}
.admin-top__inner {
  max-width: 1180px; margin: 0 auto;
  padding: 13px 24px;
  display: flex; align-items: center; gap: 12px;
}
.admin-top__brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.admin-top__brand svg { width: 24px; height: 24px; flex: none; }
.admin-top__brand b { font-size: .98rem; font-weight: 500; }
.admin-top__sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .2); }
.admin-top__title { font-size: .9rem; color: rgba(255, 255, 255, .66); }
.admin-top__spacer { flex: 1; }

.btn--ghost-light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .2); color: #fff; transform: none; }

.admin-main { max-width: 1180px; margin: 0 auto; padding: 34px 24px 90px; }

/* 登录卡 */
.admin-login { display: flex; justify-content: center; padding: 5vh 0 0; }
.admin-login__card {
  width: 100%; max-width: 430px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px 26px;
  box-shadow: var(--sh-sm);
}
.admin-login__title { margin: 0 0 10px; font-size: 1.3rem; color: var(--ink-900); }
.admin-login__desc { margin: 0 0 24px; font-size: .88rem; line-height: 1.7; color: var(--ink-600); }
.admin-login__desc code {
  padding: 1px 5px; border-radius: 4px;
  background: var(--bg-mute); color: var(--blue-700);
  font-size: .88em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.admin-login__foot {
  margin: 22px 0 0; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: .86rem;
}
.admin-login__foot a { color: var(--blue-600); }
.admin-login__foot a:hover { color: var(--blue-700); }

.admin-check {
  display: flex; align-items: center; gap: 9px;
  margin: 14px 0 20px;
  font-size: .87rem; color: var(--ink-600);
  cursor: pointer; user-select: none;
}
.admin-check input { width: 16px; height: 16px; accent-color: var(--blue-600); cursor: pointer; }

.admin-hint { margin: 14px 0 0; font-size: .86rem; line-height: 1.6; color: var(--ink-600); }
.admin-hint--err { color: var(--danger); }
.admin-hint--ok { color: var(--ok); }

/* 统计卡 */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.admin-stat__num {
  font-size: 1.72rem; font-weight: 500; line-height: 1.15;
  color: var(--navy-900); font-variant-numeric: tabular-nums;
}
.admin-stat__label { margin-top: 5px; font-size: .83rem; color: var(--ink-600); }

/* 工具栏 */
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.admin-search { flex: 1 1 220px; min-width: 0; }
.admin-count { margin: 0 0 10px; font-size: .84rem; color: var(--ink-500); }

/* 表格 */
.admin-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; table-layout: fixed; }
.admin-table th {
  padding: 11px 16px; text-align: left; white-space: nowrap;
  font-size: .79rem; font-weight: 500; color: var(--ink-600);
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
/* 列宽固定分配：否则遇到超长企业名，会把「提交时间」和「复制」按钮挤成两行 */
.admin-table th:nth-child(1) { width: 11%; }
.admin-table th:nth-child(2) { width: 17%; }
.admin-table th:nth-child(3) { width: 24%; }
.admin-table th:nth-child(4) { width: 14%; }
.admin-table th:nth-child(5) { width: 10%; }
.admin-table th:nth-child(6) { width: 24%; }
.admin-table td {
  padding: 14px 16px; vertical-align: top;
  color: var(--ink-800); border-bottom: 1px solid var(--line-soft);
  word-break: break-word;
}
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: var(--blue-50); }

.admin-time { display: block; white-space: nowrap; font-variant-numeric: tabular-nums; }
.admin-time__clock { display: block; font-size: .82rem; color: var(--ink-500); font-variant-numeric: tabular-nums; }

.admin-name { display: block; margin-bottom: 3px; }
.admin-phone { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.admin-phone b { font-weight: 500; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.admin-copy {
  padding: 2px 6px; border: 0; border-radius: 5px;
  background: transparent; color: var(--blue-600);
  font-family: inherit; font-size: .76rem; white-space: nowrap; cursor: pointer;
}
.admin-copy:hover { background: var(--blue-50); }

.admin-sub { display: block; margin-top: 3px; font-size: .8rem; color: var(--ink-500); }
/* 得分列下方的「N 项缺陷 · P0 N」折行很难看 */
.admin-table td:nth-child(4) .admin-sub { white-space: nowrap; }

.admin-score { display: inline-flex; align-items: baseline; gap: 6px; }
.admin-score b { font-size: 1.05rem; font-weight: 500; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.admin-score span { font-size: .78rem; color: var(--ink-500); }
.admin-score.is-mid b { color: var(--warn); }
.admin-score.is-low b { color: var(--danger); }

.admin-tag {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: .76rem; white-space: nowrap;
  background: var(--blue-50); color: var(--blue-700);
  border: 1px solid var(--blue-100);
}
.admin-tag--gray { background: var(--bg-mute); color: var(--ink-600); border-color: var(--line); }

.admin-remark {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; max-width: 260px;
  font-size: .85rem; line-height: 1.6; color: var(--ink-600);
  word-break: break-word;
}

.admin-empty {
  padding: 68px 28px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.admin-empty b { display: block; margin-bottom: 8px; font-size: 1.02rem; font-weight: 500; color: var(--ink-800); }
.admin-empty p { margin: 0; font-size: .87rem; line-height: 1.7; color: var(--ink-600); }

@media (max-width: 1000px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

/* 移动端：表格转卡片，商务用手机也能看 */
@media (max-width: 760px) {
  .admin-main { padding: 22px 16px 70px; }
  .admin-top__inner { padding: 12px 16px; }
  .admin-top__title, .admin-top__sep { display: none; }
  .admin-login__card { padding: 26px 22px 22px; }
  .admin-login { padding-top: 2vh; }

  .admin-table-wrap { background: transparent; border: 0; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody { display: block; }
  .admin-table tr {
    display: block; margin-bottom: 12px; padding: 6px 2px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  }
  .admin-table tbody tr:hover { background: #fff; }
  .admin-table td { display: block; position: relative; padding: 7px 16px 7px 96px; min-height: 30px; border-bottom: 0; }
  /* 标签用绝对定位，内容按正常流排 —— 否则企业名与「行业 · 城市」会被挤成碎行 */
  .admin-table td::before {
    content: attr(data-label);
    position: absolute; left: 16px; top: 8px; width: 72px;
    font-size: .8rem; color: var(--ink-500);
  }
  .admin-remark { max-width: none; -webkit-line-clamp: 4; }
}

/* ---------- 23. 嵌入环境保护（仅当页面被放进 iframe 时才渲染）----------
   预览面板这类宿主用 iframe 承载页面并限制跳转时，「点了没反应」会让用户
   误以为功能坏了。这里给出一条可见提示与出口；正常访问网站时这两个元素
   根本不会被创建，也不影响任何布局。 */
.frame-notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9000;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  background: var(--navy-900); color: #fff;
  font-size: .78rem; line-height: 1.6;
  box-shadow: var(--sh-lg);
}
.frame-notice__text { opacity: .78; }
.frame-notice__link {
  color: var(--blue-300); text-decoration: underline;
  word-break: break-all; max-width: 100%;
}
.frame-notice__close {
  margin-left: auto; flex: none;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--r-full); cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 1rem; line-height: 1;
}
.frame-notice__close:hover { background: rgba(255, 255, 255, .26); }

.nav-blocked {
  position: fixed; left: 50%; bottom: 24px; z-index: 9100;
  transform: translateX(-50%); max-width: min(92vw, 620px);
  padding: 14px 16px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--danger);
  box-shadow: var(--sh-lg);
  font-size: .84rem; line-height: 1.7; color: var(--ink-800);
}
.nav-blocked__text { margin: 0 0 6px; }
.nav-blocked__link {
  color: var(--blue-700); text-decoration: underline; word-break: break-all;
}

@media (min-width: 992px) {
  .frame-notice { left: auto; right: 20px; bottom: 20px; max-width: 560px; }
}
