/* ==========================================================================
   官网公共头部样式（以首页 index.html 版本为准）
   --------------------------------------------------------------------------
   所有页面通过 <link rel="stylesheet" href="/assets/site-header.css" /> 引入，
   头部结构由 /assets/site-header.js 统一注入。
   后续升级头部（导航项、按钮、样式）只需修改本文件和 site-header.js，
   无需再逐个页面调整。
   样式全部限定在 .site-header 作用域内，避免与各页面自身样式冲突。
   ========================================================================== */

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #eef0f3; position: sticky; top: 0; z-index: 100; flex-wrap: wrap; gap: 12px; }
.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-header .brand img { height: 40px; width: auto; display: block; }
.site-header .brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-header .brand-text strong { font-size: 19px; font-weight: 700; color: #111; }
.site-header .brand-text small { font-size: 12px; color: #999; font-weight: 400; }
.site-header .nav-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.site-header .nav-links > a:not(.btn) { color: #555; text-decoration: none; font-size: 15px; font-weight: 400; }
.site-header .nav-links > a:not(.btn):hover,
.site-header .nav-links > a.active:not(.btn) { color: #1890ff; }
.site-header .btn { display: inline-block; min-height: 0; padding: 12px 26px; border-radius: 24px; font-size: 15px; text-decoration: none; font-weight: 500; transition: all .2s; }
.site-header .btn-primary { background: linear-gradient(135deg, #1890ff, #2f54eb); color: #fff !important; border: none; box-shadow: 0 4px 14px rgba(24,144,255,0.35); }
.site-header .btn-primary:hover { background: linear-gradient(135deg, #1890ff, #2f54eb); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(24,144,255,0.45); }
.site-header .btn-outline { background: #fff; color: #1890ff !important; border: 1px solid #1890ff; }
.site-header .btn-outline:hover { background: #e6f7ff; }
.site-header .nav-login { padding: 8px 20px; }

@media (max-width: 600px) {
  .site-header { padding: 12px 16px; }
  .site-header .nav-links { gap: 14px; }
}
