/* ============================================================
   松果SCRM 官方网站样式（多页版）
   设计原则：扁平简约 + 克制的品牌配色
   色彩体系：品牌蓝（主色）· 天青（点缀）· 松果绿（数据/正向语义）
   丰富感来自单色系的深浅层次与留白，而非颜色数量。
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌基础色 */
  --brand: #0878dc;
  --brand-dark: #065bb8;
  --accent: #08bde2;
  --pine: #1f9d6e;
  --navy: #0b1730;
  --navy-2: #12223f;
  --ink: #17233a;
  --muted: #57657b;
  --line: #e6ebf2;
  --line-strong: #d3dce7;
  --bg-soft: #f4f7fb;
  --white: #ffffff;

  /* 蓝系深浅阶 */
  --blue-50: #eef5fd;
  --blue-100: #e3edfa;
  --blue-200: #d5e4f7;

  /* 天青系（场景/点缀） */
  --sky-soft: #e4f6fb;

  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 7px;

  --shadow-soft: 0 1px 2px rgba(11, 23, 48, 0.04), 0 8px 24px -12px rgba(11, 23, 48, 0.1);
  --shadow-lift: 0 2px 4px rgba(11, 23, 48, 0.05), 0 16px 40px -16px rgba(11, 23, 48, 0.18);

  --font:
    -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

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

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* 关键词渐变强调 */
.text-grad,
.hl {
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn .arr {
  transition: transform 0.2s ease;
}
.btn:hover .arr {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand) 0%, #1b86e6 55%, var(--accent) 130%);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 55%, var(--accent) 130%);
  box-shadow: 0 10px 24px -10px rgba(8, 120, 220, 0.55);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-light {
  background: #fff;
  color: var(--brand-dark);
}
.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35);
}

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(11, 23, 48, 0.04);
  background: rgba(255, 255, 255, 0.96);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 750;
  color: var(--ink);
}
.brand-logo {
  border-radius: 6px;
}
.brand small {
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(100deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 0.25s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon {
  width: 22px;
  height: 22px;
}
.nav-cta-mobile {
  display: none;
}

/* ---------- Hero（首页） ---------- */
.hero {
  position: relative;
  padding: 168px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(1000px 480px at 85% -12%, rgba(8, 189, 226, 0.1), transparent 62%),
    radial-gradient(900px 500px at 0% 10%, rgba(8, 120, 220, 0.08), transparent 55%),
    linear-gradient(180deg, #fbfdff, #ffffff);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 64px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-dark);
  background: rgba(8, 120, 220, 0.07);
  border: 1px solid rgba(8, 120, 220, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.hero-title {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
}
.hero-meta .icon {
  width: 16px;
  height: 16px;
  color: var(--pine);
  stroke-width: 2.4;
}

/* Hero 模拟器（产品界面） */
.hero-visual {
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -6% -6% 0 -6%;
  background:
    linear-gradient(90deg, rgba(8, 120, 220, 0.08) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(rgba(8, 120, 220, 0.08) 1px, transparent 1px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* ---------- 渠道活码实时流转卡片（Hero 可视化） ---------- */
.flow-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lift);
  padding: 36px 28px 26px;
}
.flow-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background: radial-gradient(120% 100% at 100% 0%, rgba(8, 189, 226, 0.1), transparent 62%);
  pointer-events: none;
}

/* 顶部深色悬浮标签 */
.flow-pill {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(11, 23, 48, 0.45);
  white-space: nowrap;
}
.flow-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pine));
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* 标题行 */
.flow-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.flow-head-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.flow-head-txt strong {
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
}
.flow-head-txt span {
  font-size: 12px;
  color: var(--muted);
}
.flow-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pine);
  background: rgba(31, 157, 110, 0.08);
  border: 1px solid rgba(31, 157, 110, 0.22);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.flow-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pine);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

/* 三列流转 */
.flow-cols {
  display: flex;
  align-items: stretch;
}
.flow-cell {
  flex: 1;
  min-width: 0;
  background: linear-gradient(180deg, var(--blue-50), #fbfdff);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.flow-cell-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.flow-cell-val {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.flow-cell-ico {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.flow-cell-ico .icon {
  width: 13px;
  height: 13px;
}
.flow-arrow {
  flex: none;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--line-strong);
}
.flow-arrow .icon {
  width: 15px;
  height: 15px;
}

/* 流动轨迹（光点穿梭） */
.flow-track {
  position: relative;
  height: 26px;
  margin: 16px 0;
}
.flow-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(8, 120, 220, 0.35) 20%,
    rgba(8, 189, 226, 0.5) 80%,
    transparent
  );
}
.flow-dot {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow:
    0 0 0 3px rgba(8, 120, 220, 0.15),
    0 0 12px 2px rgba(8, 120, 220, 0.5);
  transform: translateY(-50%);
  animation: flow-move 3.4s linear infinite;
}
.flow-dot-2 {
  animation-delay: 1.7s;
}

@keyframes flow-move {
  0% {
    left: 0%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.75);
  }
}

/* 三个自动策略标签（单行：图标 + 名称 + 值；宽度自适应，窄屏整体换行而非折字） */
.flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.flow-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  background: #fff;
}
.flow-tag-ico {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--blue-100);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.flow-tag-ico .icon {
  width: 11px;
  height: 11px;
}
.flow-tag b {
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  flex: none;
}
.flow-tag em {
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 4px;
  min-width: 0;
}

/* 底部数据 */
.flow-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.flow-stat {
  background: linear-gradient(180deg, #fbfdff, var(--blue-50));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: center;
}
.flow-stat .num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.flow-stat .num em {
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  margin-left: 1px;
}
.flow-stat .lab {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (hover: hover) {
  .hero-visual {
    animation: floaty 7s ease-in-out infinite;
  }
}

/* ---------- 渠道标签带 ---------- */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, var(--bg-soft));
  padding: 30px 0;
}
.band-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.band-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-dark);
  white-space: nowrap;
}
.band-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.band-tag {
  font-size: 13px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.band-tag:hover {
  border-color: rgba(8, 120, 220, 0.4);
  color: var(--brand);
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 104px 0;
}
[id] {
  scroll-margin-top: 84px;
}
#scenarios {
  background: linear-gradient(180deg, #f6fafb, #f2f8fa);
}
#how {
  background: linear-gradient(180deg, #f5f8fd, #f0f5fb);
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 780px;
  margin-bottom: 56px;
}
.section-no {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand);
  padding: 4px 10px;
  border: 1px solid rgba(8, 120, 220, 0.25);
  border-radius: 6px;
  background: rgba(8, 120, 220, 0.06);
  flex: none;
  margin-top: 4px;
}
.section-title {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 功能网格（首页概览 / 子页能力） ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.cell:nth-child(3n + 1) .cell-ico {
  background: var(--blue-100);
}
.cell:nth-child(3n + 2) .cell-ico {
  background: var(--blue-50);
}
.cell:nth-child(3n + 3) .cell-ico {
  background: var(--blue-200);
}
.cell:hover {
  border-color: rgba(8, 120, 220, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -14px rgba(8, 120, 220, 0.32);
}
.cell-no {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 13px;
  font-weight: 800;
  color: var(--line-strong);
  letter-spacing: 0.05em;
}
.cell-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.cell:hover .cell-ico {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cell-ico .icon {
  width: 23px;
  height: 23px;
}
.cell h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.cell p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 步骤（三步 / 工作方式） ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 30px 28px;
  position: relative;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.step:hover {
  border-color: rgba(8, 120, 220, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  width: 30px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 数据条 ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, var(--bg-soft));
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
}
.stat .num {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat .num em {
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  margin-left: 2px;
}
.stat .lab {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 应用场景（首页，横向条目） ---------- */
.scene {
  display: grid;
  grid-template-columns: 64px 220px 1fr;
  gap: 24px;
  align-items: start;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 23, 48, 0.06);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 16px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.scene:hover {
  border-color: rgba(8, 120, 220, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.scene-no {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.scene-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.scene-body p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 12px;
}
.scene-body ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.scene-body li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
}
.scene-body li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pine), var(--accent));
  flex: none;
}

/* ---------- 功能详情（产品功能页） ---------- */
.detail {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.detail:first-child {
  padding-top: 0;
}
.detail:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.detail h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.dno {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: rgba(8, 120, 220, 0.08);
  border-radius: 6px;
  padding: 3px 9px;
  margin-right: 10px;
  vertical-align: 3px;
}
.dsub {
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 600;
}
.dbody p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}
.dlist {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.dlist li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
}
.dlist li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  flex: none;
  margin-top: 10px;
}
.dlist strong {
  color: var(--brand-dark);
  font-weight: 700;
}

/* F-08 系统文档入口 */
.docs-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(8, 120, 220, 0.07), rgba(8, 189, 226, 0.05));
}
.docs-cta p {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 对比表（渠道活码页） ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 14.5px;
}
.compare th,
.compare td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  background: var(--bg-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}
.compare tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 150px;
  background: #fbfcfe;
}
.compare td {
  color: var(--muted);
}
.compare .col-hl {
  background: linear-gradient(180deg, var(--blue-50), rgba(8, 189, 226, 0.06));
  color: var(--brand-dark);
  font-weight: 600;
}
.compare thead .col-hl {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.faq-item[open] {
  border-color: rgba(8, 120, 220, 0.4);
  border-left: 3px solid var(--brand);
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--brand);
}
.fx {
  width: 22px;
  height: 22px;
  flex: none;
  position: relative;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.fx::before,
.fx::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: background 0.2s ease;
}
.fx::before {
  width: 9px;
  height: 1.5px;
}
.fx::after {
  width: 1.5px;
  height: 9px;
}
.faq-item[open] .fx {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: transparent;
}
.faq-item[open] .fx::before,
.faq-item[open] .fx::after {
  background: #fff;
}
.faq-item[open] .fx::after {
  display: none;
}
.faq-body {
  padding: 0 24px 22px;
}
.faq-body p,
.faq-body > div {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(760px 380px at 82% -6%, rgba(8, 189, 226, 0.16), transparent 62%), var(--navy);
  padding: 92px 0;
  color: #fff;
}
.cta-inner {
  text-align: center;
  position: relative;
}
.cta-inner h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 34px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- 子页 Hero / 面包屑 ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 56px;
  background:
    radial-gradient(900px 440px at 85% -12%, rgba(8, 189, 226, 0.1), transparent 62%),
    radial-gradient(800px 460px at 0% 8%, rgba(8, 120, 220, 0.08), transparent 55%),
    linear-gradient(180deg, #fbfdff, #ffffff);
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 18px;
}
.page-sub {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 640px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.breadcrumb a {
  color: var(--brand);
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--brand-dark);
}
.breadcrumb .sep {
  color: var(--line-strong);
}
.breadcrumb [aria-current='page'] {
  color: var(--muted);
  font-weight: 600;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: linear-gradient(180deg, #0d1b33, var(--navy));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand img {
  border-radius: 6px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.85;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #6fe3f7;
}

/* 页脚「联系我们」：平台客服微信二维码 */
.footer-contact__qr {
  display: inline-flex;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px;
  margin-bottom: 12px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.footer-contact__qr:hover,
.footer-contact__qr:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.55);
}
.footer-contact__qr img {
  width: 108px;
  height: 108px;
  border-radius: 4px;
}
.footer-contact p {
  max-width: 210px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-icp {
  white-space: nowrap;
}
.footer-icp a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-icp a:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    color 0.2s ease;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  color: var(--brand-dark);
}
.back-top .icon {
  transform: rotate(-90deg);
  width: 18px;
  height: 18px;
}

/* ============================================================
   滚动进入动效
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[style*='--reveal-delay'] {
  transition-delay: var(--reveal-delay, 0s);
}

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

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding: 140px 0 72px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .scene {
    grid-template-columns: 56px 1fr;
  }
  .scene .scene-body {
    grid-column: 1 / -1;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-contact {
    grid-column: 1 / -1;
  }
  .hero-sub {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 84px 28px 28px;
    box-shadow: -12px 0 40px rgba(11, 23, 48, 0.14);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 1px solid var(--line);
  }
  .site-nav.open {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }
  .nav-link {
    font-size: 17px;
    padding: 10px 0;
    width: 100%;
  }
  .nav-cta-mobile {
    display: block;
    margin-top: 26px;
    width: 100%;
  }
  .nav-cta-mobile .btn {
    width: 100%;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 23, 48, 0.4);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
  }
  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .section {
    padding: 72px 0;
  }
  .section-head {
    margin-bottom: 40px;
    flex-direction: column;
    gap: 14px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .docs-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-icp {
    white-space: normal;
  }
  .page-hero {
    padding: 128px 0 44px;
  }
  .back-top {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .scene {
    grid-template-columns: 1fr;
    padding: 24px 22px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .compare {
    font-size: 12.5px;
  }
  .compare th,
  .compare td {
    padding: 12px 12px;
  }
  .compare tbody th {
    width: 92px;
  }

  /* 流转卡片竖排 */
  .flow-card {
    padding: 34px 18px 20px;
  }
  .flow-pill {
    font-size: 11.5px;
    padding: 6px 13px;
  }
  .flow-cols {
    flex-direction: column;
    gap: 6px;
  }
  .flow-arrow {
    width: 100%;
    height: 20px;
  }
  .flow-arrow .icon {
    transform: rotate(90deg);
  }
  .flow-cell-val {
    font-size: 13.5px;
  }
  .flow-track {
    margin: 14px 0;
  }
  .flow-tags {
    flex-direction: column;
    align-items: stretch;
  }
  .flow-stat {
    padding: 10px 12px;
  }
  .flow-stat .num {
    font-size: 20px;
  }
  .flow-stat .num em {
    font-size: 13px;
  }
}
