/* ============================================================
   有鱼电商 · 网站视觉规范 v3「现代 AI 电商设计室」（2026-10-26）
   ------------------------------------------------------------
   - 适用范围：官网（website/）及后续延伸的四个工作台与卖家小工具。
   - 核心原则：极简文字、充足留白、原图画中画（PiP）对比画廊与多平台规格槽位语汇
     （_tb / _pdd / _dd 等宽标注，与桌面端「有鱼图片批量裁剪工具」同源）。
   - 单一亮色主题；全站主按钮与重点高亮统一使用水面海蓝（--sea: #01768E），
     与页脚保留的鱼群动画（footer-fish.js）首尾呼应。
   ============================================================ */

@font-face {
  font-family: "Youyu Sans";
  src: url("fonts/noto-sans-sc-subset.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------------- 令牌 ---------------- */
:root {
  color-scheme: light;

  /* 表面层级 */
  --bg:             #FFFFFF;   /* 主画布纯白 */
  --surface:        #F4F6F9;   /* 冷灰工作台模块面 */
  --surface-2:      #E9EEF5;   /* 次级内嵌槽与悬停底 */
  --night:          #0E1A1E;   /* 页脚深海夜底 */

  /* 墨色层级（全部实测通过针对 --bg 与 --surface 的 WCAG AA 对比度） */
  --ink:            #0F172A;   /* 主标题与正文：对 bg 17.8:1，对 surface 16.4:1 */
  --ink-2:          #334155;   /* 次级正文与说明：对 bg 10.3:1，对 surface 9.5:1 */
  --ink-3:          #526071;   /* 辅助与占位文本：对 bg 6.3:1，对 surface 5.8:1 */
  --line:           #DCE2EA;   /* 装饰性 1px 分界线（非控件边界） */
  --border-strong:  #7B8798;   /* 交互控件/输入框/胶囊边界：对 bg 3.6:1，对 surface 3.3:1 */

  /* 品牌主色：水面海蓝（与页脚 --art-water-edge 同源） */
  --sea:            #01768E;   /* 主按钮与高亮：配白字对比度 5.0:1 */
  --sea-deep:       #015B6E;   /* 主按钮悬停与按下：配白字 7.6:1 */
  --sea-tint:       #E4F3F6;   /* 浅海雾高亮底 */
  --sea-ink:        #015263;   /* 浅海雾上的深海蓝字：对 sea-tint 7.3:1 */
  --on-sea:         #FFFFFF;
  --shot-badge-bg:  rgb(15 23 42 / .86); /* 图面浮层角标底：对白字 >= 12:1 */
  --shot-badge-fg:  #FFFFFF;             /* 图面浮层角标字 */

  /* 语义状态 */
  --ok:             #146C43;
  --ok-tint:        #E2F5EB;
  --err:            #B42318;
  --warn-bg:        #FFF1D6;
  --warn-fg:        #4A3200;

  /* 语义令牌映射（与操作台 account.css 同源，供对比度自检与跨组件共用） */
  --background:                 #FFFFFF;
  --foreground:                 #0F172A;
  --card:                       #FFFFFF;
  --card-foreground:            #0F172A;
  --popover:                    #FFFFFF;
  --popover-foreground:         #0F172A;
  --primary:                    #01768E;
  --primary-foreground:         #FFFFFF;
  --secondary:                  #F4F6F9;
  --secondary-foreground:       #0F172A;
  --muted:                      #F4F6F9;
  --muted-foreground:           #526071;
  --accent:                     #E4F3F6;
  --accent-foreground:          #015263;
  --success:                    #146C43;
  --success-foreground:         #FFFFFF;
  --warning:                    #8A5300;
  --warning-foreground:         #FFFFFF;
  --info:                       #01768E;
  --info-foreground:            #FFFFFF;
  --destructive:                #B42318;
  --destructive-foreground:     #FFFFFF;
  --border:                     #DCE2EA;
  --input:                      #7B8798;
  --ring:                       #01768E;
  --sidebar:                    #F4F6F9;
  --sidebar-foreground:         #0F172A;
  --sidebar-primary:            #01768E;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent:             #E4F3F6;
  --sidebar-accent-foreground:  #015263;
  --sidebar-border:             #DCE2EA;
  --sidebar-ring:               #01768E;

  /* 页脚文字与鱼群插画运行时令牌（footer-fish.js 读取，名称不可改） */
  --night-fg:         #E8EEF0;
  --night-fg-2:       #A9B8BD;
  --art-water-center: #ffffff;
  --art-water-edge:   #01768e;
  --art-water-ink:    #18181b;
  --art-water-glow:   rgb(255 255 255 / .95);
  --art-fish-a:       #87ceeb;
  --art-fish-b:       #444444;

  /* 阴影 */
  --shadow-sm:      0 2px 6px -1px rgb(15 23 42 / .06), 0 1px 2px rgb(15 23 42 / .04);
  --shadow-md:      0 12px 28px -8px rgb(15 23 42 / .10), 0 4px 10px -3px rgb(15 23 42 / .05);
  --shadow-sea:     0 10px 22px -6px rgb(1 118 142 / .36), 0 2px 6px rgb(1 118 142 / .18);

  /* 字体与圆角尺度 */
  --font:           "Youyu Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      14px;
  --radius-xl:      18px;
  --gutter:         clamp(24px, 5.5vw, 72px);
  --max:            1440px;
  --nav-h:          68px;
  --ease-out:       cubic-bezier(.16, 1, .3, 1);
}

/* ---------------- 基础 ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scrollbar-color: var(--border-strong) var(--surface);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  caret-color: var(--sea);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; color: inherit; caret-color: var(--sea); }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--sea); color: var(--on-sea); }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
.num, .code { font-variant-numeric: tabular-nums; }
.code { font-family: var(--font); letter-spacing: .01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -52px; z-index: 60;
  padding: 8px 16px; background: var(--sea); color: var(--on-sea);
  font-weight: 700; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; }

/* ---------------- 按钮与链接 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border: 0; border-radius: var(--radius-md);
  cursor: pointer; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color .18s var(--ease-out), transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: progress; opacity: .68; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: var(--radius-sm); }

/* 主按钮：统一使用水面海蓝 */
.btn-sea {
  background: var(--sea);
  color: var(--on-sea);
  box-shadow: var(--shadow-sea);
}
.btn-sea:hover:not(:disabled) { background: var(--sea-deep); }

/* 次按钮：深墨黑或描边 */
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover:not(:disabled) { background: var(--ink-2); }
.btn-line {
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-line:hover:not(:disabled) {
  background: var(--sea-tint);
  border-color: var(--sea);
  color: var(--sea-ink);
}
.link {
  color: var(--sea); font-weight: 600; text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 1.5px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.link:hover { color: var(--sea-deep); }

/* 平台与特性胶囊 */
.plat-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.plat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--line); font-size: 13.5px; font-weight: 600;
  white-space: nowrap;
}
.row-alt .plat-pill { background: var(--bg); }
.plat-pill .code { font-size: 12.5px; color: var(--sea-ink); font-weight: 700; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  background: rgb(255 255 255 / .94); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.nav-inner {
  height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -.01em; color: var(--ink);
}
.brand img { width: 32px; height: 32px; object-fit: contain; }
.nav-links {
  margin-left: auto; display: flex; align-items: stretch; height: 100%;
  gap: clamp(14px, 1.7vw, 28px);
}
.nav-links a {
  position: relative; display: flex; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: color .18s; white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active, .nav-links a[aria-current] { color: var(--sea); font-weight: 700; }
.nav-links a.active::after, .nav-links a[aria-current]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--sea); border-radius: 2px 2px 0 0;
}
.nav-sep { width: 1px; height: 20px; align-self: center; background: var(--line); }
.nav-cta {
  align-self: center; min-height: 38px; padding: 0 16px;
  border-radius: var(--radius-sm); background: var(--sea); color: var(--on-sea) !important;
  font-size: 14px !important; font-weight: 700 !important;
  transition: background-color .18s var(--ease-out);
}
.nav-cta:hover { background: var(--sea-deep); }
.nav-cta::after { display: none !important; }

/* 公告横幅（site-config.js 动态插入） */
.announcement-banner { padding: 9px 24px; text-align: center; font-size: 14px; font-weight: 600; }
.announcement-info  { background: var(--sea-tint); color: var(--sea-ink); }
.announcement-warn  { background: var(--warn-bg); color: var(--warn-fg); }
.announcement-promo { background: var(--sea); color: var(--on-sea); }

/* ============================================================
   首屏：视觉裂变 —— 充足留白双栏（左上传工作台 + 右三联画廊）
   ============================================================ */
.hero {
  position: relative;
  padding: 180px 64px;        /* 首屏上下各留 180px：距顶部导航与下一个板块均保持充足留白 */
}
.hero-inner {
  max-width: calc(var(--max) - 2 * 64px); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(36px, 4.8vw, 68px); align-items: center;
}
.hero-main { display: flex; flex-direction: column; gap: 28px; }
.hero-main h1 {
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.16; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink);
}
.hero-lead {
  margin-top: 14px;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  color: var(--ink-2); line-height: 1.6;
}

/* 首屏上传区 */
.upload-zone {
  background: var(--surface);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  transition: transform .28s var(--ease-out), border-color .28s var(--ease-out), background-color .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.upload-zone:hover { border-color: var(--sea); background: #F0F7F9; }
.upload-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--sea-tint); color: var(--sea-ink);
  display: grid; place-items: center;
}
.upload-title { font-size: clamp(17px, 1.35vw, 20px); font-weight: 800; color: var(--ink); }
.upload-zone .btn-sea { min-height: 50px; padding: 0 32px; font-size: 16px; margin-top: 4px; }
/* 首屏右栏：裂变生图全流程分幕演示（做减法版）
   - 每幕只讲一件事：前三幕「左图 + 右侧一句话」，后两幕纯文字排版；
   - 无步骤条，脚本按每幕时长自动轮播（悬停即暂停）。 */
.fission-demo {
  --fd-visual: clamp(180px, 17vw, 248px);   /* 左侧视觉区边长 */
}

/* 单步切换舞台：所有幕叠在同一格，高度取最高一幕，切换时不跳动；每幕内容水平垂直居中 */
.fd-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(var(--fd-visual) * 4 / 3);
}
.fd-scene {
  grid-area: 1 / 1;
  display: grid;
  /* 文字列按内容收缩（auto），「图 + 文」整组按实际宽度居中，视觉上才真正居中 */
  grid-template-columns: var(--fd-visual) minmax(0, max-content);
  justify-content: center;
  align-content: center;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility 0s linear .5s;
}
.fd-scene.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .6s var(--ease-out) .08s, transform .6s var(--ease-out) .08s, visibility 0s linear 0s;
}
.fd-scene-text { grid-template-columns: minmax(0, 1fr); text-align: center; }
.fd-scene-text .fd-copy { align-items: center; }

/* 共用文字层级：标题 → 一句话说明 → 次要信息 */
.fd-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.fd-title {
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
}
.fd-sub {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}
.fd-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--sea-ink);
}
.fd-display {
  margin-top: 14px;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--ink);
}
.fd-scene-text .fd-sub { margin-top: 16px; font-size: 16px; }

/* 左侧视觉区通用 */
.fd-visual {
  position: relative;
  width: var(--fd-visual);
  border-radius: var(--radius-md);
}

/* ── 第 1 幕：原图 + 1px 扫描线 + 三条识别结果 ── */
.fd-s1-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
}
.fd-s1-media img { width: 100%; height: 100%; object-fit: cover; }
.fd-scan-line {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: rgb(255 255 255 / .95);
  box-shadow: 0 0 12px 2px rgb(1 118 142 / .55);
  opacity: 0;
  pointer-events: none;
}
.fd-scene[data-scene="1"].is-active .fd-scan-line {
  animation: fdScan 2.2s cubic-bezier(.45, 0, .55, 1) .2s infinite;
}
@keyframes fdScan {
  0%   { top: 0;    opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.fd-facts {
  margin: 28px 0 0;
  width: 100%;
  min-width: 260px;
  max-width: 360px;
  border-top: 1px solid var(--line);
}
.fd-facts > div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.fd-facts dt { font-size: 13px; color: var(--ink-3); }
.fd-facts dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ── 第 2 幕：6×6 矩阵，斜向波纹依次点亮 ── */
.fd-matrix {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  aspect-ratio: 1;
}
/* 圆点用真实尺寸而非 scale 缩小：否则点阵外沿内缩，整组「图 + 文」看起来偏右 */
.fd-matrix i {
  border-radius: 50%;
  background: var(--sea);
}
/* 36 个点阵沿对角线依次点亮后定格：表达「36 套在逐一铺开」，圆点比实心方块轻得多 */
.fd-scene[data-scene="2"].is-active .fd-matrix i {
  animation: fdCellOn .6s var(--ease-out) var(--d, 0ms) both;
}
@keyframes fdCellOn {
  0%   { background: var(--surface-2); transform: scale(.35); }
  60%  { background: var(--sea); transform: scale(1.28); }
  100% { background: var(--sea); transform: none; }
}
.fd-big {
  margin-top: 26px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--sea-ink);
}
.fd-big small { margin-left: 6px; font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }

/* ── 第 3 幕：4×4 图片墙，先沿对角线逐张由模糊转清晰，出齐后再沿对角线浮起落下一次 ── */
.fd-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  aspect-ratio: 1;
}
.fd-tiles img {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--surface);
}
/* 两段动画分管不同属性（清晰化管 filter/opacity，波浪管 transform/shadow），叠加时互不覆盖 */
.fd-scene[data-scene="3"].is-active .fd-tiles img {
  animation:
    fdResolve .9s var(--ease-out) var(--d, 0ms) both,
    fdTileWave .7s cubic-bezier(.45, 0, .55, 1) calc(1.6s + var(--d, 0ms)) both;
}
@keyframes fdResolve {
  from { filter: blur(8px) saturate(.6); opacity: .4; }
  to   { filter: none; opacity: 1; }
}
@keyframes fdTileWave {
  0%, 100% { transform: none; box-shadow: none; }
  45%      { transform: translateY(-6px) scale(1.06); box-shadow: 0 8px 16px -6px rgb(15 23 42 / .28); z-index: 1; }
}

/* ── 第 4 幕：整套图清单（标签弱、数量强） ── */
.fd-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: center;
  gap: 0 36px;
}
.fd-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.fd-list li:first-child { padding-left: 0; border-left: 0; }
.fd-list span { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.fd-list em { font-style: normal; font-size: 20px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.fd-list li:last-child em { font-size: 15px; line-height: 30px; font-weight: 600; color: var(--ink-2); }

/* 后两幕文字依次浮现 */
.fd-scene-text.is-active .fd-copy > * {
  animation: fdRise .7s var(--ease-out) both;
}
.fd-scene-text.is-active .fd-copy > :nth-child(2) { animation-delay: .08s; }
.fd-scene-text.is-active .fd-copy > :nth-child(3) { animation-delay: .22s; }
@keyframes fdRise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  /* 关掉装饰动效，仅保留切幕淡入淡出 */
  .fd-scene,
  .fd-scene.is-active { transition: opacity .2s linear, visibility 0s linear; transform: none; }
  .fd-scene[data-scene="1"].is-active .fd-scan-line,
  .fd-scene[data-scene="2"].is-active .fd-matrix i,
  .fd-scene[data-scene="3"].is-active .fd-tiles img,
  .fd-scene-text.is-active .fd-copy > * {
    animation: none;
  }
}

/* 签名交互：把图片拖入首屏板块时的响应 */
.hero.is-drop .upload-zone,
.row.is-drop .sec-panel {
  transform: translateY(-4px);
  border-style: solid;
  border-color: var(--sea);
  background: var(--sea-tint);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   下方各整行板块（充足留白）
   ============================================================ */
.row { padding: 150px 64px; }
.row + .row, .hero + .row { border-top: 1px solid var(--line); }
.row-alt { background: var(--surface); }
.row-inner {
  max-width: calc(var(--max) - 2 * 64px); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: clamp(36px, 5.5vw, 80px); align-items: center;
}
.row.flip .row-inner { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); }
.row.flip .sec-panel { order: 2; }

.sec-panel { display: flex; flex-direction: column; gap: 20px; }
.hero-main h1, .sec-panel h2, .wide-head h2 { text-wrap: balance; }
.sec-panel h2, .wide-head h2 {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.18; font-weight: 800; letter-spacing: -.015em; color: var(--ink);
}
.sec-sub, .wide-head p {
  margin-top: 10px; font-size: clamp(15.5px, 1.15vw, 17px);
  color: var(--ink-2); line-height: 1.65;
  text-wrap: pretty;
}
.sec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 4px; }
.sec-actions .btn { min-height: 48px; padding: 0 28px; }

/* 三板块四层文案阶梯：图标标签 + 副标 + 亮点勾选胶囊 */
.hp-sec-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hp-sec-eyebrow + h2 {
  margin-top: 10px;
}
.hp-sec-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--sea-tint);
  color: var(--sea-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hp-sec-icon svg { width: 19px; height: 19px; }
.hp-sec-tagline {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sea-ink);
  line-height: 1.45;
}
.hp-feat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.row-inner.is-freeform .hp-feat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.hp-feat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}
.row-alt .hp-feat-chip { background: var(--bg); }
.hp-feat-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--ok);
}

/* 自由生图双栏紧凑工作台 */
.row-inner.is-freeform {
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: clamp(32px, 4.4vw, 56px);
  align-items: center;
}

/* Visual Proof 视觉实证舞台（输入原图 -> 流向连接器 -> 多维成品） */
.hp-stage-wrap {
  container: hp-stage / inline-size;
  min-width: 0;
}
.hp-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: clip;
  box-shadow: var(--shadow-sm);
  transition: border-color .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.row-alt .hp-stage { background: var(--bg); }
.row.is-drop .hp-stage {
  border-color: var(--sea);
  box-shadow: var(--shadow-md);
}
.hp-stage-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 3.12fr);
  gap: 14px;
  align-items: center;
}
.hp-stage-outs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  align-items: center;
}
.hp-shot {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--input);
  background: var(--bg);
  overflow: clip;
  min-width: 0;
  box-shadow: var(--shadow-sm);
}
.hp-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-stage--pcase .hp-shot { aspect-ratio: 480 / 855; }
.hp-stage--pcase .hp-shot.is-input img { object-fit: contain; }
.hp-stage--soutui .hp-shot { aspect-ratio: 3 / 4; }
.hp-shot.is-input { border: 2px solid var(--sea); }
.hp-shot-tag {
  position: absolute;
  left: 7px;
  bottom: 7px;
  max-width: calc(100% - 14px);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--shot-badge-bg);
  color: var(--shot-badge-fg);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: clip;
  text-overflow: ellipsis;
}
.hp-shot-tag.is-src {
  background: var(--sea);
  color: var(--on-sea);
}
.hp-flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--sea-ink);
  flex-shrink: 0;
}
.hp-flow-connector.is-row {
  flex-direction: row;
  gap: 8px;
  padding: 2px 0;
}
.hp-flow-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sea-tint);
  color: var(--sea-ink);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.hp-flow-connector svg {
  width: 18px;
  height: 18px;
  color: var(--sea);
  flex-shrink: 0;
}

/* 自由生图视觉实证：上配方 + 下 3:2 商业大片 */
.hp-free-recipe {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}
.hp-free-refs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hp-shot.is-ref {
  width: 92px;
  height: 92px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.hp-ref-plus {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-3);
  flex-shrink: 0;
}
.hp-prompt-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.row-alt .hp-prompt-card {
  background: var(--surface);
}
.hp-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.hp-prompt-tag {
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--sea-tint);
  color: var(--sea-ink);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.hp-ref-cap {
  color: var(--sea-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.hp-prompt-text {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: clip;
}
.hp-shot.hp-free-hero {
  aspect-ratio: 3 / 2;
  width: 100%;
}
.hp-ratio-strip {
  position: absolute;
  top: 8px;
  right: 8px;
  max-width: calc(100% - 16px);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--shot-badge-bg);
  color: var(--shot-badge-fg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: clip;
  text-overflow: ellipsis;
}
.hp-stage-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.hp-stage-foot .code {
  font-weight: 700;
  color: var(--sea-ink);
}

@container hp-stage (inline-size < 520px) {
  .hp-stage {
    padding: 14px;
    gap: 10px;
  }
  .hp-stage-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .hp-stage--pcase .hp-shot.is-input {
    width: 124px;
    justify-self: center;
  }
  .hp-stage--soutui .hp-shot.is-input {
    width: 140px;
    justify-self: center;
  }
  .hp-stage-track > .hp-flow-connector {
    flex-direction: row;
    gap: 8px;
  }
  .hp-stage-track > .hp-flow-connector svg {
    transform: rotate(90deg);
  }
  .hp-stage-outs { gap: 7px; }
  .hp-free-recipe { grid-template-columns: minmax(0, 1fr); }
  .hp-free-refs { justify-content: center; }
  .hp-shot-tag {
    left: 4px;
    bottom: 4px;
    max-width: calc(100% - 8px);
    padding: 2px 6px;
    font-size: 10.5px;
  }
}

/* 手机壳四联端正对比区（保留兼容旧类以防外部引用） */
.pc-strip {
  display: grid; grid-template-columns: 1.08fr auto repeat(3, 1fr);
  align-items: center; gap: clamp(12px, 1.5vw, 20px);
}
.pc-strip figure { display: flex; flex-direction: column; gap: 10px; }
.pc-frame {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); position: relative;
}
.pc-strip .is-src .pc-frame { border-color: var(--sea); border-width: 1.5px; }
.pc-strip img { width: 100%; aspect-ratio: 502 / 900; object-fit: cover; }
.pc-strip figcaption { font-size: 14px; font-weight: 700; text-align: center; color: var(--ink); }
.arrow { width: 26px; height: 26px; color: var(--sea); flex-shrink: 0; }

/* 搜推素材（图片）输入与成图展示区 */
.seed-demo {
  display: grid; grid-template-columns: 1fr 1.18fr;
  align-items: center; gap: clamp(18px, 2.4vw, 32px);
}
.seed-inputs {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.seed-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.row-alt .seed-card,
.row-alt .seed-model-card { background: var(--bg); }
.seed-card img {
  width: 100%; border-radius: var(--radius-sm); object-fit: cover;
  border: 1px solid var(--input); background: var(--bg);
}
.seed-card:not(.is-out) img { aspect-ratio: 1; }
.seed-demo .is-out img { aspect-ratio: 3 / 4; }
.seed-card figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--ink); padding: 0 2px;
}
.seed-card figcaption span { font-size: 12.5px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.seed-model-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.seed-model-thumb {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--radius-sm); object-fit: cover;
  border: 1px solid var(--input); background: var(--bg);
}
.seed-model-copy {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.seed-model-copy b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.seed-model-copy span { font-size: 12.5px; color: var(--ink-3); }

/* 通栏工作台区块（自由生图 / 积分充值） */
.wide-block {
  max-width: calc(var(--max) - 2 * 64px); margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
}
.wide-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 24px;
}
.order-form {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 32px 36px;
  display: grid; gap: 18px; box-shadow: var(--shadow-sm);
}
.order-form.is-compact {
  padding: 22px 24px;
  gap: 14px;
  border-radius: var(--radius-lg);
}
.order-form.is-compact .prompt {
  min-height: 84px;
  padding: 12px 14px;
  font-size: 14.5px;
}
.order-form.is-compact .ratios span {
  min-width: 54px;
  padding: 6px 10px;
}
.order-form.is-compact .form-row { gap: 10px 12px; }
.order-form.is-compact .hp-res-ratios span { min-width: 48px; padding: 6px 10px; }
.order-form.is-compact .form-row .btn { padding: 0 22px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.chip {
  min-height: 34px; padding: 6px 14px; border-radius: 99px;
  border: 1px solid var(--border-strong); background: var(--bg);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s;
}
.chip:hover { background: var(--sea-tint); border-color: var(--sea); color: var(--sea-ink); }
.prompt {
  width: 100%; min-height: 112px; resize: vertical; padding: 14px 16px; line-height: 1.65;
  background: var(--surface); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md); font-size: 15.5px; color: var(--ink);
}
.prompt::placeholder { color: var(--ink-3); }
.prompt:focus { outline: none; background: var(--bg); border-color: var(--sea); box-shadow: 0 0 0 3px var(--sea-tint); }

/* 自由生图参考图上传栏 */
.ref-zone {
  background: var(--surface);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .18s, background-color .18s;
}
.ref-zone.is-over { border-color: var(--sea); background: var(--sea-tint); }
.ref-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
}
.ref-hint { font-size: 13.5px; color: var(--ink-3); }
.ref-count { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ref-list {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.ref-list:empty { display: none; }
.ref-item {
  position: relative; width: 64px; height: 64px;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg);
}
.ref-item img { width: 100%; height: 100%; object-fit: cover; }
.ref-del {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border: 0; border-radius: 99px;
  background: rgb(15 23 42 / .78); color: #FFFFFF;
  font-size: 13px; font-weight: 700; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
}
.ref-del:hover { background: var(--err); }

.form-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ratios {
  display: inline-flex; gap: 4px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 4px; margin: 0;
}
.ratios label { position: relative; }
.ratios input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ratios span {
  display: grid; place-items: center; min-width: 62px; min-height: 36px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 14px; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.ratios input:checked + span { background: var(--sea); color: var(--on-sea); }
.ratios input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }
.form-row .btn { margin-left: auto; min-height: 48px; padding: 0 32px; }
.form-err { min-height: 1.4em; font-size: 14px; font-weight: 600; color: var(--err); }

/* 桌面裁图工具规格对照表 */
.spec-table-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg); padding: 16px;
  overflow-x: auto; min-width: 0;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap;
}
.spec-table th { background: var(--surface-2); color: var(--ink-2); font-weight: 700; font-size: 12.5px; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td.code { font-size: 13px; color: var(--ink); }

/* 积分充值三档卡片（飞鱼包、旗鱼包、鲨鱼包 + 底部充值按钮） */
.packs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pack {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease-out), border-color .22s var(--ease-out);
}
.pack:hover { transform: translateY(-3px); border-color: var(--sea); }
.pack-name { font-size: 16px; font-weight: 700; color: var(--ink-2); }
.pack-pts-row { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.pack-pts { font-size: clamp(32px, 3vw, 42px); font-weight: 800; line-height: 1.1; color: var(--ink); }
.pack-unit { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.pack-price { font-size: 22px; font-weight: 800; color: var(--sea); margin-top: 4px; }
.pack-btn {
  margin-top: 14px;
  align-self: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 28px;
  border-radius: 999px;
}
.pack-tag {
  position: absolute; top: 24px; right: 24px;
  padding: 4px 12px; background: var(--sea-tint); color: var(--sea-ink);
  border-radius: var(--radius-sm); font-size: 12.5px; font-style: normal; font-weight: 700;
}

/* ============================================================
   桌面裁图小工具下载页（website/crop.html）
   ============================================================ */
.tool-page { padding: 48px 64px 84px; background: var(--surface); min-height: calc(100vh - var(--nav-h)); }
.tool-inner { max-width: calc(var(--max) - 2 * 64px); margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.tool-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.tool-head h1 { font-size: clamp(26px, 2.5vw, 36px); font-weight: 800; line-height: 1.2; }
.tool-head p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.tool-grid { display: grid; grid-template-columns: 1fr 440px; gap: 24px; align-items: stretch; }
.tool-pane {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column; gap: 22px;
  box-shadow: var(--shadow-sm); min-width: 0;
}
.pane-title { font-size: 18px; font-weight: 800; color: var(--ink); }
.pane-sub { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
.dl-hero {
  background: var(--surface);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.dl-title { font-size: 20px; font-weight: 800; color: var(--ink); }
.dl-sub { font-size: 14px; color: var(--ink-3); max-width: 44ch; }
.dl-hero .btn-sea { min-height: 50px; padding: 0 32px; font-size: 16px; margin-top: 6px; }
.dl-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-mode-card {
  background: var(--surface); border-radius: var(--radius-md); padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.dl-mode-card b { font-size: 15px; color: var(--ink); }
.dl-mode-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

/* ============================================================
   页脚（保留鱼群动画）
   ============================================================ */
.footer { background: var(--night); color: var(--night-fg); }
.fish-band { position: relative; background: var(--art-water-center); }
.fish-brand {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 24px 20px; pointer-events: none;
}
.fish-brand-row { display: flex; align-items: center; gap: 12px; }
.fish-brand-mark { height: 36px; width: auto; }
.fish-brand-name { font-size: 26px; font-weight: 700; color: var(--art-water-ink); text-shadow: 0 0 18px var(--art-water-glow), 0 0 6px var(--art-water-glow); }
.fish-brand-slogan { font-size: 15px; color: var(--art-water-ink); text-shadow: 0 0 16px var(--art-water-glow), 0 0 5px var(--art-water-glow); }
.footer-fish { height: 400px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, var(--art-water-center) 3%, var(--art-water-edge) 100%); }
.footer-fish svg { max-height: 500px; background: radial-gradient(circle, var(--art-water-center) 3%, var(--art-water-edge) 100%); }
.footer-inner { max-width: calc(var(--max) - 2 * 64px); margin: 0 auto; padding: 52px var(--gutter) 40px; box-sizing: content-box; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.footer-brand img { height: 26px; width: auto; }
.footer-slogan { font-size: 14px; color: var(--night-fg-2); margin-top: 10px; }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer-links a { font-size: 14px; color: var(--night-fg-2); }
.footer-links a:hover { color: var(--night-fg); }
.footer-divider { height: 1px; background: rgb(255 255 255 / .12); margin: 36px 0 22px; }
.footer-copy, .footer-beian { font-size: 13px; color: var(--night-fg-2); }
.footer-beian { margin-top: 6px; }
.footer-beian a { text-decoration: underline; text-underline-offset: 3px; }
.footer :focus-visible { outline-color: #7FD3E3; }

/* ============================================================
   公开子页通用排版（pricing / help / download）
   ============================================================ */
.sub-hero {
  padding: 64px var(--gutter) 44px;
  text-align: center;
  background: var(--bg);
}
.sub-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sub-hero h1 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--ink);
}
.sub-hero p {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 58ch;
}
.badge-sea,
.badge-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.badge-sea {
  background: var(--sea-tint);
  color: var(--sea-ink);
}
.badge-ok {
  background: var(--ok-tint);
  color: var(--ok);
}

.sub-section {
  padding: 56px var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.sub-section.is-alt {
  background: var(--surface);
}
.sub-inner {
  max-width: calc(var(--max) - 2 * 64px);
  margin: 0 auto;
}
.sub-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.sub-sec-head h2 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}
.sub-sec-head p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-2);
}
.sub-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: center;
}
.sub-note .link {
  margin-left: 6px;
}

/* 积分包补充：单价换算行与推荐高亮 */
.pack.is-rec {
  border-color: var(--sea);
  border-width: 1.5px;
  box-shadow: var(--shadow-md);
}
.pack-unit-price {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  margin-top: 2px;
}

/* 四大网站 AI 工具透明计费卡片 */
.cost-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.cost-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sub-section:not(.is-alt) .cost-card {
  background: var(--surface);
}
.cost-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
}
.cost-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}
.cost-card-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}
.cost-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.cost-card-foot {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cost-card-foot .link {
  font-size: 13.5px;
}
.cost-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.cost-row-name {
  color: var(--ink-2);
  font-weight: 600;
}
.cost-row-val {
  color: var(--ink-3);
  font-size: 13.5px;
  white-space: nowrap;
}
.cost-row-val b {
  font-size: 18px;
  font-weight: 800;
  color: var(--sea-ink);
}

/* 常见问题手风琴（help / pricing） */
.faq-groups {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq-group-head {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}
.faq-list-v3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s var(--ease-out);
}
.sub-section:not(.is-alt) .faq-card {
  background: var(--surface);
}
.faq-card.is-open {
  border-color: var(--sea);
}
.faq-q-btn {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.faq-q-btn:hover {
  background: var(--sea-tint);
  color: var(--sea-ink);
}
.faq-q-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--sea-ink);
  display: grid;
  place-items: center;
  transition: transform .18s var(--ease-out);
}
.faq-card.is-open .faq-q-icon {
  transform: rotate(180deg);
}
.faq-a-body {
  display: none;
  padding: 14px 22px 18px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
  border-top: 1px solid var(--line);
}
.faq-card.is-open .faq-a-body {
  display: block;
}

/* 客服 / 定制顾问横卡（保留 .qrcode-img 与 .js-wechat） */
.consult-strip {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.sub-section:not(.is-alt) .consult-strip {
  background: var(--surface);
}
.consult-strip .qrcode-img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg);
  object-fit: contain;
  flex-shrink: 0;
}
.consult-body {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.consult-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.consult-wechat {
  font-size: 15px;
  font-weight: 700;
  color: var(--sea-ink);
}
.consult-note {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* 下载主卡与三步指南（download.html） */
.dl-feature-card {
  background: var(--bg);
  border: 1.5px solid var(--sea);
  border-radius: var(--radius-xl);
  padding: 34px 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.dl-feature-copy {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.dl-feature-copy h2 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  color: var(--ink);
}
.dl-feature-copy p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}
.dl-feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.dl-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.sub-sec-head + .dl-steps {
  margin-top: 0;
}
.dl-step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dl-step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--sea-tint);
  color: var(--sea-ink);
  font-size: 13.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.dl-step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.dl-step p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ============================================================
   响应式断点
   ============================================================ */
@media (max-width: 1340px) {
  .cost-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .nav-links a:not(.keep) { display: none; }
  .nav-sep { display: none; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 920px) {
  .hero, .row, .tool-page { padding: 48px 24px; }
  .sub-hero { padding: 44px 24px 32px; }
  .sub-section { padding: 40px 24px; }
  .hero-inner, .row-inner, .row-inner.is-freeform, .row.flip .row-inner, .packs, .dl-modes, .cost-cards, .dl-steps {
    grid-template-columns: 1fr; gap: 24px;
  }
  .row.flip .sec-panel { order: 0; }
  .footer-fish { height: 260px; }
  .footer-links { margin-left: 0; }
  .consult-strip, .dl-feature-card { padding: 24px; }
}
@media (max-width: 640px) {
  .brand span { display: none; }
  .nav-inner { gap: 10px; padding: 0 14px; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 13.5px; }
  .nav-cta { padding: 0 12px; font-size: 13px !important; }
  .fission-demo { --fd-visual: 168px; }
  .fd-scene { grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: center; text-align: center; }
  .fd-copy { align-items: center; }
  .fd-facts { text-align: left; }
  .fd-list { grid-template-columns: repeat(2, minmax(0, auto)); gap: 16px 28px; }
  .fd-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hp-feat-list { grid-template-columns: minmax(0, 1fr); }
  .pc-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-strip .arrow { display: none; }
  .seed-demo { grid-template-columns: 1fr; }
  .form-row .btn { margin-left: 0; width: 100%; }
  .spec-table th, .spec-table td { padding: 8px 6px; font-size: 12px; }
}
