:root { --primary: #26A9E0; --primary-dark: #1e8cb8; --bg-light: #ffffff; --text-dark: #000000; --btn-login-bg: #EA7C07; --btn-register-bg: #26A9E0; --btn-download-bg: #000000; --header-offset: 122px; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg-light); font-family: Arial, sans-serif; color: var(--text-dark); } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #ffffff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); min-height: auto; } .header-top { background-color: #f0f8ff; width: 100%; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; box-sizing: border-box; } .logo { font-size: 32px; font-weight: bold; color: var(--primary-dark); text-decoration: none; flex-shrink: 0; } .logo:hover { color: var(--primary); } .main-nav { display: flex; background-color: #ffffff; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; position: static; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 5px; padding: 8px 20px; width: 100%; box-sizing: border-box; } .nav-link { display: block; padding: 10px 15px; font-size: 16px; font-weight: 600; color: #333333; text-decoration: none; text-align: center; white-space: nowrap; } .nav-link:hover { color: var(--primary); background-color: #f0f8ff; border-radius: 6px; } .desktop-nav-buttons { display: flex; gap: 12px; margin-left: auto; position: static; } .btn { display: inline-block; text-align: center; padding: 10px 20px; font-size: 16px; text-decoration: none; border-radius: 6px; cursor: pointer; transition: opacity 0.3s ease, transform 0.2s ease; font-weight: bold; color: #ffffff; text-decoration: none; } .btn + .btn { margin-left: 10px; } .btn-login { background-color: var(--btn-login-bg); } .btn-register { background-color: var(--btn-register-bg); } .btn-download { background-color: var(--btn-download-bg); } .btn:hover { opacity: 0.85; transform: translateY(-2px); } .btn-login:hover { background-color: #d97206; } .btn-register:hover { background-color: #1e8cb8; } .btn-download:hover { background-color: #1a1a1a; } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } .mobile-nav-buttons { display: none; } .site-footer { background-color: #f8f9fa; color: #333333; padding: 30px 20px 0; border-top: 4px solid var(--primary); } .footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; max-width: 1200px; margin: 0 auto; padding-bottom: 20px; } .footer-column h4 { color: var(--primary-dark); font-size: 18px; margin-bottom: 15px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #333333; text-decoration: none; } .footer-nav a:hover { color: var(--primary); text-decoration: underline; } .footer-brand .footer-logo { font-size: 28px; font-weight: bold; color: var(--primary-dark); text-decoration: none; } .footer-logo:hover { color: var(--primary); } .footer-brand p { margin-top: 10px; line-height: 1.6; font-size: 14px; } .footer-contact { font-weight: bold; } .footer-bottom { background-color: #e9ecef; text-align: center; margin: 0 -20px; padding: 15px 0; border-top: 1px solid #ced4da; } .footer-bottom p { margin: 0; font-size: 14px; color: #495057; } @media (max-width: 768px) { :root { --header-offset: 146px; } .site-header { min-height: auto; } .header-container { width: 100%; max-width: none; padding: 8px 15px; } .logo { font-size: 24px; order: 2; flex: 1; text-align: center; display: block; } .hamburger-menu { display: flex; order: 1; background: none; border: none; cursor: pointer; flex-direction: column; justify-content: center; padding: 0 0; z-index: 1001; } .hamburger-menu .bar { width: 25px; height: 3px; background-color: #333333; margin: 3px 0; transition: 0.3s; border-radius: 2px; } .hamburger-menu.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); } .hamburger-menu.active .bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; background-color: #ffffff; padding: 10px 15px; border-bottom: 1px solid #e0e0e0; border-top: 1px solid #e0e0e0; z-index: 1000; } .mobile-nav-buttons .btn { flex: 1; margin: 0; padding: 8px 5px; font-size: 14px; max-width: 120px; } .mobile-nav-buttons .btn + .btn { margin-left: 8px; } .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 70%; max-width: 320px; height: 100vh; background-color: #ffffff; z-index: 1002; transition: transform 0.3s ease; transform: translateX(-100%); box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2); overflow-y: auto; border: none; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { flex-direction: column; align-items: stretch; padding: 60px 20px 20px; gap: 0; width: 100%; max-width: none; height: auto; } .nav-link { padding: 15px 10px; text-align: left; border-bottom: 1px solid #eee; } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1001; } .mobile-menu-overlay.active { display: block; } .footer-container { grid-template-columns: 1fr; gap: 20px; text-align: left; padding: 0 15px 20px; } .footer-bottom { padding: 15px 0; } .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;
}
