/* ===================================================================
   狗急加速器：电脑端安装 - 对标 win.dockerpc.com 微软现代工作站样式
   =================================================================== */

:root {
  --win-blue: #0078D4;
  --win-blue-hover: #106EBE;
  --win-bg: #F3F3F3;
  --win-card: #FFFFFF;
  --win-border: #E5E5E5;
  --win-border-dark: #D2D0CE;
  --win-text: #201F1E;
  --win-muted: #605E5C;
  --win-green: #107C41;
  --win-radius: 8px;
  --win-btn-radius: 4px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--win-bg);
  color: var(--win-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--win-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   Windows 风格导航栏 (Sticky Header)
   =================================================================== */
header.win-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-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: 18px;
  font-weight: 700;
  color: #201F1E;
}
.win-logo svg {
  width: 24px;
  height: 24px;
}
.win-logo span {
  font-weight: 400;
  color: var(--win-muted);
  font-size: 15px;
  margin-left: 4px;
}

.win-links {
  display: flex;
  gap: 28px;
  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 22px;
  border-radius: var(--win-btn-radius);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.btn-win-primary {
  background: var(--win-blue);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 120, 212, 0.25);
}
.btn-win-primary:hover {
  background: var(--win-blue-hover);
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 120, 212, 0.35);
}
.btn-win-outline {
  background: #ffffff;
  border: 1px solid var(--win-border);
  color: #201F1E;
}
.btn-win-outline:hover {
  background: #EDEBE9;
  text-decoration: none;
  border-color: #D2D0CE;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--win-text);
}

/* ===================================================================
   Windows Hero 首屏
   =================================================================== */
.win-hero {
  padding: 75px 0 60px;
  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: 48px;
  align-items: center;
}
.win-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: #E1DFDD;
  border-radius: var(--win-btn-radius);
  font-size: 12px;
  color: #323130;
  margin-bottom: 18px;
  font-weight: 600;
}
.win-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #201F1E;
}
.win-p {
  font-size: 16px;
  color: var(--win-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* ===================================================================
   Windows 11 拟真系统视窗卡片 (.win11-window)
   =================================================================== */
.win11-window {
  background: #FFFFFF;
  border: 1px solid var(--win-border-dark);
  border-radius: var(--win-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.window-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  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: 24px;
  font-size: 14px;
}
.wsl-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #F8F8F8;
  border-radius: var(--win-btn-radius);
  margin-bottom: 10px;
  border: 1px solid #EFEFEF;
}
.wsl-status-row:last-child {
  margin-bottom: 0;
}

/* ===================================================================
   柱状性能横向对比区 (.perf-section)
   =================================================================== */
.perf-section {
  padding: 70px 0;
}
.chart-box {
  background: #ffffff;
  border: 1px solid var(--win-border);
  border-radius: var(--win-radius);
  padding: 36px;
  margin-top: 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.bar-group {
  margin-bottom: 26px;
}
.bar-group:last-child {
  margin-bottom: 0;
}
.bar-label {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  color: #323130;
}
.bar-track {
  height: 26px;
  background: #EDEBE9;
  border-radius: var(--win-btn-radius);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: var(--win-btn-radius);
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
  transition: width 0.6s ease;
}
.fill-turbo {
  background: var(--win-blue);
  width: 95%;
}
.fill-legacy {
  background: #8A8886;
  width: 32%;
}

/* ===================================================================
   Windows 4 大核心系统特性网格
   =================================================================== */
.features-section {
  padding: 60px 0 80px;
  background: #ffffff;
  border-top: 1px solid var(--win-border);
  border-bottom: 1px solid var(--win-border);
}
.features-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.feature-col-card {
  background: #F8F9FA;
  border: 1px solid var(--win-border);
  border-radius: var(--win-radius);
  padding: 28px 22px;
  transition: all 0.2s ease;
}
.feature-col-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: var(--win-blue);
  box-shadow: 0 8px 20px rgba(0, 120, 212, 0.08);
}
.feature-col-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--win-btn-radius);
  background: rgba(0, 120, 212, 0.1);
  color: var(--win-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-col-h3 {
  font-size: 16px;
  font-weight: 700;
  color: #201F1E;
  margin-bottom: 10px;
}
.feature-col-p {
  font-size: 13.5px;
  color: var(--win-muted);
  line-height: 1.6;
}

/* ===================================================================
   下载页与 Windows 安装前自检 3 步走向导
   =================================================================== */
.win-check-card {
  background: #ffffff;
  border: 1px solid var(--win-border);
  border-radius: var(--win-radius);
  padding: 36px;
  margin: 36px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.check-step-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--win-border);
}
.check-step-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.check-step-item:first-child {
  padding-top: 0;
}
.check-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--win-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 14px;
}
.check-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #201F1E;
  margin-bottom: 8px;
}
.check-content p {
  font-size: 14px;
  color: var(--win-muted);
  line-height: 1.65;
}
.win-code {
  background: #201F1E;
  color: #99EBFF;
  padding: 12px 18px;
  border-radius: var(--win-btn-radius);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  margin: 10px 0;
  overflow-x: auto;
}

/* ===================================================================
   页脚 (win-footer)
   =================================================================== */
footer.win-footer {
  background: #EDEBE9;
  border-top: 1px solid var(--win-border);
  padding: 60px 0 35px;
  font-size: 13px;
  color: #605E5C;
}
.win-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 35px;
}
.win-footer-col h4 {
  color: #201F1E;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
}
.win-footer-col ul {
  list-style: none;
}
.win-footer-col li {
  margin-bottom: 8px;
}
.win-footer-col a {
  color: #605E5C;
}
.win-footer-col a:hover {
  color: var(--win-blue);
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid #D2D0CE;
  font-size: 12px;
}

/* 浮动右侧快速按钮 */
.floating-side-bar {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--win-btn-radius);
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  border: 1px solid var(--win-border);
  transition: all 0.2s ease;
}
.float-btn:hover {
  transform: translateY(-2px);
  background: var(--win-blue);
  color: #ffffff;
  border-color: var(--win-blue);
}
.float-btn.active-dl {
  background: var(--win-blue);
  color: #ffffff;
}

/* 响应式断点 */
@media (max-width: 960px) {
  .win-hero-grid {
    grid-template-columns: 1fr;
  }
  .features-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .win-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .win-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .win-title {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .features-4grid {
    grid-template-columns: 1fr;
  }
  .win-footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
