/* ==========================================================================
   徙木数字 官网 · 全局样式
   视觉体系取自「猿派平台」官网（配色 / 控件 / 栅格 / 页脚）
   Arco 色板：#165DFF / #4080FF / #0E42D2 · 品牌紫 #5B5FC7 / #4E52BA
   深色底 #303844 · 正文 #4E5969 · 次要 #86909C · 分割线 #E5E6EB
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 变量与基础
   -------------------------------------------------------------------------- */
:root {
  --brand: #5B5FC7;
  --brand-deep: #4E52BA;
  --blue: #165DFF;
  --blue-hover: #4080FF;
  --blue-active: #0E42D2;
  --dark: #303844;
  --dark-hover: #4080FF;
  --dark-active: #0E42D2;
  --title: #303844;
  --text: #4E5969;
  --muted: #86909C;
  --placeholder: #C9CDD4;
  --line: #E5E6EB;
  --line-soft: #F2F3F5;
  --bg: #F7F8FA;
  --white: #fff;
  --success: #00B42A;
  --warn: #FF7D00;
  --danger: #F53F3F;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 100px;
  --container: 1200px;
  --header-h: 67px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, .04);
  --shadow-hover: 0 12px 32px rgba(22, 93, 255, .12);
  --shadow-float: 0 30px 20px 0 rgba(0, 0, 0, .02);
  --font: 'PingFang SC', 'HarmonyOS Sans SC', 'Noto Sans SC', 'Microsoft YaHei',
    'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-num: 'DIN Alternate', 'Helvetica Neue', Arial, sans-serif;
}

*,
*::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);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

code,
pre {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* 正文内联代码 */
p code,
li code,
td code,
dd code,
.faq-a code {
  padding: 2px 6px;
  font-size: .92em;
  color: var(--brand);
  background: rgba(91, 95, 199, .08);
  border-radius: var(--radius-sm);
  word-break: break-all;
}

::selection {
  background: rgba(22, 93, 255, .15);
}

/* --------------------------------------------------------------------------
   2. 布局
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section--tight {
  padding: 56px 0;
}

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

.section--soft {
  background: linear-gradient(180deg, rgba(247, 248, 250, 0) 0%, #F7F8FA 50%, rgba(247, 248, 250, 0) 100%);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--title);
}

.section-title i,
.section-title em {
  font-style: normal;
  color: var(--blue);
}

.section-sub {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.section-head--left {
  text-align: left;
}

/* --------------------------------------------------------------------------
   3. 按钮控件（对齐猿派：primary / dark 胶囊 / ghost 描边）
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--line-soft);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}

.btn:active {
  transform: translateY(1px);
}

/* 主色按钮：猿派 #165DFF → hover #4080FF → active #0E42D2 */
.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.btn--primary:active {
  background: var(--blue-active);
  border-color: var(--blue-active);
}

/* 深色胶囊按钮：猿派 #303844 → hover #4080FF */
.btn--dark {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  border-radius: var(--radius-pill);
}

.btn--dark:hover {
  background: var(--dark-hover);
  border-color: var(--dark-hover);
}

.btn--dark:active {
  background: var(--dark-active);
  border-color: var(--dark-active);
}

/* 品牌紫按钮 */
.btn--brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn--brand:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

/* 描边按钮（猿派 .btn1：1px #5B5FC7 / 4px 圆角） */
.btn--ghost {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
  border-radius: var(--radius-sm);
}

.btn--ghost:hover {
  background: rgba(91, 95, 199, .06);
  color: var(--brand-deep);
  border-color: var(--brand-deep);
}

/* 灰色描边按钮 */
.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--pill {
  border-radius: var(--radius-pill);
}

.btn--sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--lg {
  height: 52px;
  padding: 0 32px;
  font-size: 17px;
}

.btn--link {
  height: auto;
  padding: 0;
  background: none;
  border: 0;
  color: var(--blue);
  font-size: 14px;
}

.btn--link:hover {
  color: var(--blue-hover);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-row--center {
  justify-content: center;
}

/* 文本内联链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
}

.link-arrow::after {
  content: '→';
  transition: transform .2s;
}

.link-arrow:hover {
  color: var(--blue-hover);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   4. 站点头部导航
   公司logo + 徙木数字 ｜ 首页 ｜ 徙木MaaS平台 ｜ 路由安全工具 ｜ 猿派平台 ｜ 公司介绍
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}

.site-header.is-stuck {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  border-bottom-color: var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: none;
}

.brand img {
  width: auto;
  height: 42px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1B1B1F;
  white-space: nowrap;
}

.brand-name span {
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  height: var(--header-h);
  margin-left: auto;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 18px;
  font-size: 16px;
  color: #1B1B1F;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--blue);
}

.nav a.is-active {
  font-weight: 700;
  color: var(--blue);
}

.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #1B1B1F;
  transition: transform .25s, opacity .25s;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    margin: 0;
    padding: 8px 0 16px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(0, 0, 0, .06);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    height: 48px;
    padding: 0 24px;
    font-size: 16px;
  }

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

/* --------------------------------------------------------------------------
   5. 首页 Hero（对齐猿派 .top）
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  padding: 90px 0 96px;
  background: var(--bg);
  background-image: url('../img/hero-bg.png');
  background-position: 127% -24%;
  background-repeat: no-repeat;
  background-size: 100%;
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--title);
}

.hero h1 i {
  font-style: normal;
  color: var(--blue);
}

.hero-lead {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--title);
}

.hero-lead i {
  font-style: normal;
  color: var(--blue);
}

.hero-desc {
  margin: 10px auto 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 32px;
  color: var(--muted);
}

.hero .btn-row {
  margin-top: 36px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-tags span {
  padding: 6px 16px;
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

/* 浮动数据条（猿派 .top-company 的白色圆角浮层） */
.hero-float {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: -36px auto 0;
  padding: 0 20px;
}

.hero-float-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 22px 60px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}

/* 内页横幅（对齐猿派 aboutUs .banner） */
.banner {
  position: relative;
  padding: 76px 0 64px;
  background: var(--bg);
  background-image: url('../img/hero-bg.png');
  background-position: 127% -60%;
  background-repeat: no-repeat;
  background-size: 100%;
  text-align: center;
}

.banner h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--title);
}

.banner p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 28px;
  color: var(--muted);
}

.banner .banner-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  font-size: 13px;
  color: var(--brand);
  background: rgba(91, 95, 199, .08);
  border-radius: var(--radius-pill);
}

/* 面包屑 */
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.crumb a:hover {
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   6. 卡片 / 栅格
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow .25s, border-color .25s, transform .25s;
}

.card:hover {
  border-color: rgba(22, 93, 255, .35);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card--flat:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

.card--link {
  cursor: pointer;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  background: rgba(22, 93, 255, .08);
  color: var(--blue);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-icon--brand {
  background: rgba(91, 95, 199, .1);
  color: var(--brand);
}

.card-icon--green {
  background: rgba(0, 180, 42, .1);
  color: var(--success);
}

.card-icon--orange {
  background: rgba(255, 125, 0, .1);
  color: var(--warn);
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--title);
}

.card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--title);
}

.card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text);
}

.card .card-foot {
  margin-top: auto;
  padding-top: 20px;
}

.card--accent {
  border-top: 3px solid var(--blue);
}

.card--accent-brand {
  border-top: 3px solid var(--brand);
}

.card--accent-green {
  border-top: 3px solid var(--success);
}

/* 产品大卡片（首页三产品） */
.product-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow .25s, border-color .25s, transform .25s;
}

.product-card:hover {
  border-color: rgba(22, 93, 255, .35);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.product-card .product-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-card .product-head .card-icon {
  margin-bottom: 0;
}

.product-card .product-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--title);
}

.product-card .product-en {
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--placeholder);
}

.product-card .product-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text);
}

.product-card .product-points {
  margin-top: 18px;
}

.product-card .product-points li {
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text);
}

.product-card .product-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(22, 93, 255, .25);
  box-shadow: inset 0 0 0 2px var(--blue);
}

.product-card .product-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}

/* 特性条目 */
.feature {
  display: flex;
  gap: 16px;
}

.feature .feature-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(22, 93, 255, .08);
  color: var(--blue);
}

.feature .feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--title);
}

.feature p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text);
}

/* 勾选清单 */
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.check-list--green li::before {
  border-color: var(--success);
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 18px;
  color: var(--blue);
  background: rgba(22, 93, 255, .08);
  border-radius: var(--radius-sm);
}

.tag--brand {
  color: var(--brand);
  background: rgba(91, 95, 199, .1);
}

.tag--green {
  color: var(--success);
  background: rgba(0, 180, 42, .1);
}

.tag--orange {
  color: var(--warn);
  background: rgba(255, 125, 0, .1);
}

.tag--gray {
  color: var(--text);
  background: var(--line-soft);
}

.tag--red {
  color: var(--danger);
  background: rgba(245, 63, 63, .08);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   7. 数据条
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat .stat-num {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}

.stat .stat-num small {
  font-size: 18px;
  font-weight: 700;
  margin-left: 2px;
}

.stat .stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.stat--blue .stat-num {
  color: var(--blue);
}

.stat--brand .stat-num {
  color: var(--brand);
}

/* 首页 hero 下方浮层中的迷你数据 */
.mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.mini-stat b {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

.mini-stat span {
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   8. 步骤
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--dark);
  border-radius: 50%;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--title);
}

.step p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text);
}

.step code {
  display: inline-block;
  margin-top: 12px;
  padding: 2px 8px;
  font-size: 13px;
  color: var(--brand);
  background: rgba(91, 95, 199, .08);
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   9. 表格（对比 / 参数）
   -------------------------------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

table.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

table.data-table th,
table.data-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.data-table th {
  font-weight: 700;
  color: var(--title);
  background: var(--bg);
  white-space: nowrap;
}

table.data-table td {
  color: var(--text);
}

table.data-table tbody tr:last-child td {
  border-bottom: 0;
}

table.data-table tbody tr:hover td {
  background: #FAFBFC;
}

table.data-table .col-name {
  font-weight: 700;
  color: var(--title);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. 代码块
   -------------------------------------------------------------------------- */
.code {
  position: relative;
  margin-top: 20px;
  padding: 20px 24px;
  background: #1D2129;
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.code pre {
  margin: 0;
  font-size: 13px;
  line-height: 24px;
  color: #E5E6EB;
  white-space: pre;
}

.code .code-title {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--muted);
}

.code code .cm {
  color: #86909C;
}

.code code .ck {
  color: #7BD4FF;
}

.code code .cv {
  color: #B4E7A0;
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item:hover {
  border-color: rgba(22, 93, 255, .35);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--title);
  cursor: pointer;
  user-select: none;
}

.faq-q::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s;
}

.faq-item.is-open .faq-q::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq-a {
  display: none;
  padding: 0 24px 22px;
  font-size: 14px;
  line-height: 26px;
  color: var(--text);
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-a strong {
  color: var(--title);
}

/* --------------------------------------------------------------------------
   12. 提示条 / 两个入口 / CTA
   -------------------------------------------------------------------------- */
.notice {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text);
  background: rgba(22, 93, 255, .06);
  border: 1px solid rgba(22, 93, 255, .18);
  border-radius: var(--radius);
}

.notice--warn {
  background: rgba(255, 125, 0, .07);
  border-color: rgba(255, 125, 0, .22);
}

.notice b {
  color: var(--title);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split--reverse .split-media {
  order: 2;
}

.cta-band {
  padding: 64px 0;
  background: var(--dark);
  text-align: center;
}

.cta-band h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.cta-band p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 28px;
  color: rgba(255, 255, 255, .72);
}

.cta-band .btn-row {
  margin-top: 32px;
}

.cta-band .btn--primary {
  background: var(--blue);
  border-color: var(--blue);
}

.cta-band .btn--outline {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.cta-band .btn--outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

/* 两栏入口卡（无账号 / 已有账号） */
.entry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.entry-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--title);
}

.entry-card p {
  margin: 10px 0 24px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text);
}

.entry-card .btn {
  margin-top: auto;
}

/* 锚点导航（对齐猿派 aboutUs 的 el-menu 横向页签） */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 0 2px;
  border-bottom: 1px solid var(--line);
}

.anchor-nav a {
  position: relative;
  padding: 14px 20px;
  font-size: 16px;
  color: #1B1B1F;
}

.anchor-nav a:hover {
  color: var(--blue);
}

.anchor-nav a.is-active {
  font-weight: 700;
  color: var(--blue);
}

.anchor-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
}

/* --------------------------------------------------------------------------
   13. 页脚（对齐猿派 Footer.vue：底色 #303844 / 三栏 / 1200 容器）
   -------------------------------------------------------------------------- */
.site-footer {
  width: 100%;
  background: var(--dark);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 0 56px;
}

.footer-brand {
  width: 300px;
  flex: none;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand .footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
  color: rgba(255, 255, 255, .72);
}

.footer-cols {
  display: flex;
  gap: 24px;
}

.f-col {
  width: 180px;
}

.f-col--wide {
  width: 282px;
}

.f-col .f-index {
  font-weight: 700;
  color: var(--muted);
}

.f-col a,
.f-col .f-text {
  display: block;
  margin-top: 12px;
  font-weight: 300;
  line-height: 24px;
  color: #fff;
}

.f-col a:hover {
  color: var(--blue-hover);
}

.f-col a:active {
  color: var(--blue-active);
}

.f-qr {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.f-qr-item .f-qr-title {
  margin-bottom: 10px;
  line-height: 24px;
  color: #fff;
}

.f-qr-item img {
  width: 112px;
  height: 112px;
  border-radius: var(--radius-sm);
}

.copyright {
  padding: 20px 0 28px;
  border-top: 1px solid #4E5969;
  font-size: 13px;
  line-height: 22px;
  color: rgba(255, 255, 255, .56);
  text-align: center;
}

.copyright a {
  color: rgba(255, 255, 255, .72);
}

.copyright a:hover {
  color: #fff;
}

.copyright .copy-row + .copy-row {
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
    padding: 48px 0 32px;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-cols {
    flex-direction: column;
    width: 100%;
  }

  .f-col,
  .f-col--wide {
    width: 100%;
    padding-bottom: 24px;
    border-bottom: 1px solid #4E5969;
  }
}

/* --------------------------------------------------------------------------
   14. 滚动入场动效
   隐藏态只在 <html class="js"> 时生效（由每页 head 内的内联脚本添加），
   这样即使脚本未加载/被禁用，内容也始终可见，不会出现空白页。
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* --------------------------------------------------------------------------
   15. 猿派登录页（复刻旧站 /login，同源调用 /ypsaas2 接口）
   -------------------------------------------------------------------------- */
.login-hero {
  padding: 72px 0 64px;
  background: var(--bg);
}

.login-hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
  color: #072CA6;
}

.login-points {
  margin-top: 12px;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  color: var(--muted);
}

.login-points span + span {
  margin-left: 12px;
}

.login-points span::before {
  content: '✓';
  margin-right: 4px;
  color: var(--blue);
}

.login-panel {
  width: 100%;
  max-width: 424px;
  margin: 28px auto 0;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
}

/* 身份切换（自由工作者 / 企业老板） */
.seg {
  display: flex;
  padding: 7px;
  background: var(--line-soft);
  border-radius: var(--radius-sm);
}

.seg button {
  flex: 1;
  height: 30px;
  padding: 0;
  font: inherit;
  font-size: 14px;
  line-height: 30px;
  color: var(--text);
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.seg button.is-active {
  font-weight: 500;
  color: var(--blue);
  background: #fff;
}

/* 登录方式说明 */
.login-mode {
  margin-top: 22px;
  padding-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
}

/* 表单控件 */
.field {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  color: var(--title);
  background: var(--line-soft);
  border: 1px solid transparent;
  border-radius: var(--radius);
  outline: none;
  transition: background-color .2s, border-color .2s;
}

.field::placeholder {
  color: #A9AEB8;
}

.field:focus {
  background: #fff;
  border-color: var(--blue);
}

.field-row {
  display: flex;
  margin-top: 16px;
}

.field-row .field {
  border-radius: var(--radius) 0 0 var(--radius);
}

.code-btn {
  flex: none;
  height: 44px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  color: var(--blue);
  background: var(--line-soft);
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  white-space: nowrap;
}

.code-btn:disabled {
  color: #BEDAFF;
  cursor: not-allowed;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 20px;
  color: #616161;
}

.agree input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.agree a {
  color: #072CA6;
}

.agree a:hover {
  text-decoration: underline;
}

.login-submit {
  display: flex;
  width: 100%;
  margin-top: 20px;
}

.login-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 20px;
  border-radius: var(--radius);
}

.form-msg.is-show {
  display: block;
}

.form-msg.is-error {
  color: var(--danger);
  background: rgba(245, 63, 63, .07);
  border: 1px solid rgba(245, 63, 63, .2);
}

.form-msg.is-ok {
  color: var(--success);
  background: rgba(0, 180, 42, .07);
  border: 1px solid rgba(0, 180, 42, .2);
}

.login-tip {
  margin-top: 12px;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}

.login-direct {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  color: var(--muted);
}

.login-foot {
  width: 100%;
  max-width: 1200px;
  margin: 64px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.login-foot div:first-child {
  color: var(--muted);
}

.login-foot div + div {
  margin-top: 4px;
  color: var(--placeholder);
}

/* --------------------------------------------------------------------------
   16. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .section {
    padding: 64px 0;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    padding: 64px 0 72px;
    background-position: 60% -10%;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-desc {
    line-height: 28px;
  }

  .hero-float-inner {
    gap: 28px;
    padding: 20px 24px;
  }

  .banner {
    padding: 56px 0 44px;
  }

  .banner h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

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

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .stat .stat-num {
    font-size: 32px;
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .cta-band h2 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .card,
  .product-card,
  .entry-card {
    padding: 22px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero .btn-row .btn {
    width: 100%;
  }

  .f-qr-item img {
    width: 96px;
    height: 96px;
  }

  /* 登录页 */
  .login-hero {
    padding: 48px 0 40px;
  }

  .login-hero h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .login-points span {
    display: inline-block;
    margin: 4px 6px 0;
  }

  .login-points span + span {
    margin-left: 6px;
  }

  .login-panel {
    margin-top: 20px;
    padding: 22px;
  }

  .login-foot {
    margin-top: 40px;
  }
}
