/* QX极速下载 · 深蓝科技风（参考 sahkeig.cn 视觉） */
:root {
  --bg: #070f1a;
  --bg2: #0b1d33;
  --card: rgba(19, 39, 66, .55);
  --card-line: rgba(0, 168, 255, .16);
  --primary: #00a8ff;
  --primary2: #22d3ee;
  --cyan: #22d3ee;
  --gold: #d4af37;
  --text: #e8edf4;
  --muted: #8fa3bf;
  --glow: rgba(0, 168, 255, .32);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; border: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(7, 15, 26, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 168, 255, .14);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff, #7dd8ff 60%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.site-nav { margin-left: auto; }

.site-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; }

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 15px;
  color: var(--muted);
  transition: color .25s;
}

.site-nav a:hover { color: #fff; }

.site-nav li.active a { color: #5cc8ff; font-weight: 600; }

.site-nav li.active a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

/* 汉堡按钮（移动端） */
.nav-check { display: none; }

.nav-burger {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  cursor: pointer;
  position: relative;
}

.nav-burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: .3s;
}

.nav-burger span:nth-child(1) { top: 12px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 26px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 8%, rgba(0, 168, 255, .22), transparent 60%),
    radial-gradient(ellipse 40% 38% at 88% 80%, rgba(34, 211, 238, .12), transparent 60%),
    linear-gradient(180deg, #0b1d33 0%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 26%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 26%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 90px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  background: rgba(212, 175, 55, .06);
}

.hero-title {
  margin-top: 30px;
  font-size: clamp(32px, 5.6vw, 62px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: .5px;
  background: linear-gradient(180deg, #ffffff, #9fe4ff 60%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title span { background: none; -webkit-text-fill-color: var(--cyan); }

.hero-sub {
  margin: 22px auto 0;
  max-width: 720px;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--muted);
}

.hero-info {
  margin: 18px auto 0;
  max-width: 780px;
  font-size: 15px;
  color: #9fb3c8;
  line-height: 2;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.hero-tip {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(143, 163, 191, .75);
}

/* hero 数据统计 */
.hero-stats {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 70px;
}

.hero-stat { text-align: center; }

.hero-stat .number {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat .label { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, var(--primary2), var(--primary));
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 44px;
  border-radius: 999px;
  box-shadow: 0 10px 30px var(--glow);
  transition: transform .25s, box-shadow .25s, filter .25s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(0, 168, 255, .5);
  filter: brightness(1.08);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(0, 168, 255, .65);
  color: #9fdcff;
  box-shadow: none;
}

.btn.ghost:hover { border-color: var(--cyan); color: #fff; }

/* ===== 区块通用 ===== */
.section { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 48px; }

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(0, 168, 255, .5);
  border-radius: 999px;
  color: #5cc8ff;
  font-size: 13px;
  letter-spacing: 2px;
}

.section-title {
  margin-top: 18px;
  font-size: clamp(24px, 3.8vw, 40px);
  font-weight: 800;
}

.section-desc {
  margin: 14px auto 0;
  max-width: 640px;
  color: var(--muted);
}

/* 玻璃卡片（特色亮点） */
.glass-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.glass-card {
  background: rgba(19, 39, 66, .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  padding: 34px 28px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 255, .55);
  box-shadow: 0 16px 44px rgba(0, 168, 255, .22);
}

.glass-card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 168, 255, .25), rgba(34, 211, 238, .12));
  border: 1px solid rgba(0, 168, 255, .35);
  color: #6cd4ff;
  margin-bottom: 18px;
}

.glass-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.glass-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ===== 列表页横幅 ===== */
.band {
  padding: 150px 0 60px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 168, 255, .16), transparent 60%),
    var(--bg2);
  text-align: center;
}

.band-title { font-size: clamp(26px, 4vw, 44px); font-weight: 800; }

/* ===== 下载中心卡片 ===== */
.cards {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 24px;
}

.pcard {
  background: var(--card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  animation: fadeUp .6s ease both;
}

.pcard:nth-child(2) { animation-delay: .08s; }
.pcard:nth-child(3) { animation-delay: .16s; }
.pcard:nth-child(4) { animation-delay: .24s; }
.pcard:nth-child(5) { animation-delay: .32s; }
.pcard:nth-child(6) { animation-delay: .4s; }

.pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 255, .55);
  box-shadow: 0 16px 44px rgba(0, 168, 255, .26);
}

.pcard-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
}

.pcard-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 168, 255, .12);
  color: #6cd4ff;
  transition: .3s;
}

.pcard:hover .pcard-icon { background: var(--primary); color: #fff; }

.pcard-t { font-size: 21px; font-weight: 700; }

.pcard-d {
  flex: 1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-go {
  padding: 9px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #9fdcff;
  background: rgba(0, 168, 255, .12);
  border: 1px solid rgba(0, 168, 255, .4);
  transition: .3s;
}

.pcard:hover .pcard-go { background: var(--primary); color: #fff; }

.empty {
  grid-column: 1 / -1;
  padding: 44px;
  text-align: center;
  border: 1px dashed rgba(0, 168, 255, .4);
  border-radius: 16px;
  color: var(--muted);
}

/* ===== 内容页 ===== */
.page-wrap { padding-top: 150px; padding-bottom: 70px; max-width: 880px; }

.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: #6cd4ff; }

.page-title {
  margin: 18px 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.page-meta { font-size: 13px; color: var(--muted); margin-bottom: 34px; }

.page-entry { font-size: 16px; }

.page-entry p { margin: 16px 0; color: #c6d5ea; line-height: 1.9; }

.page-entry h2, .page-entry h3, .page-entry h4 {
  margin: 40px 0 16px;
  font-weight: 700;
  line-height: 1.4;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}

.page-entry h2 { font-size: 26px; }
.page-entry h3 { font-size: 20px; }

.page-entry a { color: #6cd4ff; border-bottom: 1px solid rgba(108, 212, 255, .4); }
.page-entry a:hover { color: #fff; border-color: #fff; }

.page-entry img { border-radius: 12px; }

.page-entry ul, .page-entry ol { margin: 16px 0 16px 26px; color: #c6d5ea; }
.page-entry li { margin: 8px 0; }

.page-entry pre, .page-entry code {
  background: #081527;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
}

.page-entry code { padding: 2px 7px; }
.page-entry pre { padding: 16px 18px; overflow-x: auto; margin: 16px 0; }
.page-entry pre code { border: 0; padding: 0; background: transparent; }

.page-entry blockquote {
  margin: 16px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--cyan);
  background: rgba(34, 211, 238, .05);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
}

.page-entry hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .08); margin: 32px 0; }

.page-entry table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.page-entry th, .page-entry td {
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 10px 14px;
  text-align: left;
  color: #c6d5ea;
}
.page-entry th { background: rgba(0, 168, 255, .1); }

/* 下载区标题（模板自动生成） */
.dl-sec-title {
  margin: 46px 0 18px;
  font-size: 26px;
  font-weight: 700;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}

/* ===== 下载按钮组件 ===== */
.dlcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px 0 30px;
}

.dlcard {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}

.dlcard:hover { transform: translateY(-4px); border-color: rgba(0, 168, 255, .6); }

.dlcard h3 { margin: 0 0 10px; font-size: 20px; border: 0; padding: 0; }
.dlcard p { margin: 0 0 18px; font-size: 14px; color: var(--muted); }

.dlbtn {
  display: inline-block;
  background: linear-gradient(180deg, var(--primary2), var(--primary));
  color: #fff !important;
  border: 0 !important;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 34px;
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(0, 168, 255, .35);
  transition: transform .25s, filter .25s;
}

.dlbtn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.dlbtn.ghost {
  background: transparent;
  border: 1px solid rgba(0, 168, 255, .65) !important;
  color: #9fdcff !important;
  box-shadow: none;
}

/* FAQ */
.qa { margin: 12px 0 6px; }
.qa h3 { font-size: 17px; border-left: 3px solid var(--cyan); padding-left: 12px; margin: 26px 0 8px; text-align: left; }
.qa p { margin: 0 0 8px 15px; color: var(--muted); text-align: left; }

.note {
  margin: 24px 0;
  padding: 14px 18px;
  border: 1px dashed rgba(34, 211, 238, .4);
  border-radius: 10px;
  background: rgba(34, 211, 238, .05);
  color: var(--muted);
  font-size: 14px;
}

.backhome { margin-top: 44px; text-align: center; }

/* ===== CTA 横幅 ===== */
.cta-band {
  padding: 90px 0;
  background:
    radial-gradient(ellipse 55% 90% at 50% 100%, rgba(0, 168, 255, .2), transparent 65%),
    var(--bg2);
  text-align: center;
}

.cta-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff, #9fe4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-band .hero-actions { margin-top: 34px; }

/* ===== 404 ===== */
.notfound-body .notfound { padding: 200px 20px 120px; text-align: center; }

.notfound h1 {
  font-size: 96px;
  font-weight: 800;
  background: linear-gradient(180deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notfound p { color: var(--muted); margin: 10px 0 34px; }

/* ===== 页脚 ===== */
.site-footer {
  border-top: 1px solid rgba(0, 168, 255, .12);
  background: #050c16;
  padding-top: 56px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 40px;
}

.f-name { font-size: 20px; font-weight: 800; color: #fff; }
.f-sub { margin-top: 6px; font-size: 13px; color: var(--muted); }

.f-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.f-nav a { font-size: 14px; color: var(--muted); transition: color .25s; }
.f-nav a:hover { color: #fff; }

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(143, 163, 191, .7);
}

.f-bottom a { color: #6cd4ff; }
.f-bottom a:hover { color: #fff; }

/* ===== 动画 ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .nav-burger { display: block; }

  .site-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(7, 15, 26, .97);
    border-bottom: 1px solid rgba(0, 168, 255, .14);
    display: none;
  }

  .nav-check:checked ~ .site-nav { display: block; }

  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }

  .site-nav li { width: 100%; }

  .site-nav a {
    display: block;
    padding: 14px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
  }

  .site-nav li.active a::after { display: none; }

  .nav-check:checked ~ .nav-burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .nav-check:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-check:checked ~ .nav-burger span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

  .hero { min-height: 78vh; }
  .the { display: none; }
  .cards { grid-template-columns: 1fr; }
  .glass-cards { grid-template-columns: 1fr; }
  .page-wrap { padding-top: 130px; }
  .hero-stats { gap: 14px 36px; }
}

@media (max-width: 640px) {
  .hero-inner { padding-top: 120px; padding-bottom: 70px; }
  .btn { padding: 13px 34px; font-size: 15px; }
  .section { padding: 64px 0; }
  .page-entry h2 { font-size: 22px; }
  .dlcards { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 12px 26px; }
  .hero-stat .number { font-size: 28px; }
}