:root {
  --win-blue: #0078D4;
  --win-blue-hover: #106EBE;
  --win-bg: #F3F3F3;
  --win-card: #FFFFFF;
  --win-border: #E5E5E5;
  --win-text: #201F1E;
  --win-muted: #605E5C;
  --win-radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: var(--win-bg);
  color: var(--win-text);
  line-height: 1.6;
}

a { color: var(--win-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Windows 风格导航栏 */
header.win-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--win-border);
}
.win-nav-bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.win-logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: #201F1E; }
.win-links { display: flex; gap: 24px; list-style: none; }
.win-links a { font-size: 14px; color: #323130; font-weight: 500; }
.win-links a:hover, .win-links a.active { color: var(--win-blue); text-decoration: none; font-weight: 600; }

.btn-win {
  padding: 9px 20px; border-radius: 4px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: none;
}
.btn-win-primary { background: var(--win-blue); color: #fff; box-shadow: 0 2px 4px rgba(0, 120, 212, 0.2); }
.btn-win-primary:hover { background: var(--win-blue-hover); text-decoration: none; }
.btn-win-outline { background: #fff; border: 1px solid var(--win-border); color: #201F1E; }
.btn-win-outline:hover { background: #EDEBE9; text-decoration: none; }

/* Windows Hero */
.win-hero {
  padding: 70px 0 50px;
  background: linear-gradient(180deg, #EBF3FC 0%, #F3F3F3 100%);
  border-bottom: 1px solid var(--win-border);
}
.win-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.win-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  background: #E1DFDD; border-radius: 4px; font-size: 12px; color: #323130; margin-bottom: 16px; font-weight: 600;
}
.win-title { font-size: 42px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; color: #201F1E; }
.win-p { font-size: 17px; color: var(--win-muted); margin-bottom: 28px; }

/* Windows 11 窗口容器卡片 */
.win11-window {
  background: #FFFFFF; border: 1px solid #D2D0CE;
  border-radius: var(--win-radius); box-shadow: 0 8px 24px rgba(0,0,0,0.08); overflow: hidden;
}
.window-caption-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: #FAF9F8; border-bottom: 1px solid var(--win-border);
  font-size: 12px; color: #605E5C;
}
.win-control-buttons { display: flex; gap: 8px; }
.win-control-buttons span { width: 10px; height: 10px; border-radius: 2px; background: #C8C6C4; }
.window-body { padding: 20px; font-size: 14px; }
.wsl-status-row { display: flex; justify-content: space-between; padding: 10px; background: #F3F2F1; border-radius: 4px; margin-bottom: 8px; }

/* 柱状性能对比 */
.perf-section { padding: 60px 0; }
.chart-box { background: #fff; border: 1px solid var(--win-border); border-radius: var(--win-radius); padding: 30px; margin-top: 30px; }
.bar-group { margin-bottom: 20px; }
.bar-label { font-size: 14px; font-weight: 600; margin-bottom: 6px; display: flex; justify-content: space-between; }
.bar-track { height: 24px; background: #EDEBE9; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; display: flex; align-items: center; padding-left: 10px; font-size: 12px; color: #fff; font-weight: 600; }
.fill-wsl2 { background: var(--win-blue); width: 92%; }
.fill-hyperv { background: #8A8886; width: 45%; }

/* 下载页独有布局：Windows 专属自检助手 */
.win-dl-layout { padding: 50px 0 70px; }
.win-check-card {
  background: #fff; border: 1px solid var(--win-border);
  border-radius: var(--win-radius); padding: 36px; margin-bottom: 30px;
}
.check-step-item {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--win-border);
}
.check-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--win-blue);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.win-code {
  background: #201F1E; color: #99EBFF; padding: 12px 16px;
  border-radius: 4px; font-family: Consolas, monospace; font-size: 13px; margin: 10px 0; overflow-x: auto;
}

/* 内容卡片 */
.win-article-card {
  background: #fff; border: 1px solid var(--win-border);
  border-radius: var(--win-radius); padding: 36px; margin-bottom: 24px;
}
.win-article-card h2 { font-size: 22px; margin-bottom: 14px; color: #201F1E; }
.win-article-card h3 { font-size: 16px; margin: 16px 0 8px; color: var(--win-blue); }
.win-article-card p { font-size: 14px; color: #323130; margin-bottom: 12px; }
.win-article-card ul, .win-article-card ol { margin-left: 20px; font-size: 14px; color: #323130; margin-bottom: 16px; }

/* 页脚 */
footer.win-footer { background: #EDEBE9; border-top: 1px solid var(--win-border); padding: 50px 0 30px; font-size: 13px; color: #605E5C; }
.win-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.win-footer-col h4 { color: #201F1E; margin-bottom: 12px; font-size: 14px; }
.win-footer-col ul { list-style: none; }
.win-footer-col li { margin-bottom: 6px; }
.win-footer-col a { color: #605E5C; }
.win-footer-col a:hover { color: var(--win-blue); }

@media (max-width: 900px) {
  .win-hero-grid, .win-footer-grid { grid-template-columns: 1fr; }
  .win-links { display: none; }
  .win-title { font-size: 30px; }
}