/* ==========================================================================
   VKT — tools.vktapp.com
   一套样式服务六种语言的所有页面。类名与 src/pages/*.mjs 一一对应，
   加组件时两边一起改。
   ========================================================================== */

:root {
  --bg: #ffffff;
  --fg: #0b1220;
  --muted: #5a6b80;
  --line: #e4eaf3;
  --line-strong: #cfd9e6;
  --soft: #f6f8fc;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --ink: #070d19;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 12px 28px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 30px 70px rgba(7, 13, 25, 0.18);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "Hiragino Sans", "Noto Sans KR", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.2; font-weight: 750; }
h1 { font-size: clamp(31px, 4vw, 48px); margin: 0 0 18px; }
h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 14px; }
h3 { font-size: 17.5px; margin: 0 0 8px; }

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: 15px;
  line-height: 1.3;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease, filter 0.16s ease;
  text-decoration: none;
  text-align: center;
}

.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-sm { padding: 8px 15px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(180deg, #3f83f8, #2563eb);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* 深色背景上用的次要按钮（首页 hero） */
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #e9eef7;
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  text-decoration: none;
}

/* 浅色背景上用的次要按钮 —— btn-ghost 放到白底上等于隐形 */
.btn-outline { border-color: var(--line-strong); color: var(--fg); background: #fff; }
.btn-outline:hover { background: var(--soft); border-color: #b7c4d6; text-decoration: none; }

/* 微软商店按钮：深底白字，和主下载按钮分开，一眼能认出来源 */
.btn-store { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-store:hover {
  background: #1c2942;
  border-color: #1c2942;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-store svg { flex: none; }

/* 商店下载与本站安装包的授权关系，一行小字说明 */
.store-note { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 10px 0 0; }

/* hero 是深色底，.btn-store 的 --ink 背景会整个消失，这里反过来用白底 */
.btn-store-hero { background: #fff; color: var(--ink); border-color: #fff; }
.btn-store-hero:hover {
  background: #e8f0fe;
  border-color: #e8f0fe;
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-store-hero svg { flex: none; }

/* 产品卡里的两条下载路径：本站试用（实心）+ 微软商店（描边），等宽等高，
   商店不是装饰标签，是并列的一个按钮 */
.card-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.card-actions .btn { width: 100%; }

.btn-store-line {
  background: #f4f7fb;
  color: var(--fg);
  border-color: #c3d0e0;
  font-weight: 650;
}
.btn-store-line:hover {
  background: #fff;
  border-color: var(--ink);
  color: var(--fg);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-store-line svg { flex: none; }

/* ---------- 商店信任条（首页 hero 下方） ---------- */

.store-strip { padding: 26px 0 0; }

.store-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.store-mark {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--soft);
  display: grid;
  place-items: center;
}

/* min-width:0 必须写：flex 子项默认按内容最大宽度撑开，
   p 的 68ch 在窄屏比容器还宽，会把整页撑出横向滚动条。 */
.store-copy { min-width: 0; }

.store-copy strong { display: block; font-size: 16px; letter-spacing: -0.01em; }
.store-copy p {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 68ch;
  overflow-wrap: break-word;
}

.store-card .btn { margin-left: auto; flex: none; }

@media (max-width: 820px) {
  .store-card { flex-wrap: wrap; }
  /* 换行后让说明独占一行并跟随容器宽度，不再按内容宽度定尺寸 */
  .store-copy { flex: 1 1 100%; }
  .store-card .btn { margin-left: 0; width: 100%; }
}

.btn-block { width: 100%; margin-top: 10px; }
.btn:disabled { opacity: 0.62; cursor: not-allowed; transform: none; }

/* ---------- 顶栏 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  color: var(--fg);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

/* 品牌图标就是 favicon.svg：卡通收纳箱，导航、页脚、首屏面板、收尾区共用一张图。 */
.brand-mark {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 7px;
  display: block;
  box-shadow: 0 3px 8px rgba(21, 68, 168, 0.22);
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14.5px;
}

.site-nav a { color: var(--muted); font-weight: 550; }
.site-nav a:hover { color: var(--fg); text-decoration: none; }

/* 交易页没有导航，语言切换要自己靠右 */
.bare-head .lang-switch { margin-left: auto; }

/* 语言切换：details 展开，避免原生 select 在不同浏览器里长得不一样 */
.lang-switch { position: relative; margin-left: 2px; }

.lang-switch summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  user-select: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--line-strong); color: var(--fg); }

.lang-switch ul {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 156px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.lang-switch li a {
  display: block;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--fg);
  font-size: 14px;
}
.lang-switch li a:hover { background: var(--soft); text-decoration: none; }
.lang-switch li a[aria-current] { background: var(--soft); font-weight: 650; }

/* ---------- 区块 ---------- */

section { padding: 76px 0; }
/* 顶栏是 sticky 的：点锚点跳过来时，标题别藏在导航底下 */
section[id] { scroll-margin-top: 88px; }
.section-soft {
  background: var(--soft);
  /* 极淡的点阵，给浅色块一点纹理，避免整页读起来像一张白纸；纯 CSS。 */
  background-image: radial-gradient(rgba(11, 18, 32, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.section-head { margin-bottom: 38px; }

/* 区块的等宽小标签。编号 + 短横线，是这一版「技术感」的主要来源，
   比再堆一层卡片便宜得多：没有图片、没有动效。 */
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow-line::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow-line.on-dark { color: #7fb0ff; }

.sub {
  color: var(--muted);
  margin: 0;
  max-width: 620px;
  font-size: 16.5px;
}


/* ---------- 首页 hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 92px 0 96px;
  background:
    radial-gradient(820px 420px at 12% -8%, rgba(37, 99, 235, 0.42), transparent 62%),
    radial-gradient(680px 400px at 88% 6%, rgba(14, 165, 233, 0.24), transparent 62%),
    radial-gradient(900px 520px at 60% 110%, rgba(79, 70, 229, 0.22), transparent 60%),
    var(--ink);
}

/* 一层极淡的网格，让深色块不至于死板；纯 CSS，不加图片请求 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 420px at 30% 0%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero > .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 0.74fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 5px 13px 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #b9c8de;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

.hero-copy { min-width: 0; }

.hero h1 { color: #fff; max-width: 680px; }
/* 每行是一个完整短句：浏览器只在短句之间换行，不会把「文件夹对得齐」切成两半 */
.hero-line { display: block; }

/* 中文标题要在逗号处断行：「三个 Windows 小工具，」/「各管一件麻烦事。」
   宽度再宽一点就会把「各管」拖到第一行末尾，读起来别扭。
   德法文的复合词更长，字号降一档才收得住两行。 */
:lang(zh) .hero h1 { max-width: 520px; }
:lang(de) .hero h1,
:lang(fr) .hero h1 { font-size: clamp(28px, 3.3vw, 41px); }
:lang(ja) .hero h1,
:lang(ko) .hero h1 { font-size: clamp(29px, 3.4vw, 42px); }

/* 韩文按空格断行，不能在「하나씩」这种词中间切开；日文交给浏览器的
   短语断行（不支持的浏览器退回逐字断行，不影响可读性）。 */
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { word-break: keep-all; }
:lang(ja) h1, :lang(ja) h2 { word-break: auto-phrase; }

.hero .lead {
  font-size: 17.5px;
  color: #a8b8ce;
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: #8fa2bb;
}
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points li::before {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -3px;
  border-right: 2px solid #34d399;
  border-bottom: 2px solid #34d399;
  transform: rotate(40deg);
}

/* hero 底部数据带：产品数 / 试用天数 / 离线天数 / 每授权几台机器。
   数字是主角，标签退到 12px，读起来像一块仪表盘。 */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.stat { min-width: 0; }
.stat + .stat {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.stat b {
  display: block;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #8598b4;
}

/* hero 右侧面板：拿真实产品名和价格拼的装饰，不放截图不撒谎 */
.hero-panel {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  padding: 8px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 12px;
}

.panel-dots { display: flex; gap: 6px; }
.panel-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.panel-dots i:first-child { background: #f87171; }
.panel-dots i:nth-child(2) { background: #fbbf24; }
.panel-dots i:nth-child(3) { background: #34d399; }

.panel-logo {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  border-radius: 7px;
  box-shadow: 0 3px 8px rgba(7, 13, 25, 0.35);
}

.panel-title {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #91a3bd;
  font-weight: 700;
  white-space: nowrap;
}

.panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 13px;
  overflow: hidden;
}

.panel-row { border-bottom: 1px solid #eef2f8; color: var(--fg); }
.panel-row:last-child { border-bottom: 0; }

.panel-row a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  color: inherit;
  transition: background 0.14s ease;
}
.panel-row a:hover { background: #f5f8fd; text-decoration: none; }

.panel-ico {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
}

.panel-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.panel-name { font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; }

.panel-job {
  font-size: 12px;
  line-height: 1.4;
  color: #6b7c92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-price {
  margin-left: auto;
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 14.5px;
  color: #334155;
  font-variant-numeric: tabular-nums;
}

.panel-foot {
  padding: 13px 16px 8px;
  font-size: 12.5px;
  color: #7d8ea8;
}

/* 产品页与支持页的头部：浅色，和首页深色 hero 区分 */
.product-hero { background: var(--soft); padding: 62px 0 56px; border-bottom: 1px solid var(--line); }
.product-hero h1 { max-width: 780px; }
.product-hero .lead { font-size: 17px; color: var(--muted); max-width: 660px; margin: 0 0 26px; }

.crumb { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--fg); }

/* ---------- 网格与卡片 ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* 四款产品并排；三列会让第四张单独落到第二行左边，看着像漏了一张 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  /* 三张产品卡的文案长短不一，底部那一组（价格 + 下载 + 定价链接）
     靠 margin-top:auto 压到同一条线上，否则并排看是参差的。 */
  display: flex;
  flex-direction: column;
}

.card-flat { box-shadow: none; }

/* 产品卡：顶部一条产品色，hover 时整卡抬起 */
.product-card { --accent: var(--brand); overflow: hidden; }
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, #fff));
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }

.card .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent, var(--brand));
  background: color-mix(in srgb, var(--accent, var(--brand)) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, var(--brand)) 18%, #fff);
}

/* 产品卡顶部：图标在左，编号在右。编号让三张卡有先后感，
   也让整块看起来像一份清单而不是三张广告。 */
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-top .ico { margin-bottom: 0; }
.card-idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #93a3b8;
  padding-top: 4px;
}

.card-tag { color: var(--muted); font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.card p { font-size: 14.5px; color: #334155; }
.card .tags { margin-top: auto; }
.card > .btn { align-self: flex-start; }

.card ul { margin: 8px 0 0; padding-left: 20px; }
.card li { font-size: 14.5px; color: #334155; margin-bottom: 6px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

.card-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card-price {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.card-buy .btn { flex: 1 1 auto; }

.fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.fine a:hover { color: var(--fg); }
.price { font-weight: 700; color: var(--fg); }

/* ---------- 定价 ---------- */

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 28px 26px;
  box-shadow: var(--shadow-sm);
}

/* 表头：只有两列，左边是工具，右边是价格，用等宽小字读起来像一份报价单 */
.price-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 92px;
  gap: 18px;
  align-items: center;
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a99ad;
}
.price-head span:nth-child(2) { text-align: right; }

/* 价格表：产品名 + 一句说明在左，价格在右，行间用细线分隔。
   不用 <table>：六种语言的说明长度差得远，flex 行在不同宽度下更好收。 */
.price-table { margin: 0 0 20px; padding: 0; list-style: none; }
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 92px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.price-row:first-child { border-top: 0; }
.price-name { font-weight: 700; font-size: 16px; color: var(--fg); }
.price-note { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* 金额和购买按钮拆成同一行的两列，靠 display:contents 让它们直接参与
   行网格 —— 这样表头的「价格」和每一行的金额才能落在同一条竖线上。 */
.price-act { display: contents; }

.price-amt {
  font-weight: 800;
  font-size: 20px;
  color: var(--fg);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-buy {
  font-size: 13px;
  font-weight: 650;
  color: var(--brand);
  border: 1px solid #cddcf9;
  background: #f3f7ff;
  border-radius: 8px;
  padding: 7px 0;
  width: 100%;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.price-buy:hover { background: #e8f0ff; border-color: #a9c3f6; text-decoration: none; }

.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ---------- 首发促销 ---------- */

/* 划线原价 + 折扣角标：出现在 hero 面板、产品卡、价格表三个地方。
   现价仍是主角，原价压低视觉权重，折扣角标用暖色抓一下眼球。 */
.was {
  margin-left: 6px;
  font-size: 0.62em;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.off {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 5px;
  background: #fff1e7;
  color: #c2410c;
  font-size: 0.54em;
  font-weight: 800;
  letter-spacing: 0.01em;
  vertical-align: 0.12em;
  white-space: nowrap;
}
.pp-now { display: inline-flex; align-items: baseline; }
.card-price .off, .price-amt .off { font-size: 11px; padding: 2px 6px; }

/* 首页价格区上方的首发横幅 */
.launch-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 1px solid #f4c7a1;
  border-radius: 14px;
  background: linear-gradient(105deg, #fff7ef, #fffdfb);
}
.launch-tag {
  flex: 0 0 auto;
  padding: 5px 11px;
  border-radius: 999px;
  background: #ea580c;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.launch-banner p { margin: 0; font-size: 14px; color: #7c3f16; line-height: 1.55; }

/* 产品页购买区的折扣角标 / 原价 / 涨价提示 */
.buy-launch-row { min-height: 22px; margin-bottom: 2px; }
.launch-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff1e7;
  color: #c2410c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.buy-was { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.buy-was s { text-decoration-thickness: 1px; }
.buy-launch-note {
  margin: 8px 0 4px;
  padding: 9px 12px;
  border-left: 3px solid #ea580c;
  background: #fff8f3;
  color: #7c3f16;
  font-size: 12.5px;
  line-height: 1.5;
  border-radius: 0 8px 8px 0;
}
.plan-was { color: #94a3b8; font-size: 0.7em; font-weight: 500; }

/* ---------- 买之前：2×2 的技术规格框 ---------- */

/* 用 1px 的网格线代替四张卡片：读起来是一页规格说明，
   而不是又一排圆角白块。 */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.promise {
  background: #fff;
  padding: 26px 28px 28px;
}

.promise h3 { margin-bottom: 8px; }
.promise p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; }
.faq-split { display: grid; grid-template-columns: 0.72fr 1.6fr; gap: 54px; align-items: start; }
.faq-intro h2 { position: sticky; top: 96px; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 15.5px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: -3px;
  font-weight: 400;
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
}

.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- 产品页 ---------- */

.shot-section { padding: 56px 0 10px; }

.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* 真实截图图库：主图 + 缩略图，点开用纯 CSS lightbox 放大 */
.shot-gallery { scroll-margin-top: 80px; }
.shot-stage {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
  border: 1px solid var(--line, #e2e8f0);
  background: #fff;
}
.shot-main { display: block; }
.shot-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.shot-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.shot-thumb {
  display: block;
  width: 116px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .78;
  transition: opacity .15s, border-color .15s, transform .15s;
}
.shot-thumb:hover,
.shot-thumb:focus-visible { opacity: 1; transform: translateY(-2px); border-color: var(--brand, #2563eb); }
.shot-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.shot-lightbox { display: none; }
.shot-lightbox:target {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 4vw;
}
.shot-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 30, .88);
}
.shot-lightbox figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 1200px;
  width: 100%;
}
.shot-lightbox figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
.shot-lightbox figcaption {
  color: #cbd5e1;
  text-align: center;
  font-size: 13.5px;
  margin-top: 12px;
}
.shot-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 26px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
}

.shot-caption {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  margin: 18px 0 0;
}

.feat-num {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }

.step { display: flex; gap: 18px; align-items: flex-start; }

.step-num {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand);
}

.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

.fit-yes h3 { color: #15803d; }
.fit-no h3 { color: #b45309; }

.spec {
  margin: 0;
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt { font-weight: 600; font-size: 14.5px; }
.spec dd { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- 购买区 ---------- */

.buy-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.buy-side {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.buy-price { font-size: 40px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.buy-meta { color: var(--muted); font-size: 13px; }

.cta-strip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 300px at 18% 0%, rgba(37, 99, 235, 0.36), transparent 65%),
    radial-gradient(420px 260px at 92% 100%, rgba(14, 165, 233, 0.2), transparent 68%),
    var(--ink);
  color: #fff;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(700px 320px at 70% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}
.cta-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 48px;
  align-items: center;
}
.cta-strip .eyebrow-line { margin-bottom: 18px; }
.cta-strip h2 { color: #fff; max-width: 640px; }
.cta-strip p { color: #a8b8ce; max-width: 560px; margin: 0 0 28px; }
.cta-art { position: relative; display: flex; justify-content: center; }
.cta-art::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3), transparent 68%);
}
.cta-art img {
  position: relative;
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.38));
}

/* ---------- 结账 / 恢复 ---------- */

.checkout { max-width: 560px; margin: 0 auto; }
.checkout .sub { margin-bottom: 26px; }

.summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 22px;
}

.summary .name { font-weight: 700; font-size: 16px; }
.summary .note { font-size: 13px; color: var(--muted); margin: 2px 0 0; }

.plan-picker { display: none; }
.plan-row { display: flex; justify-content: space-between; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--fg);
}

.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.field input.mono { font-family: var(--mono); letter-spacing: 0.06em; }

.err {
  display: none;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px;
}
.err.show { display: block; }

.ok {
  display: none;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 14px;
}
.ok.show { display: block; }

.result { display: none; margin-top: 26px; }
.result.show { display: block; }

.device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.device-id { font-family: var(--mono); font-size: 13.5px; font-weight: 600; }
.device-meta { font-size: 12.5px; color: var(--muted); }

.ok-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.ordered { margin: 0; padding-left: 20px; }
.ordered li { margin-bottom: 8px; color: #334155; font-size: 14.5px; }

/* ---------- 付款成功 ---------- */

.ok-page {
  padding: 56px 0 96px;
  background: linear-gradient(180deg, #f5f8fd 0%, rgba(245, 248, 253, 0) 420px);
}

.ok-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(11, 18, 32, 0.07);
  padding: 44px 44px 0;
}

.ok-hero { text-align: center; padding-bottom: 30px; }

.ok-hero .ok-mark {
  margin: 0 auto 22px;
  width: 58px;
  height: 58px;
  font-size: 27px;
  background: #dcfce7;
  box-shadow: 0 0 0 9px #f2fdf6;
}

.ok-hero h1 { font-size: clamp(26px, 3.4vw, 33px); margin-bottom: 10px; }

.ok-hero .sub {
  max-width: 440px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.ok-dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 30px;
}

.ok-dl h3 { margin: 0 0 4px; }
.ok-dl p { margin: 0; font-size: 14px; color: var(--muted); }
.ok-dl .btn { flex: 0 0 auto; }

.ok-next { border-top: 1px solid var(--line); padding-top: 24px; }

.ok-next h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.ok-steps { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 15px; }

.ok-steps li { display: flex; gap: 14px; align-items: flex-start; }

.ok-steps .n {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.ok-steps p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #334155; }

.ok-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 -44px;
  padding: 18px 44px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  border-radius: 0 0 19px 19px;
}

.ok-foot p { margin: 0; font-size: 13px; color: var(--muted); flex: 1 1 auto; }
.ok-foot-links { display: flex; gap: 16px; font-size: 13px; font-weight: 600; margin-left: auto; }

@media (max-width: 620px) {
  .ok-page { padding: 28px 0 64px; }
  .ok-card { padding: 30px 22px 0; border-radius: 16px; }
  .ok-dl { flex-direction: column; align-items: stretch; }
  .ok-foot { margin: 0 -22px; padding: 16px 22px; border-radius: 0 0 15px 15px; }
}

/* ---------- 法律页 ---------- */

.legal-head { background: var(--soft); padding: 56px 0 42px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.legal-head .sub { margin: 18px 0 0; }

.legal-body { padding: 48px 0 88px; }

.legal-block { max-width: 760px; margin-bottom: 36px; }
.legal-block h2 { font-size: 19px; margin-bottom: 10px; }
.legal-block p { color: #334155; font-size: 15px; }

/* ---------- 页脚 ---------- */

.site-foot {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 52px 0 32px;
  font-size: 14px;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 34px;
}

.foot-cols > div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols a { color: var(--muted); }
.foot-cols a:hover { color: var(--fg); text-decoration: none; }

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 15px;
  margin-bottom: 4px;
  white-space: nowrap;
}
.foot-note { color: var(--muted); font-size: 13.5px; max-width: 300px; margin: 0; }
.foot-title { font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #8a99ad; margin-bottom: 2px; }

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-foot.bare { padding: 26px 0; }

/* ---------- 窄屏 ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { max-width: 460px; }
  .faq-split { grid-template-columns: 1fr; gap: 26px; }
  .faq-intro h2 { position: static; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .buy-card { grid-template-columns: 1fr; gap: 22px; }
  .buy-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .price-card { padding: 6px 20px 22px; }
  .cta-layout { grid-template-columns: 1fr; gap: 26px; }
  .cta-art img { width: 148px; height: 148px; }
  .cta-art::before { width: 160px; height: 160px; }
}

@media (max-width: 640px) {
  /* 手机上把导航折到第二行，横向可滑。直接 display:none 会让整站只剩页脚一条路。 */
  .head-inner {
    height: auto;
    flex-wrap: wrap;
    column-gap: 12px;
    padding-top: 10px;
    padding-bottom: 4px;
  }
  .brand { margin-right: auto; }
  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 20px;
    font-size: 13.5px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 0 8px;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; }
  section { padding: 58px 0; }
  .hero { padding: 64px 0 64px; }
  .hero .lead { font-size: 16px; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    margin-top: 44px;
    padding-top: 20px;
  }
  .stat b { font-size: 23px; }
  .stat + .stat { padding-left: 22px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .product-hero { padding: 44px 0 40px; }
  .section-head { margin-bottom: 28px; }
  .promise { padding: 22px; }
  .wrap { padding: 0 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 24px; }
  .checkout { max-width: 100%; }
  .card { padding: 22px; }
  /* 窄屏放不下「工具 / 金额 / 购买」三列：名称独占一行，金额和按钮落到第二行 */
  .price-row { display: flex; flex-wrap: wrap; gap: 10px 12px; }
  .price-act {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }
  .price-buy { width: auto; padding: 7px 16px; }
  .card-buy .btn { flex: 1 1 100%; }
  /* 手机上把 hero 面板收起来：三个工具卡就在下面，不必先滚过一遍重复信息 */
  .hero-panel { display: none; }
  .cta-art img { width: 116px; height: 116px; }
  .cta-art::before { width: 128px; height: 128px; }
}

/* 系统开了「减少动态效果」时，把装饰性过渡一起关掉 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
