/* ============================================================
   首页 v2 —— 深色 + 红色主题
   仅作用于首页（body.page-home），不影响其他页面。
   加载顺序：style.css → index-v2.css
   ============================================================ */

body.page-home {
  /* 主题变量覆写 */
  --v2-bg: #ffffff;
  --v2-bg-soft: #131316;
  --v2-bg-card: #17171a;
  --v2-bg-card-2: #1d1d21;
  --v2-red: #e8382f;
  --v2-red-bright: #ff4438;
  --v2-red-deep: #a81f18;
  --v2-line: rgba(255, 255, 255, 0.09);
  --v2-line-strong: rgba(255, 255, 255, 0.16);
  --v2-t1: #f5f5f7;
  --v2-t2: #000000;
  --v2-t3: #7c7c85;
  --v2-radius: 20px;

  /* 覆盖 style.css 的全局 token，使复用组件自动变暗 */
  --bg-primary: var(--v2-bg);
  --bg-secondary: var(--v2-bg-soft);
  --bg-card: var(--v2-bg-card);
  --bg-card-hover: var(--v2-bg-card-2);
  --border: var(--v2-line);
  --text-primary: var(--v2-t1);
  --text-secondary: var(--v2-t2);
  --text-muted: var(--v2-t3);
  --accent: var(--v2-red);
  --accent-light: var(--v2-red-bright);
  --accent-glow: rgba(232, 56, 47, 0.28);
  --gradient: linear-gradient(135deg, #ff5a4d 0%, #e8382f 50%, #c22a22 100%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);

  background: var(--v2-bg);
  color: var(--v2-t1);
}

/* ---------- 导航 ---------- */
/* 初始状态：半透明深色底，透出 hero 背景的左上角红光 */
body.page-home .header {
  background: rgb(0 0 0);
  backdrop-filter: blur(8px);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

/* 滚动后：白色背景，对应图2效果 */
body.page-home .header.scrolled {
  background: #ffffff;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 20, 26, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.page-home .logo-icon {
  background: var(--v2-red);
  box-shadow: 0 4px 20px rgba(232, 56, 47, 0.4);
}

/* 有 SVG 图片时，去掉红色背景和阴影 */
body.page-home .logo-icon.has-image {
  background: transparent;
  box-shadow: none;
}

/* 初始状态 logo 文字为白色 */
body.page-home .logo-text {
  color: #000000;
  transition: color 0.35s ease;
}

/* 滚动后 logo 文字变为深色 */
body.page-home .header.scrolled .logo-text {
  color: #14141a;
}

/* 初始状态 slogan 为浅灰色 */
body.page-home .logo-slogan {
  color: rgb(0 0 0);
  transition: color 0.35s ease;
}

/* 滚动后 slogan 变为深灰色 */
body.page-home .header.scrolled .logo-slogan {
  color: #88888f;
}

/* 初始状态导航链接为白色 */
body.page-home .nav-link {
  color: rgb(253 253 253);
  transition: color 0.35s ease;
}

/* 滚动后导航链接变为深色 */
body.page-home .header.scrolled .nav-link {
  color: #33333a;
}

body.page-home .nav-link:hover,
body.page-home .nav-link.active {
  color: #F32727;
}

body.page-home .header.scrolled .nav-link:hover,
body.page-home .header.scrolled .nav-link.active {
  color: #F32727;
}

body.page-home .nav-link.active::after {
  background: var(--v2-red);
}

body.page-home .btn-nav-auth {
  background: var(--v2-red);
  color: #fff;
  border-color: transparent;
}

body.page-home .btn-nav-auth:hover {
  background: var(--v2-red-bright);
}

/* 初始状态用户名白色 */
body.page-home .nav-user-name {
  color: #ffffff;
  transition: color 0.35s ease;
}

/* 滚动后用户名深色 */
body.page-home .header.scrolled .nav-user-name {
  color: #14141a;
}

/* ---------- 首屏 · 顶部轮播 ---------- */
body.page-home .hero {
  min-height: 0;
  padding: calc(var(--header-height) + 48px) 0 0;
  background: #08080a;
  display: block;
}

body.page-home .hero-inner {
  flex: none;
}

body.page-home .hero-bg-slide[data-theme="blue"],
body.page-home .hero-bg-slide[data-theme="purple"],
body.page-home .hero-bg-slide[data-theme="cyan"],
body.page-home .hero-bg-slide[data-theme="violet"] {
  background: #08080a;
}

/* 轮播大图：有 upload 图时铺满，无图时走暗红渐变 */
body.page-home .v2-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease;
}

body.page-home .v2-hero-media.active {
  opacity: 1;
  transform: scale(1);
}

body.page-home .v2-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #08080a 0%, #08080a 22%, rgba(8, 8, 10, 0.72) 48%, rgba(8, 8, 10, 0.25) 100%),
    linear-gradient(0deg, #08080a 0%, transparent 42%);
}

/* 无图兜底：左上 + 右下 双红光晕 */
body.page-home .v2-hero-media.is-fallback {
  background:
    radial-gradient(ellipse 55% 65% at 0% 0%, rgba(232, 56, 47, 0.35) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(232, 56, 47, 0.22) 0%, transparent 62%),
    #08080a;
}

body.page-home .hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 5%, transparent 72%);
}

body.page-home .hero-glow-1 {
  background: radial-gradient(circle, rgba(232, 56, 47, 0.22) 0%, transparent 68%);
}

body.page-home .hero-glow-2 {
  background: radial-gradient(circle, rgba(140, 30, 24, 0.22) 0%, transparent 70%);
}

body.page-home .hero-watermark {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
}

body.page-home .hero-inner {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

body.page-home .hero-badge {
  color: var(--v2-red-bright);
  background: rgba(232, 56, 47, 0.12);
  border: 1px solid rgba(232, 56, 47, 0.3);
  letter-spacing: 1px;
  font-weight: 500;
}

body.page-home .hero-badge-dot {
  background: var(--v2-red-bright);
  box-shadow: 0 0 12px var(--v2-red-bright);
}

body.page-home .hero-title {
  font-size: clamp(2.1rem, 4.4vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: #fff;
}

body.page-home .hero-title-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.page-home .hero-company {
  color: var(--v2-t2);
  letter-spacing: 1px;
  font-weight: 500;
}

body.page-home .hero-desc {
  color: var(--v2-t3);
  font-weight: 300;
  max-width: 30em;
}

body.page-home .hero-actions {
  margin-top: 40px;
}

body.page-home .btn-primary {
  background: var(--v2-red);
  color: #fff;
  border-radius: 999px;
  padding: 16px 38px;
  box-shadow: 0 10px 36px rgba(232, 56, 47, 0.36);
}

body.page-home .btn-primary:hover {
  background: var(--v2-red-bright);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(232, 56, 47, 0.45);
}

body.page-home .btn-outline {
  background: transparent;
  color: var(--v2-t1);
  border: 1px solid var(--v2-line-strong);
  border-radius: 999px;
  box-shadow: none;
}

body.page-home .btn-outline:hover {
  border-color: var(--v2-red);
  background: rgba(232, 56, 47, 0.1);
  color: #fff;
}

/* 轮播指示点 → 右下角箭头 + 页码 */
body.page-home .hero-carousel-controls {
  border-top: none;
  padding-top: 0;
  margin-top: 48px;
  justify-content: flex-start;
}

body.page-home .hero-carousel-dots {
  gap: 0;
  align-items: center;
}

body.page-home .hero-carousel-dot {
  width: auto;
  height: auto;
  min-width: 0;
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  position: relative;
}

body.page-home .hero-carousel-dot .hero-dot-fill {
  display: none;
}

/* 把每个点做成小横条 */
body.page-home .hero-carousel-dot::before {
  content: '';
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  transition: all 0.35s ease;
}

body.page-home .hero-carousel-dot.active::before {
  width: 46px;
  background: var(--v2-red);
  box-shadow: 0 0 14px rgba(232, 56, 47, 0.7);
}

body.page-home .hero-carousel-dot:hover::before {
  background: rgba(255, 255, 255, 0.4);
}

/* 首屏右侧设备：暗色 */
body.page-home .device-screen {
  background: #101013;
  border: 1px solid var(--v2-line-strong);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(232, 56, 47, 0.1),
    0 0 70px rgba(232, 56, 47, 0.14);
}

body.page-home .device-header {
  background: #17171a;
  border-bottom: 1px solid var(--v2-line);
}

body.page-home .code-output {
  color: #d8d8de;
}

body.page-home .code-line-nums {
  color: #4a4a52;
}

body.page-home .code-line-nums span.active {
  color: var(--v2-red-bright);
}

body.page-home .device-terminal-bar {
  background: #17171a;
  border-top: 1px solid var(--v2-line);
}

body.page-home .terminal-file,
body.page-home .terminal-status {
  color: var(--v2-t3);
}

body.page-home .device-glow {
  background: radial-gradient(circle, rgba(232, 56, 47, 0.16) 0%, transparent 62%);
}

body.page-home .hero-chip {
  background: rgba(23, 23, 26, 0.9);
  border: 1px solid var(--v2-line-strong);
  color: var(--v2-t1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* 首屏客户评价条 → 暗 */
body.page-home .hero-reviews-bar {
  border-top: 1px solid var(--v2-line);
  background: rgba(15, 15, 18, 0.8);
  backdrop-filter: blur(14px);
}

body.page-home .hero-reviews-label {
  color: var(--v2-t1);
}

body.page-home .hero-reviews-label::after {
  background: var(--v2-line-strong);
}

body.page-home .hero-review-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--v2-line);
  box-shadow: none;
}

body.page-home .hero-review-name {
  color: var(--v2-t1);
}

body.page-home .hero-review-text {
  color: var(--v2-t2);
}

body.page-home .hero-review-time {
  color: var(--v2-t3);
  border-left: 1px solid var(--v2-line);
}

/* 首屏统计条 → 暗 */
body.page-home .hero-stats-bar {
  border-top: 1px solid var(--v2-line);
  background: rgba(15, 15, 18, 0.8);
  backdrop-filter: blur(16px);
}

body.page-home .stat-num {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.page-home .stat-suffix {
  color: var(--v2-red-bright);
}

body.page-home .stat-label {
  color: var(--v2-t3);
}

body.page-home .stat-divider {
  background: var(--v2-line);
}

/* ---------- 品牌宣言跑马灯 → 暗 ---------- */
body.page-home .marquee-wrap {
  background: #0d0d10;
  border-bottom: 1px solid var(--v2-line);
}

body.page-home .marquee-fade-left {
  background: linear-gradient(90deg, #0d0d10 0%, transparent 100%);
}

body.page-home .marquee-fade-right {
  background: linear-gradient(270deg, #0d0d10 0%, transparent 100%);
}

body.page-home .marquee-spotlight {
  background: radial-gradient(ellipse at center, rgba(232, 56, 47, 0.1) 0%, transparent 72%);
}

body.page-home .marquee-item {
  color: rgba(255, 255, 255, 0.16);
}

body.page-home .marquee-item.is-focus,
body.page-home .marquee-item.is-hover {
  color: var(--v2-red-bright) !important;
  text-shadow: 0 0 26px rgba(232, 56, 47, 0.5) !important;
}

body.page-home .marquee-dot {
  color: rgba(255, 255, 255, 0.1) !important;
}

body.page-home .marquee-dot.is-focus {
  color: var(--v2-red-bright) !important;
}

body.page-home .marquee-detail {
  background: #17171a;
  border: 1px solid rgba(232, 56, 47, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

body.page-home .marquee-detail-arrow {
  background: #17171a;
  border-top: 1px solid rgba(232, 56, 47, 0.3);
  border-left: 1px solid rgba(232, 56, 47, 0.3);
}

body.page-home .marquee-detail-title {
  color: var(--v2-red-bright);
}

body.page-home .marquee-detail-list li {
  color: var(--v2-t2);
  background: rgba(232, 56, 47, 0.12);
  border: 1px solid rgba(232, 56, 47, 0.2);
}

/* ---------- 通用区块 ---------- */
body.page-home .section {
  padding: 110px 0;
}

body.page-home .section-header {
  margin-bottom: 60px;
}

body.page-home .section-tag {
  color: var(--v2-red-bright);
  letter-spacing: 5px;
  font-size: 0.75rem;
  font-weight: 500;
}

body.page-home .section-title {
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.02em;
}

body.page-home .section-desc {
  color: var(--v2-t3);
  font-weight: 300;
}

/* ---------- 首屏 · 固定 1080px 高度 ---------- */
body.page-home .hero {
  min-height: 1080px;
}

/* ---------- 核心服务 · 固定 1080px 高度 ---------- */
body.page-home .services {
  background: #fff;
  min-height: 1080px;
  display: flex;
  align-items: center;
}

body.page-home .services .section-tag {
  color: var(--v2-red);
}

body.page-home .services .section-header {
  text-align: center;
}

body.page-home .services .section-title {
  color: #14141a;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
}

body.page-home .services .section-desc {
  color: #6b6b76;
}

/* 服务区容器放宽到 1440px（= 卡片网格总宽 480+20+460+20+460），并去掉左右内边距 */
body.page-home .services .container {
  max-width: 1440px;
  padding: 0;
}

/* 3 列网格，列宽比例匹配设计稿 SVG 原生宽度：480 : 460 : 460
   grid 区域：software 左列跨两行；app 右上跨两列；game / miniprogram 位于第二行 */
body.page-home .services-grid {
  display: grid;
  grid-template-columns: minmax(0, 480fr) minmax(0, 460fr) minmax(0, 460fr);
  grid-template-rows: auto auto;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
  grid-template-areas:
    "software app app"
    "software game miniprogram";
}

/* 卡片本体即设计稿 SVG：整图铺满、不裁切，不再叠加 HTML 文字 */
body.page-home .service-card {
  padding: 0;
  border: none;
  border-radius: 20px;
  background-color: #fff;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: none;
  display: block;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.3, 1);
}

/* 加载中 */
body.page-home .services-grid-loading {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: #a0a0aa;
  font-size: 0.9375rem;
}

/* 各卡片网格定位（尺寸与设计稿 SVG 原生尺寸 1:1：software 480×660、app 940×320、game/miniprogram 460×320） */
/* 软件开发：左列跨两行 */
body.page-home .service-card-software {
  grid-area: software;
  aspect-ratio: 480 / 660;
}

/* APP开发：右上跨两列 */
body.page-home .service-card-app {
  grid-area: app;
  aspect-ratio: 940 / 320;
}

/* 小游戏开发：第二行第二列 */
body.page-home .service-card-game {
  grid-area: game;
  aspect-ratio: 460 / 320;
}

/* 微信小程序：第二行第三列 */
body.page-home .service-card-miniprogram {
  grid-area: miniprogram;
  aspect-ratio: 460 / 320;
}

/* 每张卡直接整图显示对应设计稿 SVG */
body.page-home .service-card-software {
  background-image: url('/static/images/ruanjian.svg');
}
body.page-home .service-card-app {
  background-image: url('/static/images/app.svg');
}
body.page-home .service-card-game {
  background-image: url('/static/images/game.svg');
}
body.page-home .service-card-miniprogram {
  background-image: url('/static/images/vx.svg');
}

body.page-home .services-grid:hover .service-card:not(:hover) {
  transform: none;
  opacity: 1;
}

body.page-home .service-card::before,
body.page-home .service-card::after {
  display: none;
}

body.page-home .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 20, 26, 0.12);
}

/* 卡片文字由设计稿 SVG 呈现；后台数据渲染出的 HTML 文字节点保留在 DOM 中但隐藏
   （/api/services 接口与后台「服务管理」字段均保留，仅当前前端不展示文字） */
body.page-home .service-card-body {
  display: none;
}

body.page-home .service-card h3 {
  margin: 0;
}

/* 描述文字（隐藏，仅保留样式兜底） */
body.page-home .service-card-desc {
  margin: 0;
}

/* 卡片大插画区域（背景图已展示对应图片，这里隐藏避免重复） */
body.page-home .service-card-illustration {
  display: none;
}

/* 桌面端锁定精确像素：三列 480 / 460 / 460，两行 320 / 320，
   software 跨两行 = 480×660，app 跨两列 = 940×320 */
@media (min-width: 1440px) {
  body.page-home .services-grid {
    grid-template-columns: 480px 460px 460px;
    grid-template-rows: 320px 320px;
  }

  body.page-home .service-card {
    aspect-ratio: auto;
  }
}

/* 服务卡内的项目滚动条 → 浅色 */
body.page-home .service-projects {
  background: rgba(20, 20, 26, 0.035);
  border-bottom: 1px solid rgba(20, 20, 26, 0.07);
}

body.page-home .service-project-name {
  color: #6b6b76;
}

/* ---------- 了解我们与合作流程（暗红大区块 + 白卡） ---------- */
body.page-home .v2-about {
  position: relative;
  padding: 110px 0 0;
  margin-bottom: 0;
  min-height: 1057px;
  background:
    radial-gradient(ellipse 70% 60% at 18% 30%, rgba(160, 30, 24, 0.5) 0%, transparent 62%),
    radial-gradient(ellipse 60% 55% at 82% 25%, rgba(120, 22, 18, 0.42) 0%, transparent 60%),
    #0a0a0c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.page-home .v2-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 5%, transparent 70%);
  pointer-events: none;
}

body.page-home .v2-about .section-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 auto 48px;
  max-width: 820px;
}

body.page-home .v2-about .section-title {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
}

body.page-home .v2-about .section-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  line-height: 2;
}

/* 统计行 */
body.page-home .v2-about-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 54px;
  text-align: center;
}

body.page-home .v2-stat-item {
  text-align: center;
  padding: 8px 0;
  position: relative;
}

body.page-home .v2-stat-item + .v2-stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

body.page-home .v2-stat-number {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ff3b30;
}

body.page-home .v2-stat-label {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

/* 流程白卡 */
body.page-home .v2-process-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 28px;
  padding: 64px 72px 0;
  margin: 0 auto;
  width: 1440px;
  max-width: 95%;
  height: 590px;
  flex: none;
  box-shadow: 0 -20px 70px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 步骤导航（布局按设计稿实测：圆 76px、编号描边字压在圆左上、虚线过圆心） */
body.page-home .process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-bottom: 48px;
  padding: 40px 20px 0;
}

/* 虚线连接线：穿过圆形图标中心 */
body.page-home .process-steps::before {
  content: '';
  position: absolute;
  top: 77px;
  left: 10%;
  right: 10%;
  height: 0;
  border-top: 2px dashed #ffe3e3;
}

body.page-home .process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

body.page-home .process-step:hover {
  transform: translateY(-2px);
}

/* 步骤数字：空心描边大字，压在圆形左上角（编号在圆形上层） */
body.page-home .process-step-num {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(calc(-100% - 30px));
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2.5px #f0f0f0;
  z-index: 2;
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.3s ease;
}

/* 点击激活：对应编号变为黑色描边（与未激活的浅灰形成区分） */
body.page-home .process-step.is-active .process-step-num {
  color: #f0f0f0;
}

/* 圆形图标容器 */
body.page-home .process-step-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #feeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background 0.35s cubic-bezier(0.25, 0.8, 0.3, 1),
              box-shadow 0.35s ease;
}

body.page-home .process-step-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

/* 激活状态：实心红色背景 */
body.page-home .process-step.is-active .process-step-icon {
  background: #f32727;
  box-shadow: 0 8px 24px rgba(243, 39, 39, 0.3);
}

/* 激活状态下图标变白；未激活保持原始红色 */
body.page-home .process-step.is-active .process-step-icon img {
  filter: brightness(0) invert(1);
}

body.page-home .process-step:not(.is-active) .process-step-icon img {
  filter: none;
}

body.page-home .process-step-label {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #2f2f2f;
  transition: color 0.3s ease;
}

/* 步骤内容区 */
body.page-home .process-content {
  position: relative;
  min-height: 320px;
}

body.page-home .process-pane {
  display: none;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  animation: processFadeIn 0.4s ease;
}

body.page-home .process-pane.is-active {
  display: grid;
}

@keyframes processFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.page-home .process-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-home .process-illustration svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

body.page-home .process-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #14141a;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

body.page-home .process-text p {
  font-size: 1rem;
  color: #6b6b76;
  line-height: 1.9;
  font-weight: 400;
}

/* CTA 区域 */
body.page-home .process-cta {
  padding-left: 40px;
  border-left: 1px dashed rgba(20, 20, 26, 0.12);
}

body.page-home .process-cta h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #14141a;
  margin-bottom: 12px;
}

body.page-home .process-cta p {
  font-size: 0.875rem;
  color: #88888f;
  line-height: 1.8;
  margin-bottom: 24px;
}

body.page-home .process-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #e8382f;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(232, 56, 47, 0.3);
}

body.page-home .process-cta-btn:hover {
  background: #d62d24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 56, 47, 0.4);
}

body.page-home .process-cta-btn svg {
  transition: transform 0.3s ease;
}

body.page-home .process-cta-btn:hover svg {
  transform: translateX(2px);
}

/* ---------- 案例（白色背景 + 大卡片轮播） ---------- */
body.page-home .v2-cases {
  background: #ffffff;
  padding: 270px 0 90px;
  min-height: 1494px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: -240px;
}

/* 背景装饰圆 */
/*body.page-home .v2-cases::before,*/
/*body.page-home .v2-cases::after {*/
/*  content: '';*/
/*  position: absolute;*/
/*  border-radius: 50%;*/
/*  z-index: 0;*/
/*}*/

body.page-home .v2-cases::before {
  width: 200px;
  height: 200px;
  background: #f0f0f2;
  top: 15%;
  left: 5%;
  opacity: 0.6;
}

body.page-home .v2-cases::after {
  width: 180px;
  height: 180px;
  background: #f0f0f2;
  bottom: 10%;
  right: 6%;
  opacity: 0.6;
}

body.page-home .v2-cases .section-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 60px;
}

body.page-home .v2-cases .section-title {
  color: #14141a;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
}

body.page-home .v2-cases .section-desc {
  color: #88888f;
}

/* 视口铺满整屏宽度（full-bleed），使中央主卡两侧各露出相邻卡片 */
body.page-home .v2-cases-viewport {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  height: 700px;
  z-index: 1;
  display: flex;
  align-items: center;
}

/* 视口内的容器放开限制，让整卡铺满 1440×700 */
body.page-home .v2-cases-viewport .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* 轨道按内容宽度排布，由 JS 计算 translateX 实现「主卡居中 + 两侧露出」 */
body.page-home .v2-cases-track {
  display: flex;
  gap: 40px;
  width: max-content;
  flex: 0 0 auto;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.3, 1);
  will-change: transform;
  align-items: stretch;
}

/* 案例卡片：固定 1440×700，前后相邻卡片各露出一部分 */
body.page-home .v2-case-card {
  flex: 0 0 1440px;
  width: 1440px;
  min-width: 0;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #141416;
  height: 700px;
  display: flex;
  flex-direction: column;
}

/* 卡片背景图 + 渐变蒙层 */
body.page-home .v2-case-thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

body.page-home .v2-case-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.1) 0%, rgba(10, 10, 12, 0.6) 60%, rgba(10, 10, 12, 0.85) 100%);
}

/* 卡片内容 */
body.page-home .v2-case-body {
  position: relative;
  z-index: 1;
  padding: 48px 56px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.page-home .v2-case-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

body.page-home .v2-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-home .v2-case-tags span {
  font-size: 0.8125rem;
  padding: 6px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
}

body.page-home .v2-case-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 8px 0;
}

body.page-home .v2-case-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  max-width: 360px;
}

/* 轮播控制 */
body.page-home .v2-cases-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

body.page-home .v2-cases-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 26, 0.12);
  background: #fff;
  color: #14141a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.page-home .v2-cases-btn:hover {
  background: #f5f5f7;
  border-color: rgba(20, 20, 26, 0.2);
  transform: scale(1.05);
}

body.page-home .v2-cases-btn.v2-cases-next {
  background: #e8382f;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(232, 56, 47, 0.35);
}

body.page-home .v2-cases-btn.v2-cases-next:hover {
  background: #d62d24;
  box-shadow: 0 8px 26px rgba(232, 56, 47, 0.45);
}

body.page-home .v2-cases-count {
  font-size: 0.875rem;
  letter-spacing: 2px;
  color: #88888f;
  font-variant-numeric: tabular-nums;
  padding: 8px 20px;
  background: #f5f5f7;
  border-radius: 999px;
  font-weight: 500;
}

body.page-home .v2-cases-count b {
  color: #14141a;
  font-weight: 700;
}

/* ---------- 客户评价（浅灰底 + 两行交错卡片） ---------- */
body.page-home .v2-voices {
  background: #f6f6f8;
  padding: 110px 0;
  min-height: 794px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

body.page-home .v2-voices .section-header {
  text-align: center;
  margin-bottom: 70px;
}

body.page-home .v2-voices .section-title {
  color: #14141a;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

body.page-home .v2-voices .section-title span {
  color: #14141a;
}

body.page-home .v2-voices .section-desc {
  color: #88888f;
}

/* 评价卡片两行交错布局 */
body.page-home .v2-voices-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 1440px;
}

body.page-home .v2-voices-row {
  display: flex;
  gap: 24px;
  width: 120%;
}

body.page-home .v2-voices-row:first-child {
  margin-left: -10%;
  animation: voiceScrollLeft 30s linear infinite;
}

body.page-home .v2-voices-row:last-child {
  margin-left: 0;
  animation: voiceScrollRight 35s linear infinite;
}

@keyframes voiceScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes voiceScrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

body.page-home .v2-voices:hover .v2-voices-row {
  animation-play-state: paused;
}

/* 评价卡片 */
body.page-home .v2-voice-card {
  flex: 0 0 calc((100% - 96px) / 5);
  min-width: calc((100% - 96px) / 5);
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.page-home .v2-voice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

body.page-home .v2-voice-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.page-home .v2-voice-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #ececf0;
}

body.page-home .v2-voice-name {
  font-size: 0;
  height: 0;
  display: none;
}

body.page-home .v2-voice-text {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #4a4a55;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-home .v2-voice-text::before {
  content: '"';
  font-size: 0.9375rem;
  color: #4a4a55;
}

body.page-home .v2-voice-text::after {
  content: '...';
  color: #4a4a55;
}

body.page-home .v2-voice-sign {
  font-size: 0.8125rem;
  color: #b0b0b8;
  margin-top: auto;
  text-align: right;
  padding-top: 8px;
  border-top: 1px solid rgba(20, 20, 26, 0.06);
}

/* ---------- 联系咨询（白底 + 底部红色渐变） ---------- */
body.page-home .v2-contact {
  position: relative;
  padding: 110px 0 140px;
  min-height: 732px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(232, 56, 47, 0.5) 0%, transparent 70%),
    #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.page-home .v2-contact .section-header {
  text-align: center;
  margin-bottom: 56px;
}

body.page-home .v2-contact .section-title {
  color: #14141a;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

body.page-home .v2-contact .section-desc {
  color: #14141a;
  font-size: 1.5rem;
  font-weight: 500;
}

body.page-home .v2-contact-form {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

body.page-home .v2-contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

body.page-home .v2-field {
  position: relative;
}

body.page-home .v2-contact .v2-field input,
body.page-home .v2-contact .v2-field select {
  width: 100%;
  padding: 18px 24px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #666666 !important;
  background: #fff !important;
  border: 1px solid rgba(20, 20, 26, 0.12) !important;
  border-radius: 52px !important;
  outline: none;
  box-shadow: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
body.page-home .v2-contact .v2-field textarea {
  width: 100%;
  padding: 18px 24px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #BBBBBB !important;
  background: #fff !important;
  border: 1px solid rgba(20, 20, 26, 0.12) !important;
  border-radius: 52px !important;
  outline: none;
  box-shadow: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
body.page-home .v2-contact .v2-field input::placeholder,
body.page-home .v2-contact .v2-field textarea::placeholder {
  color: #666666 !important;
}

body.page-home .v2-contact .v2-field input:focus,
body.page-home .v2-contact .v2-field select:focus,
body.page-home .v2-contact .v2-field textarea:focus {
  border-color: #e8382f !important;
  box-shadow: 0 0 0 3px rgba(232, 56, 47, 0.1) !important;
}

body.page-home .v2-contact .v2-field select {
  appearance: none;
  color-scheme: light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-color: #fff !important;
  cursor: pointer;
  padding-right: 48px;
  color: #666666 !important;
}

body.page-home .v2-field textarea {
  resize: none;
  min-height: 160px;
  border-radius: 24px !important;
  padding: 24px !important;
  line-height: 1.8;
}

body.page-home .v2-contact .v2-submit {
  display: block;
  margin: 48px auto 0;
  min-width: 200px;
  padding: 18px 56px;
  border-radius: 999px;
  background: #e8382f;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(232, 56, 47, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.page-home .v2-contact .v2-submit:hover {
  background: #d62d24;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(232, 56, 47, 0.4);
}

/* ---------- 页脚 ---------- */
body.page-home .footer {
  background: #ffffff;
  border-top: none;
  padding: 64px 0 28px;
  min-height: 365px;
  color: #14141a;
}

/* 顶部行：Logo + 导航 */
body.page-home .footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
}

/* 左侧品牌 */
body.page-home .footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

body.page-home .footer-logo-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-home .footer-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.page-home .footer-logo-text {
  font-size: 2rem;
  font-weight: 800;
  color: #14141a;
  letter-spacing: -0.02em;
}

body.page-home .footer-slogan {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: #99999f;
  font-weight: 400;
}

/* 顶部导航 */
body.page-home .footer-nav {
  display: flex;
  gap: 60px;
}

body.page-home .footer-nav a {
  font-size: 1.125rem;
  color: #33333a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

body.page-home .footer-nav a:hover {
  color: #e8382f;
}

/* 中间行：联系信息 + 二维码 */
body.page-home .footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  gap: 40px;
}

/* 联系信息 */
body.page-home .footer-contact {
  display: flex;
  flex-direction: row;
  gap: 64px;
  align-items: center;
  flex-wrap: wrap;
}

body.page-home .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

body.page-home .footer-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #e8382f;
}

body.page-home .footer-contact-icon svg {
  width: 20px;
  height: 20px;
}

body.page-home .footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.page-home .footer-contact-label {
  font-size: 0.875rem;
  color: #99999f;
  font-weight: 400;
}

body.page-home .footer-contact-value {
  font-size: 1rem;
  color: #14141a;
  font-weight: 500;
}

body.page-home .footer-phone {
  color: #e8382f;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 二维码 */
body.page-home .footer-qrcodes {
  display: flex;
  gap: 28px;
}

body.page-home .footer-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

body.page-home .footer-qrcode-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(20, 20, 26, 0.08);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-home .footer-qrcode-img svg,
body.page-home .footer-qrcode-img img {
  width: 100%;
  height: 100%;
}

body.page-home .footer-qrcode span {
  font-size: 0.875rem;
  color: #88888f;
}

/* 底部版权 */
body.page-home .footer-bottom {
  border-top: 1px solid rgba(20, 20, 26, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

body.page-home .footer-bottom p {
  font-size: 0.875rem;
  color: #99999f;
  margin: 0;
}

body.page-home .back-to-top {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(20, 20, 26, 0.08);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

body.page-home .back-to-top:hover {
  background: #e8382f;
  border-color: #e8382f;
  color: #fff;
  transform: translateY(-2px);
}

body.page-home .back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ---------- 弹窗 → 暗 ---------- */
body.page-home .modal-overlay {
  background: rgba(0, 0, 0, 0.72);
}

body.page-home .modal {
  background: #17171a;
  border: 1px solid var(--v2-line-strong);
}

body.page-home .modal-title {
  color: #fff;
}

body.page-home .modal-desc,
body.page-home .modal-switch {
  color: var(--v2-t2);
}

body.page-home .form-group label {
  color: var(--v2-t2);
}

body.page-home .form-group input,
body.page-home .form-group select,
body.page-home .form-group textarea {
  background: #101013;
  border: 1px solid var(--v2-line-strong);
  color: var(--v2-t1);
}

body.page-home .form-group input::placeholder,
body.page-home .form-group textarea::placeholder {
  color: var(--v2-t3);
}

body.page-home .form-group input:focus,
body.page-home .form-group select:focus,
body.page-home .form-group textarea:focus {
  border-color: var(--v2-red);
  box-shadow: 0 0 0 4px rgba(232, 56, 47, 0.16);
}

body.page-home .form-group select {
  color-scheme: dark;
  background-color: #101013;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237c7c85' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

body.page-home .form-group select option {
  background-color: #101013;
  color: var(--v2-t1);
}

body.page-home .link-btn {
  color: var(--v2-red-bright);
}

body.page-home .form-hint {
  color: var(--v2-t3);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  body.page-home .services .container {
    padding: 0 24px;
  }

  /* 2 列：software 左列跨两行，game / miniprogram 依次在右列，app 单独整行铺满 */
  body.page-home .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    gap: 20px;
    grid-template-areas:
      "software game"
      "software miniprogram"
      "app app";
  }

  body.page-home .v2-cases-grid,
  body.page-home .v2-voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-home .v2-voices-row {
    width: 150%;
  }

  body.page-home .v2-voice-card {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: calc((100% - 72px) / 4);
    padding: 24px;
  }

  body.page-home .v2-case-card {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    min-height: 440px;
  }

  body.page-home .v2-case-body {
    padding: 36px 40px;
  }

  body.page-home .v2-case-name {
    font-size: 1.875rem;
  }

  body.page-home .v2-process-card {
    padding: 48px 40px 0;
    width: 100%;
    height: auto;
    min-height: 520px;
  }

  /* Footer 响应式 */
  body.page-home .footer-main {
    flex-direction: column;
    gap: 32px;
  }

  body.page-home .footer-nav {
    gap: 24px;
  }

  body.page-home .footer-nav a {
    font-size: 1rem;
  }

  body.page-home .footer-middle {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  body.page-home .footer-contact {
    gap: 32px;
  }

  body.page-home .footer-phone {
    font-size: 1.125rem;
  }

  /* 合作流程响应式 */
  body.page-home .process-pane {
    grid-template-columns: 1fr 1fr;
  }

  body.page-home .process-cta {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 24px;
    border-left: none;
    border-top: 1px dashed rgba(20, 20, 26, 0.12);
  }

  body.page-home .process-step-num {
    top: -24px;
    transform: translateX(calc(-100% - 22px));
    font-size: 70px;
    -webkit-text-stroke-width: 2px;
    color: rgba(0,0,0,0.1);
  }

  body.page-home .process-steps::before {
    top: 67px;
  }

  body.page-home .process-step-icon {
    width: 56px;
    height: 56px;
  }

  body.page-home .process-step-icon img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 900px) {
  body.page-home .v2-about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

  body.page-home .v2-about-stat:nth-child(3)::before {
    display: none;
  }

  body.page-home .v2-process-card {
    padding: 40px 24px 48px;
    border-radius: 22px 22px 0 0;
  }

  body.page-home .v2-contact-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.page-home .v2-contact .section-title {
    font-size: 1.75rem;
  }

  body.page-home .v2-contact .section-desc {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  body.page-home .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 40px);
  }

  body.page-home .hero-inner {
    grid-template-columns: 1fr;
  }

  body.page-home .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "software"
      "app"
      "game"
      "miniprogram";
  }

  body.page-home .v2-voices-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .v2-voices-row {
    width: 200%;
  }

  body.page-home .v2-voice-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
    padding: 20px;
  }

  body.page-home .v2-voice-text {
    font-size: 0.8125rem;
  }

  body.page-home .v2-voice-avatar {
    width: 40px;
    height: 40px;
  }

  body.page-home .v2-case-card {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    min-height: 420px;
  }

  body.page-home .v2-case-body {
    padding: 28px 32px;
  }

  body.page-home .v2-case-name {
    font-size: 1.5rem;
  }

  body.page-home .v2-case-desc {
    font-size: 0.875rem;
  }

  body.page-home .v2-process-card {
    padding: 36px 24px 0;
    border-radius: 20px;
    min-height: auto;
  }

  body.page-home .section {
    padding: 72px 0;
  }

  body.page-home .v2-process-card .process-track {
    flex-direction: column;
    gap: 30px;
    padding-bottom: 0;
  }

  body.page-home .v2-process-card .process-line {
    display: none;
  }

  /* Footer 移动端 */
  body.page-home .footer {
    padding: 48px 0 24px;
    min-height: auto;
  }

  body.page-home .footer-main {
    flex-direction: column;
    gap: 32px;
    padding-bottom: 32px;
  }

  body.page-home .footer-nav {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  body.page-home .footer-nav a {
    font-size: 0.9375rem;
  }

  body.page-home .footer-middle {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: 28px;
  }

  body.page-home .footer-contact {
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-home .footer-qrcode-img {
    width: 88px;
    height: 88px;
  }

  body.page-home .footer-bottom {
    flex-direction: column-reverse;
    gap: 16px;
    align-items: flex-start;
  }

  body.page-home .back-to-top {
    width: 44px;
    height: 44px;
  }

  /* 合作流程移动端 */
  body.page-home .v2-process-card {
    padding: 40px 24px 0;
    border-radius: 20px 20px 0 0;
  }

  body.page-home .process-steps {
    gap: 8px;
    margin-bottom: 32px;
    padding-top: 32px;
  }

  /* 小屏减小叠压量，避免白卡下方空隙过大 */
  body.page-home .v2-cases {
    margin-top: -80px;
    background: #FFFFFF;
  }

  body.page-home .process-steps::before {
    top: 53px;
  }

  body.page-home .process-step-num {
    top: -17px;
    transform: translateX(calc(-100% - 16px));
    font-size: 34px;
    -webkit-text-stroke-width: 2px;
  }

  body.page-home .process-step-icon {
    width: 44px;
    height: 44px;
  }

  body.page-home .process-step-icon img {
    width: 22px;
    height: 22px;
  }

  body.page-home .process-step-label {
    font-size: 0.8125rem;
  }

  body.page-home .process-pane {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.page-home .process-illustration svg {
    max-width: 260px;
  }

  body.page-home .process-text h3 {
    font-size: 1.375rem;
  }

  body.page-home .v2-stat-number {
    font-size: 1.75rem;
  }

  body.page-home .v2-stat-label {
    font-size: 0.75rem;
  }
}
