/* ==========================================================================
   quickqios.com · 官方蓝 · 客户端窗口控制台
   表现:桌面壁纸背景 + 圆角应用窗口 + 标题栏(红黄绿圆点)+ tab 导航
   首页首屏 = 打开着的加速器客户端(节点列表 / 速度仪表盘 / 一键连接)
   浅色系:主色官方蓝 #2071FF / 正文深藏青 #06101f
   ========================================================================== */

:root {
  --bg: #dbe6f5;
  --bg-2: #eaf1fb;
  --bg-3: #dde8f8;
  --panel: #ffffff;
  --line: rgba(32, 113, 255, 0.14);
  --line-strong: rgba(32, 113, 255, 0.30);
  --blue: #2071ff;
  --blue-bright: #4d96ff;
  --ink: #06101f;
  --ink-dim: #3a4a63;
  --ink-mute: #7a89a4;
  --grad-hero-bg: linear-gradient(180deg, #ffffff 0%, #e3eefd 100%);
  --grad-text: linear-gradient(120deg, #0b3a91 0%, #2071ff 55%, #4d96ff 100%);
  --grad-cta: linear-gradient(120deg, #2071ff 0%, #4d96ff 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow: 0 28px 80px rgba(6, 16, 31, 0.24);
  --shadow-soft: 0 8px 26px rgba(6, 16, 31, 0.08);
}

* { 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:
    radial-gradient(1200px 620px at 12% -8%, #cfe0fb 0%, transparent 55%),
    radial-gradient(1000px 540px at 100% 0%, #d9ecff 0%, transparent 52%),
    linear-gradient(180deg, #e7eefb 0%, #d4e0f2 100%);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  padding: 44px 20px 64px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: #0b3a91; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { line-height: 1.28; font-weight: 800; letter-spacing: .2px; color: var(--ink); }

p { color: var(--ink-dim); }

::selection { background: rgba(32, 113, 255, .2); color: #06101f; }

/* ==========================================================================
   桌面 + 应用窗口外壳
   ========================================================================== */
.desktop { max-width: 1280px; margin: 0 auto; }

.window {
  background: #fff; border-radius: 20px;
  border: 1px solid rgba(32, 113, 255, 0.16);
  box-shadow: var(--shadow);
}

/* 标题栏(红黄绿圆点 + 窗口标题 + 连接状态) */
.titlebar {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 20px; background: #f7faff;
  border-bottom: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
}
.dots { display: flex; gap: 8px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dots .r { background: #ff5f57; }
.dots .y { background: #febc2e; }
.dots .g { background: #28c840; }
.win-title {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--ink-dim);
}
.win-title img { height: 18px; width: auto; }
.win-status { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #0d9d63; font-weight: 600; white-space: nowrap; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, .16); }

/* tab 导航(客户端功能标签) */
.tabs {
  display: flex; align-items: flex-end; gap: 2px;
  padding: 8px 20px 0; border-bottom: 1px solid var(--line);
  background: #fff; overflow-x: auto;
}
.tab {
  padding: 11px 16px; font-size: 15px; font-weight: 600; color: var(--ink-dim);
  border-radius: 12px 12px 0 0; border-bottom: 2px solid transparent; white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.tab:hover { background: var(--bg-2); color: var(--ink); }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); background: rgba(32, 113, 255, .06); }
.tab-cta {
  margin-left: auto; align-self: center; margin-bottom: 8px;
  background: var(--grad-cta); color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 18px; border-radius: 10px; box-shadow: 0 8px 20px rgba(32, 113, 255, .32); white-space: nowrap;
}
.tab-cta:hover { color: #fff; filter: brightness(1.06); }

/* 窗口主体 */
.window > main { min-width: 0; }

/* ==========================================================================
   首页首屏 · 客户端控制台
   ========================================================================== */
.console { background: var(--grad-hero-bg); border-bottom: 1px solid var(--line); padding: 60px 0 68px; }
.console-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); font-weight: 800; margin-bottom: 18px;
}
.console-head h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; margin-bottom: 18px; }
.console-head h1 .grad {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.console-head .lead { font-size: 17px; margin-bottom: 28px; color: var(--ink-dim); }
.console-head .actions { display: flex; gap: 14px; 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: 700; font-size: 15.5px;
  padding: 13px 28px; border-radius: 12px; box-shadow: 0 10px 26px rgba(32, 113, 255, .34);
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.07); }
.btn.secondary { background: #fff; border: 1px solid var(--line-strong); color: var(--blue); box-shadow: none; }
.btn.secondary:hover { background: var(--bg-2); }
.btn svg { width: 17px; height: 17px; }

/* 控制台三栏:节点列表 / 仪表盘 / 连接 */
.console-board { display: grid; grid-template-columns: 1.05fr 1.15fr 0.9fr; gap: 22px; }
.board-panel {
  background: #fff; border: 1px solid var(--line-strong); border-radius: 18px;
  padding: 22px; box-shadow: var(--shadow-soft);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head b { font-size: 13px; letter-spacing: 1.5px; color: var(--ink-mute); font-weight: 700; }
.pill { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: rgba(32, 113, 255, .10); color: var(--blue); }
.pill.green { background: rgba(40, 200, 64, .12); color: #0d9d63; }

.node-list { display: flex; flex-direction: column; gap: 10px; }
.node {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 11px;
  transition: border-color .2s ease, background .2s ease;
}
.node.active { border-color: var(--blue); background: rgba(32, 113, 255, .07); }
.node-name { flex: 1; font-weight: 600; font-size: 14px; color: var(--ink); }
.node-ping { font-size: 13px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.bars { display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.bars i { width: 4px; height: 100%; border-radius: 2px; background: var(--grad-cta); }
.bars i.off { background: #dbe4f2; }

.gauge-panel svg { width: 100%; height: auto; }
.gauge-reads { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--ink-mute); }
.gauge-reads b { display: block; font-size: 15px; color: var(--ink); }
.gauge-reads b.ok { color: #0d9d63; }

.connect-panel { display: flex; flex-direction: column; align-items: center; text-align: center; }
.connect-panel .panel-head { align-self: stretch; }
.connect-btn {
  margin: auto 0; width: 128px; height: 128px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-cta); color: #fff; font-size: 21px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(32, 113, 255, .42), inset 0 -4px 10px rgba(0, 0, 0, .08);
  transition: transform .2s ease, filter .2s ease;
}
.connect-btn:hover { transform: translateY(-3px); filter: brightness(1.05); }
.connect-note { margin-top: 18px; font-size: 13px; color: var(--ink-mute); }

/* ==========================================================================
   内页页头 hero(窗口内 banner)+ 参数横条
   ========================================================================== */
.hero { background: var(--grad-hero-bg); border-bottom: 1px solid var(--line); padding: 60px 0; }
.hero-sm { padding: 46px 0 40px; }
.hero h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 16.5px; color: var(--ink-dim); max-width: 640px; }

.statsbar { border-top: 1px solid var(--line); background: #fff; }
.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: var(--blue); margin-bottom: 6px; }
.stat span { font-size: 13.5px; color: var(--ink-mute); }

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 80px 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 50px; }
.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, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.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, .10); color: var(--blue); font-weight: 800; font-size: 15px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; }

/* 场景区 · 左右图文 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; 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 22px; }
.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, box-shadow .25s ease;
}
.feed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.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); letter-spacing: 1px; margin-bottom: 8px; }
.feed-card h3 { font-size: 17px; margin-bottom: 10px; }
.feed-card h3 a { color: var(--ink); }
.feed-card h3 a:hover { color: var(--blue); }
.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, .32);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* 表格 */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
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: var(--ink); 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: var(--bg-2); }
tbody td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tag-ok { color: #0d9d63; font-weight: 700; }

/* 提示框 */
.tip, .callout {
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0; font-size: 14.5px;
}
.tip { background: rgba(32, 113, 255, .07); border: 1px solid var(--line-strong); color: var(--ink-dim); }
.callout { background: rgba(32, 113, 255, .10); border: 1px solid rgba(32, 113, 255, .36); color: #0b2f5f; }
.tip strong, .callout strong { color: var(--ink); }

/* ==========================================================================
   下载页
   ========================================================================== */
.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, box-shadow .25s ease;
}
.plat:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.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; }
.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; display: flex; align-items: center; gap: 8px; }
.plat .meta svg { width: 18px; height: 18px; flex: none; }
.plat .btn { width: 100%; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-group { margin-bottom: 40px; }
.faq-group > h3 { font-size: 20px; margin-bottom: 18px; }
.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: 700; color: var(--ink);
  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); 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: var(--blue); }
.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: 24px; 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); 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; }
.article-body h3 { font-size: 20px; margin: 30px 0 14px; }
.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); font-weight: 500; }

.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, .12), rgba(77, 150, 255, .06));
  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; }

/* ==========================================================================
   窗口页脚(深色)
   ========================================================================== */
.win-footer { background: #0b1830; border-radius: 0 0 20px 20px; padding: 56px 0 0; }
.wf-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.wf-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.wf-brand p { font-size: 14px; max-width: 280px; color: #aebcd4; }
.wf-col h4 { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.wf-col a { display: block; font-size: 14px; color: #aebcd4; margin-bottom: 10px; }
.wf-col a:hover { color: #73adff; }
.wf-copy { border-top: 1px solid rgba(115, 173, 255, .16); padding: 22px 0; text-align: center; font-size: 13.5px; color: #8aa3c4; }

/* 返回顶部 */
.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; }

/* ==========================================================================
   工具页
   ========================================================================== */
.searchbar { display: flex; gap: 10px; max-width: 560px; margin: 28px auto 0; }
.searchbar input {
  flex: 1; background: #fff; 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: 700; color: var(--blue); }
.search-results li a:hover { color: #0b3a91; }
.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; 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); }

/* 关于/联系/隐私 正文页 */
.prose { max-width: 780px; margin: 0 auto; padding: 40px 0 72px; }
.prose h2 { font-size: 24px; margin: 36px 0 16px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 10px; color: var(--ink-dim); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  body { padding: 20px 12px 44px; }
  .console-board { grid-template-columns: 1fr; }
  .connect-panel { padding: 34px 22px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
}
@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; }
  .wf-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-list { column-count: 2; }
}
@media (max-width: 640px) {
  .titlebar { gap: 10px; padding: 11px 14px; }
  .win-title { font-size: 13px; }
  .win-status { font-size: 11px; }
  .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; }
  .console { padding: 44px 0 52px; }
  .section { padding: 56px 0; }
  .hero { padding: 44px 0; }
  .sitemap-list { column-count: 1; }
  .wf-grid { grid-template-columns: 1fr; }
}
