/* 轻装上阵AI助手 · 官网样式（纯静态，无构建步骤、无外部依赖）
 *
 * 口径：
 *  - 主色沿用产品内 `#1DB3B0`（与小程序的 --yp-primary 同一支品牌色）；
 *  - 不引字体 / 图标库 / 图片 CDN —— 首屏必须快，且这台机器上不需要额外资源；
 *  - 只做浅色主题（官网是"对外门面"，品牌视觉统一比跟随系统更重要）。
 */

:root {
  --brand: #1db3b0;
  --brand-dark: #14918f;
  --ink: #1d2329;
  --ink-2: #4a5460;
  --ink-3: #7b8794;
  --line: rgba(17, 24, 39, 0.09);
  --bg: #ffffff;
  --bg-soft: #f6f9f9;
  --bg-deep: #0f1a1f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.07);
  --maxw: 1120px;
  /**
   * 首屏背景（V2.9.x，2026-10-21）：原图 2048×1360 PNG **2.7MB**
   * → 压到 1600×1062 JPEG q72 **140KB**（-95%），retina 2x 下仍然清晰。
   * 左侧大面积留白正好放文案，右侧褶皱用来托住卡片。
   */
  /* ⚠️ 带 `?v=` 破浏览器缓存（V2.9.x，2026-10-23 换首屏背景图）：静态图换内容但同名时，
     Chrome/Safari 会继续用旧图（最长可达数天）。换图时把这个版本号一起改。 */
  --hero-bg: url(/assets/img/hero-bg.jpg?v=20261023b);
  /** 首屏底部渐隐色：与下一屏背景同色，避免出现一条硬边（深色皮肤会覆盖） */
  --hero-fade: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 62px; }
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  /* logo 是横版字标：品牌行不允许折行（之前 logo 未限尺寸时被挤成两行） */
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  /* 官方 logo（深色版）当兜底：后台上传了 logo 时 site.js 会给它加 hidden（见下方 [data-brand-mark][hidden] 规则） */
  display: block;
  height: 24px;
  width: auto;
}
/* 导航链接：字号放大到 15px，hover 给一块浅青底（梁山 2026-10-21「加青色方块」「字体放大一些」） */
.nav-links { display: flex; gap: 6px; margin-left: auto; font-size: 15px; }
.nav-links a {
  color: var(--ink-2);
  padding: 7px 13px;
  border-radius: 6px;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-links a:hover {
  background: rgba(29, 179, 176, 0.16);
  color: var(--brand-dark);
  text-decoration: none;
}
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(29, 179, 176, 0.28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden; padding: 100px 0 76px;
  background:
    /* 遮罩要到 35% 左右：再透下去布纹会盖过卡片，卡片边界就糊了 */
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.54) 28%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0.24) 74%, rgba(255, 255, 255, 0.14) 90%, rgba(255, 255, 255, 0.32) 100%),
    /* 底图保持原始裁切（cover + right center）——只靠遮罩透明度控制"透多少"，不放大、不位移 */
    var(--hero-bg) right center / cover no-repeat,
    #f7fbfb;
}
/* 底部渐隐：把背景图化进下一屏，避免出现一条硬边 */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--hero-fade));
  pointer-events: none;
}
/*
 * 梁山 2026-10-21：「整体内容太靠右，右边比较重」⇒ 采用 A+C 方案：
 * 右列从 0.95fr 收到 **0.78fr**（卡片约 490），并且**去掉两列之间的 48px 缝**，
 * 让卡片向左伸进文字区 64px —— 文字压在卡片上，右侧不再"顶着边界"。
 */
.hero-grid { display: grid; grid-template-columns: 1fr 0.78fr; gap: 0; align-items: center; position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  background: rgba(29, 179, 176, 0.1); color: var(--brand-dark); font-size: 13px; font-weight: 600;
}
.hero h1 { font-size: 44px; line-height: 1.34; margin: 18px 0 14px; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: var(--brand-dark); }
.hero p.lead { font-size: 17px; color: var(--ink-2); margin: 0 0 26px; max-width: 38em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/*
 * 左列文案跟着右侧卡片切换（梁山 2026-10-21）
 *
 * ⚠️ 两套文案**必须同时占位**：`.copies` 是 grid、两套都 `grid-area: 1 / 1`，
 * 所以这块的高度恒为"较高的那套"。切换只改 opacity —— 用 display 切换会让左列高度变化，
 * hero 跟着缩短 13px，翻卡时整页会跳一下（梁山说的"割裂感"就是它）。
 * `data-copy` 由 site.js 在切卡时同步写入；没 JS 时 HTML 默认 `a`。
 */
.copies {
  display: grid;
}
.copies .copy {
  grid-area: 1 / 1;
  /* 短的那套（B）在格子里垂直居中，否则它会顶在上沿、下面空出一截 */
  align-self: center;
  transition: opacity 0.3s ease;
}
.hero-copy[data-copy='a'] .copy-b,
.hero-copy[data-copy='b'] .copy-a {
  opacity: 0;
  pointer-events: none;
}

/**
 * 首屏右侧「双卡」结构（V2.9.x，2026-10-21 第三版参考图）
 *
 * 参考图是**两张卡片前后叠放**：前面一张「AI 穿搭生成」，后面一张「图文效果对比」从右侧露出，
 * 左右箭头切换的是**整张卡**（不是卡里的图）—— 上一版"卡内三组图翻页"作废。
 *
 * 层次：`.hero-deck` 用 grid 把两张卡放在同一格里，`data-front` 决定谁是前置；
 * 后置卡 translate + rotateY(-15°) + scale(.88) 退回右后方。
 * 鼠标跟随仍作用在 `.hero-deck` 上（整组一起倾），两张卡的相对关系不变。
 */
.hero-copy { position: relative; z-index: 2; }
/*
 * 「两组卡片整体往左」用 transform 位移，**不用负 margin**（梁山 2026-10-21）：
 * 负 margin 会把这个 grid item 撑宽，卡片跟着变宽、内部重排；
 * translateX 只移动、不改尺寸，卡片内部的居中完全不受影响。
 */
.hero-right { position: relative; z-index: 1; display: flex; flex-direction: column; transform: translateX(-110px); }

.hero-deck {
  position: relative;
  display: grid;
}

.deck-card {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  /* 左右内边距相等，内容在卡片内居中（梁山 2026-10-21：「卡片内部改回来居中」） */
  padding: 20px 20px 16px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.05);
  box-shadow: 0 30px 62px rgba(17, 24, 39, 0.15), 0 2px 8px rgba(17, 24, 39, 0.04);
  transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1), opacity 0.45s ease, box-shadow 0.5s ease;
  backface-visibility: hidden;
  /* 鼠标跟随的倾斜只作用于前置卡（见下方 data-front 规则），后置卡不引用这两个变量 */
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  cursor: pointer;
}

/**
 * 前置卡（梁山 2026-10-21 第七轮，含当日修正）
 *
 * · **默认就带透视**：基准 `rotateY(-9deg)`（左边缘后退）⇒ 透视下**左边比右边矮一点**；
 * · **鼠标移上去回正**：基准角收到 `-3deg`，卡片几乎正对镜头（左边高度回抬），同时阴影加深
 *   —— 原先是往更斜的方向压，梁山更正为「回正一些」；
 * · 鼠标位置带来的偏移 `--tilt-y`（±5°）叠在基准角上，所以基准换挡不会丢跟随效果；
 * · `perspective` 1400px → 950px：同样的角度，透视更强，左右高度差才看得出来。
 */
.hero-deck[data-front='a'] .deck-card--a,
.hero-deck[data-front='b'] .deck-card--b {
  --tilt-base-y: -9deg;
  /* 前置卡整体上移，与右后那张拉开顶部层次（梁山 2026-10-21：左边的往上移，右边的不动） */
  --lift: -34px;
  transform: perspective(950px) translateY(var(--lift, 0px)) rotateY(calc(var(--tilt-base-y) + var(--tilt-y))) rotateX(var(--tilt-x));
  z-index: 2;
  opacity: 1;
  cursor: default;
  transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1), box-shadow 0.4s ease;
}
.hero-deck[data-front='a'] .deck-card--a:hover,
.hero-deck[data-front='b'] .deck-card--b:hover {
  --tilt-base-y: -3deg;
  box-shadow:
    0 46px 92px rgba(17, 24, 39, 0.22),
    0 8px 22px rgba(17, 24, 39, 0.1);
}

/*
 * 鼠标跟随期间把 transform 过渡压到 150ms：
 * 0.6s 是用来做"切卡"的，跟随用它每帧重设起点会明显滞后；
 * 但也不能完全去掉 —— 鼠标刚移入时基准角要从 -8° 换到 -14°，无过渡会突跳。
 */
.deck-card.is-tracking {
  transition: transform 0.15s ease-out, box-shadow 0.4s ease;
}

/**
 * 后置卡：**大幅拉开**（梁山 2026-10-21：「两个卡片拉开距离……不要整整齐齐放在一起」）
 * 参考图里两张卡只搭一条缝：前置卡在左前，后置卡退到右后、明显更小、更斜。
 * 240px 位移 + 0.82 缩放 ⇒ 后置卡左边缘落在前置卡右侧 55% 处，只剩一条重叠，
 * 不再像之前那样"两张白卡叠在一起"。
 */
.hero-deck[data-front='a'] .deck-card--b,
.hero-deck[data-front='b'] .deck-card--a {
  /* 后置卡同样自带透视：-18°（比前置卡的 -8/-14 更斜，才像"退到后面"） */
  transform: perspective(950px) translate3d(140px, -24px, 0) rotateY(-18deg) scale(0.86);
  z-index: 1;
  opacity: 0.97;
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.12);
}

/**
 * 卡片下方的 10 秒计时条（梁山 2026-10-21）
 * 位置：挂在 `.hero-deck` 底边下方 20px，宽度跟随卡片；高 3px（与参考图红线同粗）。
 * 宽度由 site.js 用 transition 驱动（10s linear 走满），切换卡片时归零重跑。
 */
.deck-timer {
  position: absolute;
  /* 只占卡片 1/3 宽、居中（梁山 2026-10-21：整卡宽太长） */
  left: 50%;
  width: 33.33%;
  transform: translateX(-50%);
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: rgba(29, 179, 176, 0.16);
  overflow: hidden;
  z-index: 3;
}
.deck-timer i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #59d7c8);
  box-shadow: 0 0 10px rgba(29, 179, 176, 0.55);
}
/* 开了「减少动态效果」时轮播本来就停，计时条也没有意义，直接不显示 */
@media (prefers-reduced-motion: reduce) {
  .deck-timer {
    display: none;
  }
}

.deck-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.deck-head h4 { margin: 0; font-size: 15px; color: var(--ink); font-weight: 700; letter-spacing: 0.01em; }
.deck-badge {
  flex: 0 0 auto; font-size: 12.5px; font-weight: 700; color: #fff;
  background: var(--brand); padding: 7px 15px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(29, 179, 176, 0.32);
}
.deck-more { color: var(--ink-3); letter-spacing: 2px; font-size: 14px; line-height: 1; }

/**
 * A 卡「展示区」（梁山 2026-10-21 确认）：固定 280px 高，两块内容**叠在同一格**里切换。
 * · 生成中 → 三件单品 + 连接号；
 * · 进度 100% → 9:16 成品图（157×280，宽高比 1.78）+ 右侧说明；
 * 高度写死是为了"到 100% 换内容时卡片不跳"—— 这和左列两套文案叠放是同一个思路。
 */
.deck-stage {
  position: relative;
  display: grid;
  height: 252px;
}
.deck-stage > * { grid-area: 1 / 1; }

.stage-outfits {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  transition: opacity 0.35s ease;
}
.stage-outfits .deck-piece {
  aspect-ratio: 4 / 5;
  padding: 8px;
  box-shadow: 0 10px 22px -8px rgba(17, 24, 39, 0.24);
}

.deck-plus {
  width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
  box-shadow: 0 4px 10px rgba(29, 179, 176, 0.32);
}

.deck-piece,
.stage-pic {
  position: relative; overflow: hidden; border-radius: 12px;
  display: flex; align-items: flex-end; justify-content: flex-start;
}

/**
 * 完成态：**三张 9:16 成品图叠放**（梁山 2026-10-21）
 * 第一张完整、第二张向右错开被压掉一小条、第三张只露一条边 —— 层叠靠 z-index + 递减间距，
 * 右侧不再放文字说明（原来那三行已删）。
 */
.stage-result {
  position: relative;
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  /* 整组宽度 + 两个错开量：窄屏只换这三个变量 */
  --group-w: 301px;
  --off2: 100px;
  --off3: 168px;
}
.stage-result .stage-pic {
  position: absolute;
  top: 50%;
  width: 133px;
  height: 236px;
  border-radius: 14px;
  cursor: zoom-in;
  /* 三张围绕中线各错开 8px，摞起来才有厚度 */
  transform: translateY(calc(-50% + var(--dy, 0px)));
  box-shadow: 0 16px 32px -10px rgba(17, 24, 39, 0.32);
  transition: transform 0.26s cubic-bezier(0.22, 0.8, 0.3, 1), box-shadow 0.26s ease, filter 0.26s ease;
}
/* 整组在卡片内居中：左起点 = 50% − 组宽/2 */
.stage-result .stage-pic:nth-child(1) {
  left: calc(50% - var(--group-w) / 2); z-index: 3; --dy: -8px;
}
.stage-result .stage-pic:nth-child(2) {
  left: calc(50% - var(--group-w) / 2 + var(--off2)); z-index: 2; --dy: 0px;
  /* 阴影带一点负 x：落在"被前一张压住"的那条缝上，叠放的层次才立得住 */
  box-shadow: -10px 12px 26px -8px rgba(17, 24, 39, 0.34);
  filter: brightness(0.97);
}
.stage-result .stage-pic:nth-child(3) {
  left: calc(50% - var(--group-w) / 2 + var(--off3)); z-index: 1; --dy: 8px;
  box-shadow: -10px 12px 24px -8px rgba(17, 24, 39, 0.3);
  filter: brightness(0.93);
}

/* 悬停：被压住的图也能"抽出来"看 —— 抬层级 + 上浮 + 提亮 */
.stage-result .stage-pic:hover {
  z-index: 9;
  transform: translateY(calc(-50% + var(--dy, 0px) - 8px)) scale(1.05);
  box-shadow: 0 28px 54px -14px rgba(17, 24, 39, 0.44);
  filter: brightness(1);
}

/*
 * 依次出场：位移用**独立的 translate 属性**，不写进 transform ——
 * 动画带 `both` 会锁住 transform，那样 hover 的抬升就失效了（这条坑很隐蔽）。
 */
.deck-card--a.is-done .stage-result .stage-pic {
  animation: picIn 0.5s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.deck-card--a.is-done .stage-result .stage-pic:nth-child(1) { animation-delay: 0.02s; }
.deck-card--a.is-done .stage-result .stage-pic:nth-child(2) { animation-delay: 0.14s; }
.deck-card--a.is-done .stage-result .stage-pic:nth-child(3) { animation-delay: 0.26s; }
@keyframes picIn {
  from { opacity: 0; translate: 26px 0; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- 点成品图的放大预览（hero 区内，不做全屏） ---------- */
.stage-mask {
  position: absolute; inset: 0; z-index: 18;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.stage-mask.is-open { opacity: 1; pointer-events: auto; }

/*
 * 放大图定位（梁山 2026-10-21 修正）：
 * 要的是**在首屏这块区域内垂直居中**，不是浏览器视口居中 —— 上一版用 fixed 锁视口中心，
 * 在 hero 不满屏时就会掉到 hero 下面去（截图里图比红框低一截）。
 * 改回 absolute 相对 .hero，`.hero` 本身就是 relative。
 */
.stage-zoom {
  position: absolute; left: 50%; top: 50%; z-index: 19;
  width: 268px; height: 476px;
  transform: translate(-50%, -50%) scale(0.94);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.stage-zoom.is-open { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.stage-zoom-pic {
  position: relative; width: 100%; height: 100%;
  border: 8px solid #fff; border-radius: 18px;
  overflow: hidden;
  cursor: zoom-out;
  box-shadow: 0 44px 90px -26px rgba(17, 24, 39, 0.46), 0 10px 28px rgba(17, 24, 39, 0.16);
}

.deck-card--a.is-done .stage-outfits { opacity: 0; }
.deck-card--a.is-done .stage-result { opacity: 1; transform: scale(1); pointer-events: auto; }

/* B 卡：16:9 视频（完整显示，不裁） */
.deck-video {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1518;
  aspect-ratio: 16 / 9;
}
.deck-video-el { display: block; width: 100%; height: 100%; object-fit: contain; }

/* 视频下方的能力标签，用来把 B 卡高度补到和 A 卡齐 */
.deck-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.deck-tags span {
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px;
  background: rgba(29, 179, 176, 0.1); color: var(--brand-dark);
}

/* 生成进度 */
.deck-progress { margin-top: 18px; }
.deck-progress-label { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-bottom: 8px; }
/* 数字用等宽字形 + 固定宽度：50%→100% 时不会因为字宽变化把整行顶跳 */
.deck-progress-label b {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  min-width: 3.4em;
  text-align: right;
}
.deck-progress-track { height: 8px; border-radius: 999px; background: rgba(17, 24, 39, 0.07); overflow: hidden; }
.deck-progress-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #59d7c8); }

/* 两张卡等高（grid 拉伸），说明文字推到底部，免得卡下半截空一大块 */
.deck-caption { margin: 14px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.deck-card--b .deck-caption { margin-top: auto; }



/* 图形主体：纯 CSS 剪影（没有真实商品图之前，别留一块空白渐变） */
.deck-piece i,
.stage-pic i,
.stage-zoom-pic i {
  position: absolute; left: 50%; top: 16%; width: 56%; height: 60%;
  transform: translateX(-50%); opacity: 0.92;
}
[data-shape='dress'] i { clip-path: polygon(34% 0, 66% 0, 82% 16%, 72% 24%, 84% 100%, 16% 100%, 28% 24%, 18% 16%); }
[data-shape='tee'] i { clip-path: polygon(30% 0, 42% 7%, 58% 7%, 70% 0, 100% 16%, 88% 35%, 78% 29%, 78% 100%, 22% 100%, 22% 29%, 12% 35%, 0 16%); }
[data-shape='pants'] i { clip-path: polygon(22% 0, 78% 0, 84% 46%, 72% 100%, 54% 100%, 50% 52%, 46% 100%, 28% 100%, 16% 46%); }

[data-art='photo'] { background: linear-gradient(160deg, #e9eff1, #d3dee2); }
[data-art='photo'] i { background: linear-gradient(180deg, #c2cbd0, #a8b5ba); }
[data-art='white'] { background: #fff; border: 1px solid rgba(17, 24, 39, 0.08); }
[data-art='white'] i { background: linear-gradient(180deg, #eef1f4, #dde4ea); }
[data-art='flat'] { background: linear-gradient(160deg, #f6f4ef, #e8e3d9); }
[data-art='flat'] i { background: linear-gradient(180deg, #d5cec0, #bcb4a3); }
[data-art='model'] { background: linear-gradient(160deg, #e7f1f6, #cfe0ea); }
[data-art='model'] i { background: linear-gradient(180deg, #9db1bd, #7b93a1); }
[data-art='scene'] { background: linear-gradient(160deg, #f0efe8, #ded9cb); }
[data-art='scene'] i { background: linear-gradient(180deg, #c6bfa9, #a9a189); }
[data-art='detail'] { background: linear-gradient(160deg, #f4f2f7, #e3dfea); }
[data-art='detail'] i { background: linear-gradient(180deg, #c9c1d6, #aca3bf); }
[data-art='grid'] { background: linear-gradient(160deg, #eef5ef, #d8e6da); }
[data-art='grid'] i { background: linear-gradient(180deg, #bccfbe, #9db6a1); }
[data-art='video'] { background: linear-gradient(160deg, #1d2a30, #101a1f); }
[data-art='video'] i { background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.22)); }
[data-art='copy'] { background: linear-gradient(160deg, #fdf6ee, #f3e6d4); }
[data-art='copy'] i { background: linear-gradient(180deg, #dcc5a6, #c6ab88); }
[data-art='shop'] { background: linear-gradient(160deg, #e8f6f5, #cdeae8); }
[data-art='shop'] i { background: linear-gradient(180deg, #8fd6d1, #6bbdb8); }

/**
 * 切换方式（V2.9.x，2026-10-21 第六轮）：**只保留「点后置卡翻面」+ 5 秒自动轮播 + 手机左右滑动**。
 * 左右箭头已按梁山要求删除 —— 箭头骑在卡片边缘上会和后置卡的露出部分打架，反而不好点。
 */

/* ---------- 通用区块 ---------- */
section.block { padding: 68px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 34px; }
.sec-head h2 { font-size: 30px; line-height: 1.35; margin: 0 0 10px; letter-spacing: -0.3px; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 16px; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--brand-dark); letter-spacing: 0.08em; margin-bottom: 8px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.card .num {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 9px; background: rgba(29, 179, 176, 0.12); color: var(--brand-dark);
  font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.card .ico {
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(29, 179, 176, 0.16), rgba(89, 215, 200, 0.2));
  border: 1px solid rgba(29, 179, 176, 0.22);
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step .no { font-size: 34px; font-weight: 800; color: rgba(29, 179, 176, 0.28); line-height: 1; }
.step h3 { margin: 8px 0 6px; font-size: 17px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.chain div {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; text-align: center;
}
.chain b { display: block; font-size: 15px; }
.chain span { font-size: 12.5px; color: var(--ink-3); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.plan.hot { border-color: var(--brand); box-shadow: 0 12px 30px rgba(29, 179, 176, 0.14); position: relative; }
.plan.hot::after {
  content: "最常选"; position: absolute; top: -11px; right: 16px; background: var(--brand); color: #fff;
  font-size: 12px; padding: 2px 10px; border-radius: 999px;
}
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; margin: 10px 0 2px; }
.plan .price small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.plan ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.plan li { margin: 5px 0; }
.plan .btn { width: 100%; margin-top: 16px; }

details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px;
}
details.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
details.faq p { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; }

.cta-band {
  margin: 70px 0; padding: 44px 34px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, #13706f 0%, var(--brand) 62%, #59d7c8 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; font-size: 26px; }
.cta-band p { margin: 0; opacity: 0.9; font-size: 15px; }
.cta-band .btn-ghost { background: #fff; border-color: transparent; }

footer.site { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--ink-3); font-size: 13.5px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
footer.site a { color: var(--ink-2); }
/**
 * ⚠️ **版权/备案行居中**（V2.9.x，2026-10-23 梁山：_"官网也需要居中"_）：
 * 原来是块级左对齐（`text-align` 默认 start）⇒ 版权与备案号贴在页脚左边缘。
 * 改成 `text-align: center`，里面的 `.beian` 是 inline，会跟着一起居中。
 */
footer.site .fine { margin-top: 22px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; text-align: center; }

/* ---------- 价格页 ---------- */
.page-hero { padding: 54px 0 26px; background: linear-gradient(180deg, #f4fbfb, #fff); }
.page-hero h1 { font-size: 34px; margin: 10px 0 8px; }
.page-hero p { margin: 0; color: var(--ink-2); max-width: 44em; }

table.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14.5px; }
table.cmp th, table.cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; color: var(--ink-2); }
table.cmp thead th { background: var(--bg-soft); font-size: 14px; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp .yes { color: var(--brand-dark); font-weight: 600; }
table.cmp .no { color: var(--ink-3); }
.table-scroll { overflow-x: auto; }

.note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  /* 单列后整组不再左移，否则会顶出屏幕 */
  .hero-right { transform: none; }
  .hero h1 { font-size: 34px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .steps, .price-grid { grid-template-columns: 1fr; }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 29px; }
  section.block { padding: 48px 0; }
  .cta-band { padding: 30px 22px; }

  /* 导航右侧两个按钮在 375 宽会被挤成两行（"登录"竖排）——收紧间距并禁止折行 */
  .nav-inner { gap: 10px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-sm { padding: 0 11px; font-size: 13px; white-space: nowrap; }
}

/* ---------- 对比表：分组行 ---------- */
table.cmp tr.group td {
  background: var(--bg-soft);
  color: var(--ink-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: left;
  padding: 10px 14px;
}
table.cmp td { vertical-align: top; line-height: 1.6; }
table.cmp .yes { color: var(--brand-dark); font-weight: 600; }
table.cmp .no { color: var(--ink-3); }

/* 价格卡：其余档位一行小字（连续包月 / 年卡…，运行时由 pricing.js 填） */
.plan-others {
  min-height: 18px;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- 站点 Logo（后台「站点信息与备案」上传，运行时注入） ----------
 * ⚠️ 只给 `height` 不给 `width`：logo 是横版字标（LiteGo），按高度等比缩放最稳；
 *    `max-width` 兜住超宽图，`object-fit: contain` 保证不变形。
 */
/**
 * ⚠️ `hidden` 属性默认只是 UA 样式 `display:none`，会被作者样式里的
 * `display:inline-block`（`.brand-mark`）覆盖 —— logo 注入后那个色块仍然露出来。
 * 这里显式强制隐藏（2026-10-20 线上实测踩到）。
 */
[data-brand-mark][hidden],
.brand-logo[hidden] {
  display: none !important;
}

.brand-logo {
  height: 34px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  display: block;
}
/* 页头品牌行整体高度固定，避免 logo 高度变化把导航顶歪 */
.nav-inner { min-height: 62px; }

footer .brand-logo {
  height: 22px;
  max-width: 110px;
}

.beian {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: 4px;
}
.beian a {
  color: var(--ink-3);
  font-size: 12.5px;
}

/* ---------- 子页：可点击卡片与标签（V2.9.x，2026-10-20） ---------- */
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: 0.18s ease;
}
.card-link:hover {
  text-decoration: none;
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card-link .more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.chip {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(29, 179, 176, 0.1);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- 案例页：指标大字 ---------- */
.case-metric {
  margin: 6px 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--brand-dark);
}

/* ---------- 页脚联系方式（电话 / 微信 / 二维码，运行时注入） ---------- */
footer .qr {
  width: 96px;
  height: 96px;
  margin-top: 10px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08);
}
footer [data-contact-block] a {
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- 子页：面包屑 / 痛点卡 / 相关教程（V2.9.x，2026-10-20） ---------- */
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0 2px;
  font-size: 13px;
  color: var(--ink-3);
}
.crumb a {
  color: var(--ink-3);
}
.crumb a:hover {
  color: var(--brand-dark);
  text-decoration: none;
}
.crumb .sep {
  color: var(--line);
}
.crumb .cur {
  color: var(--ink-2);
  font-weight: 600;
}

/* 痛点卡：左侧一条暖色竖线，与"能力卡"区分开 */
.card-pain {
  border-left: 3px solid rgba(240, 138, 36, 0.55);
  background: var(--bg-soft);
}
.card-pain p {
  margin: 0;
  color: var(--ink-2);
}

/* 相关教程 */
.helps {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.helps-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.helps-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
@media (max-width: 760px) {
  .helps-list {
    grid-template-columns: 1fr;
  }
}
.helps-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: #fff;
}
.helps-item:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  text-decoration: none;
}

/* ---------- FAQ 分组（V2.9.x，2026-10-21：后台按组管理，官网按组分段） ---------- */
.faq-group {
  margin-bottom: 22px;
}

.faq-group-title {
  margin: 6px 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

/* ---------- 品牌副标题（V2.9.x，2026-10-21 梁山：小标题在品牌名**下方**，不并排） ---------- */
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.brand-sub {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* 窄屏优先保住品牌名本身，副标题先隐藏（导航高度只有 62px） */
@media (max-width: 760px) {
  .brand-sub {
    display: none;
  }
}

/* ============================================================
   全站调性实验（V2.9.x，2026-10-21）
   ------------------------------------------------------------
   目的：在不改任何 HTML 结构的前提下，给出两套整体调性供选择。
   开关：`?skin=a` / `?skin=b`（见 assets/site.js 末尾），
        **不加参数 = 保持现状**，所以这套规则可以先上线再定版。
   定版后：只保留胜出的那一套，删掉另一套与本注释。

   A · 清爽留白：放大字号层级、拉开节奏、卡片浮起
   B · 深墨对比：首屏与 AI 能力区压深墨，中段留白，青作高亮
   ============================================================ */

/* ---------- A · 清爽留白 ---------- */
html[data-skin='a'] {
  --radius: 16px;
  --line: rgba(17, 24, 39, 0.07);
  --bg-soft: #f5f9f9;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
}

html[data-skin='a'] .nav-inner {
  height: 68px;
  min-height: 68px;
}
html[data-skin='a'] .nav-links a {
  font-size: 15.5px;
}

html[data-skin='a'] .hero {
  padding: 108px 0 84px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.91) 0%, rgba(255, 255, 255, 0.87) 32%, rgba(255, 255, 255, 0.75) 54%, rgba(255, 255, 255, 0.46) 76%, rgba(255, 255, 255, 0.3) 91%, rgba(255, 255, 255, 0.5) 100%),
    var(--hero-bg) right center / cover no-repeat,
    #f2fafa;
}
html[data-skin='a'] .hero::after {
  height: 150px;
}
html[data-skin='a'] .hero h1 {
  font-size: 52px;
  line-height: 1.3;
  letter-spacing: -1.2px;
  margin: 20px 0 16px;
}
html[data-skin='a'] .hero p.lead {
  font-size: 17.5px;
  line-height: 1.86;
}
html[data-skin='a'] .pill {
  background: #fff;
  border: 1px solid rgba(29, 179, 176, 0.3);
  color: #14918f;
  padding: 6px 14px 6px 11px;
  box-shadow: 0 2px 8px rgba(29, 179, 176, 0.1);
}
html[data-skin='a'] .pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(29, 179, 176, 0.16);
}

/* 首屏卡片：A 版只把投影加深一档（前后层次由 deck 的位移 + 缩放负责） */
html[data-skin='a'] .deck-card {
  box-shadow:
    0 34px 74px rgba(17, 24, 39, 0.16),
    0 2px 8px rgba(17, 24, 39, 0.04);
}

html[data-skin='a'] section.block {
  padding: 88px 0;
}
html[data-skin='a'] section.soft {
  background: var(--bg-soft);
  border-top: 0;
  border-bottom: 0;
}
html[data-skin='a'] .sec-head {
  margin-bottom: 46px;
}
html[data-skin='a'] .sec-head h2 {
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -0.6px;
}
html[data-skin='a'] .sec-head p {
  font-size: 16.5px;
  line-height: 1.75;
}
html[data-skin='a'] .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.1em;
}
html[data-skin='a'] .eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

html[data-skin='a'] .grid {
  gap: 18px;
}
html[data-skin='a'] .card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
html[data-skin='a'] .card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  opacity: 0;
  background: linear-gradient(90deg, var(--brand), #59d7c8);
  transition: opacity 0.2s ease;
}
html[data-skin='a'] .card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 179, 176, 0.32);
  box-shadow: var(--shadow);
}
html[data-skin='a'] .card:hover::before {
  opacity: 1;
}
html[data-skin='a'] .card h3 {
  font-size: 17.5px;
}
html[data-skin='a'] .card .ico {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
html[data-skin='a'] .card .ico::after {
  content: '';
  position: absolute;
  inset: 11px;
  border: 2px solid var(--brand);
  border-radius: 4px;
  opacity: 0.55;
}

html[data-skin='a'] .steps {
  gap: 18px;
}
html[data-skin='a'] .step {
  padding: 26px 24px;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
html[data-skin='a'] .step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
html[data-skin='a'] .step .no {
  font-size: 40px;
  letter-spacing: -1px;
  color: rgba(29, 179, 176, 0.22);
}
html[data-skin='a'] .step h3 {
  font-size: 18px;
}

html[data-skin='a'] .chain div {
  position: relative;
  padding: 18px 12px 16px;
  border-radius: 14px;
}
html[data-skin='a'] .chain div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--brand);
  opacity: 0.5;
}

html[data-skin='a'] .price-grid {
  gap: 18px;
}
html[data-skin='a'] .plan {
  padding: 26px;
  border-radius: var(--radius);
}
html[data-skin='a'] .plan.hot {
  transform: translateY(-10px);
  box-shadow: 0 20px 46px rgba(29, 179, 176, 0.18);
}
html[data-skin='a'] .plan .price {
  font-size: 34px;
}

html[data-skin='a'] details.faq {
  padding: 16px 20px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
html[data-skin='a'] details.faq:hover {
  border-color: rgba(29, 179, 176, 0.3);
}
html[data-skin='a'] details.faq[open] {
  border-left: 3px solid var(--brand);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
}

html[data-skin='a'] .cta-band {
  padding: 52px 44px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f5f5e 0%, #14918f 46%, var(--brand) 100%);
  box-shadow: 0 24px 60px rgba(19, 112, 111, 0.26);
}
html[data-skin='a'] .cta-band h2 {
  font-size: 30px;
  letter-spacing: -0.5px;
}

html[data-skin='a'] footer.site {
  padding: 48px 0 56px;
}

/* ---------- B · 深墨对比 ---------- */
html[data-skin='b'] {
  --radius: 14px;
  --bg-soft: #f3f7f8;
  --ink: #0f1a1f;
  --ink-2: #46535c;
  --shadow: 0 22px 50px rgba(15, 26, 31, 0.12);
  --hero-fade: #20343a;
}

html[data-skin='b'] .hero {
  padding: 112px 0 92px;
  color: #fff;
  /*
   * 深色不是纯黑（梁山 2026-10-21：「暗黑模式太黑了」）——
   * 底色取深青灰 #1a2b31（L≈17%），往右渐亮到 #284850，布纹在右侧仍能透出来。
   */
  background:
    /*
     * 左上柔光（梁山 2026-10-21：红框里的文字区「有些闷」）——
     * 这一层压在遮罩之上、面积大、透明度低，只给左侧一层青色空气感，不抢标题。
     */
    radial-gradient(620px 500px at 6% 26%, rgba(29, 179, 176, 0.26), transparent 72%),
    radial-gradient(760px 420px at 80% 6%, rgba(29, 179, 176, 0.28), transparent 68%),
    linear-gradient(160deg, rgba(33, 41, 45, 0.84) 0%, rgba(41, 53, 58, 0.72) 50%, rgba(49, 66, 72, 0.62) 100%),
    var(--hero-bg) right center / cover no-repeat,
    #20343a;
  /*
   * 梁山 2026-10-21：「卡片是深色的，右边背景就不能太暗，现在看不清衬衫」。
   * ⇒ 撤掉 multiply（那版把白亚麻压成了深灰，衬衫细节全没了），改成普通叠加 + 更轻的遮罩：
   * 左侧 .86 保证白字可读、右侧 .60 让亚麻留在中灰，深色卡片压在中灰布纹上反而更立体。
   */
}
html[data-skin='b'] .hero h1 {
  color: #fff;
  font-size: 54px;
  line-height: 1.28;
  letter-spacing: -1.4px;
  font-weight: 800;
}
html[data-skin='b'] .hero h1 em {
  color: #6fe6d8;
}
html[data-skin='b'] .hero p.lead {
  color: rgba(255, 255, 255, 0.74);
  font-size: 17.5px;
  line-height: 1.86;
}
html[data-skin='b'] .pill {
  background: rgba(29, 179, 176, 0.16);
  border: 1px solid rgba(111, 230, 216, 0.34);
  color: #9df0e6;
  /* 一圈很淡的青色外发光：左侧文字区多一个"呼吸点"，不至于只有标题那一抹青 */
  box-shadow: 0 0 26px rgba(29, 179, 176, 0.22);
}
/* 标签前的小青点（深色皮肤专属，浅色版的圆点由 A 版规则提供） */
html[data-skin='b'] .pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fe6d8;
  box-shadow: 0 0 8px rgba(111, 230, 216, 0.85);
}
html[data-skin='b'] .hero-note {
  color: rgba(255, 255, 255, 0.5);
}
html[data-skin='b'] .hero .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
html[data-skin='b'] .hero .btn-ghost:hover {
  border-color: #6fe6d8;
  color: #9df0e6;
}
/*
 * 深色皮肤：卡面用深青灰（不是纯黑），边框用半透明白。
 * ⚠️ 卡面必须**不透明** —— 用 rgba 时后置卡的标题会透过主卡显示出来（叠字）。
 */
html[data-skin='b'] .deck-card {
  background: #2b4249;
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.16);
}
/* 后置卡比前置卡亮一档 + 更亮的边框，深色下才分得出是两张卡 */
html[data-skin='b'] .hero-deck[data-front='a'] .deck-card--b,
html[data-skin='b'] .hero-deck[data-front='b'] .deck-card--a {
  background: #35505a;
  border-color: rgba(255, 255, 255, 0.2);
}
/* 深色底上黑色阴影看不出来，补一层青色光晕加深落影 */
html[data-skin='b'] .hero-deck[data-front='a'] .deck-card--a:hover,
html[data-skin='b'] .hero-deck[data-front='b'] .deck-card--b:hover {
  box-shadow:
    0 46px 92px rgba(0, 0, 0, 0.44),
    0 8px 22px rgba(0, 0, 0, 0.22),
    0 0 70px rgba(29, 179, 176, 0.14);
}
html[data-skin='b'] .deck-head h4 {
  color: rgba(255, 255, 255, 0.92);
}
html[data-skin='b'] .deck-more {
  color: rgba(255, 255, 255, 0.5);
}
html[data-skin='b'] .deck-bars i {
  background: rgba(255, 255, 255, 0.14);
}
html[data-skin='b'] .deck-progress-label,
html[data-skin='b'] .deck-progress-label b {
  color: rgba(255, 255, 255, 0.75);
}
html[data-skin='b'] .deck-progress-track {
  background: rgba(255, 255, 255, 0.12);
}
html[data-skin='b'] .deck-caption {
  color: rgba(255, 255, 255, 0.52);
}

html[data-skin='b'] .stage-mask {
  background: rgba(14, 22, 26, 0.74);
}
html[data-skin='b'] .deck-tags span {
  background: rgba(29, 179, 176, 0.2);
  color: #9df0e6;
}
html[data-skin='b'] .deck-arrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
}
html[data-skin='b'] .deck-arrow:hover {
  border-color: #6fe6d8;
  color: #9df0e6;
}


html[data-skin='b'] section.block {
  padding: 86px 0;
}
html[data-skin='b'] section.soft {
  border-top: 0;
  border-bottom: 0;
}
html[data-skin='b'] .sec-head h2 {
  font-size: 34px;
  letter-spacing: -0.7px;
  font-weight: 800;
}
html[data-skin='b'] .eyebrow {
  letter-spacing: 0.12em;
}

/* AI 能力区压深：首屏之后第二个视觉重心，形成"深—浅—深"的滚动节奏 */
html[data-skin='b'] section#ai {
  color: #fff;
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(29, 179, 176, 0.24), transparent 70%),
    #2a444c;
}
html[data-skin='b'] section#ai .sec-head h2 {
  color: #fff;
}
html[data-skin='b'] section#ai .sec-head p {
  color: rgba(255, 255, 255, 0.66);
}
html[data-skin='b'] section#ai .eyebrow {
  color: #6fe6d8;
}
html[data-skin='b'] section#ai .card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-skin='b'] section#ai .card h3 {
  color: #fff;
}
html[data-skin='b'] section#ai .card p {
  color: rgba(255, 255, 255, 0.66);
}

html[data-skin='b'] .plan.hot {
  border-width: 2px;
  box-shadow: 0 18px 44px rgba(29, 179, 176, 0.16);
}

html[data-skin='b'] .cta-band {
  border: 1px solid rgba(111, 230, 216, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, #244149 0%, #2f616b 100%);
}
html[data-skin='b'] .cta-band h2 {
  font-size: 29px;
  letter-spacing: -0.5px;
}
html[data-skin='b'] .cta-band .btn-ghost {
  background: transparent;
  color: #dff7f4;
  border-color: rgba(255, 255, 255, 0.28);
}
html[data-skin='b'] .cta-band .btn-ghost:first-child {
  background: var(--brand);
  color: #04211f;
  border-color: transparent;
}

/* 子页标题区（价格 / 产品 / 方案 / 案例共用 .page-hero）—— 让子页与首页同一调性 */
html[data-skin='a'] .page-hero {
  padding: 66px 0 32px;
}
html[data-skin='a'] .page-hero h1 {
  font-size: 38px;
  letter-spacing: -0.6px;
}
html[data-skin='b'] .page-hero {
  color: #fff;
  background:
    radial-gradient(560px 280px at 88% 0%, rgba(29, 179, 176, 0.26), transparent 70%),
    linear-gradient(158deg, #0b1418 0%, #0f1a1f 62%, #12262a 100%);
}
html[data-skin='b'] .page-hero h1 {
  color: #fff;
  font-size: 36px;
  letter-spacing: -0.7px;
}
html[data-skin='b'] .page-hero p {
  color: rgba(255, 255, 255, 0.74);
}
html[data-skin='b'] .page-hero .eyebrow {
  color: #6fe6d8;
}
/* 面包屑在 page-hero 之外的白底上，保持深色不动（否则白字白底看不见） */

/* FAQ 双列：8 条以上时一列太"长条"，双列能把这一屏压短一半（两版共用） */
html[data-skin='a'] [data-faq],
html[data-skin='b'] [data-faq] {
  column-count: 2;
  column-gap: 18px;
}
html[data-skin='a'] [data-faq] > *,
html[data-skin='b'] [data-faq] > * {
  break-inside: avoid;
  margin-top: 0;
}
@media (max-width: 860px) {
  html[data-skin='a'] [data-faq],
  html[data-skin='b'] [data-faq] {
    column-count: 1;
  }
}

/* 窄屏：A 版叠片会顶出边界，收掉偏移；两版都收一下首屏字号 */
@media (max-width: 940px) {
  /*
   * 手机/平板：文案占满整宽，横向遮罩失效 ⇒ 改成竖向，把布纹压到最后 1/4 才露出来。
   * 不这么改的话，褶皱会直接压在标题与正文上，读起来发灰。
   */
  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.52) 52%, rgba(255, 255, 255, 0.38) 100%),
      var(--hero-bg) right top / cover no-repeat,
      #f7fbfb;
  }
  html[data-skin='b'] .hero {
    background:
      radial-gradient(360px 320px at 10% 18%, rgba(29, 179, 176, 0.2), transparent 72%),
      radial-gradient(420px 260px at 70% 4%, rgba(29, 179, 176, 0.24), transparent 70%),
      linear-gradient(180deg, rgba(33, 41, 45, 0.86) 0%, rgba(41, 53, 58, 0.76) 55%, rgba(49, 66, 72, 0.64) 100%),
      var(--hero-bg) right top / cover no-repeat,
      #20343a;
  }
  html[data-skin='a'] .hero h1,
  html[data-skin='b'] .hero h1 {
    font-size: 36px;
    letter-spacing: -0.8px;
  }
  html[data-skin='a'] .plan.hot {
    transform: none;
  }
  /* 窄屏：后置卡位移必须收小，否则会顶出屏幕造成横向滚动 */
  .hero-deck[data-front='a'] .deck-card--b,
  .hero-deck[data-front='b'] .deck-card--a {
    transform: translate3d(58px, -20px, 0) rotateY(-13deg) scale(0.89);
  }
  .deck-card {
    border-radius: 20px;
    padding: 16px;
    /* 手机上单列，卡片上移会顶到导航，归零 */
    --lift: 0px;
  }
  .hero-right { transform: none; }
  /* 窄屏：三张叠图整体缩小，否则 158+148 会顶出卡片（left 由变量自动算） */
  .stage-result { --group-w: 247px; --off2: 82px; --off3: 139px; }
  .stage-result .stage-pic {
    width: 108px;
    height: 192px;
  }
  .stage-result .stage-pic:nth-child(1) { --dy: -6px; }
  .stage-result .stage-pic:nth-child(2) { --dy: 0px; }
  .stage-result .stage-pic:nth-child(3) { --dy: 6px; }
  /* 手机：放大图缩到屏宽 53%，不然一屏塞不下 */
  .stage-zoom {
    width: 200px;
    height: 356px;
  }
}
@media (max-width: 560px) {
  html[data-skin='a'] .hero,
  html[data-skin='b'] .hero {
    padding: 56px 0 48px;
  }
  html[data-skin='a'] .hero h1,
  html[data-skin='b'] .hero h1 {
    font-size: 30px;
    letter-spacing: -0.5px;
  }
  html[data-skin='a'] .sec-head h2,
  html[data-skin='b'] .sec-head h2 {
    font-size: 25px;
  }
  html[data-skin='a'] section.block,
  html[data-skin='b'] section.block {
    padding: 52px 0;
  }
  html[data-skin='a'] .cta-band,
  html[data-skin='b'] .cta-band {
    padding: 30px 22px;
  }
}
