:root {
  --primary: #2563eb;
  --dark: #0f172a;
  --bg: #f6f8fc;
  --card: #fff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --green: #10b981;
  --orange: #f59e0b;
  --purple: #8b5cf6;
  --shadow: 0 18px 45px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  backdrop-filter: blur(16px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 850; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .25);
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.nav-links a:hover { background: #eff6ff; color: var(--primary); }
.hero {
  padding: 54px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 32px;
}
.hero-copy { min-width: 0; }
.eyebrow, .section-kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}
.hero h1 { margin: 12px 0 0; font-size: clamp(38px, 6vw, 64px); line-height: 1.08; letter-spacing: 0; }
.hero p { max-width: 700px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.hero-search {
  width: min(680px, 100%);
  margin-top: 26px;
  padding: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-search input {
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: var(--text);
}
.hero-search button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero-tags span { padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--muted); border: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.stat-item {
  min-height: 140px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-item.wide { grid-column: 1 / -1; min-height: 112px; background: var(--dark); color: #fff; }
.stat-item span { color: var(--muted); font-size: 14px; font-weight: 750; }
.stat-item.wide span { color: #cbd5e1; }
.stat-item strong { font-size: 38px; line-height: 1; }
.section-head {
  margin: 22px 0 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.section-head h2 { margin: 4px 0 0; font-size: 28px; line-height: 1.2; }
.section-head a { color: var(--primary); font-weight: 800; font-size: 14px; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 56px;
}
.resource-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.resource-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: 0 24px 55px rgba(15, 23, 42, .12);
}
.cover {
  aspect-ratio: 16 / 9;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}
.cover-image {
  width: 100%;
  object-fit: cover;
  display: block;
}
.cover span { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.cover-green { background: linear-gradient(135deg, #059669, #10b981); }
.cover-blue { background: linear-gradient(135deg, #1d4ed8, #38bdf8); }
.cover-purple { background: linear-gradient(135deg, #7c3aed, #2563eb); }
.card-body { padding: 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.meta span, .meta b {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 800;
}
.meta b { background: #ecfdf5; color: #059669; }
.resource-card h3 { margin: 14px 0 8px; font-size: 19px; line-height: 1.35; }
.resource-card p { margin: 0; color: var(--muted); font-size: 14px; min-height: 46px; }
.card-foot {
  margin: 14px 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #94a3b8;
  font-size: 13px;
}
.disk-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.disk {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}
.baidu { background: var(--primary); }
.quark { background: var(--green); }
.aliyun { background: var(--orange); }
.xunlei { background: var(--purple); }
.site-footer { border-top: 1px solid var(--border); background: #fff; color: var(--muted); }
.detail-cover {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner span { color: var(--text); font-weight: 850; }
.footer-inner p { margin: 0; font-size: 14px; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-item, .stat-item.wide { grid-column: auto; min-height: 116px; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1180px); }
  .nav { min-height: 0; align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-links { justify-content: flex-start; }
  .hero { padding: 34px 0 26px; gap: 22px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .hero-search { grid-template-columns: 1fr; border-radius: 14px; }
  .hero-search button { width: 100%; }
  .hero-panel { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
}
