/* ==========================================================================
   quickqfast.com · 官方蓝 · 深海连接
   暗色系:主背景 #06101f / 次背景 #0d1c30 / 主色官方蓝 #2071FF / 浅蓝白 #f5f8ff
   ========================================================================== */

:root {
  --bg: #06101f;
  --bg-2: #0d1c30;
  --bg-3: #122743;
  --panel: #0a1a30;
  --line: rgba(115, 173, 255, 0.16);
  --line-strong: rgba(115, 173, 255, 0.30);
  --blue: #2071ff;
  --blue-bright: #4d96ff;
  --blue-soft: #73adff;
  --ink: #f5f8ff;
  --ink-dim: #c6d7f2;
  --ink-mute: #8aa6c9;
  --grad-hero: linear-gradient(180deg, #ffffff 0%, #73adff 100%);
  --grad-cta: linear-gradient(120deg, #2071ff 0%, #4d96ff 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 28px rgba(2, 12, 30, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--blue-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: #ffffff; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { line-height: 1.28; font-weight: 700; letter-spacing: .2px; }

p { color: var(--ink-dim); }

::selection { background: rgba(32, 113, 255, .38); color: #fff; }

/* ==========================================================================
   顶部导航 · 吸顶横排 + 下划线高亮 + 右侧蓝 CTA
   ========================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 16, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 26px; height: 68px; }
.nav .brand { display: flex; align-items: center; margin-right: auto; }
.nav .brand img { height: 26px; width: auto; }
.nav .links { display: flex; align-items: center; gap: 22px; }
.nav .links a {
  position: relative; color: var(--ink-dim); font-size: 15px; padding: 6px 2px;
}
.nav .links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav .links a:hover { color: #fff; }
.nav .links a:hover::after { transform: scaleX(1); }
.nav .links a.active { color: #fff; }
.nav .links a.active::after { transform: scaleX(1); }
.nav .cta {
  background: var(--grad-cta); color: #fff; font-weight: 600; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(32, 113, 255, .35);
}
.nav .cta:hover { color: #fff; filter: brightness(1.08); }

/* ==========================================================================
   hero · 居中杂志头版(暗色)
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 84px 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 42% at 50% 0%, rgba(32, 113, 255, .30) 0%, rgba(32, 113, 255, 0) 70%),
    radial-gradient(40% 36% at 88% 20%, rgba(77, 150, 255, .16) 0%, rgba(77, 150, 255, 0) 70%);
}
.eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-soft); font-weight: 700; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; margin-bottom: 22px; }
.hero h1 .grad {
  background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  font-size: 18px; max-width: 720px; margin: 0 auto 30px; color: var(--ink-dim);
}
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad-cta); color: #fff; font-weight: 600; font-size: 15.5px;
  padding: 13px 30px; border-radius: 12px; box-shadow: 0 10px 26px rgba(32, 113, 255, .4);
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.btn.secondary {
  background: rgba(115, 173, 255, .12); border: 1px solid var(--line-strong);
  color: var(--ink); box-shadow: none;
}
.btn.secondary:hover { background: rgba(115, 173, 255, .2); }
.btn svg { width: 17px; height: 17px; }

.hero-fig {
  max-width: 1000px; margin: 54px auto 0; position: relative;
  border-radius: 18px 18px 0 0; overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-strong); border-bottom: 0;
}
.hero-fig img { width: 100%; aspect-ratio: 21 / 10; object-fit: cover; }
.hero-fig .figcap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 26px;
  background: linear-gradient(180deg, rgba(6, 16, 31, 0) 0%, rgba(6, 16, 31, .92) 100%);
  font-size: 13.5px; color: var(--ink-mute); text-align: left;
}

/* 参数横条 */
.statsbar { border-top: 1px solid var(--line); background: var(--bg-2); }
.statsbar .wrap { display: flex; justify-content: center; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: 100%;
}
.stat { padding: 30px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.stat span { font-size: 13.5px; color: var(--ink-mute); }

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); }
.band { background: var(--bg-2); border-top: 1px solid var(--line); padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.section-head p { font-size: 16.5px; }

/* bento 功能网格 */
.grid { display: grid; gap: 22px; }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(32, 113, 255, .14); color: var(--blue-soft); font-weight: 700; font-size: 15px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.card p { font-size: 14.5px; }

/* 场景区 · 左右图文 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.split-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split-body h3 { font-size: 26px; margin-bottom: 16px; }
.split-body p { margin-bottom: 16px; }
.split-body ul { list-style: none; margin: 6px 0 20px; }
.split-body ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-dim); }
.split-body ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  background: var(--grad-cta); border-radius: 4px;
}

/* 文章 feed 卡片 */
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feed-card {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, border-color .25s ease;
}
.feed-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.feed-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.feed-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feed-card:hover .thumb img { transform: scale(1.06); }
.feed-card .body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.feed-card .tag { font-size: 12px; color: var(--blue-soft); letter-spacing: 1px; margin-bottom: 8px; }
.feed-card h3 { font-size: 17px; margin-bottom: 10px; }
.feed-card h3 a { color: #fff; }
.feed-card h3 a:hover { color: var(--blue-soft); }
.feed-card p { font-size: 14px; flex: 1; }

/* 口碑 / 步骤 */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  position: relative; padding: 22px 22px 22px 84px; border-left: 1px solid var(--line);
  margin-left: 28px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -28px; top: 18px; width: 56px; height: 56px;
  background: var(--grad-cta); color: #fff; border-radius: 50%; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(32, 113, 255, .4);
}
.step h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.step p { font-size: 14.5px; }

/* 表格 */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
thead th {
  background: var(--bg-3); text-align: left; padding: 15px 20px; font-size: 14px;
  color: #fff; border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
tbody td { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-dim); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(13, 28, 48, .5); }
tbody td:first-child { color: #fff; font-weight: 600; white-space: nowrap; }
.tag-ok { color: #5ee8a8; font-weight: 600; }

/* 提示框 */
.tip, .callout {
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0; font-size: 14.5px;
}
.tip { background: rgba(32, 113, 255, .12); border: 1px solid var(--line-strong); color: var(--ink-dim); }
.callout { background: rgba(77, 150, 255, .14); border: 1px solid rgba(77, 150, 255, .4); color: #dceaff; }
.tip strong, .callout strong { color: #fff; }

/* ==========================================================================
   下载页
   ========================================================================== */
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease;
}
.plat:hover { transform: translateY(-4px); }
.plat .bar { height: 6px; background: var(--grad-cta); }
.plat .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.plat h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.plat p { font-size: 14px; flex: 1; margin-bottom: 18px; }
.plat .meta { font-size: 13px; color: var(--ink-mute); margin-bottom: 18px; line-height: 1.9; }
.plat .btn { width: 100%; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-group { margin-bottom: 40px; }
.faq-group > h3 { font-size: 20px; margin-bottom: 18px; color: #fff; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--panel); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: #fff;
  position: relative; padding-right: 52px; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--blue-soft); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-dim); }
.faq-item .faq-body p { margin-bottom: 12px; }

/* ==========================================================================
   面包屑 + 文章双栏
   ========================================================================== */
.crumbs { font-size: 13.5px; color: var(--ink-mute); padding: 22px 0 0; }
.crumbs a { color: var(--ink-mute); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { margin: 0 8px; color: var(--ink-mute); opacity: .6; }

.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 40px 0 72px; }
.article-toc { position: sticky; top: 92px; align-self: start; }
.article-toc h4 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.article-toc ol { list-style: none; border-left: 1px solid var(--line); }
.article-toc ol li { margin-bottom: 4px; }
.article-toc ol a {
  display: block; padding: 6px 14px; font-size: 13.5px; color: var(--ink-mute);
  border-left: 2px solid transparent; margin-left: -1px;
}
.article-toc ol a:hover, .article-toc ol a.active { color: var(--blue-soft); border-left-color: var(--blue); background: rgba(32, 113, 255, .06); }

.article-body { font-size: 16.5px; color: var(--ink-dim); }
.article-body h2 { font-size: 25px; margin: 44px 0 18px; color: #fff; }
.article-body h3 { font-size: 20px; margin: 30px 0 14px; color: #fff; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 10px; color: var(--ink-dim); }
.article-body figure { margin: 28px 0; }
.article-body figure img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.article-body figcaption { font-size: 13px; color: var(--ink-mute); text-align: center; margin-top: 10px; }
.article-body .lead-para { font-size: 18px; color: var(--ink); }

.article-meta { display: flex; gap: 18px; font-size: 13px; color: var(--ink-mute); margin: 18px 0 8px; flex-wrap: wrap; }

/* 相关卡片 */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.related .feed-card h3 { font-size: 15.5px; }

/* 文章页 CTA */
.article-cta {
  margin-top: 52px; background: linear-gradient(120deg, rgba(32, 113, 255, .22), rgba(77, 150, 255, .12));
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 34px; text-align: center;
}
.article-cta h3 { font-size: 22px; margin-bottom: 12px; }
.article-cta p { margin-bottom: 22px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: #040b16; border-top: 1px solid var(--line); padding: 60px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer-col h4 { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-mute); margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.copyright {
  border-top: 1px solid var(--line); padding: 22px 0; text-align: center;
  font-size: 13.5px; color: var(--ink-mute);
}

/* 返回顶部 */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 46px; height: 46px;
  background: var(--grad-cta); color: #fff; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 20px; box-shadow: 0 8px 22px rgba(32, 113, 255, .4); display: none;
}
.to-top.show { display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   工具页
   ========================================================================== */
.hero-sm { padding: 64px 0 56px; }
.searchbar {
  display: flex; gap: 10px; max-width: 560px; margin: 28px auto 0;
}
.searchbar input {
  flex: 1; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 13px 18px; color: var(--ink); font-size: 15px; outline: none;
}
.searchbar input:focus { border-color: var(--blue); }
.searchbar input::placeholder { color: var(--ink-mute); }
.search-results { max-width: 720px; margin: 40px auto 0; }
.search-results li { list-style: none; border-bottom: 1px solid var(--line); padding: 16px 0; }
.search-results li a { font-size: 16px; font-weight: 600; color: var(--blue-soft); }
.search-results li a:hover { color: #fff; }
.search-results li p { font-size: 13.5px; margin-top: 4px; }

.sitemap-list { column-count: 3; column-gap: 40px; }
.sitemap-list h3 { font-size: 16px; margin: 20px 0 12px; color: #fff; break-inside: avoid; }
.sitemap-list h3:first-child { margin-top: 0; }
.sitemap-list a { display: block; font-size: 14px; color: var(--ink-dim); margin-bottom: 8px; break-inside: avoid; }
.sitemap-list a:hover { color: var(--blue-soft); }

/* 关于/联系/隐私 正文页 */
.prose { max-width: 780px; margin: 0 auto; padding: 40px 0 72px; }
.prose h2 { font-size: 24px; margin: 36px 0 16px; color: #fff; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 10px; color: var(--ink-dim); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 960px) {
  .grid-6, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feed, .grid-3, .related { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.rev .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
  .sitemap-list { column-count: 2; }
}
@media (max-width: 640px) {
  .nav .links { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-bottom: 1px solid var(--line); }
  .grid-6, .grid-4, .feed, .grid-3, .related, .plat-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .section { padding: 56px 0; }
  .sitemap-list { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}
