/* ==========================================================================
   标智云 · AI 标书工作台 — 宣传页样式
   零外部依赖：不引用任何 CDN 字体 / 图标 / 框架
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* 品牌色 */
  --brand-900: #0f1f6e;
  --brand-700: #1e40d8;
  --brand-600: #2f5bff;
  --brand-500: #4b74ff;
  --brand-300: #93adff;
  --brand-100: #e8eeff;
  --brand-050: #f4f7ff;

  /* 强调色 */
  --cyan: #22d3ee;
  --violet: #7c5cff;
  --ok: #0fae7a;
  --warn: #c2790b;
  --warn-bg: #fff6e3;
  --danger: #d92b43;
  --danger-soft: #ff9aa9;

  /* 中性色 */
  --ink-900: #0b1229;
  --ink-800: #131c3d;
  --ink-700: #1d2a55;
  --ink-600: #3a4a7a;
  --ink-500: #5b6b9a;
  --ink-400: #7c8dbd;
  --ink-300: #a7b4d6;

  --bg: #ffffff;
  --bg-tint: #f5f7fd;
  --line: #e3e8f4;
  --line-strong: #d3dbee;

  /* 排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* 形状与阴影 */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 41, 0.05), 0 2px 8px rgba(11, 18, 41, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 18, 41, 0.06), 0 12px 28px rgba(11, 18, 41, 0.06);
  --shadow-lg: 0 18px 48px rgba(11, 18, 41, 0.12);

  /* 布局 */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --header-h: 68px;
}

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

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink-900);
  line-height: 1.28;
  letter-spacing: -0.01em;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: var(--brand-600);
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 0.1em 0.4em;
  border-radius: 5px;
  background: var(--brand-050);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  white-space: nowrap;
}

::selection {
  background: var(--brand-600);
  color: #fff;
}

/* 图标基础尺寸 */
.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 无障碍：跳到主要内容 */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--brand-600);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. 布局容器
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-tint {
  background: var(--bg-tint);
}

/* --------------------------------------------------------------------------
   4. 通用组件：按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn .icon {
  transition: transform 0.18s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 91, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(47, 91, 255, 0.36);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #e8eeff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--brand-300);
}
.btn-outline:hover {
  background: var(--brand-050);
  border-color: var(--brand-600);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   5. 顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(11, 18, 41, 0.05);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  transition: color 0.25s ease;
}

.site-header.is-scrolled .brand,
.site-footer .brand {
  color: var(--ink-900);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark rect {
  fill: currentColor;
  stroke: none;
  opacity: 0.14;
}

.site-header.is-scrolled .brand-mark rect,
.site-footer .brand-mark rect {
  fill: var(--brand-600);
  opacity: 0.12;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a:not(.btn) {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(232, 238, 255, 0.82);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled .site-nav > a:not(.btn) {
  color: var(--ink-600);
}

.site-nav > a:not(.btn):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .site-nav > a:not(.btn):hover {
  color: var(--brand-700);
  background: var(--brand-050);
}

.site-nav > a.is-active {
  color: #fff;
}
.site-header.is-scrolled .site-nav > a.is-active {
  color: var(--brand-700);
}
.site-nav > a.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: currentColor;
  opacity: 0.85;
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink-900);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 0;
  background: radial-gradient(120% 100% at 12% 0%, #172a6e 0%, #0b1229 46%, #070c1c 100%);
  color: #c8d4f5;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(124, 141, 189, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 141, 189, 0.12) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(90% 70% at 50% 12%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 12%, #000 0%, transparent 78%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.hero-glow-a {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(47, 91, 255, 0.75), transparent 70%);
}

.hero-glow-b {
  width: 480px;
  height: 480px;
  top: -60px;
  right: -140px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #b9c8f5;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(147, 173, 255, 0.28);
}

.eyebrow .icon {
  color: var(--cyan);
}

.eyebrow-dark {
  color: var(--brand-700);
  background: var(--brand-050);
  border-color: var(--brand-100);
}
.eyebrow-dark .icon {
  color: var(--brand-600);
}

.hero h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.hero h1 .hl {
  background: linear-gradient(100deg, #6ee7ff 0%, #8fa6ff 52%, #b39cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.85;
  color: #a9b8e4;
}

.hero-points {
  margin-top: 26px;
  display: grid;
  gap: 11px;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #cbd7f7;
}

.hero-points .icon {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  padding: 3px;
  border-radius: 50%;
  color: #0b1229;
  background: linear-gradient(135deg, var(--cyan), #7bd6ff);
  stroke-width: 2.6;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero 示意图 */
.hero-visual {
  position: relative;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: 0 34px 80px rgba(2, 6, 23, 0.6);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* 事实性指标带 */
.fact-band {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(147, 173, 255, 0.16);
  border-top: 1px solid rgba(147, 173, 255, 0.16);
}

.fact-band li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 30px 12px;
  text-align: center;
  background: rgba(11, 18, 41, 0.55);
  backdrop-filter: blur(6px);
}

.fact-band strong {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.fact-band strong::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--brand-500));
}

.fact-band span {
  font-size: 13.5px;
  color: #9fb0dd;
}

/* --------------------------------------------------------------------------
   7. 区块标题
   -------------------------------------------------------------------------- */
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--ink-500);
  line-height: 1.8;
}

.section-note {
  margin-top: 36px;
  padding: 22px 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--brand-100);
  background: var(--brand-050);
  font-size: 16px;
  color: var(--ink-700);
}

.section-note strong {
  color: var(--brand-700);
}

/* --------------------------------------------------------------------------
   8. 通用栅格与卡片
   -------------------------------------------------------------------------- */
.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));
}

.card {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-600), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-no {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-300);
}

.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-size: 22px;
  color: var(--brand-700);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
}

.card-icon-warn {
  color: var(--warn);
  background: var(--warn-bg);
  border-color: #f5e2bd;
}

.mini {
  padding: 24px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.mini:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}

.mini h4 {
  font-size: 15.5px;
  margin-bottom: 10px;
  color: var(--brand-700);
}

.mini p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-500);
}

/* --------------------------------------------------------------------------
   9. 六步流程图
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 20px 22px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.flow-step:hover {
  transform: translateY(-6px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}

/* 步骤间箭头连接 */
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 54px;
  right: -16px;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-300), transparent);
}

.flow-idx {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-300);
}

.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 12px 0 16px;
  border-radius: 13px;
  font-size: 21px;
  color: #fff;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-700));
  box-shadow: 0 8px 18px rgba(47, 91, 255, 0.24);
}

.flow-step h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.flow-step > p {
  font-size: 13.5px;
  color: var(--ink-400);
  min-height: 42px;
}

.flow-out {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 6px;
}

.flow-out li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: var(--ink-500);
}

.flow-out li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-300);
}

.flow-tail {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  border-radius: var(--r-md);
  color: #dbe4ff;
  background: linear-gradient(120deg, var(--ink-900), #1b2a60);
  box-shadow: var(--shadow-md);
}

.flow-tail .icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--cyan);
}

.flow-tail p {
  font-size: 15px;
}

.flow-tail strong {
  color: #fff;
}

/* --------------------------------------------------------------------------
   10. 能力矩阵
   -------------------------------------------------------------------------- */
.cap {
  padding: 34px 32px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cap:hover {
  transform: translateY(-5px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
}

.cap-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 15px;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(140deg, #1e40d8, #4b74ff);
  box-shadow: 0 10px 22px rgba(30, 64, 216, 0.22);
}

.cap-step {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-300);
}

.cap-head h3 {
  font-size: 20px;
}

.cap p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.85;
}

.cap p + p {
  margin-top: 13px;
}

.cap strong {
  color: var(--ink-800);
}

.cap-in {
  padding: 11px 15px;
  margin-bottom: 15px !important;
  border-radius: var(--r-sm);
  background: var(--brand-050);
  border-left: 3px solid var(--brand-600);
  font-size: 14.5px !important;
  color: var(--ink-700) !important;
}

.cap-rule {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: var(--warn-bg);
  border-left: 3px solid #e0a83c;
  font-size: 14.5px !important;
  color: #6b4c10 !important;
}

.cap-rule strong {
  color: #533a06;
}

.cap-list {
  display: grid;
  gap: 9px;
  margin: 4px 0 13px;
}

.cap-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

.cap-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(140deg, var(--brand-600), var(--cyan));
}

/* 问题分级标签 */
.tag {
  display: inline-block;
  margin-right: 2px;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.tag-high {
  color: #a8142b;
  background: #ffe6ea;
}
.tag-mid {
  color: #8a5a06;
  background: var(--warn-bg);
}
.tag-low {
  color: var(--ink-600);
  background: #eef1f8;
}

/* --------------------------------------------------------------------------
   11. 深色区块（可信底线）
   -------------------------------------------------------------------------- */
.section-dark {
  background: radial-gradient(110% 90% at 80% 0%, #16265e 0%, var(--ink-900) 52%, #070c1c 100%);
  color: #a9b8e4;
}

.section-dark .section-head h2 {
  color: #fff;
}

.section-dark .section-sub {
  color: #96a6d4;
}

.grid-dark .card-dark {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(147, 173, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.grid-dark .card-dark:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(147, 173, 255, 0.42);
}

.card-dark-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-size: 22px;
  color: #0b1229;
  background: linear-gradient(140deg, var(--cyan), #8bc9ff);
}

.card-dark-icon-red {
  background: linear-gradient(140deg, #ff8fa3, #ff5f7a);
}

.card-dark h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: #fff;
}

.card-dark p {
  font-size: 15px;
  line-height: 1.85;
  color: #a3b2dd;
}

.card-dark strong {
  color: #e3eaff;
}

.card-dark code {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.3);
  color: #7ee7f7;
}

.gate-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 16px;
  counter-reset: gate;
}

.gate-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: rgba(11, 18, 41, 0.42);
  border: 1px solid rgba(147, 173, 255, 0.14);
  font-size: 14.5px;
  color: #c5d2f5;
  counter-increment: gate;
}

.gate-list li::before {
  content: counter(gate, decimal-leading-zero);
  flex: none;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding-top: 3px;
  color: var(--cyan);
}

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 34px;
  padding: 22px 26px;
  border-radius: var(--r-md);
  border: 1px dashed rgba(147, 173, 255, 0.28);
  background: rgba(255, 255, 255, 0.035);
  font-size: 14.5px;
  line-height: 1.85;
  color: #9dadd8;
}

.disclaimer .icon {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  flex: none;
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   12. 技术架构图
   -------------------------------------------------------------------------- */
.tech-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcff, var(--bg-tint));
  box-shadow: var(--shadow-sm);
}

.tech-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
}

.tech-row-split .tech-node {
  flex: 1 1 200px;
}

.tech-node {
  flex: 0 1 auto;
  min-width: 190px;
  padding: 15px 24px;
  border-radius: var(--r-md);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-800);
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.tech-node small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-400);
}

.tech-node-user {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(140deg, var(--ink-700), var(--ink-900));
}
.tech-node-user small {
  color: #a9b8e4;
}

.tech-node-core {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-700));
  box-shadow: 0 10px 24px rgba(47, 91, 255, 0.24);
  min-width: 300px;
}
.tech-node-core small {
  color: #d5e0ff;
}

.tech-node-queue {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(140deg, #4c2fa8, var(--violet));
  min-width: 340px;
}
.tech-node-queue small {
  color: #ddd3ff;
}

.tech-node-out {
  border-color: #b9ecdd;
  background: #f2fdf9;
  color: #0a6d51;
}
.tech-node-out small {
  color: #4d9c85;
}

.tech-line {
  width: 2px;
  height: 26px;
  background: linear-gradient(180deg, var(--line-strong), var(--brand-300));
}

.tech-cards {
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-900);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--brand-700);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  color: var(--brand-700);
  background: var(--brand-050);
  stroke-width: 2.2;
  transition: transform 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(135deg);
  color: #fff;
  background: var(--brand-600);
}

.faq-body {
  padding: 0 24px 22px;
  animation: faqIn 0.28s ease;
}

.faq-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-500);
}

.faq-body strong {
  color: var(--ink-800);
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   14. 底部 CTA
   -------------------------------------------------------------------------- */
.cta {
  padding: 0 0 96px;
  background: var(--bg-tint);
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 62px 56px;
  border-radius: var(--r-xl);
  background: radial-gradient(110% 130% at 8% 0%, #24408f 0%, var(--ink-900) 52%, #070c1c 100%);
  box-shadow: 0 30px 70px rgba(11, 18, 41, 0.28);
  text-align: center;
}

.cta-box::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.32), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-copy {
  position: relative;
}

.cta-copy h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: #fff;
}

.cta-copy p {
  margin-top: 14px;
  font-size: 16.5px;
  color: #aab9e3;
}

.cta-actions {
  position: relative;
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-box .btn-outline {
  color: #dbe4ff;
  border-color: rgba(147, 173, 255, 0.45);
}
.cta-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(147, 173, 255, 0.8);
}

/* 联系邮箱：显示的地址可点击发信，也可一键复制 */
.cta-mail {
  position: relative;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
  color: #aab9e3;
}

.cta-mail-label {
  color: #7f90bd;
}

.mail-link {
  padding: 3px 2px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #8fe9ff;
  border-bottom: 1px dashed rgba(143, 233, 255, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mail-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.mail-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #cdd9f8;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(147, 173, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mail-copy:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(147, 173, 255, 0.6);
  color: #fff;
}

.mail-copy .icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.9;
}

/* 复制成功反馈 */
.mail-copy.is-copied {
  color: #06281f;
  background: #6ee7c0;
  border-color: #6ee7c0;
}

.cta-hint {
  position: relative;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.75;
  color: #7f90bd;
}

/* --------------------------------------------------------------------------
   15. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-400);
  max-width: 320px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-nav h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 14px;
}

.footer-nav a {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  color: var(--ink-500);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--brand-600);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  font-size: 13.5px;
  color: var(--ink-400);
}

.footer-meta {
  color: var(--ink-300) !important;
}

/* 页脚备案号：按规范必须可点击跳转工信部备案系统 */
.footer-meta a {
  color: var(--ink-400);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-meta a:hover {
  color: var(--brand-600);
  border-bottom-color: var(--brand-300);
}

/* --------------------------------------------------------------------------
   16. 滚动渐入动效
   -------------------------------------------------------------------------- */
/* 渐进增强：初始隐藏只在 JS 可用时生效。
   脚本失效或被禁用时，正文以最终状态直接呈现，不会出现整页空白。 */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 栅格内的卡片按顺序错峰出现 */
.grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}
.grid .reveal:nth-child(5) {
  transition-delay: 0.32s;
}
.grid .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* --------------------------------------------------------------------------
   17. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-box {
    padding: 48px 32px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 62px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(11, 18, 41, 0.14);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .site-nav > a:not(.btn) {
    padding: 13px 14px;
    border-radius: var(--r-sm);
    color: var(--ink-700);
    font-size: 16px;
  }

  .site-nav > a:not(.btn):hover {
    background: var(--brand-050);
    color: var(--brand-700);
  }

  .site-nav > a.is-active::after {
    display: none;
  }

  .nav-cta {
    margin: 10px 0 0;
    width: 100%;
  }

  /* 移动端菜单打开时，头部始终为浅色底 */
  body.nav-open .site-header {
    background: #fff;
    box-shadow: 0 1px 0 var(--line);
  }

  body.nav-open .brand {
    color: var(--ink-900);
  }

  body.nav-open .brand-mark rect {
    fill: var(--brand-600);
    opacity: 0.12;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    padding-top: calc(var(--header-h) + 52px);
  }

  .hero-inner {
    padding-bottom: 52px;
  }

  .fact-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-band li:last-child {
    grid-column: 1 / -1;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-node,
  .tech-node-core,
  .tech-node-queue {
    min-width: 0;
    width: 100%;
  }

  .tech-row-split .tech-node {
    flex: 1 1 100%;
  }

  .tech-flow {
    padding: 28px 18px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }

  .section {
    padding: 60px 0;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .fact-band strong {
    font-size: 26px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .cta-mail {
    gap: 8px 12px;
    font-size: 14.5px;
  }

  .mail-link {
    font-size: 15.5px;
  }

  .card,
  .cap,
  .grid-dark .card-dark {
    padding: 26px 22px;
  }

  .cta-box {
    padding: 40px 22px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-item summary {
    padding: 17px 18px;
    font-size: 15.5px;
  }

  .faq-body {
    padding: 0 18px 18px;
  }
}

/* --------------------------------------------------------------------------
   18. 动效降级 / 打印
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .cta,
  .hero-bg {
    display: none !important;
  }

  body {
    color: #000;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
