/* 云商金桥 · 帮助中心（/docs/）的页头 / 页脚（2026-10-29）
   与首页保持一致的导航栏与页脚，标记与 /products/ 相同。本文件需在 help.css 之后加载。 */

body { padding-top: 72px; }
/* 固定导航栏下，页内锚点/搜索定位不被遮挡 */
html { scroll-padding-top: 84px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航栏 ===== */
.nav {
  /* AI 顾问弹窗 z-index:90，导航置于其下，避免遮住遮罩层 */
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 18px;
}
.logo-text { font-size: 18px; font-weight: 700; color: var(--dark); }
.logo-sub { font-size: 12px; color: var(--text-light); }
.nav-menu { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--primary); text-decoration: none; }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  background: var(--primary); color: white; padding: 10px 20px;
  border-radius: 6px; font-weight: 600; font-size: 14px;
  text-decoration: none;
}
.nav-phone:hover { background: #1E3A8A; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-trial {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--accent); color: white; padding: 10px 18px;
  border-radius: 6px; font-weight: 600; font-size: 14px;
  text-decoration: none; transition: background 0.2s, box-shadow 0.2s;
}
.nav-trial:hover { background: #EA580C; box-shadow: 0 6px 16px rgba(249,115,22,0.3); text-decoration: none; }
.nav-mobile { display: none; align-items: center; gap: 8px; }
.nav-trial-mobile {
  display: inline-flex; align-items: center; white-space: nowrap;
  background: var(--accent); color: white; padding: 8px 14px;
  border-radius: 6px; font-weight: 600; font-size: 13px; text-decoration: none;
}
.nav-trial-mobile:hover { text-decoration: none; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark); }

/* ===== Footer ===== */
.footer { background: #0F172A; color: #94A3B8; padding: 34px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.footer-brand h3 { color: white; font-size: 20px; margin: 0 0 12px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin: 0; }
.footer-col h4 { color: white; font-size: 15px; margin: 0 0 12px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col a { color: #94A3B8; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-qr { margin-top: 12px; display: flex; gap: 12px; }
.footer-qr-item { width: 100px; text-align: center; }
.footer-qr-item img { display: block; width: 100px; height: 100px; padding: 4px; background: #fff; border-radius: 6px; }
.footer-qr-item span { display: block; margin-top: 8px; font-size: 12px; color: #64748B; white-space: nowrap; }
.footer-bottom {
  border-top: 1px solid #1E293B; padding-top: 18px;
  text-align: center; font-size: 13px; color: #64748B;
}
.footer-beian { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; }
.footer-beian a { color: #64748B; text-decoration: none; transition: color 0.2s; }
.footer-beian a:hover { color: #94A3B8; text-decoration: none; }
.footer-beian img { vertical-align: -2px; margin-right: 4px; border: 0; }
.footer-beian .sep { color: #334155; }
.footer-perf { margin-top: 8px; font-size: 12px; color: #475569; }
.footer-perf span { color: #64748B; font-variant-numeric: tabular-nums; }

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .nav-menu { gap: 24px; }
  .nav-phone { display: none; }
}
@media (max-width: 1024px) {
  .nav-menu, .nav-phone, .nav-trial { display: none; }
  .nav-menu.is-open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 16px; padding: 20px 24px;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-mobile { display: flex; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-menu, .nav-phone { display: none; }
  .mobile-menu-btn { display: block; }
  .footer { padding: 30px 0 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
  .footer-qr { margin-top: 12px; gap: 16px; }
  .footer-qr-item { width: 120px; }
  .footer-qr-item img { width: 120px; height: 120px; }
}
@media print {
  .nav, .footer { display: none !important; }
  body { padding-top: 0; }
}
