.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); min-height: auto; }
.site-header .header-top { background: #1a1a2e; width: 100%; padding: 0; }
.site-header .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 40px; }
.site-header .logo { display: inline-flex; align-items: center; color: #ffffff; font-size: 28px; font-weight: 900; text-decoration: none; letter-spacing: 1px; }
.site-header .logo:hover { color: #26A9E0; }
.site-header .desktop-nav-buttons { display: flex; gap: 12px; }
.site-header .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; min-height: 44px; line-height: 1.2; }
.site-header .btn-download { background: #26A9E0; color: #ffffff; }
.site-header .btn-download:hover { background: #1a9ecc; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(38, 169, 224, 0.4); }
.site-header .btn-login { background: #EA7C07; color: #ffffff; }
.site-header .btn-login:hover { background: #c76a06; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(234, 124, 7, 0.4); }
.site-header .btn-register { background: linear-gradient(135deg, #26A9E0, #1a9ecc); color: #ffffff; }
.site-header .btn-register:hover { background: linear-gradient(135deg, #1a9ecc, #26A9E0); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(38, 169, 224, 0.4); }
.site-header .main-nav { background: #ffffff; width: 100%; display: flex; }
.site-header .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 8px 20px; gap: 4px; }
.site-header .nav-link { display: inline-flex; align-items: center; padding: 8px 16px; color: #1a1a2e; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 6px; transition: color 0.3s ease, background 0.3s ease; }
.site-header .nav-link:hover { color: #26A9E0; background: rgba(38, 169, 224, 0.1); }
.site-header .hamburger-menu { display: none; }
.site-header .mobile-menu-overlay { display: none; }
.site-header .mobile-nav-buttons { display: none; }
:root { --header-offset: 122px; }
body { padding-top: var(--header-offset); }
.site-footer { background: #1a1a2e; color: #ffffff; padding: 60px 0 0; }
.site-footer .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 0 20px; }
.site-footer .footer-brand { padding-right: 30px; }
.site-footer .footer-logo { display: inline-block; color: #ffffff; font-size: 24px; font-weight: 900; text-decoration: none; margin-bottom: 16px; }
.site-footer .footer-logo:hover { color: #26A9E0; }
.site-footer p { color: #b0b0b0; font-size: 14px; line-height: 1.7; margin: 0; }
.site-footer h4 { color: #ffffff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: #26A9E0; }
.site-footer .footer-nav { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-nav li { margin-bottom: 10px; }
.site-footer .footer-nav a { color: #b0b0b0; text-decoration: none; font-size: 14px; transition: color 0.3s ease; }
.site-footer .footer-nav a:hover { color: #26A9E0; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; text-align: center; margin-top: 60px; }
.site-footer .footer-bottom p { font-size: 14px; }
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  .site-header { min-height: 0; }
  .site-header .header-top { background: #1a1a2e; }
  .site-header .header-container { width: 100%; max-width: none; padding: 8px 15px; justify-content: space-between; }
  .site-header .logo { font-size: 22px; order: 2; }
  .site-header .desktop-nav-buttons { display: none; }
  .site-header .main-nav { display: none; flex-direction: column; position: fixed; top: 0; right: auto; left: 0; width: 280px; height: 100vh; background: #ffffff; padding-top: 70px; z-index: 1002; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1); }
  .site-header .main-nav.active { display: flex; transform: translateX(0); }
  .site-header .nav-container { flex-direction: column; align-items: flex-start; padding: 20px; overflow-y: auto; max-height: calc(100vh - 70px); }
  .site-header .nav-link { font-size: 15px; padding: 12px 10px; width: 100%; border-bottom: 1px solid #f0f0f0; }
  .site-header .hamburger-menu { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; cursor: pointer; z-index: 1003; order: 1; margin-right: auto; }
  .site-header .hamburger-menu span { display: block; width: 24px; height: 2px; background: #ffffff; border-radius: 2px; transition: all 0.3s ease; }
  .site-header .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .site-header .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-header .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.5); z-index: 1001; }
  .site-header .mobile-menu-overlay.active { display: block; }
  .site-header .mobile-nav-buttons { display: flex; justify-content: center; gap: 8px; padding: 8px 15px; background: #ffffff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); }
  .site-header .mobile-nav-buttons .btn { flex: 1; padding: 8px 8px; font-size: 13px; min-height: 40px; }
  .site-footer .footer-container { grid-template-columns: 1fr; gap: 30px; padding: 0 15px; }
  .site-footer .footer-brand { padding-right: 0; }
  .site-footer .footer-bottom { margin-top: 40px; }
  body.no-scroll { overflow: hidden; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  body { overflow-x: hidden; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
/* 内容保护（系统追加，请勿删除） */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
