/* ============================================================
   落地首页（index.html）专用样式
   与 style.css 共用 :root 设计令牌；本文件只放首页独有结构。
   ============================================================ */

/* ---------- 顶栏（浅色，落地页版） ---------- */
.site-nav {
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.site-nav .container-xl { height: 100%; display: flex; align-items: center; gap: 18px; }
.site-nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.site-nav-brand .brand-logo {
  height: 32px; width: auto; display: block;
}

.site-nav-links { display: flex; gap: 4px; margin-left: 14px; }
.site-nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.site-nav-links a:hover { color: var(--text); background: var(--primary-l); }
.site-nav-spacer { flex: 1; }
.site-nav-cta { display: flex; gap: 10px; align-items: center; }
.site-nav-toggler { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.site-nav-toggler .bar { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

/* 白按钮（渐变带反白，仅限 .cta-band 内使用，避免与 style.css .btn-white 冲突） */
.cta-band .btn-white {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--primary-d);
  border: 1px solid #fff; border-radius: var(--radius-sm);
  padding: 9px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: .18s; text-decoration: none;
}
.cta-band .btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* 移动端菜单默认隐藏（桌面端不触发） */
#site-nav-menu { display: none; }

/* 平滑滚动 + 锚点偏移（避免被吸顶导航遮挡） */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

/* 顶栏下拉（客户端） */
.nav-dropdown { position: relative; }
.nav-dd-toggle { background: none; border: 0; cursor: pointer; font: inherit; display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.nav-dd-toggle:hover { color: var(--text); background: var(--primary-l); }
.nav-dd-toggle i { font-size: 12px; transition: transform .18s; }
.nav-dropdown.open .nav-dd-toggle i { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; display: none; z-index: 200;
  grid-template-columns: 1fr 1fr; gap: 2px;
}
.nav-dd-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--text); font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav-dd-menu a:hover { background: var(--primary-l); color: var(--primary-d); }
.nav-dd-menu a i { color: var(--muted); font-size: 16px; }
.nav-dropdown:hover .nav-dd-menu,
.nav-dropdown.open .nav-dd-menu { display: grid; }
.nav-dd-menu::before { content: ""; position: absolute; top: -7px; left: 24px; width: 13px; height: 13px; background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }
.site-nav-links a.active { color: var(--primary-d); background: var(--primary-l); font-weight: 600; }

/* 移动端菜单内的客户端分组标签 */
.m-dd-head { padding: 10px 8px 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; }

/* 返回顶部 */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 20px; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 0; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* FAQ 展开 / 收起全部 */
.faq-toggle { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); color: var(--primary-d); font-size: 13px; font-weight: 600; cursor: pointer; }
.faq-toggle:hover { background: var(--primary-l); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 76px 0 60px;
  background: linear-gradient(180deg, #eaf1fb 0%, var(--bg) 72%); }
.hero::before {
  content: ""; position: absolute; top: -160px; right: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32,107,196,.18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -200px; left: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,127,214,.14), transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 780px; margin: 0 auto; text-align: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--remind-l); color: var(--remind-d);
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero-title { font-size: 46px; line-height: 1.16; font-weight: 800; letter-spacing: -.6px; color: var(--text); margin-bottom: 16px; }
.hero-title span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 580px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Hero 客户端预览面板（装饰） */
.hero-panel {
  margin: 42px auto 0; max-width: 680px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px;
  box-shadow: var(--shadow-lg); text-align: left;
}
.hero-panel .hp-top { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.hero-panel .hp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.hero-panel .hp-top b { font-size: 15px; color: var(--text); }
.hero-panel .hp-status { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #1f9d55; background: #e6f7ee; padding: 3px 10px; border-radius: 99px; }
.hero-panel .hp-node { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 12px; }
.hero-panel .hp-node-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text); }
.hero-panel .hp-node-name i { color: var(--primary); }
.hero-panel .hp-ping { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.hero-panel .hp-ping i { color: #1f9d55; }
.hero-panel .hp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.hero-panel .hp-stat { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px; text-align: center; }
.hero-panel .hp-stat b { display: block; font-size: 17px; font-weight: 800; color: var(--primary-d); }
.hero-panel .hp-stat span { font-size: 11px; color: var(--muted); }
.hero-panel .hc-bars { display: flex; gap: 8px; align-items: flex-end; height: 64px; }
.hero-panel .hc-bar { flex: 1; border-radius: 6px 6px 0 0; background: var(--primary-l); }
.hero-panel .hc-bar.h { background: var(--primary); }

/* ---------- 通用区块 ---------- */
.section { padding: 58px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 38px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 15px; }

/* 功能卡 */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: .18s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .f-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-l); color: var(--primary-d);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* 数据带 */
.stats { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat .num { font-size: 32px; font-weight: 800; color: var(--primary-d); }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* CTA 带 */
.cta-band { background: var(--gradient); border-radius: 18px; padding: 46px 28px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { opacity: .92; margin-bottom: 22px; }

/* 页脚 */
.site-footer { position: relative; background: var(--dark); color: #9fb2c6; padding: 48px 0 24px; font-size: 13px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient); }
.footer-grid { display: grid; grid-template-columns: 2.4fr 1fr 1.5fr 1fr; gap: 36px; margin-bottom: 26px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-brand img { height: 26px; width: auto; }
.brand-cn-f { font-size: 13px; font-weight: 600; opacity: .8; margin-left: 2px; }
.footer-col p { color: #9fb2c6; font-size: 13px; max-width: 260px; line-height: 1.7; }
.footer-head { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.65); font-size: 11px; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 14px; font-weight: 600; }
.footer-head::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--primary); }
.footer-col a { display: flex; align-items: center; gap: 6px; padding: 5px 0; color: #9fb2c6; font-size: 13px; text-decoration: none; transition: .15s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; color: #6b7a90; font-size: 12px; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: #6b7a90; text-decoration: none; transition: .15s; }
.footer-bottom-links a:hover { color: #fff; }
.footer-col.clients { column-count: 2; column-gap: 6px; }
.footer-col.clients a { break-inside: avoid; }

/* ===== 下载页（download.html） ===== */
.dl-header { text-align: center; padding: 48px 0 32px; }
.dl-header h1 { font-size: 36px; font-weight: 800; letter-spacing: -.5px; color: var(--text); margin-bottom: 8px; }
.dl-header p { color: var(--muted); font-size: 16px; }

.dl-section { padding: 40px 0; }
.dl-section + .dl-section { border-top: 1px solid var(--border); }
.dl-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dl-section-head h2 { font-size: 20px; font-weight: 700; }
.dl-section-head span { color: var(--muted); font-size: 14px; }
.dl-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }

/* 下载卡片网格 */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; box-shadow: var(--shadow-sm); transition: .18s; }
.dl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary); }
.dl-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--remind-l); color: var(--remind-d); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 10px; }
.dl-name { font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 3px; }
.dl-meta { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.dl-card .btn { width: 100%; }
.btn-github { background: #24292f; border: 1px solid #24292f; color: #fff; }
.btn-github:hover { background: #32383f; border-color: #32383f; color: #fff; }
.btn-appstore { background: #0a0a0a; border: 1px solid #0a0a0a; color: #fff; }
.btn-appstore:hover { background: #2a2a2a; border-color: #2a2a2a; color: #fff; }
.dl-card .btn + .btn { margin-top: 8px; }

/* 操作步骤 */
.steps { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; text-align: center; max-width: 260px; flex: 1 1 220px; box-shadow: var(--shadow-sm); transition: .18s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; }
.step-arrow { font-size: 24px; color: var(--primary-l); flex-shrink: 0; }

/* 平台支持 */
.platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.platform { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 10px; box-shadow: var(--shadow-sm); transition: .18s; text-decoration: none; }
.platform:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.p-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--remind-l); color: var(--remind-d); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.p-label { font-weight: 700; font-size: 14px; color: var(--text); }
.p-sub { font-size: 11px; color: var(--muted); }

/* FAQ */
.faq { background: var(--surface); border-top: 1px solid var(--border); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq-q { padding: 14px 8px; font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; color: var(--text); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ""; }
.faq-q i { color: var(--remind); flex-shrink: 0; }
.faq-a { padding: 0 8px 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.faq-a p { margin: 0; }

/* ===== 平台详情页（各下载平台独立页） ===== */
.pf-hero { text-align: center; padding: 44px 0 26px; }
.pf-hero .pf-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; background: var(--remind-l); color: var(--remind-d); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.pf-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -.5px; color: var(--text); margin-bottom: 8px; }
.pf-hero p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.pf-note { background: var(--remind-l); border-left: 3px solid var(--remind); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13.5px; color: var(--remind-d); margin: 18px auto 0; max-width: 680px; text-align: left; }
.pf-note i { margin-right: 6px; }

/* ===== 教程页（tutorial.html） ===== */
.tut-layout { display: flex; gap: 36px; max-width: 1200px; margin: 0 auto; padding: 32px 0; }
.tut-sidebar { width: 210px; flex-shrink: 0; position: sticky; top: 80px; align-self: flex-start; }
.tut-sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.tut-sidebar a { display: block; padding: 8px 12px; border-left: 3px solid transparent; color: var(--muted); font-size: 13.5px; font-weight: 500; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; transition: .15s; }
.tut-sidebar a:hover { color: var(--text); background: var(--primary-l); border-left-color: var(--primary-l); }
.tut-sidebar a.active { color: var(--remind-d); font-weight: 700; border-left-color: var(--remind); background: var(--remind-l); }
.tut-sidebar-head { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 14px 12px 4px; font-weight: 600; }
.tut-main { flex: 1; min-width: 0; }
.tut-main h2 { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 6px; padding-top: 20px; }
.tut-main h2:first-child { padding-top: 0; }
.tut-main .tut-intro { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.tut-main h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.tut-main p { color: var(--text); line-height: 1.75; margin-bottom: 10px; font-size: 14.5px; }
.tut-steps { counter-reset: step; list-style: none; padding: 0; margin: 14px 0; }
.tut-step { counter-increment: step; display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.tut-step::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.tut-code { background: var(--dark); color: #c7d3e0; padding: 12px 16px; border-radius: var(--radius-sm); font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 13px; margin: 8px 0 14px; overflow-x: auto; white-space: pre; user-select: all; }
.tut-note { background: var(--remind-l); border-left: 3px solid var(--remind); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13.5px; color: var(--remind-d); margin: 14px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .features, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms, .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 34px; }
  .tut-layout { flex-direction: column; }
  .tut-sidebar { width: 100%; position: static; }
  .tut-sidebar nav { flex-direction: row; flex-wrap: wrap; }
  .tut-sidebar a { border-left: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 10px; font-size: 13px; }
  .tut-sidebar a.active { border-bottom-color: var(--remind); border-left: 0; }
  .tut-sidebar-head { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .site-nav-links, .site-nav-cta .btn { display: none; }
  .site-nav-toggler { display: block; }
  #site-nav-menu { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; padding: 10px 16px; gap: 4px; box-shadow: var(--shadow); }
  #site-nav-menu.show { display: flex; }
  #site-nav-menu a { padding: 10px 8px; }
  #site-nav-menu { max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav-dropdown { position: static; }
  .footer-col.clients { column-count: 1; }
}
@media (max-width: 560px) {
  .features, .stats-grid, .dl-grid { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .footer-col p { max-width: 100%; }
  .hero-title { font-size: 28px; }
  /* —— 移动端补充收紧（避免标题过大 / 留白过空） —— */
  .hero { padding: 52px 0 42px; }
  .section { padding: 42px 0; }
  .cta-band { padding: 34px 18px; }
  .dl-header h1, .pf-hero h1 { font-size: 26px; }
  .dl-header { padding: 38px 0 26px; }
  .pf-hero { padding: 36px 0 22px; }
  .req-row { flex-wrap: wrap; gap: 2px 14px; }
  .guide-banner { padding: 16px; gap: 12px; }
  .guide-banner .gb-tx { min-width: 0; }
  .site-footer { padding: 36px 0 20px; }
  .faq-page { padding-bottom: 44px; }
  .hero-panel { padding: 16px; }
  .hero-panel .hp-stats { gap: 8px; }
  /* 标题在手机上进一步收敛 */
  .section-head h2 { font-size: 24px; }
  .cta-band h2 { font-size: 22px; }
  /* CTA 按钮全宽，触控更友好 */
  .hero-cta .btn, .cta-band .btn { width: 100%; }
  /* 正文字号上调，小屏更易读 */
  .feat p, .tut-main p, .content-p, .faq-a { font-size: 15px; }
  /* 返回顶部按钮适配刘海 / 手势条安全区 */
  .to-top { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 40px; height: 40px; font-size: 18px; }
}
@media (max-width: 480px) {
  /* 功能卡手机上单列，提升可读性 */
  .feat-grid { grid-template-columns: 1fr; }
}

/* ===== 内容丰富板块（2026-07-17 新增） ===== */
.feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0 8px;}
.feat{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:18px;}
.feat .f-ic{width:40px;height:40px;border-radius:10px;background:var(--primary-l);color:var(--primary-d);display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:10px;}
.feat h4{font-size:15px;font-weight:700;margin:0 0 6px;}
.feat p{font-size:13px;color:var(--muted);line-height:1.7;margin:0;}

.req-box{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:8px 18px;margin-top:10px;}
.req-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--border);font-size:14px;}
.req-row:last-child{border-bottom:0;}
.req-row span{color:var(--muted);}
.req-row b{font-weight:600;text-align:right;}

.mini-faq{margin-top:14px;}
.mini-faq details{border:1px solid var(--border);border-radius:10px;padding:0 14px;margin-bottom:10px;background:var(--card);}
.mini-faq summary{font-weight:600;cursor:pointer;padding:12px 0;list-style:none;}
.mini-faq summary::-webkit-details-marker{display:none;}
.mini-faq summary::before{content:"Q";display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;background:var(--remind-l);color:var(--remind-d);border-radius:6px;font-size:12px;font-weight:700;margin-right:8px;}
.mini-faq .faq-a{padding:0 0 12px 28px;color:var(--muted);font-size:14px;line-height:1.8;}

.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;background:linear-gradient(135deg,var(--primary-d),#1a4fa0);border-radius:var(--radius);padding:26px 20px;color:#fff;}
.trust-strip .ts{text-align:center;}
.trust-strip .ts-num{font-size:26px;font-weight:800;}
.trust-strip .ts-lbl{font-size:13px;opacity:.85;margin-top:4px;}

.sec-note{background:var(--remind-l);border:1px solid var(--remind);border-radius:var(--radius);padding:14px 16px;margin:14px 0;font-size:14px;line-height:1.8;color:var(--text);}
.sec-note b{color:var(--remind-d);}

.road{position:relative;margin:18px 0 8px;padding-left:22px;border-left:3px solid var(--border);}
.road .rm{position:relative;padding:0 0 22px 8px;}
.road .rm::before{content:"";position:absolute;left:-30px;top:4px;width:12px;height:12px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 3px var(--primary-l);}
.road .rm .yr{font-weight:800;color:var(--primary-d);}
.road .rm p{font-size:14px;color:var(--muted);margin:4px 0 0;line-height:1.7;}

.guide-banner{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;margin-bottom:22px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.guide-banner .gb-ic{width:46px;height:46px;border-radius:12px;background:var(--primary-l);color:var(--primary-d);display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;}
.guide-banner .gb-tx{flex:1;min-width:220px;}
.guide-banner .gb-tx b{display:block;margin-bottom:2px;}
.guide-banner .gb-tx span{font-size:13px;color:var(--muted);}

.toc{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:14px 18px;margin:18px 0 24px;display:flex;flex-wrap:wrap;gap:10px;}
.toc a{font-size:13px;color:var(--primary-d);text-decoration:none;padding:4px 12px;border:1px solid var(--border);border-radius:99px;}
.toc a:hover{background:var(--primary-l);}

@media(max-width:768px){
  .feat-grid{grid-template-columns:repeat(2,1fr);}
  .trust-strip{grid-template-columns:repeat(2,1fr);gap:14px;padding:20px 14px;}
}

/* ===== 首页升级（2026-07-17） ===== */
.kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; background: var(--primary-l); color: var(--primary-d); font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.kicker i { font-size: 14px; }

/* 适用场景 */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usecase { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: .18s; }
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.usecase .uc-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--remind-l); color: var(--remind-d); display: flex; align-items: center; justify-content: center; font-size: 23px; margin-bottom: 14px; }
.usecase h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.usecase p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* 用户口碑 */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: .18s; }
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quote .q-stars { color: #f5a623; font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.quote .q-text { font-size: 14px; line-height: 1.8; color: var(--text); margin-bottom: 14px; }
.quote .q-by { display: flex; align-items: center; gap: 10px; }
.quote .q-av { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.quote .q-by b { display: block; font-size: 13.5px; color: var(--text); }
.quote .q-by span { font-size: 12px; color: var(--muted); }

/* FAQ 页底部留白（拉开源脚距离） */
.faq-page { padding-bottom: 60px; }

/* 滚动入场动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .usecase-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .usecase-grid, .quotes { grid-template-columns: 1fr; }
}

/* ===== 内联样式外置 + 友情链接（2026-07-17） ===== */
/* Hero 速率条高度（原内联 height 移至此处） */
.hero-panel .hc-bars .hc-bar:nth-child(1) { height: 40%; }
.hero-panel .hc-bars .hc-bar:nth-child(2) { height: 62%; }
.hero-panel .hc-bars .hc-bar:nth-child(3) { height: 88%; }
.hero-panel .hc-bars .hc-bar:nth-child(4) { height: 55%; }
.hero-panel .hc-bars .hc-bar:nth-child(5) { height: 74%; }
.hero-panel .hc-bars .hc-bar:nth-child(6) { height: 48%; }
.hero-panel .hc-bars .hc-bar:nth-child(7) { height: 66%; }

/* 居中按钮容器（原内联 text-align/margin-top 移至此处） */
.cta-center { text-align: center; margin-top: 26px; }

/* 友情链接条 */
.links-strip { background: var(--bg); border-top: 1px solid var(--border); padding: 20px 0; }
.links-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.links-label { font-size: 13px; font-weight: 700; color: var(--text); flex-shrink: 0; padding-right: 14px; border-right: 1px solid var(--border); }
.links-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.links-list a { font-size: 13px; color: var(--muted); text-decoration: none; transition: .15s; }
.links-list a:hover { color: var(--primary-d); }
@media (max-width: 560px) {
  .links-strip .links-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .links-strip .links-label { border-right: 0; padding-right: 0; padding-bottom: 8px; border-bottom: 1px solid var(--border); width: 100%; }
}

/* ===== 外置内联样式（全站去内联 2026-07-17） ===== */

/* ============================================================
   页面内容语义化排版（原内联样式外置，保留 !important 以覆盖基础样式）
   ============================================================ */

/* —— 页面框架 —— */
.page-inner { max-width:800px !important; padding:40px 18px 60px !important; }

/* —— 标题与副标题 —— */
.page-title { font-size:28px !important; font-weight:800 !important; margin-bottom:8px !important; }
.page-lead { color:var(--muted) !important; font-size:16px !important; margin-bottom:32px !important; }
.sub-title { font-size:18px !important; font-weight:700 !important; margin:24px 0 8px !important; }

/* —— 正文段落 —— */
.content-p { color:var(--text) !important; line-height:1.8 !important; margin-bottom:16px !important; }
.content-p-sm { color:var(--text) !important; line-height:1.8 !important; margin-bottom:10px !important; }
.muted-p { color:var(--muted) !important; line-height:1.8 !important; margin-bottom:16px !important; }
.muted-p-lg { color:var(--muted) !important; margin-bottom:28px !important; }

/* —— 网格与区块间距 —— */
.section-flush { padding-top:0 !important; }
.grid-mb { margin-bottom:32px !important; }
.grid-block { margin:16px 0 24px !important; }

/* —— 链接与按钮 —— */
.link-primary { color:var(--primary) !important; }
.inline-link { color:inherit !important; text-decoration:underline !important; }
.btn-mt { margin-top:10px !important; }
.note-mt { margin-top:20px !important; }
.center-block { margin-top:30px !important; text-align:center !important; }
