/* 速服家官网 · 首页样式
   设计基准 1920 宽；内容区固定 1400（超宽屏放到 1560），字号与间距随视口等比缩放 */

:root {
  --brand: #3a79fb;
  --brand-light: #eaf1ff;
  --brand-line: #dfe9ff;
  --green: #1e9e63;
  --green-light: #e9f9f1;
  --text: #000;
  --text-body: #666;
  --text-muted: #999;
  --line: #eee;
  --line-strong: #ddd;
  --bg-soft: #f5f7fb;
  --footer-bg: #101e3c;
  --footer-text: #9aa9c6;
  --footer-line: #264587;
  --header-h: clamp(52px, 4.2vw, 80px);
  --gutter: clamp(16px, 4vw, 60px);
  --container: 1400px;
  --radius: 8px;
  --fs-h1: clamp(32px, 3.2vw, 62px);
  --fs-h2: clamp(23px, 2.15vw, 41px);
  --fs-h3: clamp(18px, 1.42vw, 27px);
  --fs-body: clamp(14px, 1.06vw, 20px);
  --fs-sm: clamp(13px, 0.8vw, 16px);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.1);
  --font: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.33;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

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

img, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

/* 回到顶部的锚点，不参与布局 */
#top {
  width: 0;
  height: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* 2K 及以上适当放宽内容区 */
@media (min-width: 2100px) {
  :root {
    --container: 1560px;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--fs-body);
  line-height: 1.33;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: #2f68e0;
}

.btn-outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand-light);
}

.btn-sm {
  padding: 4px 12px;
}

.btn-white {
  background: #fff;
  color: var(--brand);
  padding: clamp(10px, 0.83vw, 16px) clamp(20px, 1.56vw, 30px);
}

.btn-white:hover {
  background: var(--brand-light);
}

.btn-ghost {
  background: var(--brand);
  color: #fff;
  border: 2px solid #fff;
  padding: clamp(8px, 0.73vw, 14px) clamp(20px, 1.56vw, 30px);
}

.btn-ghost:hover {
  background: #2f68e0;
}

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

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 20px rgba(16, 30, 60, 0.08);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 40px);
  height: 100%;
}

.brand img {
  width: auto;
  height: clamp(22px, 1.56vw, 30px);
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.08vw, 40px);
}

.nav-list a {
  display: block;
  font-size: var(--fs-body);
  line-height: 1.33;
  white-space: nowrap;
  transition: color 0.2s;
}

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

.nav-list a.is-active {
  color: var(--brand);
}

.nav-mobile-actions {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.04vw, 20px);
}

.header-hotline {
  font-size: var(--fs-body);
  white-space: nowrap;
  transition: color 0.2s;
}

.header-hotline:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #101e3c;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

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

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

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: clamp(520px, 52vw, 1000px);
  padding-top: calc(var(--header-h) + clamp(24px, 3vw, 56px));
  padding-bottom: clamp(32px, 3.85vw, 74px);
  background: #fff;
}

/* 背景视频：铺满容器，海报图作为加载/失败兜底 */
.bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* 部分安卓浏览器（华为/UC/QQ）会给无 controls 的 video 强加控件，逐层隐藏 */
.bg-video::-webkit-media-controls,
.bg-video::-webkit-media-controls-enclosure,
.bg-video::-webkit-media-controls-panel,
.bg-video::-webkit-media-controls-play-button,
.bg-video::-webkit-media-controls-start-playback-button,
.bg-video::-webkit-media-controls-overlay-play-button,
.bg-video::-webkit-media-controls-toggle-closed-captions-button {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none;
}

.hero-video {
  object-position: center right;
  opacity: 0.87;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 8.5%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 8px rgba(58, 121, 251, 0.3);
  font-size: var(--fs-body);
  line-height: 1.42;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(28px, 3.1vw, 60px);
  margin-top: clamp(32px, 4.2vw, 80px);
}

.hero h1 {
  max-width: 11em;
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.01em;
}

.hero-desc {
  max-width: 32em;
  color: var(--text-body);
  font-size: var(--fs-body);
  line-height: 1.33;
  text-align: justify;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 1.04vw, 20px);
}

.btn-arrow {
  padding: 8px 16px;
  gap: 6px;
}

.points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 1.56vw, 30px);
  margin: 0;
}

.points li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-body);
  font-size: clamp(14px, 1.04vw, 20px);
  line-height: 1.35;
}

.ico-check {
  flex: none;
}

/* ---------- 通用区块 ---------- */
.section {
  padding-block: clamp(48px, 4.17vw, 80px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

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

.section-head {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.04vw, 20px);
  margin-bottom: clamp(32px, 3.8vw, 73px);
}

.eyebrow {
  color: var(--brand);
  font-size: clamp(12px, 0.73vw, 14px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: 0.06em;
}

.eyebrow--light {
  color: #90b4ff;
}

.section h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.33;
}

.section-desc {
  max-width: 58em;
  color: var(--text-body);
  font-size: var(--fs-body);
  line-height: 1.33;
}

/* ---------- 服务能力 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.12vw, 60px);
}

/* 四类内容卡共用容器样式 */
.service-card,
.flow-card,
.pricing-card,
.review-card {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.04vw, 20px);
  padding: clamp(20px, 1.56vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-card {
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.service-card--accent {
  box-shadow: 0 10px 30px rgba(221, 221, 221, 0.6);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: var(--brand-light);
}

.card-icon--green {
  background: var(--green-light);
}

.service-card h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.31;
}

.service-card p {
  color: var(--text-body);
  font-size: var(--fs-body);
  line-height: 1.25;
  text-align: justify;
}

.card-link {
  align-self: flex-start;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.6;
  transition: background-color 0.2s;
}

.card-link:hover {
  background: #dbe7ff;
}

.card-link--green {
  background: var(--green-light);
  color: var(--green);
}

.card-link--green:hover {
  background: #d8f2e4;
}

.card-divider {
  width: 100%;
  height: 1px;
  margin: 6px 0;
  border: 0;
  background: var(--line-strong);
}

.card-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 0;
}

.card-tags li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-body);
  font-size: var(--fs-sm);
  line-height: 1.33;
}

.card-tags li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.card-tags--green li::before {
  background: var(--green);
}

/* ---------- 服务网络 ---------- */
.network-card {
  position: relative;
  margin-top: clamp(20px, 2.08vw, 40px);
  aspect-ratio: 1680 / 645;
  border-radius: clamp(20px, 2.08vw, 40px);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.network-map {
  position: absolute;
  left: 24.94%;
  top: 3.88%;
  width: 50.12%;
  height: auto;
}

.network-glow {
  position: absolute;
  left: 31.2%;
  top: 0.9%;
  width: 37.6%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 46, 39, 0.3) 0%, rgba(227, 46, 39, 0) 70%);
  pointer-events: none;
}

.network-stats {
  position: absolute;
  top: 6.67%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 86.8%;
}

.network-stats--left {
  left: 6.5%;
  width: 15%;
}

.network-stats--right {
  right: 6.5%;
  width: 15%;
  text-align: right;
  align-items: flex-end;
}

.stat dt {
  font-size: clamp(26px, 2.92vw, 56px);
  font-weight: 700;
  line-height: 1.33;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 出场动画：数字与文字整组上浮淡入。仅在脚本就绪时生效，避免无 JS 时内容不可见 */
html.js .stat {
  opacity: 0;
  transform: translateY(clamp(24px, 3.3vw, 64px));
  will-change: transform, opacity;
  transition: opacity 0.4s ease, transform 0.4s ease-out;
}

html.js .stat.is-in {
  opacity: 1;
  transform: none;
}

.stat dd {
  margin: 0;
  color: var(--text-body);
  font-size: var(--fs-body);
  line-height: 1.33;
  white-space: nowrap;
}

/* ---------- 服务闭环 ---------- */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 3.12vw, 60px);
  margin-bottom: clamp(24px, 2.08vw, 40px);
}

.flow-steps li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flow-steps span {
  color: var(--brand);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.33;
}

.flow-steps i {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--brand-line);
}

/* 浅蓝底 + 实蓝进度条：五条依次填满，每条 1s，5s 一轮循环 */
.flow-steps i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform-origin: left center;
  animation: flow-1 5s linear infinite;
}

.flow-steps li:nth-child(2) i::after {
  animation-name: flow-2;
}

.flow-steps li:nth-child(3) i::after {
  animation-name: flow-3;
}

.flow-steps li:nth-child(4) i::after {
  animation-name: flow-4;
}

.flow-steps li:nth-child(5) i::after {
  animation-name: flow-5;
}

@keyframes flow-1 {
  0% {
    transform: scaleX(0);
  }

  20%,
  100% {
    transform: scaleX(1);
  }
}

@keyframes flow-2 {
  0%,
  20% {
    transform: scaleX(0);
  }

  40%,
  100% {
    transform: scaleX(1);
  }
}

@keyframes flow-3 {
  0%,
  40% {
    transform: scaleX(0);
  }

  60%,
  100% {
    transform: scaleX(1);
  }
}

@keyframes flow-4 {
  0%,
  60% {
    transform: scaleX(0);
  }

  80%,
  100% {
    transform: scaleX(1);
  }
}

@keyframes flow-5 {
  0%,
  80% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 3.12vw, 60px);
}

.flow-card {
  gap: clamp(12px, 1.04vw, 20px);
  padding: clamp(14px, 1.15vw, 22px);
}

.flow-card h3,
.pricing-card h3 {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.33;
}

.flow-card p,
.pricing-desc {
  color: var(--text-body);
  font-size: var(--fs-sm);
  line-height: 1.67;
}

/* ---------- 下单方式 ---------- */
.pricing {
  position: relative;
  overflow: hidden;
  background: #0e1a2f;
  color: #fff;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.pricing > .container {
  position: relative;
  z-index: 2;
}

.pricing .section-desc {
  color: #dfdfdf;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.12vw, 60px);
}

.pricing-card {
  color: var(--text);
}

.pricing-index {
  color: var(--brand);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.33;
}

.pricing-desc {
  min-height: 5em;
}

.points--sm {
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.04vw, 20px);
}

.points--sm li {
  font-size: var(--fs-sm);
  line-height: 1.33;
}

/* ---------- 师傅入驻 ---------- */
.join-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3.12vw, 60px);
  padding: clamp(28px, 3.12vw, 60px) clamp(20px, 2.08vw, 40px);
  border-radius: var(--radius);
  background: url("../images/join-bg.webp") center / cover no-repeat;
  color: #fff;
}

.join-content {
  max-width: 986px;
}

.join-content > p {
  margin-top: clamp(14px, 1.56vw, 30px);
  font-size: var(--fs-body);
  line-height: 1.33;
}

.join-content .points {
  margin-top: clamp(24px, 3.12vw, 60px);
  gap: clamp(16px, 2.08vw, 40px);
}

.points--light li {
  color: #fff;
  font-size: var(--fs-body);
  gap: 16px;
}

.join-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 30px;
}

/* ---------- 用户评价 ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.12vw, 60px);
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.review-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-light);
}

.review-name {
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.33;
}

.review-meta {
  color: var(--text-muted);
  font-size: clamp(12px, 0.78vw, 15px);
  line-height: 1.33;
}

.review-tag {
  flex: none;
  padding: 4px 20px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-size: var(--fs-sm);
  line-height: 1.33;
  white-space: nowrap;
}

.review-stars {
  display: flex;
  gap: 10px;
}

.review-stars svg {
  width: 30px;
  height: 30px;
}

.review-text {
  color: var(--text-body);
  font-size: var(--fs-body);
  line-height: 1.5;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: clamp(40px, 4.17vw, 80px) var(--gutter) clamp(24px, 2.08vw, 40px);
  background: var(--footer-bg);
  color: var(--footer-text);
}

.site-footer .container {
  padding-inline: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: clamp(24px, 3.12vw, 60px);
}

.footer-brand {
  max-width: 488px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  background: #fff;
}

.footer-logo-mark img {
  width: 56px;
  height: auto;
}

.footer-logo-text {
  color: #fff;
  font-size: clamp(32px, 3.12vw, 60px);
  font-weight: 500;
  line-height: 1.33;
}

.footer-desc {
  margin-top: 30px;
  font-size: var(--fs-sm);
  line-height: 1.33;
}

.footer-hotline {
  margin-top: 30px;
  font-size: var(--fs-sm);
  line-height: 1.33;
}

.footer-hotline a:hover {
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: clamp(40px, 8.33vw, 160px);
  padding: 0 40px;
}

.footer-col h2,
.footer-col a {
  color: #fff;
  font-size: var(--fs-sm);
  line-height: 1.33;
}

.footer-col h2 {
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #90b4ff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(30px, 3.65vw, 70px);
  padding-top: clamp(20px, 2.08vw, 40px);
  border-top: 1px solid var(--footer-line);
  font-size: var(--fs-sm);
  line-height: 1.33;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- 小程序二维码弹窗 ---------- */
.mini-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mini-modal[hidden] {
  display: none;
}

.mini-modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(16, 30, 60, 0.55);
}

.mini-modal__panel {
  position: relative;
  width: min(360px, 100%);
  padding: clamp(24px, 2.08vw, 32px) clamp(20px, 1.56vw, 28px);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 60px rgba(16, 30, 60, 0.25);
}

.mini-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.mini-modal__close:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.mini-modal__panel h2 {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.4;
}

.mini-modal__qr {
  width: clamp(180px, 12vw, 220px);
  height: auto;
  margin: clamp(16px, 1.56vw, 24px) auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-modal__panel p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1400px) {
  .footer-nav {
    gap: 60px;
    padding: 0;
  }
}

@media (max-width: 1200px) {
  .service-grid,
  .pricing-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:last-child,
  .pricing-card:last-child,
  .review-card:last-child {
    grid-column: 1 / -1;
  }

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

  .flow-grid .flow-card:last-child {
    grid-column: 1 / -1;
  }
}

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

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    background: #fff;
    box-shadow: 0 20px 30px rgba(16, 30, 60, 0.12);
  }

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

  .main-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f5;
  }

  .nav-mobile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
  }

  .header-hotline {
    display: none;
  }

  .network-card {
    aspect-ratio: auto;
    padding: 32px 24px;
  }

  .network-map {
    position: static;
    width: 82%;
    margin: 8px auto 24px;
    opacity: 0.75;
  }

  .network-glow {
    display: none;
  }

  .network-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 12px;
    width: auto;
    height: auto;
  }

  .network-stats--left {
    margin-bottom: 24px;
  }

  .network-stats--right {
    text-align: left;
    align-items: start;
  }

  .stat dt {
    font-size: clamp(20px, 4.6vw, 32px);
    white-space: normal;
  }

  .stat dd {
    font-size: clamp(11px, 2.9vw, 16px);
    white-space: normal;
  }

  .join-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .flow-steps {
    display: none;
  }

  .pricing-desc {
    min-height: 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-video {
    opacity: 0.6;
    object-position: center bottom;
  }

  .hero::after {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.5) 100%);
  }

  .join-actions {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-nav {
    justify-content: space-between;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .service-grid,
  .pricing-grid,
  .review-grid,
  .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card:last-child,
  .pricing-card:last-child,
  .review-card:last-child,
  .flow-grid .flow-card:last-child {
    grid-column: auto;
  }

  .hero-actions .btn {
    flex: 1;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  /* 数据区出场动效始终保留（产品要求），此处仅覆盖全局的 0.01ms 压缩 */
  html.js .stat {
    transition-duration: 0.4s !important;
  }

  /* 进度条是无限循环动画，必须保留正常时长，否则会高频闪烁 */
  .flow-steps i::after {
    animation-duration: 5s !important;
  }
}
