﻿/* 小二软件库 · 索引版
   米白纸底 + 正红主色 + 墨黑面板，标题用宋体，条目式排版 */

:root {
  --paper: #faf6ef;
  --surface: #ffffff;
  --ink: #16130f;
  --ink-2: #3c352c;
  --muted: #776c5e;
  --red: #c6362a;
  --red-d: #a4271e;
  --black: #14110e;
  --sand: #f2e9da;
  --line: #e6dbca;
  --line-2: #cdbda6;
  --pw: 190px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dt, dd, blockquote, figure { margin: 0; }

.mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn .ico { width: 15px; height: 15px; flex: none; }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); transform: translateY(-1px); }

.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--red-d); transform: translateY(-1px); }

.btn-sm { padding: 9px 15px; font-size: 13px; }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* ---------- 顶部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(22, 19, 15, 0.08);
}

.header-inner { display: flex; align-items: center; gap: 26px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 9px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-text em { font-style: normal; font-size: 9px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav a { position: relative; padding: 4px 0; transition: color 0.18s ease; }
.nav a:hover { color: var(--red); }
.nav a.is-active { color: var(--red); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); }

/* ---------- 小标题 ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .rule { display: block; width: 26px; height: 2px; background: var(--red); flex: none; }
.eyebrow-light { color: rgba(250, 246, 239, 0.58); }
.eyebrow-light .rule { background: var(--red); }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 62px 0 74px; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.ring {
  position: absolute;
  top: -110px;
  right: -70px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(198, 54, 42, 0.22);
  border-radius: 50%;
}

.glow {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 54, 42, 0.1), rgba(198, 54, 42, 0) 68%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 40px;
  align-items: center;
}

.hero-title {
  margin: 20px 0 0;
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 66px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.hero-sub {
  margin-top: 22px;
  max-width: 480px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 11.5px;
  color: var(--muted);
}

.hero-meta span { padding: 0 14px; border-left: 1px solid var(--line-2); }
.hero-meta span:first-child { padding-left: 0; border-left: 0; }

/* 手机三连 */
.deck {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0;
}

.phone {
  width: var(--pw);
  flex: none;
  padding: 6px;
  border-radius: 26px;
  background: var(--black);
  box-shadow: 0 22px 46px rgba(22, 19, 15, 0.22);
}

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

.phone-a { transform: rotate(-9deg) translateY(14px); z-index: 1; margin-right: calc(var(--pw) * -0.3); }
.phone-b { z-index: 3; }
.phone-c { transform: rotate(9deg) translateY(14px); z-index: 2; margin-left: calc(var(--pw) * -0.3); }

/* ---------- 数据条 ---------- */
.band { background: var(--black); color: var(--paper); }

.band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 0;
  padding-top: 34px;
  padding-bottom: 34px;
}

.stat {
  flex: 1 1 190px;
  padding-right: 26px;
  border-right: 1px solid rgba(250, 246, 239, 0.18);
}

.stat:last-child { border-right: 0; }

.stat-num {
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.stat-num sup { font-size: 0.42em; font-weight: 600; color: var(--red); margin-left: 2px; }
.stat-label { margin-top: 2px; font-size: 12.5px; color: rgba(250, 246, 239, 0.62); }

/* ---------- 区块 ---------- */
.section { padding: 92px 0; }
.section-sand { background: var(--sand); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.head-left { max-width: 620px; }

.section-title {
  margin-top: 16px;
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.section-desc { margin-top: 14px; max-width: 580px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }

.head-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 6px;
}

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }

/* ---------- 精选条目 ---------- */
.pick-list { border-top: 1px solid var(--ink); }

.pick-row {
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr) 66px 88px 62px 26px;
  align-items: center;
  gap: 18px;
  padding: 18px 10px 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.18s ease, padding-left 0.18s ease;
}

.pick-row:hover { background: #fff; padding-left: 10px; }

.pick-no { font-size: 12px; color: var(--red); }

.pick-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--surface);
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.pick-main { min-width: 0; }
.pick-name { font-size: 17px; font-weight: 700; line-height: 1.4; }
.pick-note { margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.pick-cat { font-size: 12px; color: var(--ink-2); }
.pick-size { font-size: 11.5px; color: var(--ink-2); }
.pick-date { font-size: 11.5px; color: var(--muted); }
.pick-go { font-size: 16px; color: var(--red); text-align: right; }

.section-cta { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.cta-note { font-size: 11.5px; color: var(--muted); }

/* ---------- 专区 ---------- */
.space-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.space-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--paper);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.space-card:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22, 19, 15, 0.08); }

.space-glyph { width: 40px; height: 40px; color: var(--red); }
.space-glyph svg { width: 100%; height: 100%; }

.space-title {
  margin-top: 18px;
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.space-desc { margin-top: 10px; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }

.space-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }

.tag {
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 三步 ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }

.step { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }

.step-no { font-size: 11.5px; color: var(--red); }

.step-title {
  margin-top: 8px;
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.step-desc { margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }

/* ---------- 参数面板 ---------- */
.spec-panel { background: var(--black); color: var(--paper); padding: 46px 46px 44px; border-radius: 8px; }

.spec-head { display: block; }

.spec-title {
  margin-top: 14px;
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 30px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px dashed rgba(250, 246, 239, 0.24);
}

.spec-cell { min-width: 0; }
.spec-k { font-size: 11px; letter-spacing: 0.14em; color: rgba(250, 246, 239, 0.55); }
.spec-v { margin-top: 4px; font-size: 16px; font-weight: 700; color: #fff; }

/* ---------- 下载 ---------- */
.dl-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  overflow: hidden;
}

.dl-copy { padding: 48px 46px 42px; }

.dl-copy .eyebrow { color: rgba(255, 255, 255, 0.66); }
.dl-copy .eyebrow .rule { background: #fff; }

.dl-title {
  margin-top: 16px;
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.38;
  max-width: 500px;
}

.dl-desc { margin-top: 14px; font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, 0.8); }

.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.dl-note { font-size: 11.5px; color: rgba(255, 255, 255, 0.72); }

.dl-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

.dl-specs dt { font-size: 11px; color: rgba(255, 255, 255, 0.62); }
.dl-specs dd { margin-top: 3px; font-size: 14px; font-weight: 700; }

.dl-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 24px;
  border-left: 1px dashed rgba(255, 255, 255, 0.3);
  background: rgba(20, 17, 14, 0.14);
}

.dl-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 3px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.dl-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(20, 17, 14, 0.26);
}

.dl-logo img { width: 92px; height: 92px; border-radius: 8px; }
.dl-cap { font-size: 10.5px; color: rgba(255, 255, 255, 0.72); }

/* ---------- 问答 ---------- */
.faq-wrap { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 104px; }
.faq-list { border-top: 1px solid var(--ink); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }

.faq-mark { position: relative; width: 13px; height: 13px; flex: none; }
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  background: var(--red);
}
.faq-mark::before { left: 0; top: 6px; width: 13px; height: 1.5px; }
.faq-mark::after { left: 6px; top: 0; width: 1.5px; height: 13px; transition: transform 0.2s ease, opacity 0.2s ease; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); opacity: 0; }

.faq-body {
  margin: 0 0 22px;
  padding: 16px 20px;
  border-left: 3px solid var(--red);
  background: #fff;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--black); color: #f4efe6; padding: 56px 0 26px; }

.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; padding-bottom: 34px; }
.footer-brand { display: flex; align-items: center; gap: 14px; flex: 1 1 300px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 9px; flex: none; }
.footer-brand strong {
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-size: 17px;
  font-weight: 700;
}
.footer-brand p { margin-top: 3px; font-size: 12.5px; color: rgba(244, 239, 230, 0.6); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: rgba(244, 239, 230, 0.78); }
.footer-nav a:hover { color: #fff; }

.footer-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-domain { font-size: 11px; color: rgba(244, 239, 230, 0.52); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(244, 239, 230, 0.22);
  font-size: 11.5px;
  color: rgba(244, 239, 230, 0.5);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1160px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 440px; gap: 24px; }
  .hero-title { font-size: 58px; }
  :root { --pw: 168px; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { max-width: 640px; }
  .ring { display: none; }
  .deck { justify-content: flex-start; padding-left: 40px; }
  :root { --pw: 180px; }
  .space-grid { gap: 16px; }
  .space-card { padding: 24px 20px 20px; }
  .spec-panel { padding: 40px 36px; }
  .pick-row { grid-template-columns: 38px 50px minmax(0, 1fr) 62px 80px 56px 22px; gap: 14px; }
  .pick-tile { width: 50px; height: 50px; font-size: 18px; }
  .faq-wrap { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 32px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22, 19, 15, 0.09);
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
  .nav a.is-active::after { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 68px; gap: 16px; }
  .header-actions { margin-left: auto; }

  .hero { padding: 46px 0 54px; }
  .hero-title { font-size: 48px; }
  .deck { padding-left: 0; justify-content: center; }
  :root { --pw: 156px; }

  .band-inner { gap: 20px 0; padding-top: 26px; padding-bottom: 26px; }
  .stat { flex: 1 1 46%; border-right: 0; padding-right: 0; }
  .stat-num { font-size: 26px; }

  .section { padding: 66px 0; }
  .section-title { font-size: 30px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .pick-row { grid-template-columns: 32px 46px minmax(0, 1fr) 52px 64px 20px; gap: 12px; }
  .pick-tile { width: 46px; height: 46px; font-size: 17px; }
  .pick-cat { font-size: 11.5px; }
  .pick-size { font-size: 11px; }
  .pick-date { display: none; }
  .pick-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pick-go { font-size: 15px; }

  .space-grid { grid-template-columns: minmax(0, 1fr); }
  .space-tags { padding-top: 16px; }

  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .step:not(:last-child)::after { display: none; }

  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .spec-title { font-size: 25px; }

  .dl-panel { grid-template-columns: minmax(0, 1fr); }
  .dl-art { border-left: 0; border-top: 1px dashed rgba(255, 255, 255, 0.3); padding: 30px; }
  .dl-title { font-size: 28px; }
  .dl-copy { padding: 34px 30px 30px; }

  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-head { position: static; }
}

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .header-inner { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 8px 20px 16px; }
  .brand-text strong { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.12em; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 14.5px; }
  :root { --pw: 128px; }
  .phone { border-radius: 20px; padding: 4px; }
  .phone img { border-radius: 16px; }

  .section { padding: 54px 0; }
  .section-title { font-size: 25px; }

  .pick-row { grid-template-columns: 26px 42px minmax(0, 1fr) 44px 54px 16px; gap: 8px; }
  .pick-tile { width: 42px; height: 42px; font-size: 16px; }
  .pick-name { font-size: 15.5px; }
  .pick-note { font-size: 12px; }

  .how-grid { gap: 22px; }
  .step-title { font-size: 18px; }

  .spec-panel { padding: 28px 22px; border-radius: 6px; }
  .spec-grid { gap: 18px; }
  .spec-v { font-size: 14.5px; }

  .dl-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-badge { position: static; align-self: flex-start; }
  .dl-logo { width: 96px; height: 96px; }
  .dl-logo img { width: 74px; height: 74px; }

  .footer-top { gap: 22px; }
  .footer-nav { order: 3; }
  .footer-bottom { flex-direction: column; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 33px; }
  .hero-meta span { padding: 0 10px; font-size: 11px; }
  :root { --pw: 108px; }
  .band-inner { gap: 16px 0; }
  .stat-num { font-size: 22px; }
  .dl-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .dl-actions .btn { width: 100%; }
  .faq-item summary { font-size: 14.5px; }
}

