/* ============ FinalShell 中文站 全站样式 ============ */
:root {
  /* 配色规则：主色与官方图标（蓝色系）同色相族，仅调明度/饱和度 */
  --primary: #3a97ec;
  --primary-dark: #1e6fc8;
  --primary-light: rgba(58, 151, 236, 0.10);
  --primary-bg: rgba(58, 151, 236, 0.07);
  --primary-border: rgba(58, 151, 236, 0.25);
  --primary-glow: rgba(58, 151, 236, 0.36);
  --tint: #eaf3fd;
  --tint-text: #27506f;
  --deep-glow: rgba(30, 90, 160, 0.18);
  --bg: #f5f9fd;
  --card-bg: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5eaf1;
  --success: #16a34a;
  --warning: #d97706;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 40, 80, 0.06);
  --shadow-md: 0 6px 24px rgba(15, 40, 80, 0.09);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand span { color: var(--primary-dark); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { color: #4b5563; font-size: 15px; font-weight: 500; }
.nav > a:hover { color: var(--primary-dark); }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important; padding: 8px 18px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 3px 10px var(--primary-glow);
}
.nav-cta:hover { filter: brightness(1.06); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--text); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--tint) 0%, var(--bg) 55%, var(--bg) 100%);
  padding: 72px 0 64px;
}
.hero-inner { display: flex; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 52%; min-width: 0; }
.hero-visual { flex: 1 1 48%; min-width: 0; }
.hero h1 { font-size: 38px; line-height: 1.3; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--primary-dark); }
.hero-desc { color: var(--text-muted); font-size: 17px; margin-bottom: 22px; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: nowrap; gap: 12px; margin-bottom: 28px; }
.badge-pill {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 16px; font-size: 13.5px; color: var(--text); font-weight: 500;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.badge-pill strong { color: var(--primary-dark); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: 10px; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 6px 18px var(--primary-glow);
}
.btn-primary:hover { color: #fff; filter: brightness(1.06); }
.btn-ghost {
  background: #fff; color: var(--primary-dark); border: 1.5px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-lg { font-size: 17px; padding: 14px 34px; }
.btn-md { font-size: 15px; padding: 10px 22px; }

/* ---------- Mockup frame ---------- */
.mockup {
  background: #1c2733; border-radius: 16px; padding: 10px 10px 0;
  box-shadow: var(--shadow-md), 0 24px 60px var(--deep-glow);
}
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 4px 4px 10px; }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mockup-bar i:nth-child(1) { background: #f26d60; }
.mockup-bar i:nth-child(2) { background: #f7bf4f; }
.mockup-bar i:nth-child(3) { background: #57c353; }
.mockup img { border-radius: 0 0 8px 8px; width: 100%; }
.mockup-caption { text-align: center; font-size: 12.5px; color: var(--text-muted); margin-top: 12px; }

/* ---------- Section base ---------- */
.section { padding: 64px 0; }
.section[id] { scroll-margin-top: 76px; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-card b { display: block; font-size: 34px; font-weight: 800; color: var(--primary-dark); line-height: 1.2; }
.stat-card span { font-size: 14px; color: var(--text-muted); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--primary-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Scenarios ---------- */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scenario-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
}
.scenario-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.scenario-card > p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 16px; }
.scenario-card ul { list-style: none; }
.scenario-card li { font-size: 14px; padding: 5px 0 5px 24px; position: relative; color: #374151; }
.scenario-card li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--primary-light);
}
.scenario-card li::after {
  content: ""; position: absolute; left: 1.5px; top: 11.5px;
  width: 12px; height: 12px; background-color: var(--primary);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-7" fill="none" stroke="%23000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-7" fill="none" stroke="%23000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
}

/* ---------- Interface shots (界面一览) ---------- */
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.shot-item .mockup-caption { margin-top: 10px; font-size: 13px; }
.shot-item .shot-title { text-align: center; font-weight: 700; font-size: 15px; color: var(--text); margin-top: 10px; }
.shot-wide { max-width: 760px; margin: 30px auto 0; }
.shot-wide .mockup-caption { margin-top: 10px; font-size: 13px; text-align: center; }

/* ---------- Why / principle ---------- */
.why-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.why-card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 8px; }
.why-card p { font-size: 14.5px; color: var(--text-muted); }
.why-card .feature-icon { margin-bottom: 0; }

/* ---------- Tables (对比/免费边界) ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.compare th, table.compare td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { background: var(--primary-bg); color: var(--text); font-weight: 700; white-space: nowrap; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
table.compare .yes { color: var(--success); font-weight: 600; }
table.compare .no { color: #9ca3af; }
table.compare .part { color: var(--warning); }

/* ---------- Timeline (版本精选) ---------- */
.timeline { max-width: 780px; margin: 0 auto; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding: 0 0 26px 18px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 9px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--primary);
}
.tl-item .tl-ver { font-weight: 800; font-size: 16px; color: var(--primary-dark); margin-right: 10px; }
.tl-item .tl-date { font-size: 13px; color: var(--text-muted); }
.tl-item p { font-size: 14.5px; color: #374151; margin-top: 4px; }
.tl-badge {
  display: inline-block; font-size: 12px; font-weight: 700; color: #fff;
  background: var(--primary); border-radius: 999px; padding: 2px 10px; margin-left: 8px; vertical-align: 2px;
}

/* ---------- Testimonials marquee ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee-row { display: flex; gap: 18px; width: max-content; animation: marquee-scroll 55s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card {
  width: 340px; flex-shrink: 0; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; line-height: 1;
}
.review-meta b { font-size: 14.5px; display: block; line-height: 1.4; }
.review-meta span { font-size: 12.5px; color: var(--text-muted); }
.review-card p { font-size: 14px; color: #4b5563; }

/* ---------- Accordion FAQ ---------- */
.accordion { max-width: 860px; margin: 0 auto; }
.acc-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.acc-head {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  padding: 17px 22px; font-size: 15.5px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc-head::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg); transition: transform 0.2s ease; margin-top: -4px;
}
.acc-item.open .acc-head::after { transform: rotate(-135deg); margin-top: 4px; }
.acc-body { display: none; padding: 0 22px 18px; font-size: 14.5px; color: #4b5563; }
.acc-item.open .acc-body { display: block; }
.acc-body a { font-weight: 600; }
.faq-group { margin-bottom: 36px; }
.faq-group > h2 { font-size: 22px; font-weight: 800; margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--primary); }

/* ---------- Guide ---------- */
.guide-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.guide-toc { position: sticky; top: 88px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.guide-toc h3 { font-size: 14px; color: var(--text-muted); font-weight: 700; margin-bottom: 10px; }
.guide-toc a { display: block; font-size: 14px; padding: 6px 8px; border-radius: 8px; color: #4b5563; }
.guide-toc a:hover { background: var(--primary-light); color: var(--primary-dark); }
.guide-body { min-width: 0; }
.guide-body h2 { font-size: 24px; font-weight: 800; margin: 46px 0 16px; padding-top: 10px; scroll-margin-top: 90px; }
.guide-body h2:first-child { margin-top: 0; }
.guide-body h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
.guide-body p, .guide-body li { color: #374151; font-size: 15px; }
.guide-body ol, .guide-body ul { padding-left: 24px; margin: 10px 0; }
.guide-body li { margin-bottom: 6px; }
.guide-body strong { color: var(--text); }
.guide-body code {
  background: #eef3f9; border: 1px solid var(--border); border-radius: 6px;
  padding: 1.5px 7px; font-size: 13.5px; font-family: Consolas, Menlo, monospace; color: #b3541e;
}
.guide-body pre {
  background: #1c2733; color: #dbeafe; border-radius: 10px; padding: 16px 20px;
  overflow-x: auto; font-size: 13.5px; line-height: 1.7; margin: 14px 0;
  font-family: Consolas, Menlo, monospace;
}
.guide-body pre code { background: none; border: 0; color: inherit; padding: 0; }
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.step-card .step-no {
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; margin-bottom: 12px;
}
.step-card h3 { font-size: 16px; margin: 0 0 8px; }
.step-card p { font-size: 14px; }
.guide-next { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 14px; color: var(--text-muted); }
.tip-box {
  background: var(--primary-bg); border: 1px solid var(--primary-border); border-radius: 10px;
  padding: 14px 18px; font-size: 14.5px; margin: 14px 0; color: var(--tint-text);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--tint), var(--bg)); padding: 46px 0 40px; border-bottom: 1px solid var(--border); }
.crumbs { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--primary-dark); }
.page-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 10px; }
.page-hero .sub { color: var(--text-muted); font-size: 16px; max-width: 680px; }

/* ---------- Download edition cards ---------- */
.edition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1020px; margin: 0 auto; align-items: stretch; }
.edition-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.edition-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.edition-card.recommend { border: 2px solid var(--primary); position: relative; }
.rec-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 3px 14px; white-space: nowrap;
}
.edition-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.edition-os { width: 42px; height: 42px; border-radius: 11px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.edition-os svg { width: 23px; height: 23px; stroke: var(--primary-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.edition-head h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
.edition-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
dl.dl-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 8px; margin-bottom: 18px; }
dl.dl-grid dt { font-size: 12.5px; color: var(--text-muted); }
dl.dl-grid dd { font-size: 14px; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.edition-action { width: 100%; margin-top: auto; font-size: 15.5px; padding: 12px 20px; }
.dl-cta-note { text-align: center; color: var(--text-muted); font-size: 13.5px; margin-top: 14px; }
.dl-advice {
  max-width: 1020px; margin: 26px auto 0; background: var(--primary-bg);
  border: 1px solid var(--primary-border); border-radius: 12px; padding: 16px 22px; font-size: 14.5px; color: var(--tint-text);
}

/* ---------- Sysreq ---------- */
.sysreq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1020px; margin: 0 auto; }
.sysreq-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.sysreq-card h3 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.sysreq-card ul { list-style: none; }
.sysreq-card li { font-size: 14px; color: #4b5563; padding: 4px 0 4px 18px; position: relative; }
.sysreq-card li::before { content: "·"; position: absolute; left: 2px; color: var(--primary); font-weight: 800; }

/* ---------- Download CTA tail ---------- */
.cta-tail { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; text-align: center; padding: 70px 0; }
.cta-tail h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.cta-tail p { font-size: 16px; opacity: 0.92; margin-bottom: 28px; }
.cta-tail .btn { background: #fff; color: var(--primary-dark); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.cta-tail .btn:hover { color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer { background: #101b2a; color: #94a3b8; padding: 52px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.site-footer p { font-size: 13.5px; line-height: 1.8; }
.site-footer h4 { color: #e2e8f0; font-size: 14.5px; margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, 0.18); padding-top: 22px; text-align: center; font-size: 12.5px; color: #64748b; line-height: 1.9; }

/* ---------- QR modal ---------- */
.qr-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.qr-modal[hidden] { display: none; }
.qr-modal-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); }
.qr-modal-card {
  position: relative; background: #fff; border-radius: 20px; padding: 36px 40px 30px; text-align: center;
  width: min(400px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); animation: qrPop 0.18s ease;
}
@keyframes qrPop { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qr-modal-card h3 { margin: 0 0 22px; font-size: 21px; font-weight: 700; }
.qr-modal-qr { position: relative; width: 200px; height: 200px; margin: 0 auto; padding: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; }
.qr-qr-canvas, .qr-qr-canvas svg { display: block; width: 100%; height: 100%; }
.qr-modal-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; padding: 5px; background: #fff; border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); object-fit: contain;
}
.qr-modal-tip { font-size: 14px; color: #6b7280; line-height: 1.7; margin: 20px 0 0; }
.qr-modal-tip strong { color: #1f2937; }
.qr-modal-x { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 24px; color: #9ca3af; cursor: pointer; line-height: 1; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.nf-wrap { text-align: center; padding: 90px 24px; }
.nf-wrap img { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 16px; }
.nf-wrap h1 { font-size: 56px; font-weight: 800; color: var(--primary-dark); }
.nf-wrap p { color: var(--text-muted); margin: 12px 0 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { flex-direction: column; gap: 36px; }
  .hero-copy { flex: none; }
  .hero-visual { flex: none; width: 100%; }
  .feature-grid, .scenario-grid, .why-wrap, .stats-grid, .edition-grid, .sysreq-grid, .step-cards { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
}
@media (max-width: 768px) {
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav > a { padding: 13px 26px; }
  .nav-cta { margin: 10px 26px 14px; text-align: center; border-radius: 10px; }
  .nav-toggle { display: block; }
  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero-badges { flex-wrap: wrap; gap: 8px; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 24px; }
  .feature-grid, .scenario-grid, .why-wrap, .stats-grid, .edition-grid, .sysreq-grid, .step-cards { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 12px; }
  .hero-actions .btn-lg { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .page-hero h1 { font-size: 25px; }
  .cta-tail h2 { font-size: 25px; }
}
