/* ==========================================================
   GPU-Z 中文站 - 共享样式
   浅色为主（下载站信任感优先）+ 深色一键切换
   ========================================================== */
:root {
  /* ---- 浅色主题（默认）---- */
  --bg: #f6f8f7;
  --bg-soft: #eef1ee;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f7f2;
  --line: #dfe5e0;
  --text: #1a232b;
  --text-dim: #5b6b78;
  --text-body: #3c4a55;
  --accent: #35a623;
  --accent-bright: #1f8a17;
  --accent-dark: #26841a;
  --accent-glow: rgba(88, 194, 46, .25);
  --warn: #b97d0e;
  --radius: 14px;
  --maxw: 1120px;
  --header-bg: rgba(255, 255, 255, .88);
  --shadow-lg: 0 18px 50px rgba(30, 50, 35, .12);
  --shadow-md: 0 10px 28px rgba(30, 50, 35, .10);
}
html[data-theme="dark"] {
  --bg: #0d1117;
  --bg-soft: #131a22;
  --bg-card: #161f29;
  --bg-card-hover: #1b2733;
  --line: #24303d;
  --text: #e6edf3;
  --text-dim: #93a4b3;
  --text-body: #c4d0da;
  --accent: #58c22e;
  --accent-bright: #7ee84f;
  --accent-dark: #3d9420;
  --accent-glow: rgba(88, 194, 46, .35);
  --warn: #f0b429;
  --header-bg: rgba(13, 17, 23, .85);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .5);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, .35);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-size: 16px;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- 主题切换按钮 ---------- */
.theme-toggle {
  background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 10px; cursor: pointer;
  font-size: 15px; line-height: 1; transition: .2s; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(-12deg); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .5px; color: var(--accent-bright); }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand .z { color: var(--accent-bright); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px;
  color: var(--text-dim); transition: .2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--text); background: var(--bg-card); }
.nav-links a:not(.nav-cta).active { color: var(--accent-bright); background: rgba(88,194,46,.1); }
.nav-cta {
  margin-left: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff !important; font-weight: 700;
  padding: 8px 18px !important; border-radius: 9px;
  box-shadow: 0 0 18px var(--accent-glow);
}
.nav-cta:hover { filter: brightness(1.1); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); font-size: 20px; padding: 4px 12px; border-radius: 8px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 70px;
  background:
    radial-gradient(700px 340px at 15% 0%, rgba(88,194,46,.13), transparent 65%),
    radial-gradient(600px 300px at 90% 20%, rgba(46,134,222,.10), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(88,194,46,.4); background: rgba(88,194,46,.08);
  color: var(--accent-bright);
  font-size: 13.5px; padding: 5px 14px; border-radius: 99px; margin-bottom: 18px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 8px var(--accent-bright); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 900; letter-spacing: .5px; }
.hero h1 .hl { color: var(--accent-bright); }
.hero-subtitle { margin-top: 10px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; font-weight: 800; color: var(--text); }
.hero .sub { margin-top: 16px; font-size: 18px; color: var(--text-dim); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 11px;
  font-size: 16.5px; font-weight: 700; transition: .2s; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; box-shadow: 0 6px 26px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px var(--accent-glow); filter: brightness(1.06); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: var(--bg-card); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: var(--text-dim); font-size: 14.5px; }
.hero-meta b { color: var(--text); }
.hero-shot {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(88,194,46,.06);
  transition: .35s;
}
.hero-shot:hover { transform: scale(1.015); }
.hero-shot img { width: 100%; }

/* ---------- 信任条 ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-soft); padding: 18px 0; }
.trustbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; text-align: center; }
.trust-item { font-size: 14.5px; color: var(--text-dim); }
.trust-item b { display: block; font-size: 21px; color: var(--text); font-weight: 800; }

/* ---------- 通用 Section ---------- */
section.block { padding: 74px 0; }
section.block.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.sec-head .kicker { color: var(--accent-bright); font-size: 13.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.sec-head h1, .sec-head h2 { font-size: 32px; font-weight: 900; margin-top: 8px; }
.sec-head p { color: var(--text-dim); margin-top: 12px; font-size: 16.5px; }

/* ---------- 特性卡片（四列布局） ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.version-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-wrap: anywhere; }
.feat-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; transition: .25s;
}
.feat-card:hover { transform: translateY(-5px); border-color: rgba(88,194,46,.5); background: var(--bg-card-hover); box-shadow: var(--shadow-md); }
.feat-card .ico {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 25px;
  background: rgba(88,194,46,.12); border: 1px solid rgba(88,194,46,.3);
}
.feat-card h3 { font-size: 20.5px; margin-bottom: 10px; }
.feat-card p { font-size: 16.5px; line-height: 1.8; color: var(--text-dim); }

/* ---------- 截图展示 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: .25s;
}
.shot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(88,194,46,.45); }
.shot-card .imgbox { background: #f2f4f1; padding: 18px; display: flex; justify-content: center; }
.shot-card img { max-height: 320px; width: auto; border-radius: 6px; box-shadow: 0 6px 18px rgba(30,50,35,.14); }
.shot-card figcaption { padding: 14px 18px; font-size: 15px; color: var(--text-dim); border-top: 1px solid var(--line); }
.shot-card figcaption b { color: var(--text); display: block; margin-bottom: 3px; font-size: 15px; }

/* ---------- 下载大卡 ---------- */
.dl-hero {
  background: linear-gradient(140deg, rgba(88,194,46,.14), rgba(13,17,23,0) 55%), var(--bg-card);
  border: 1px solid rgba(88,194,46,.35);
  border-radius: 20px; padding: 44px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.dl-hero .icon { width: 108px; height: 108px; border-radius: 24px; box-shadow: var(--shadow-md); }
.dl-hero h1 { font-size: 30px; font-weight: 900; }
.dl-hero .ver { color: var(--accent-bright); font-weight: 800; }
.dl-hero p { color: var(--text-dim); font-size: 15.5px; margin-top: 6px; }
.dl-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
  font-size: 13px; color: var(--text-dim);
  border: 1px solid var(--line); background: var(--bg-soft);
  padding: 4px 12px; border-radius: 99px;
}
.chip.ok { color: var(--accent-bright); border-color: rgba(88,194,46,.4); }

/* ---------- 信息表 ---------- */
.info-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { padding: 13px 20px; text-align: left; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { color: var(--text-dim); font-weight: 500; width: 190px; background: rgba(127,140,130,.06); }
.info-table td { font-weight: 600; }
.info-table .ok { color: var(--accent-bright); }

/* ---------- 教程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; counter-reset: step; }
.step-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .25s; position: relative; }
.step-card:hover { border-color: rgba(88,194,46,.5); transform: translateY(-4px); }
.step-card .num {
  counter-increment: step;
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; font-weight: 900; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.step-card .num::before { content: counter(step); }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p, .step-card li { font-size: 15.5px; color: var(--text-dim); }
.step-card ol { padding-left: 18px; display: grid; gap: 5px; margin-top: 6px; }
.step-card .tip { margin-top: 12px; font-size: 14px; color: var(--warn); background: rgba(240,180,41,.08); border: 1px solid rgba(240,180,41,.25); padding: 8px 12px; border-radius: 8px; }

/* ---------- 教程文章页 ---------- */
.doc { max-width: 820px; margin: 0 auto; }
.doc h1, .doc h2 { font-size: 24px; margin: 44px 0 14px; padding-top: 8px; }
.doc h1::before, .doc h2::before { content: "# "; color: var(--accent-bright); }
.doc h3 { font-size: 18px; margin: 26px 0 10px; color: var(--accent-bright); }
.doc p, .doc li { color: var(--text-body); font-size: 16.5px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; margin: 10px 0; }
.doc .note {
  background: rgba(88,194,46,.07); border: 1px solid rgba(88,194,46,.3);
  border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: 15.5px;
}
.doc .note b { color: var(--accent-bright); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15.5px; }
.doc table th, .doc table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.doc table th { background: var(--bg-card); color: var(--accent-bright); }
.doc table td { color: var(--text-body); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: .2s; }
.faq-item.open { border-color: rgba(88,194,46,.5); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--text); font-size: 16.5px; font-weight: 600; font-family: inherit;
  padding: 18px 22px; cursor: pointer; display: flex; align-items: center; gap: 12px;
}
.faq-q .qmark { color: var(--accent-bright); font-weight: 900; flex-shrink: 0; }
.faq-q .arrow { margin-left: auto; transition: .25s; color: var(--text-dim); flex-shrink: 0; }
.faq-item.open .arrow { transform: rotate(180deg); color: var(--accent-bright); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px 46px; color: var(--text-dim); font-size: 15.5px; }
.faq-a-inner b { color: var(--text); }
.faq-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.faq-cat {
  border: 1px solid var(--line); background: var(--bg-card); color: var(--text-dim);
  font-size: 14px; padding: 7px 18px; border-radius: 99px; cursor: pointer; font-family: inherit; transition: .2s;
}
.faq-cat.active, .faq-cat:hover { color: var(--accent-bright); border-color: rgba(88,194,46,.5); background: rgba(88,194,46,.08); }

/* ---------- 更新日志 ---------- */
.changelog { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.cl-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; position: relative; }
.cl-item::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent); border-radius: 3px;
}
.cl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.cl-head h2 { font-size: 20px; color: var(--accent-bright); }
.cl-head time { color: var(--text-dim); font-size: 13.5px; }
.cl-latest { font-size: 12px; background: var(--accent); color: #fff; border-radius: 99px; padding: 2px 10px; font-weight: 700; }
.cl-item ul { padding-left: 20px; display: grid; gap: 5px; }
.cl-item li { font-size: 15.5px; color: var(--text-body); }

/* ---------- CTA 区 ---------- */
.cta-band {
  margin: 20px 0 74px;
  background:
    radial-gradient(500px 200px at 80% 50%, rgba(88,194,46,.18), transparent 60%),
    var(--bg-card);
  border: 1px solid rgba(88,194,46,.35);
  border-radius: 20px; padding: 50px; text-align: center;
}
.cta-band h2 { font-size: 30px; font-weight: 900; }
.cta-band p { color: var(--text-dim); margin: 12px 0 26px; }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 20px 0 0; font-size: 13.5px; color: var(--text-dim); }
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--accent-bright); }
.crumbs .sep { margin: 0 8px; color: var(--line); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 46px 0 30px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { font-size: 15px; margin-bottom: 14px; color: var(--text); }
.foot-grid a { display: block; color: var(--text-dim); font-size: 14.5px; padding: 4px 0; }
.foot-grid a:hover { color: var(--accent-bright); }
.foot-grid a.brand { display: flex; color: var(--accent-bright); font-size: 20px; }
.foot-brand p { color: var(--text-dim); font-size: 14.5px; margin-top: 10px; max-width: 300px; }
.copyright { text-align: center; color: #5b6b79; font-size: 12.5px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); line-height: 1.9; }
.copyright a { color: #6d7f8e; }
.copyright a:hover { color: var(--accent-bright); }

/* ---------- 滚动吸底下载条 ---------- */
.sticky-dl {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(88, 194, 46, .35);
  transform: translateY(110%);
  transition: transform .3s ease;
  box-shadow: 0 -10px 40px rgba(30,50,35,.14);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sticky-dl.show { transform: none; }
.sticky-dl-in { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.sticky-dl-in img { border-radius: 8px; }
.sticky-dl-txt { display: flex; flex-direction: column; line-height: 1.35; }
.sticky-dl-txt b { font-size: 15px; }
.sticky-dl-txt span { font-size: 12.5px; color: var(--text-dim); }
.sticky-dl .btn { margin-left: auto; padding: 9px 22px; font-size: 15px; }
body { padding-bottom: 0; }
body.has-sticky { padding-bottom: var(--sticky-dl-height, 80px); }

/* ---------- 真伪自查清单 ---------- */
.authentic { max-width: 760px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.authentic h3 { font-size: 19px; margin-bottom: 6px; }
.authentic .ck-sub { color: var(--text-dim); font-size: 15px; margin-bottom: 18px; }
.ck-list { display: grid; gap: 10px; }
.ck-item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; cursor: pointer; transition: .2s; font-size: 15.5px;
  background: var(--bg-soft);
}
.ck-item:hover { border-color: rgba(88,194,46,.45); }
.ck-item input { accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.ck-item input:checked + span { color: var(--accent-bright); }
.ck-progress { margin-top: 18px; height: 8px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; border: 1px solid var(--line); }
.ck-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-dark), var(--accent-bright)); transition: width .35s ease; border-radius: 99px; }
.ck-result { margin-top: 12px; font-size: 15px; text-align: center; }

/* ---------- 双按钮下载区 ---------- */
.dl-duo { display: flex; flex-direction: column; gap: 10px; width: 210px; max-width: 100%; }
.dl-duo .btn { justify-content: center; min-height: 48px; padding: 10px 24px; font-size: 16px; line-height: 1.5; }
.dl-duo .btn-sub { font-size: 14px; padding: 11px 20px; font-weight: 500; color: var(--text-dim); border: 1px dashed var(--line); background: transparent; }
.dl-duo .btn-sub:hover { color: var(--accent-bright); border-color: rgba(88,194,46,.5); }
.dl-note { font-size: 13px; color: var(--text-dim); text-align: center; }

/* ---------- 转存教程 ---------- */
.save-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- 动效 ---------- */
.reveal-enabled .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-enabled .reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dl-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .dl-specs { justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--bg-soft);
    border-bottom: 1px solid var(--line); padding: 12px 22px 18px; gap: 6px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { margin: 6px 0 0; text-align: center; justify-content: center; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 50px; }
  .hero h1 { font-size: 28px; }
  .cta-band { padding: 34px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .save-steps { grid-template-columns: 1fr; }
  .sticky-dl-txt span { display: none; }
}
