/* ===== CPU-Z 中文网共享样式（轻量版） ===== */
:root {
  --blue: #1e6fd9;
  --blue-dark: #1454a4;
  --navy: #0f2440;
  --text: #2b3a52;
  --muted: #5f7189;
  --bg: #f5f8fc;
  --card: #ffffff;
  --line: #e2eaf3;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(15, 36, 64, .07);
  --shadow-hover: 0 10px 28px rgba(15, 36, 64, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--navy); }
.brand svg { flex: none; }
.brand small { font-size: 12px; font-weight: 400; color: var(--muted); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text); font-size: 15px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ===== Hero 区 ===== */
.hero {
  background: linear-gradient(160deg, #eaf2fc 0%, #f5f8fc 55%, #ffffff 100%);
  padding: 72px 0 64px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.3; color: var(--navy); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lead { font-size: 17px; color: var(--muted); margin-bottom: 28px; }
.hero-badge {
  display: inline-block; font-size: 13px; color: var(--blue-dark);
  background: #e3eefc; border: 1px solid #c8ddf6; border-radius: 999px;
  padding: 4px 14px; margin-bottom: 18px;
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px; font-size: 16px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(30, 111, 217, .35); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--blue); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.hero-shot {
  border-radius: var(--radius); box-shadow: var(--shadow-hover);
  border: 1px solid var(--line);
  animation: floatIn .8s ease both;
}
.hero-tick { list-style: none; margin-top: 24px; display: grid; gap: 8px; }
.hero-tick li { font-size: 14px; color: var(--muted); padding-left: 26px; position: relative; }
.hero-tick li::before { content: "✔"; position: absolute; left: 0; color: var(--blue); font-size: 13px; }

/* 入场动画 */
@keyframes floatIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-grid > * { animation: floatIn .7s ease both; }
.hero-grid > *:nth-child(2) { animation-delay: .15s; }

/* ===== 数据统计条 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 0; }
.stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; padding: 26px 12px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-card b { display: block; font-size: 30px; color: var(--blue); }
.stat-card span { font-size: 14px; color: var(--muted); }

/* ===== 通用区块 ===== */
.section { padding: 64px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .kicker { color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: 2px; }
.section-head h2 { font-size: 30px; color: var(--navy); margin: 8px 0 12px; }
.section-head p { color: var(--muted); font-size: 15px; }

/* 卡片网格 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card h3 { font-size: 18px; color: var(--navy); margin: 12px 0 8px; }
.card p { font-size: 14px; color: var(--muted); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: #e3eefc;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.card a.more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; }

/* 提示条 */
.tip-list { list-style: none; display: grid; gap: 16px; }
.tip-list li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 16px 20px; font-size: 15px;
}

/* 表格 */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: #f0f6fd; color: var(--navy); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8fbff; }

/* 面包屑 */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

/* FAQ 折叠 */
details.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 20px; margin-bottom: 14px; box-shadow: var(--shadow);
}
details.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--navy);
  padding: 16px 0; list-style: none; position: relative; font-size: 15.5px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--blue); transition: transform .25s;
}
details.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq-item .faq-body { padding: 0 0 18px; color: var(--muted); font-size: 14.5px; }

/* 下载卡片 */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.dl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.dl-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 6px; }
.dl-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.dl-card .btn { width: 100%; justify-content: center; }
.dl-card ul { list-style: none; text-align: left; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.dl-card ul li { padding: 4px 0 4px 22px; position: relative; }
.dl-card ul li::before { content: "·"; position: absolute; left: 8px; color: var(--blue); font-weight: 700; }

/* CTA 横幅 */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius); color: #fff; text-align: center;
  padding: 48px 28px; box-shadow: 0 12px 30px rgba(30, 111, 217, .35);
}
.cta-banner h2 { font-size: 26px; margin-bottom: 10px; }
.cta-banner p { opacity: .9; font-size: 15px; margin-bottom: 24px; }
.cta-banner .btn { background: #fff; color: var(--blue); }
.cta-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

/* 页脚 */
.site-footer { background: var(--navy); color: #b9c6d9; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding: 48px 0 32px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer p { font-size: 13.5px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { color: #b9c6d9; font-size: 13.5px; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 12.5px; text-align: center; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .stats, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .stats, .grid-4, .grid-2, .dl-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .hero { padding: 44px 0 40px; }
}
