/* 玄易罗盘官网 · 样式表
   配色：朱红 #B31B24 / 描金 #C8A15A / 墨黑 #1B1B1F / 米宣 #F6F1E7 */

:root {
  --red: #b31b24;
  --red-deep: #8e141c;
  --red-soft: #d9534f;
  --gold: #c8a15a;
  --gold-soft: #e3cd9d;
  --ink: #1b1b1f;
  --ink-2: #4a4a52;
  --ink-3: #7a7a85;
  --paper: #f6f1e7;
  --paper-2: #fbf8f2;
  --line: #e3dbcb;
  --white: #fff;
  --shadow: 0 6px 24px rgba(27, 27, 31, .08);
  --shadow-lg: 0 18px 48px rgba(27, 27, 31, .14);
  --radius: 12px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: 44px; letter-spacing: .02em; }
h2 { font-size: 32px; letter-spacing: .02em; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(900px, 100% - 48px); margin-inline: auto; }

/* ---------- 公告条 ---------- */
.topbar {
  background: linear-gradient(90deg, var(--red-deep), var(--red) 55%, #a5171f);
  color: #fff;
  font-size: 13.5px;
  letter-spacing: .01em;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}

.topbar strong { color: var(--gold-soft); }
.topbar .links { display: flex; gap: 18px; opacity: .92; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.topbar .left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- 语言切换 ---------- */
.geo-tip {
  background: linear-gradient(90deg, #fff7e8, #fdf2e0);
  border-bottom: 1px solid var(--gold-soft);
  font-size: 14.5px;
  color: var(--ink-2);
}
.geo-tip[hidden] { display: none; }
.geo-tip .wrap { display: flex; align-items: center; gap: 14px; min-height: 46px; flex-wrap: wrap; padding-block: 6px; }
.geo-tip-text { flex: 1 1 auto; }
.geo-tip-keep {
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--red);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.geo-tip-keep:hover { background: var(--red); color: #fff; border-color: var(--red); }
.geo-tip-close {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}

.lang-switch { display: inline-flex; align-items: center; }
.lang-switch::before {
  content: "🌐";
  font-size: 14px;
  margin-right: 6px;
  opacity: .85;
}
.lang-select {
  appearance: none;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  padding: 4px 26px 4px 12px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 14px) 51%, calc(100% - 9px) 51%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.lang-select option { color: #1b1b1f; background: #fff; }
.lang-select:hover { background-color: rgba(255, 255, 255, .24); }

/* 长语言名（如 Bahasa Indonesia）不能把顶栏撑宽 */
.lang-select { max-width: 190px; text-overflow: ellipsis; }

@media (max-width: 860px) {
  .topbar .wrap { justify-content: flex-start; gap: 8px; padding-block: 6px; }
  .topbar .links { justify-content: flex-start; gap: 12px; width: 100%; }
  .lang-select { max-width: 132px; }
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 242, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

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

.logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--gold-soft) 0 18%, var(--red) 18% 46%, var(--ink) 46% 68%, var(--gold) 68% 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
  flex: none;
}

.logo-text { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: .08em; }
.logo-text small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .22em; color: var(--gold); font-weight: 400; }

.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--red); border-bottom-color: var(--gold); }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 14.5px;
  box-shadow: 0 6px 16px rgba(179, 27, 36, .28);
  white-space: nowrap;
}

.nav-cta:hover { background: var(--red-deep); }

.nav-toggle { display: none; }

/* ---------- 通用区块 ---------- */
section { padding: 76px 0; }
section.tight { padding: 56px 0; }

.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.band-dark { background: var(--ink); color: #d9d4cb; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--gold); }

.eyebrow {
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-head { max-width: 780px; margin-bottom: 40px; }
.sec-head p { font-size: 16.5px; color: var(--ink-3); margin: 0; }

.rule {
  width: 64px; height: 3px; margin: 18px 0 22px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
}
.compliance-inline {
  max-width: 850px;
  margin: 16px 0 0;
  padding: 12px 15px;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, .64);
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.75;
}

.center { text-align: center; }
.center .rule { margin-inline: auto; }
.center .sec-head { margin-inline: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .18s;
}

.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(179, 27, 36, .26); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--red); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #b98c3f); color: #2a1c0a; font-weight: 600; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 首屏 ---------- */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(1000px 520px at 88% -10%, rgba(200, 161, 90, .22), transparent 62%),
    radial-gradient(760px 420px at -6% 110%, rgba(179, 27, 36, .1), transparent 60%),
    var(--paper);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { font-size: 50px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { font-size: 18px; color: var(--ink-2); max-width: 34em; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 32px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.hero-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  color: var(--red);
  line-height: 1.2;
}

.hero-stats span { font-size: 13px; color: var(--ink-3); }

.hero-visual { position: relative; display: flex; justify-content: center; gap: 18px; align-items: flex-end; }
.hero-visual .device-shot { flex: 1; max-width: 300px; }

/* ---------- 手机壳 ---------- */
.phone {
  position: relative;
  border-radius: 26px;
  padding: 8px;
  background: linear-gradient(160deg, #2b2b31, #101014);
  box-shadow: var(--shadow-lg);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  pointer-events: none;
}

.phone img { border-radius: 19px; width: 100%; background: #fff; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: .2s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.card h3 { margin-bottom: .5em; }
.card p { margin: 0; font-size: 15.5px; color: var(--ink-3); }

.num {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 14px;
}

/* ---------- 对比 ---------- */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.vs > div { padding: 28px 30px; }
.vs .bad { background: #fbf7f4; border-right: 1px solid var(--line); }
.vs .good { background: linear-gradient(180deg, #fffdf8, #fff); }
.vs h3 { display: flex; align-items: center; gap: 10px; }
.vs .tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; font-family: var(--sans); font-weight: 400; }
.vs .tag.bad { background: #eee; color: #888; }
.vs .tag.good { background: rgba(179, 27, 36, .1); color: var(--red); }
.vs ul { margin: 0; padding: 0; list-style: none; }
.vs li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.vs li:last-child { border-bottom: 0; }
.vs .bad li::before { content: "✕"; position: absolute; left: 4px; color: #b9b9b9; }
.vs .good li::before { content: "✓"; position: absolute; left: 4px; color: var(--red); font-weight: 700; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.step .idx { font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: .2em; }
.step h4 { margin: 6px 0 8px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-3); }

/* ---------- 应用矩阵 ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14.5px;
  cursor: pointer;
  color: var(--ink-2);
  font-family: inherit;
}
.filter.on { background: var(--red); border-color: var(--red); color: #fff; }

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

.app-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .2s;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
/* 卡片只露截图顶部（应用头图），避免 35 张卡片被整屏截图撑成巨长页 */
.app-card .thumb {
  background: linear-gradient(180deg, #f4f1ea, #ece7dc);
  padding: 16px 16px 0;
  height: 220px;
  overflow: hidden;
  display: grid;
  place-items: start center;
  position: relative;
}
.app-card .thumb img { width: 100%; border-radius: 10px 10px 0 0; box-shadow: 0 -4px 18px rgba(0, 0, 0, .1); }
.app-card .thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34px;
  background: linear-gradient(180deg, rgba(236, 231, 220, 0), rgba(236, 231, 220, .95));
  pointer-events: none;
}
.app-card .body { padding: 16px 18px 20px; flex: 1; }
.app-card h4 { margin: 0 0 6px; font-size: 17px; }
.app-card p { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.65; }
.app-card .more {
  display: inline-block;
  margin-top: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}
.app-card .pill {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--red);
  background: rgba(179, 27, 36, .08);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

/* 首页静态内链：即使筛选脚本尚未执行，搜索引擎也能抓到 35 个详情页 */
.app-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.app-directory a {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(179, 27, 36, .14);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  text-decoration: none;
  transition: .18s;
}
.app-directory a:hover {
  color: var(--red);
  border-color: var(--red);
  background: #fff;
}

/* ---------- 应用详述 ---------- */
.app-detail {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 46px;
  align-items: start;
  padding: 54px 0;
}

.app-detail:nth-child(even) .app-detail-media { order: 2; }

/* 应用详述：桌面全展开，手机折叠成手风琴 */
.acc { border-top: 1px solid var(--line); }
.acc > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary .s-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.acc > summary .s-sub { flex: 1 1 100%; min-width: 0; overflow-wrap: anywhere; font-family: var(--sans); font-size: 13.5px; color: var(--ink-3); font-weight: 400; }
.acc > summary::after { content: "＋"; color: var(--gold); flex: none; }
.acc[open] > summary::after { content: "－"; }

@media (min-width: 861px) {
  .acc > summary { display: none; }
  .acc:first-child { border-top: 0; }
}

@media (max-width: 860px) {
  .acc > .app-detail { padding: 6px 0 34px; }
  .acc > summary .s-sub { display: none; }
}

/* 截图统一走「可换行 + 限宽」：桌面两三张一行，手机两张一行，避免长页失控 */
.app-detail-media {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: flex-start;
}
.app-detail-media .phone { flex: 1 1 132px; max-width: 200px; }
.app-detail-media .phone:only-child { flex: 0 1 240px; max-width: 240px; }

.app-detail h3 { font-size: 26px; margin-bottom: 8px; }
.app-detail .kicker { font-size: 12.5px; letter-spacing: .2em; color: var(--gold); margin-bottom: 6px; }

.do-how { margin: 20px 0; padding: 18px 20px; background: var(--paper); border-radius: var(--radius); border-left: 3px solid var(--gold); }
.do-how dt { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 15px; }
.do-how dd { margin: 2px 0 12px; font-size: 15px; color: var(--ink-2); }
.do-how dd:last-child { margin-bottom: 0; }

.bullets { margin: 0; padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15.5px; }
.bullets li::before { content: "◆"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 11px; line-height: 26px; }

/* ---------- 应用独立详情页 ---------- */
.app-page { background: var(--paper); }
.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 8px;
  color: var(--ink-3);
  font-size: 13.5px;
}
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--red); }
.crumb span { color: var(--gold); }
.crumb strong { color: var(--ink-2); font-weight: 500; }

.app-hero {
  padding: 58px 0 52px;
  background:
    radial-gradient(circle at 82% 22%, rgba(185, 145, 70, .16), transparent 30%),
    linear-gradient(135deg, #fbf8f2 0%, #f2ece2 100%);
  border-bottom: 1px solid var(--line);
}
.app-hero h1 { max-width: 980px; font-size: clamp(36px, 5vw, 64px); line-height: 1.14; }
.app-hero .kicker { margin-bottom: 14px; }
.app-hero .promise {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.65;
}

.app-section { padding: 64px 0; border-top: 1px solid var(--line); }
.app-section.band { border-block: 1px solid var(--line); }
.app-section h2 { font-size: clamp(28px, 3.4vw, 40px); }
.app-section h3 { margin-top: 30px; }
.app-summary { margin: 22px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.9; }
.points-title { font-family: var(--serif); }
.app-media {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
}
.app-media .phone { flex: 1 1 210px; max-width: 310px; }
.app-media .phone:only-child { flex: 0 1 340px; max-width: 340px; }
.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.related .card { padding: 22px; text-decoration: none; color: inherit; }
.related .card h3 { margin: 0 0 8px; font-size: 18px; }
.related .card p { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.7; }

/* ---------- 数据条 ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { background: #fff; padding: 26px 22px; text-align: center; }
.metric b { display: block; font-family: var(--serif); font-size: 30px; color: var(--red); line-height: 1.2; }
.metric span { font-size: 13.5px; color: var(--ink-3); }

/* ---------- 双形态 ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.duo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.duo-media { background: linear-gradient(180deg, #f7f4ee, #ece6da); display: grid; place-items: center; padding: 22px; min-height: 260px; }
.duo-media img { max-height: 300px; width: auto; max-width: 100%; border-radius: 8px; }
.duo-media.phone-holder .phone { max-width: 190px; }
.duo-body { padding: 26px 28px 30px; }
.duo-body h3 { margin-bottom: .5em; }
.duo-body p { color: var(--ink-3); font-size: 15.5px; }
.duo-body .bullets { margin-top: 14px; }

/* ---------- 机型参数 ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: .2s;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.spec-card .spec-img {
  height: 300px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #faf8f4, #f1ece2);
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.spec-card .spec-img img { max-height: 100%; width: auto; max-width: 100%; border-radius: 6px; cursor: zoom-in; }
.spec-card .spec-body { padding: 16px 18px 20px; }
.spec-card h4 { font-size: 16px; margin: 0 0 6px; }
.spec-card p { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }

/* ---------- 对比表 ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--paper); font-family: var(--serif); font-size: 15.5px; color: var(--ink); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--red); font-weight: 600; }
td.no { color: #a9a9a9; }

/* ---------- 实拍 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; }
.shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--ink-3); }

/* ---------- 套餐 ---------- */
.plan {
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(179, 27, 36, .12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.plan .price { font-family: var(--serif); font-size: 30px; color: var(--red); margin: 6px 0 4px; }
.plan .price small { font-size: 14px; color: var(--ink-3); font-family: var(--sans); }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { padding: 18px 22px; cursor: pointer; font-family: var(--serif); font-size: 16.5px; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 22px; color: var(--gold); }
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 22px 20px; font-size: 15.5px; color: var(--ink-2); }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.contact-list { display: grid; gap: 14px; }
.contact-list div { display: flex; gap: 14px; align-items: baseline; font-size: 16px; }
.contact-list b { font-family: var(--serif); color: var(--ink); min-width: 84px; font-weight: 700; }

/* ---------- 页脚 ---------- */
footer { background: var(--ink); color: #9a938a; padding: 54px 0 34px; font-size: 14px; }
footer h4 { color: #fff; font-family: var(--serif); margin-bottom: 14px; }
footer a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; }
.foot-grid li { margin-bottom: 8px; }
.legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid #333; font-size: 12.5px; color: #7d7770; line-height: 1.9; }

/* ---------- 悬浮咨询 ---------- */
.float {
  position: fixed;
  right: 18px;
  bottom: 26px;
  z-index: 80;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.float .fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(179, 27, 36, .35);
  font-size: 12px;
  text-align: center;
  line-height: 1.25;
  transition: .2s;
}
.float .fab:hover { transform: translateY(-3px); background: var(--red-deep); }
.float .fab.gold { background: linear-gradient(135deg, var(--gold), #a87f36); color: #2a1c0a; }
.float .fab span { display: block; font-size: 18px; line-height: 1; }

/* ---------- 底部货到付款通栏 ---------- */
body.has-cod-bar { padding-bottom: 0; }
body.has-cod-bar.cod-visible { padding-bottom: 86px; }
body.has-cod-bar.cod-visible .float { bottom: 104px; }
.cod-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: 9px 0 calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid rgba(179, 27, 36, .16);
  box-shadow: 0 -12px 34px rgba(24, 18, 11, .13);
  backdrop-filter: blur(12px);
}
.cod-sticky[hidden] { display: none !important; }
.cod-sticky .wrap { width: min(1200px, 100%); }
.cod-sticky-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-height: 60px;
  padding: 9px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(179, 27, 36, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cod-sticky-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(179, 27, 36, .3);
}
.cod-sticky-copy { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.cod-sticky-copy strong { font-family: var(--serif); font-size: 18px; letter-spacing: .06em; }
.cod-sticky-copy small { color: rgba(255, 255, 255, .8); font-size: 12.5px; }
.cod-sticky-arrow { font-size: 25px; line-height: 1; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 12, 14, .88);
  display: none;
  place-items: center;
  padding: 30px;
}
.lightbox.on { display: grid; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 10px; }
.lightbox .close {
  position: absolute; top: 18px; right: 26px;
  color: #fff; font-size: 34px; cursor: pointer; line-height: 1;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .g4, .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero h1 { font-size: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 英文等译文比中文长，导航要更早收起，否则会把页面撑宽 */
  .nav-links { display: none; }
  .nav-links.on {
    display: grid;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    padding: 16px 24px 22px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.on a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle {
    display: grid; place-items: center;
    margin-left: auto;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
  }
  .nav-cta { display: none; }
}

@media (max-width: 860px) {
  section { padding: 56px 0; }
  .wrap, .narrow { width: min(100% - 32px, 1200px); }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .g2, .g3, .g4, .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-detail { grid-template-columns: 1fr; gap: 28px; }
  .app-detail:nth-child(even) .app-detail-media { order: 0; }
  .app-hero { padding: 42px 0 38px; }
  .app-section { padding: 48px 0; }
  .related { grid-template-columns: 1fr; }
  .plan, .contact, .foot-grid { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs .bad { border-right: 0; border-bottom: 1px solid var(--line); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .nav-links.on {
    display: grid;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    padding: 16px 24px 22px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.on a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle {
    display: grid; place-items: center;
    margin-left: auto;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
  }
  .nav-cta { display: none; }
  h2 { font-size: 26px; }
}

@media (max-width: 560px) {
  .g2, .g3, .g4, .steps, .shots { grid-template-columns: 1fr; }
  /* 应用矩阵在手机上仍保持两列，避免 35 张卡片排成一条长龙 */
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .spec-grid { grid-template-columns: 1fr; gap: 14px; }
  .spec-card .spec-img { height: 240px; }
  .app-card .body { padding: 12px 13px 16px; }
  .app-card h4 { font-size: 15.5px; }
  .app-card p { font-size: 13px; }
  .app-card .pill { font-size: 10.5px; }
  .app-directory { padding: 14px; }
  .app-directory a { font-size: 12px; }
  .app-media .phone { flex-basis: 100%; max-width: 300px; }
  body.has-cod-bar.cod-visible { padding-bottom: 82px; }
  body.has-cod-bar.cod-visible .float { bottom: 102px; }
  .cod-sticky { padding-inline: 10px; }
  .cod-sticky-button { min-height: 58px; gap: 12px; padding-inline: 16px; }
  .cod-sticky-copy strong { font-size: 17px; }
  .cod-sticky-copy small { font-size: 11.5px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .hero-visual { gap: 12px; }
  table { font-size: 14px; }
  .plan { padding: 26px; }
  section { padding: 44px 0; }
  h1 { font-size: 30px; }
  .app-detail-media .phone { flex: 1 1 120px; max-width: 180px; }
}

@media print {
  .cod-sticky, body.has-cod-bar .float { display: none !important; }
  .nav, .float, .topbar { display: none; }
  body { background: #fff; }
}
