
:root {
  --ff-primary: #2563eb;
  --ff-primary-d: #1d4ed8;
  --ff-primary-l: #eff6ff;
  --ff-gradient: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  --ff-surface: #ffffff;
  --ff-bg: #f8fafc;
  --ff-border: #e6edf6;
  --ff-text: #0f172a;
  --ff-muted: #64748b;
  --ff-radius: 16px;
  --ff-radius-sm: 10px;
  --ff-nav-h: 64px;
  --ff-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .08);
  --ff-shadow: 0 12px 28px -8px rgba(37, 99, 235, .16), 0 8px 16px -8px rgba(15, 23, 42, .10);
  --ff-shadow-lg: 0 24px 50px -12px rgba(37, 99, 235, .22);
}

/* 平滑滚动 + 锚点偏移（避免被吸顶导航遮挡） */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ff-nav-h) + 10px);
}

/* ---------- Hero ---------- */
.ff-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf1fb 0%, var(--ff-bg) 72%) !important;
}
.ff-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .16), transparent 70%);
  pointer-events: none;
}
.ff-hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 58, 138, .12), transparent 70%);
  pointer-events: none;
}

/* Hero 渐变标题 */
.ff-gradient-text {
  background: var(--ff-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Section kicker（徽章 → kldk pill 风格） ---------- */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 99px;
  background: var(--ff-primary-l);
  color: var(--ff-primary-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 14px !important;
}

/* ---------- Section 标题 ---------- */
.section-title {
  color: var(--ff-text) !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
}

/* ---------- 卡片通用增强（悬浮微动 + 阴影 + 圆角） ---------- */
.feature-card,
.advantage-item,
.client-card,
.scenario-card {
  border-radius: var(--ff-radius) !important;
  border: 1px solid var(--ff-border);
  box-shadow: var(--ff-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  background: var(--ff-surface);
}
.feature-card:hover,
.advantage-item:hover,
.client-card:hover,
.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ff-shadow);
  border-color: var(--ff-primary);
}

/* 卡片图标（kldk f-icon 风格） */
.feature-icon,
.client-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ff-primary-l);
  color: var(--ff-primary-d);
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-icon svg,
.client-icon svg {
  width: 24px;
  height: 24px;
}
.scenario-card svg {
  display: block;
  width: 34px;
  height: 34px;
  color: var(--ff-primary-d);
  margin-bottom: 12px;
}

/* ---------- 套餐卡（深色区，仅加悬浮微动与高亮辉光） ---------- */
.plan-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
/* ---------- 高亮套餐卡（热门选择）：白底深字，覆盖深色区默认浅色文字，避免白底白字 ---------- */
.plan-card-highlight {
  background: #fff !important;
  border: 2px solid var(--ff-primary) !important;
  color: #0f172a !important;
  box-shadow: var(--ff-shadow-lg) !important;
  position: relative;
}
.plan-card-highlight h3 { color: #0f172a !important; }
.plan-card-highlight .plan-price { color: #0f172a !important; }
.plan-card-highlight .plan-price span { color: #64748b !important; }
.plan-card-highlight .plan-traffic { color: #1d4ed8 !important; background: var(--ff-primary-l) !important; }
.plan-card-highlight ul li { color: #475569 !important; background: rgba(37, 99, 235, .06) !important; border-bottom-color: rgba(15, 23, 42, .08) !important; }
.plan-card-highlight .badge { background: var(--ff-primary) !important; color: #fff !important; }
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ff-shadow-lg);
}

/* ---------- 按钮 .go（kldk 渐变实心按钮） ---------- */
.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ff-gradient);
  color: #fff !important;
  border: 0;
  border-radius: var(--ff-radius-sm);
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: var(--ff-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.go:hover {
  transform: translateY(-2px);
  box-shadow: var(--ff-shadow);
}
.go:active {
  transform: translateY(0);
}

/* ---------- CTA 带（渐变 + 圆角 + 大阴影） ---------- */
.ff-cta {
  background: var(--ff-gradient) !important;
  border-radius: 18px !important;
  box-shadow: var(--ff-shadow-lg) !important;
}

/* ---------- 页脚渐变顶边 + 链接悬浮微动 ---------- */
footer {
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ff-gradient);
}
.footer-link {
  transition: color .15s ease, transform .15s ease;
}
.footer-link:hover {
  color: #fff !important;
  transform: translateX(3px);
}
.nav-link.is-active {
  color: var(--ff-primary-d);
  font-weight: 700;
}
.mobile-nav-link.is-active {
  background: var(--ff-primary-l);
  color: var(--ff-primary-d);
}
.footer-link.is-active {
  color: #fff;
}

/* ---------- 多列页脚布局（2026-09-20） ---------- */
.ff-footer {
  padding: 3rem 0 1.5rem;
}
.ff-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.ff-footer-brand p {
  margin-top: 1rem;
  max-width: 28rem;
  color: #94a3b8;
  line-height: 1.75;
}
.ff-footer-col {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.ff-footer-col-title {
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.ff-footer-col .footer-link {
  color: #cbd5e1;
  transition: color .15s ease, transform .15s ease;
}
.ff-footer-col .footer-link:hover {
  color: #fff !important;
  transform: translateX(3px);
}
.ff-footer-col .footer-link.is-active {
  color: #fff;
  font-weight: 700;
}
.ff-footer-bottom .footer-link.is-active {
  color: #fff;
}
.ff-footer-bottom {
  max-width: 80rem;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1rem 0;
  border-top: 1px solid rgba(148, 163, 184, .18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .85rem;
  color: #94a3b8;
}
.ff-footer-bottom .footer-link {
  color: #94a3b8;
}
@media (max-width: 768px) {
  .ff-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .ff-footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 460px) {
  .ff-footer-inner {
    grid-template-columns: 1fr;
  }
}
a.feature-card {
  color: inherit;
  text-decoration: none;
}

/* ---------- 信任数据带（基于真实站点信息的渐变条） ---------- */
.ff-trust {
  background: var(--ff-gradient);
  border-radius: var(--ff-radius);
  padding: 30px 24px;
  color: #fff;
  box-shadow: var(--ff-shadow-lg);
}
.ff-trust .ts {
  text-align: center;
}
.ff-trust .ts-num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}
.ff-trust .ts-lbl {
  font-size: 13px;
  opacity: .9;
  margin-top: 4px;
}

/* ---------- 信任数据带外间距 ---------- */
.ff-trust-section {
  padding: 28px 0 6px;
}

/* ---------- 次级按钮（描边，保留主次层级） ---------- */
.go-ghost {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .75) !important;
  box-shadow: none !important;
}
.go-ghost:hover {
  background: rgba(255, 255, 255, .14) !important;
  border-color: #fff !important;
  transform: translateY(-2px);
}

/* ---------- 响应式收口 ---------- */
@media (max-width: 560px) {
  .ff-trust .ts-num {
    font-size: 24px;
  }
  .ff-trust-section {
    padding: 18px 0 4px;
  }
}

/* ---------- 内容文档页 UI 美化（关于/联系/隐私/条款，2026-09-20） ---------- */
.doc-wrap { display: block; }
.doc-block {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1.5rem 1.6rem 1.5rem 1.75rem;
  border: 1px solid var(--ff-border);
  border-left: 3px solid var(--ff-primary);
  border-radius: var(--ff-radius-sm);
  background: var(--ff-surface);
  box-shadow: var(--ff-shadow-sm);
}
.doc-block.is-warn { border-left-color: #f59e0b; }
.doc-block .doc-h {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .9rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ff-text);
  letter-spacing: -.01em;
}
.doc-block .doc-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ff-gradient);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}
.doc-block p { margin: 0; color: var(--ff-muted); line-height: 1.8; }
.doc-block ul { margin: .2rem 0 0; }

/* 关键承诺高亮框 */
.doc-callout {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 1.4rem 1.6rem 1.4rem 1.75rem;
  border: 1px solid var(--ff-border);
  border-left: 4px solid var(--ff-primary);
  border-radius: var(--ff-radius-sm);
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  box-shadow: var(--ff-shadow-sm);
}
.doc-callout .doc-h { color: var(--ff-primary-d); }
.doc-callout p { margin: 0; color: var(--ff-muted); line-height: 1.8; }

/* 收集 vs 不收集 对比 */
.doc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.doc-col {
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm);
  background: var(--ff-surface);
  box-shadow: var(--ff-shadow-sm);
  padding: 1.4rem 1.5rem;
}
.doc-col.is-yes { border-left: 4px solid var(--ff-primary); }
.doc-col.is-no { border-left: 4px solid #16a34a; }
.doc-col h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .9rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ff-text);
}
.doc-col.is-yes h3 { color: var(--ff-primary-d); }
.doc-col.is-no h3 { color: #15803d; }
.doc-col h3 svg { width: 18px; height: 18px; flex: none; }
.doc-col ul { margin: 0; }
.doc-col ul li + li { margin-top: .5rem; }

/* 价值 / 联系 卡片网格（复用 feature-card 悬浮微动） */
.value-grid, .contact-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.value-grid { grid-template-columns: repeat(3, 1fr); }
.contact-grid { grid-template-columns: repeat(2, 1fr); }
.val-card, .contact-card {
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  background: var(--ff-surface);
  box-shadow: var(--ff-shadow-sm);
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.val-card:hover, .contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ff-shadow);
  border-color: var(--ff-primary);
}
.val-card .feature-icon, .contact-card .feature-icon { margin-bottom: 1rem; }
.val-card h3, .contact-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ff-text);
}
.val-card p, .contact-card p { margin: 0; color: var(--ff-muted); line-height: 1.7; }
.contact-card.is-primary {
  border-left: 4px solid var(--ff-primary);
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}
.contact-card.is-primary .ct-mail {
  display: inline-block;
  margin-top: .4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ff-primary-d);
}

@media (max-width: 768px) {
  .value-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .doc-compare { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .doc-block, .doc-callout { padding-left: 1.25rem; }
}

/* 板块引导副文 */
.section-lead {
  margin-top: .85rem;
  color: var(--ff-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 48rem;
}

/* 套餐卡内部（深色区） */
.plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: .5rem 0 .2rem;
}
.plan-price span {
  font-size: .9rem;
  font-weight: 600;
  color: #94a3b8;
}
.plan-traffic {
  color: #94a3b8;
  font-size: .95rem;
  margin: 0 0 1rem;
}
.plan-card ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.plan-card ul li {
  color: #cbd5e1;
  font-size: .92rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.plan-card ul li:last-child { border-bottom: 0; }

/* 客户端卡「推荐」徽标 */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--ff-primary-l);
  color: var(--ff-primary-d);
  font-size: .72rem;
  font-weight: 700;
}

/* FAQ 折叠项 */
.faq-item {
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 12px;
  padding: 0 1.25rem;
  box-shadow: var(--ff-shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 700;
  color: var(--ff-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ff-primary);
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--ff-border); }
.faq-item p {
  margin: 0;
  padding: .9rem 0 1.1rem;
  color: var(--ff-muted);
  line-height: 1.8;
}

/* 任意值网格列（style.css 未编译，补到此处，仅桌面端 lg 双栏；移动端单列） */
@media (min-width: 1024px) {
  .lg\:grid-cols-\[0\.8fr_1\.2fr\] { grid-template-columns: 0.8fr 1.2fr; }
  .lg\:grid-cols-\[1\.05fr_0\.95fr\] { grid-template-columns: 1.05fr 0.95fr; }
}
