/* XXYun (星星云) xxyun.help 帮助中心与工单诊断主题 (Tech Azure & Safety Mint) */
:root {
  --help-bg: #071326;
  --help-card: #0D1F3C;
  --help-border: rgba(56, 189, 248, 0.28);
  --azure-blue: #0284C7;
  --azure-light: #38BDF8;
  --mint-green: #10B981;
  --amber-warn: #F59E0B;
  --text-pure: #FFFFFF;
  --text-body: #E0F2FE;
  --text-sub: #7DD3FC;
  --grad-azure: linear-gradient(135deg, #0284C7 0%, #2563EB 50%, #1D4ED8 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--help-bg); color: var(--text-body); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif; line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* System Status Ticker */
.system-alert-strip { background: linear-gradient(90deg, #0369A1 0%, #0284C7 50%, #0369A1 100%); color: #FFF; font-size: 13px; font-weight: 700; padding: 8px 16px; text-align: center; display: flex; justify-content: center; align-items: center; gap: 8px; }

/* Help Header */
.help-nav { position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(18px); background: rgba(7, 19, 38, 0.94); border-bottom: 1px solid var(--help-border); height: 72px; display: flex; align-items: center; }
.help-nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.help-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #FFF; font-size: 20px; font-weight: 900; }
.help-brand img { width: 40px; height: 40px; border-radius: 8px; filter: drop-shadow(0 0 10px rgba(56,189,248,0.5)); }
.help-brand span { color: var(--azure-light); }
.help-links { display: flex; gap: 24px; list-style: none; font-size: 14px; }
.help-links a { color: var(--text-sub); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.help-links a:hover, .help-links a.active { color: #FFF; }
.btn-help { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 6px; font-weight: 700; text-decoration: none; cursor: pointer; border: none; font-size: 14px; transition: all 0.25s; }
.btn-help-azure { background: var(--grad-azure); color: #FFF; box-shadow: 0 4px 16px rgba(2,132,199,0.4); }
.btn-help-azure:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(2,132,199,0.65); }

/* Knowledge Search Hero */
.help-search-hero { padding: 60px 0 50px; text-align: center; }
.help-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--azure-light); font-size: 13px; font-weight: 700; background: rgba(56,189,248,0.1); border: 1px solid var(--help-border); padding: 5px 16px; border-radius: 20px; margin-bottom: 20px; }
.help-search-hero h1 { font-size: 42px; font-weight: 900; color: #FFF; line-height: 1.25; margin-bottom: 20px; }
.help-search-hero h1 span { color: var(--azure-light); }
.help-search-hero p { font-size: 16px; color: var(--text-sub); max-width: 680px; margin: 0 auto 32px; }

/* Search Box Mock */
.search-box-mock { background: var(--help-card); border: 2px solid var(--azure-blue); border-radius: 12px; padding: 14px 20px; max-width: 720px; margin: 0 auto 24px; display: flex; align-items: center; gap: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.search-input { background: transparent; border: none; color: #FFF; font-size: 16px; width: 100%; outline: none; }
.search-input::placeholder { color: #64748B; }

/* Jump Pills */
.help-jump-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 50px; flex-wrap: wrap; }
.help-jump-pill { font-size: 13px; color: var(--text-body); background: rgba(56,189,248,0.08); border: 1px solid var(--help-border); padding: 7px 16px; border-radius: 20px; text-decoration: none; font-weight: 600; transition: all 0.2s; }
.help-jump-pill:hover { background: var(--azure-blue); color: #FFF; }

/* 4-Tile Solution Category Grid */
.tiles-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0 60px; }
.tile-box { background: var(--help-card); border: 1px solid var(--help-border); border-radius: 12px; padding: 24px; text-align: center; transition: all 0.25s; }
.tile-box:hover { border-color: var(--azure-light); transform: translateY(-4px); box-shadow: 0 10px 24px rgba(2,132,199,0.3); }
.tile-icon { font-size: 32px; margin-bottom: 12px; }
.tile-box h3 { font-size: 17px; font-weight: 800; color: #FFF; margin-bottom: 8px; }
.tile-box p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* Troubleshooting Matrix */
.trouble-section { padding: 40px 0 70px; }
.trouble-grid { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.trouble-card { background: var(--help-card); border: 1px solid var(--help-border); border-radius: 12px; padding: 24px; }
.trouble-h { font-size: 17px; font-weight: 800; color: #FFF; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.trouble-p { font-size: 14.5px; color: var(--text-body); line-height: 1.8; }

/* Ecosystem Bar */
.site-ecosystem-bar { background: rgba(255,255,255,0.02); border: 1px solid var(--help-border); border-radius: 12px; padding: 20px 24px; margin-bottom: 30px; }
.ecosystem-title { font-size: 13px; font-weight: 800; color: var(--azure-light); margin-bottom: 12px; }
.ecosystem-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-link { font-size: 13px; color: var(--text-body); background: rgba(56,189,248,0.08); border: 1px solid var(--help-border); padding: 6px 14px; border-radius: 4px; text-decoration: none; }
.footer-link:hover, .footer-link.current { background: var(--azure-blue); color: #FFF; }

/* Quick Jump Dock */
.quick-jump-dock { position: fixed; right: 28px; bottom: 32px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: all 0.3s; }
.quick-jump-dock.visible { opacity: 1; pointer-events: auto; }
.jump-action-btn { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 6px; font-size: 13px; font-weight: 700; text-decoration: none; }
.jump-top { background: #0D1F3C; border: 1px solid var(--help-border); color: #FFF; }
.jump-official { background: var(--grad-azure); color: #FFF; }

/* Footer */
.help-footer { background: #030A14; border-top: 1px solid var(--help-border); padding: 50px 0 24px; margin-top: 60px; font-size: 13px; }
.help-footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; color: var(--text-sub); }

@media (max-width: 860px) {
  .tiles-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .help-links { display: none; }
}
