/* ============================================================
   驱动服务清理助手 By:Superaj — 官网样式
   ============================================================ */

:root {
  --blue: #2563eb;
  --blue-deep: #173e9e;
  --blue-soft: #eaf1ff;
  --ink: #0f172a;
  --text: #1f2329;
  --muted: #6b7280;
  --faint: #9aa3b2;
  --line: #e6e9f0;
  --bg: #ffffff;
  --soft: #f7f8fc;
  --soft2: #fbfcfe;
  --red: #d92c2c;
  --red-soft: #fdecec;
  --amber: #c2740a;
  --amber-soft: #fff6e6;
  --green: #1a7f45;
  --green-soft: #eaf7f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow: 0 4px 12px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .07);
  --shadow-lg: 0 24px 64px rgba(16, 24, 40, .14);
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", ui-monospace, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei UI", "PingFang SC",
          "Hiragino Sans GB", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; letter-spacing: -.01em; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ---------------- 导航 ---------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(16, 24, 40, .05); }
.nav-inner { display: flex; align-items: center; gap: 14px; height: 66px; }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 15.5px; color: var(--ink); letter-spacing: -.01em; }
.brand-by { font-size: 11px; color: var(--faint); letter-spacing: .04em; }

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px; color: var(--muted); font-weight: 500; position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--blue); border-radius: 2px; transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
  white-space: nowrap; font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; box-shadow: 0 2px 8px rgba(37, 99, 235, .3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37, 99, 235, .38); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfd6e4; background: var(--soft); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 17px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------------- Hero ---------------- */

.hero { position: relative; overflow: hidden; padding: 76px 0 60px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 460px at 12% -8%, #e8efff 0%, rgba(232, 239, 255, 0) 62%),
    radial-gradient(760px 420px at 92% 4%, #eef3ff 0%, rgba(238, 243, 255, 0) 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; color: var(--muted); font-weight: 500; box-shadow: var(--shadow-sm);
}
.eyebrow b { color: var(--blue); font-weight: 600; }
.pill-new { background: var(--blue-soft); color: var(--blue); padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }

.hero h1 { font-size: 47px; margin: 22px 0 0; font-weight: 800; letter-spacing: -.03em; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--blue) 10%, #4f8bff 55%, var(--blue-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 16.5px; color: var(--muted); margin: 20px 0 30px; max-width: 560px; }
.hero-lead b { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13px; color: var(--faint); margin-top: 16px; }
.hero-note code { font-family: var(--mono); font-size: 12px; background: var(--soft); padding: 2px 6px; border-radius: 6px; }

.mock {
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }

/* ---------------- 数据条 ---------------- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 54px 0 0;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.stat { text-align: left; }
.stat .n { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .n span { font-size: 16px; font-weight: 600; color: var(--faint); margin-left: 2px; }
.stat .l { font-size: 13px; color: var(--muted); }
.stat.red .n { color: var(--red); }
.stat.blue .n { color: var(--blue); }
.stat.green .n { color: var(--green); }

/* ---------------- 通用区块 ---------------- */

section { padding: 84px 0; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 12px;
}
.sec-head h2 { font-size: 33px; font-weight: 800; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); font-size: 16px; margin: 14px 0 0; }

.band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------------- 功能卡片 ---------------- */

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; transition: .22s ease; position: relative; overflow: hidden;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8dfea; }
.feat::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue), #6ea4ff); transition: width .3s ease;
}
.feat:hover::after { width: 100%; }
.feat-ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feat-ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.feat .meta { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

/* ---------------- 工作流 ---------------- */

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step-num {
  width: 34px; height: 34px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  box-shadow: 0 3px 10px rgba(37, 99, 235, .28);
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.step ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; }
.step ul li { margin-bottom: 5px; }
.step ul code, .feat code { font-family: var(--mono); font-size: 12px; background: var(--soft); padding: 1px 5px; border-radius: 5px; color: #3a4a63; }

/* ---------------- 安全护栏 ---------------- */

.guard-list { display: grid; gap: 12px; }
.guard {
  display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
}
.guard .tick {
  width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--green-soft);
}
.guard .tick svg { width: 17px; height: 17px; }
.guard strong { font-size: 15.5px; color: var(--ink); display: block; margin-bottom: 3px; }
.guard span { color: var(--muted); font-size: 14px; }

.danger-note {
  margin-top: 22px; border: 1px solid #f0c9c9; background: var(--red-soft);
  border-radius: 12px; padding: 16px 20px; color: #8a2020; font-size: 14px; line-height: 1.7;
}

/* ---------------- 分布条形图 ---------------- */

.dist { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.bar-row { margin-bottom: 18px; }
.bar-head { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 7px; }
.bar-head .k { color: var(--text); font-weight: 500; }
.bar-head .v { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar-track { height: 9px; background: #eef1f7; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar-note { font-size: 12.5px; color: var(--faint); margin-top: 2px; }

.callout {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.callout h4 { font-size: 15.5px; margin-bottom: 10px; }
.callout p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.callout p:last-child { margin-bottom: 0; }

/* ---------------- 界面预览 ---------------- */

.win {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); background: #fff;
}
.win-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: linear-gradient(180deg, #f4f6fa, #eceff5); border-bottom: 1px solid var(--line);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.win-title {
  margin-left: 8px; font-size: 12.5px; color: #55607a; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.win-title img { width: 16px; height: 16px; border-radius: 4px; }

.win-body { background: var(--soft); }
.win-tool {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--soft);
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.wbtn { font-size: 12px; padding: 5px 11px; border-radius: 7px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.wbtn.accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.wbtn.right { margin-left: auto; }
.w-search { font-size: 12px; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); color: var(--faint); background: #fff; min-width: 120px; }

.tbl-wrap { overflow-x: auto; background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.tbl th {
  background: #eef1f6; text-align: left; padding: 8px 10px; font-weight: 600; color: #3b4558;
  white-space: nowrap; border-bottom: 1px solid var(--line); font-size: 12px;
}
table.tbl td { padding: 7px 10px; border-bottom: 1px solid #f0f2f6; white-space: nowrap; color: #333b49; }
table.tbl tr:nth-child(even) td { background: var(--soft2); }
table.tbl tr.checked td { background: #eaf1ff; }
table.tbl td.mono, table.tbl td.path { font-family: var(--mono); font-size: 11.5px; color: #4b5566; }
table.tbl td.chk { text-align: center; color: var(--blue); font-weight: 700; }
.tag-sm {
  display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; border: 1px solid; white-space: nowrap;
}
.tag-sm.safe { color: var(--red); border-color: #f3b9b9; background: var(--red-soft); }
.tag-sm.warn { color: var(--amber); border-color: #f0d09a; background: var(--amber-soft); }
.tag-sm.danger { color: var(--green); border-color: #b6e0c8; background: var(--green-soft); }
.t-red { color: var(--red); font-weight: 600; }
.t-green { color: var(--green); }
.t-amber { color: var(--amber); font-weight: 600; }

.win-foot { border-top: 1px solid var(--line); background: var(--soft); padding: 9px 14px; }
.win-status { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.win-pbar { height: 7px; background: #e6eaf2; border-radius: 999px; overflow: hidden; }
.win-pbar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), #5b92ff); }
.win-log {
  margin-top: 9px; font-family: var(--mono); font-size: 11.5px; color: #5b6478;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; line-height: 1.75;
}
.win-log b { color: var(--green); }

/* ---------------- 下载 ---------------- */

.dl-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 38px; background: #fff;
  box-shadow: var(--shadow); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.dl-card h3 { font-size: 25px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.dl-card p { color: var(--muted); margin: 0 0 22px; }
.dl-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 26px; }
.dl-meta div { font-size: 13px; color: var(--muted); }
.dl-meta strong { display: block; font-size: 15px; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.spec { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.spec-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row .k { color: var(--muted); }
.spec-row .v { color: var(--text); font-weight: 500; text-align: right; }
.spec-row .v code { font-family: var(--mono); font-size: 12px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-left: 34px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 1px; width: 23px; height: 23px; border-radius: 7px;
  background: var(--blue-soft); color: var(--blue); font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps li b { color: var(--text); }

/* ---------------- FAQ ---------------- */

.faq { max-width: 820px; margin: 0 auto; }
.qa { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.qa summary {
  cursor: pointer; padding: 15px 20px; font-size: 15px; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; width: 9px; height: 9px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); transition: transform .25s; flex: none; margin-top: -3px;
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.qa .body { padding: 0 20px 17px; color: var(--muted); font-size: 14.2px; line-height: 1.75; }
.qa .body p { margin: 0 0 10px; }
.qa .body p:last-child { margin-bottom: 0; }
.qa .body code { font-family: var(--mono); font-size: 12.5px; background: var(--soft); padding: 1px 6px; border-radius: 5px; }

/* ---------------- 页脚 ---------------- */

.foot { border-top: 1px solid var(--line); background: var(--soft); padding: 46px 0 34px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; max-width: 420px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 8px; }
.foot-brand p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.foot-links { display: flex; gap: 46px; }
.foot-col h5 { font-size: 12.5px; color: var(--ink); margin: 0 0 10px; font-weight: 700; }
.foot-col a { display: block; font-size: 13.2px; color: var(--muted); padding: 3px 0; }
.foot-col a:hover { color: var(--blue); }
.disclaimer {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--faint); line-height: 1.8;
}

/* ---------------- 动画 ---------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .flow, .dist { grid-template-columns: 1fr; gap: 22px; }
  .dl-card { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .brand-txt { display: block; }
  section { padding: 58px 0; }
  .sec-head h2 { font-size: 27px; }
  .feat-grid { grid-template-columns: 1fr; }
  .foot-grid { flex-direction: column; gap: 26px; }
  .foot-links { gap: 30px; flex-wrap: wrap; }
  .hero { padding: 46px 0 34px; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 15px; }
}
