/* ============================================================
   蚂蚁传媒 · 移动端专属样式 (Mobile-only)
   设计原则：竖屏单列 / 大字号 / 横滑手势 / 常驻拨号 / 安全区适配
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --blue: #1676FF;
  --blue-deep: #0B4FC4;
  --blue-soft: #4E96FF;
  --blue-ghost: #EFF5FF;
  --text: #0F1B33;
  --muted: #5B6B85;
  --line: #E6ECF5;
  --tint: #F6F9FE;
  --navy: #0A1730;
  --navy-2: #112240;
  --white: #FFFFFF;

  /* 移动端统一间距（左右留白 20px，手指操作舒适） */
  --pad: 20px;
  --radius: 16px;
  --radius-sm: 12px;

  /* 滚动缓动 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 安全区（刘海屏 / 底部横条） */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- 重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* 去掉 iOS 点击时的灰色高亮，我们自己控制反馈 */
  -webkit-tap-highlight-color: transparent;
}

html {
  /* 防止 iOS 横屏时字号被放大 */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.75;
  /* 禁止横向溢出（横滑容器自己处理） */
  overflow-x: hidden;
  /* 给底部固定条留出空间，避免遮挡页脚 */
  padding-bottom: calc(66px + var(--safe-bottom));
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* 所有可点元素都去掉 300ms 点击延迟 */
a, button {
  touch-action: manipulation;
}

/* ---------- 顶部阅读进度条 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  z-index: 120;
  transition: width 0.1s linear;
  /* 圆角收尾更精致 */
  border-radius: 0 2px 2px 0;
}

/* ---------- 顶部导航（滚动浮出） ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + var(--safe-top)) var(--pad) 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  /* 默认隐藏在屏幕上方，滚动后滑入 */
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.3s, border-color 0.3s;
}

.topbar.show {
  transform: translateY(0);
  opacity: 1;
  border-bottom-color: var(--line);
}

.topbar-brand img {
  height: 26px;
  width: auto;
}

.topbar-call {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  padding: 7px 14px;
  background: var(--blue-ghost);
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}

.topbar-call svg {
  width: 14px;
  height: 14px;
}

/* 触摸反馈：按下略微收缩，模拟真实按钮 */
.topbar-call:active {
  background: #E2EDFF;
  transform: scale(0.96);
}

/* ---------- 通用区块 ---------- */
.block {
  padding: 54px var(--pad) 58px;
  position: relative;
}

.block-plain { background: var(--white); }
.block-tint { background: var(--tint); }
.block-navy {
  background: var(--navy);
  color: #fff;
}

/* 区块标题 */
.block-head {
  margin-bottom: 32px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.eyebrow-light { color: var(--blue-soft); }
.eyebrow-light i { background: var(--blue-soft); }

.block-head h2 {
  font-size: 27px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.block-head h2 em {
  font-style: normal;
  color: var(--blue);
}

.block-head-light h2 { color: #fff; }
.block-head-light h2 em { color: var(--blue-soft); }

.block-desc {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

.block-head-light .block-desc { color: rgba(255, 255, 255, 0.62); }

/* 横滑提示文案 */
.swipe-tip {
  display: inline-block;
  margin-left: 8px;
  font-size: 11.5px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  animation: tipFloat 2.4s ease-in-out infinite;
}

.block-head-light .swipe-tip { color: var(--blue-soft); }

@keyframes tipFloat {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* ============================================================
   首屏
   ============================================================ */
.hero {
  position: relative;
  /* 100svh：小视口高度，避免移动端浏览器地址栏导致内容被裁 */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(20px + var(--safe-top)) var(--pad) calc(64px + var(--safe-bottom));
  overflow: hidden;
  background: var(--white);
}

/* 背景光斑 */
.hero-glow {
  position: absolute;
  top: -120px;
  right: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(22, 118, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-glow::after {
  content: "";
  position: absolute;
  bottom: -340px;
  left: -180px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(22, 118, 255, 0.1), transparent 70%);
}

/* 细网格纹理，轻一点 */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 118, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 118, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  /* 自上而下渐隐，不要盖满整屏 */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 62%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 首屏顶部品牌标识 */
.hero-brand {
  display: block;
  align-self: flex-start;
  margin-bottom: 8px;
}

.hero-brand img {
  height: 30px;
  width: auto;
}

.hero-title {
  font-size: clamp(34px, 10.4vw, 44px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  /* 上下自动外边距：让标题到数据条这一段在剩余空间里垂直居中 */
  margin-top: auto;
}

/* 「少走弯路」：底部一条淡蓝高亮带，比整块反白更克制 */
.hero-title em {
  font-style: normal;
  color: var(--blue);
  background-image: linear-gradient(to top, rgba(22, 118, 255, 0.15) 0.18em, transparent 0.18em);
  background-repeat: no-repeat;
}

.hero-sub {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

/* 平台资质标签（可换行，不横滑——首屏要一眼看全） */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.hero-badges span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-ghost);
  border: 1px solid rgba(22, 118, 255, 0.16);
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

/* 首屏按钮组 */
.hero-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
}

/* ---------- 按钮（移动端：更大、更易点） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  /* 最小点击高度 48px，符合移动端可点区域标准 */
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 118, 255, 0.3);
  flex: 1;
}

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--text);
  background: #fff;
  flex: 0 0 auto;
}

.btn-dark {
  background: var(--text);
  color: #fff;
}

.btn-block {
  display: flex;
  width: 100%;
  margin-top: 26px;
}

/* 触摸按下反馈：轻微下沉 + 收紧阴影，比 hover 更符合手指操作 */
.btn-primary:active {
  transform: scale(0.975);
  box-shadow: 0 4px 12px rgba(22, 118, 255, 0.26);
}

.btn-ghost:active {
  background: var(--tint);
  transform: scale(0.975);
}

.btn-dark:active {
  background: var(--blue);
  transform: scale(0.975);
}

/* 首屏数据条 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  /* 与标题的 margin-top:auto 配合，实现内容区垂直居中 */
  margin-bottom: auto;
}

.hero-stats div {
  text-align: center;
  position: relative;
}

/* 中间分隔线 */
.hero-stats div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 26px;
  background: var(--line);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-stats dt span {
  font-size: 14px;
  margin-left: 1px;
}

.hero-stats dd {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* 下滑提示 */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: calc(22px + var(--safe-bottom));
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(15, 27, 51, 0.16);
  border-radius: 12px;
  z-index: 1;
}

.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: var(--blue);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   横滑卡片容器（核心交互：利用拇指滑动）
   ============================================================ */
.hscroll {
  display: flex;
  gap: 12px;
  /* 超出屏幕横向滚动 */
  overflow-x: auto;
  overflow-y: hidden;
  /* 滑动结束自动吸附对齐卡片 */
  scroll-snap-type: x mandatory;
  /* 惯性滚动 */
  -webkit-overflow-scrolling: touch;
  /* 隐藏滚动条 */
  scrollbar-width: none;
  /* 左右延伸到屏幕边缘，卡片有"出血"感 */
  margin: 0 calc(var(--pad) * -1);
  padding: 4px var(--pad) 20px;
}

.hscroll::-webkit-scrollbar {
  display: none;
}

/* 自动缓滑期间临时关闭吸附：程序连续滚动 + mandatory 吸附会互相抢位置，画面会抖 */
.hscroll.auto-slide {
  scroll-snap-type: none;
}

/* ---------- 平台卡 ---------- */
.pcard {
  flex: 0 0 78%;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 2px 12px rgba(15, 27, 51, 0.04);
}

.pcard-top {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.pcard-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: var(--blue-ghost);
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 9px;
}

.pcard h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pcard-en {
  position: absolute;
  right: 0;
  bottom: 16px;
  font-size: 9.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  color: rgba(15, 27, 51, 0.28);
}

.pcard p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 16px;
}

.pcard ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pcard ul li {
  font-size: 11.5px;
  color: var(--blue-deep);
  border: 1px solid rgba(22, 118, 255, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- 方法论卡 ---------- */
.scard {
  flex: 0 0 80%;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(15, 27, 51, 0.04);
}

.scard-head {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.scard-range {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 5px;
}

.scard-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.scard p {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 16px;
  /* 让底部标签始终贴底，卡片等高 */
  flex: 1;
}

.scard-key {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-ghost);
  border: 1px solid rgba(22, 118, 255, 0.16);
  padding: 5px 13px;
  border-radius: 999px;
}

/* ---------- 案例卡（深色区） ---------- */
.ccard {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}

.ccard-meta {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}

.ccard-meta span {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 9px;
  border-radius: 999px;
}

.ccard h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.ccard p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 18px;
  flex: 1;
}

.ccard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ccard-metrics div {
  text-align: center;
}

.ccard-metrics b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-soft);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ccard-metrics span {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
}

.case-note {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

/* ============================================================
   我们做什么
   ============================================================ */
.about-lead {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 26px;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.pillar-no {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  color: var(--blue);
  padding-top: 3px;
}

.pillar-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 5px;
}

.pillar-body p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ============================================================
   五步闭环（竖向时间流）
   ============================================================ */
.vsteps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 6px;
}

/* 左侧竖线（贯穿五步） */
.vsteps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 18px;
  bottom: 30px;
  width: 1.5px;
  background: linear-gradient(to bottom, rgba(78, 150, 255, 0.5), rgba(78, 150, 255, 0.08));
}

.vsteps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0 14px 0;
}

/* 步骤图标（圆形，压在竖线上） */
.vstep-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #16294A;
  border: 1.5px solid rgba(78, 150, 255, 0.35);
  color: var(--blue-soft);
  /* 与竖线对齐：竖线 left 21px，图标中心也在 21px */
  margin-left: 0;
}

.vstep-icon svg {
  width: 16px;
  height: 16px;
}

.vstep-text {
  flex: 1;
  padding-top: 3px;
}

.vstep-text b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.vstep-text span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* 步骤编号（右侧淡淡的数字） */
.vstep-no {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: -0.02em;
  pointer-events: none;
}

/* 闭环提示 */
.loop-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding: 13px 16px;
  font-size: 12.5px;
  color: var(--blue-soft);
  background: rgba(78, 150, 255, 0.08);
  border: 1px dashed rgba(78, 150, 255, 0.28);
  border-radius: var(--radius-sm);
  text-align: center;
}

.loop-note svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  animation: spin 8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   1500+ 品牌
   ============================================================ */
.brands-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 14px;
}

.brands-title em {
  font-style: normal;
  font-size: 46px;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.industry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.industry-chips li {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 999px;
}

/* ============================================================
   联系
   ============================================================ */
/* 电话主 CTA：大字号，整块可点 */
.phone-hero {
  display: block;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: var(--radius);
  padding: 24px 20px;
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 12px 28px rgba(22, 118, 255, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s var(--ease);
}

/* 背景装饰圆 */
.phone-hero::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.phone-hero:active {
  transform: scale(0.985);
}

.phone-label {
  display: block;
  font-size: 12px;
  opacity: 0.82;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.phone-hero strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  /* 数字用等宽，避免跳动 */
  font-variant-numeric: tabular-nums;
}

.phone-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.phone-hint svg {
  width: 13px;
  height: 13px;
}

/* ---------- 微信二维码 ---------- */
.wechat-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.wechat-title small {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}

.wechat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 二维码卡：横排布局，拇指滑到时二维码在右，姓名在左，一眼扫完 */
.wcard {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.wcard-qr {
  order: 2;
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  /* 二维码图片本身已裁干净，这里只做圆角收边 */
  overflow: hidden;
}

.wcard-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wcard-info {
  order: 1;
  flex: 1;
  min-width: 0;
}

.wcard-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-ghost);
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 7px;
}

.wcard-info strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.wcard-role {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 其他联系方式 ---------- */
.contact-rows {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.crow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

.crow span {
  font-size: 12.5px;
  color: var(--muted);
  flex: 0 0 auto;
}

.crow b {
  font-size: 13.5px;
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

a.crow:active {
  background: var(--tint);
}

/* 用人理念 */
#careers .block-head h2 { font-size: clamp(23px, 6.2vw, 27px); }

.creed {
  margin-bottom: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.creed-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.creed-label i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}
.creed-list { display: grid; gap: 12px; }
.creed-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 8px;
  align-items: baseline;
}
.creed-list span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.creed-list strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
}
.creed-list p {
  grid-column: 2;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ============================================================
   招聘（默认只显示岗位标题，点击展开）
   ============================================================ */
.jobs {
  display: grid;
  gap: 10px;
}

.job {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

/* 展开时左侧亮起主色竖线 */
.job::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.45s var(--ease);
  z-index: 1;
}

.job.open {
  border-color: rgba(22, 118, 255, 0.3);
  background: #fbfdff;
  box-shadow: 0 10px 28px rgba(22, 118, 255, 0.09);
}
.job.open::before { transform: scaleY(1); }

.job-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  grid-template-areas:
    "name plus"
    "tags plus";
  align-items: center;
  gap: 9px 12px;
  width: 100%;
  padding: 18px 16px;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.job-name {
  grid-area: name;
  align-self: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.job.open .job-name { color: var(--blue); }

.job-tags {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.job-tags span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.job.open .job-tags span {
  border-color: rgba(22, 118, 255, 0.22);
  background: var(--white);
  color: var(--text);
}

/* 加号：展开后旋转成叉 */
.job-plus {
  grid-area: plus;
  position: relative;
  justify-self: end;
  align-self: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.4s var(--ease);
}
.job-plus::before,
.job-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--muted);
  border-radius: 1px;
  transition: background 0.3s var(--ease);
}
.job-plus::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.job-plus::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }

.job.open .job-plus {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(45deg);
}
.job.open .job-plus::before,
.job.open .job-plus::after { background: var(--white); }

/* 展开面板：高度由 JS 控制 */
.job-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.job-panel-inner {
  padding: 0 16px 22px;
}

.job-col + .job-col {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.job-col h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}
.job-col h4::before {
  content: "";
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--blue);
}

.job-col li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}
.job-col li + li { margin-top: 3px; }
.job-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 1px;
  background: rgba(15, 27, 51, 0.24);
}

/* 展开更多岗位 */
.jobs-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: 1px dashed rgba(15, 27, 51, 0.14);
  border-radius: 14px;
  background: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.jobs-more:active {
  background: var(--tint);
  color: var(--blue);
}
.jobs-more-ico {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease), margin-top 0.3s var(--ease);
}
.jobs-more[aria-expanded="true"] .jobs-more-ico {
  margin-top: 3px;
  transform: rotate(-135deg);
}

/* 投递条 */
.careers-foot {
  margin-top: 26px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
}
.careers-foot strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.careers-foot a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(22, 118, 255, 0.35);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  word-break: break-all;
}
.careers-foot a:active { color: var(--blue); }
.careers-foot span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================
   回到顶部
   位置要让开底部操作栏（10 + 46 + 10 = 66px）
   ============================================================ */
.to-top {
  position: fixed;
  right: 14px;
  bottom: calc(78px + var(--safe-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--muted);
  box-shadow: 0 8px 22px rgba(15, 27, 51, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  -webkit-tap-highlight-color: transparent;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.to-top:active {
  background: var(--blue-ghost);
  color: var(--blue);
  border-color: rgba(22, 118, 255, 0.25);
}

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 44px var(--pad) 32px;
  text-align: center;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin: 0 auto 16px;
}

.footer-slogan {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.footer-copy {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.9;
}

.footer-icp {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.42);
}

/* ============================================================
   底部常驻 CTA 栏
   ============================================================ */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  gap: 10px;
  padding: 10px var(--pad) calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  /* 默认藏在下方，滚动后滑出 */
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.bottom-bar.show {
  transform: translateY(0);
}

.bbar-call,
.bbar-wechat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.15s var(--ease);
}

.bbar-call {
  flex: 1.15;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 118, 255, 0.28);
}

.bbar-call svg {
  width: 16px;
  height: 16px;
}

.bbar-wechat {
  flex: 1;
  background: var(--blue-ghost);
  color: var(--blue-deep);
  border: 1px solid rgba(22, 118, 255, 0.18);
}

.bbar-call:active,
.bbar-wechat:active {
  transform: scale(0.97);
}

/* ============================================================
   滚动渐显（轻量，不抢注意力）
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* 尊重系统"减少动态效果"设置 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   尺寸微调：小屏（iPhone SE 等 375px 以下）
   ============================================================ */
@media (max-width: 374px) {
  :root { --pad: 16px; }
  .hero-title { font-size: 31px; }
  .block-head h2 { font-size: 24px; }
  .hero-stats dt { font-size: 21px; }
  .phone-hero strong { font-size: 28px; }
  .pcard, .scard { flex-basis: 86%; }
  .ccard { flex-basis: 88%; }
  .wcard-qr { width: 82px; height: 82px; }
}

/* 大屏手机 / 小折叠屏：卡片露出更多，减少横滑次数 */
@media (min-width: 480px) {
  .pcard { flex-basis: 62%; }
  .scard { flex-basis: 64%; }
  .ccard { flex-basis: 66%; }
}

/* 高屏设备（iPhone 14 Pro Max 及以上）：内容更舒展，避免首屏底部大片留白 */
@media (min-height: 800px) {
  .hero-title { font-size: 46px; }
  .hero-sub { font-size: 15.5px; line-height: 1.85; margin-bottom: 24px; }
  .hero-badges { margin-bottom: 32px; }
  .hero-actions { margin-bottom: 40px; }
  .hero-stats { padding-top: 30px; }
  .hero-stats dt { font-size: 27px; }
  .hero-stats dd { font-size: 12px; margin-top: 6px; }
}

/* 横屏时降低首屏高度要求，避免内容被切 */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; padding-top: calc(48px + var(--safe-top)); }
  .scroll-hint { display: none; }
}
