:root { --header-offset: 122px; } body { padding-top: var(--header-offset); } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(31, 45, 61, 0.15); background-color: #FFFFFF; min-height: auto; font-family: 'Inter', sans-serif; } .header-top { background-color: #0080ff; background-image: linear-gradient(90deg, #1a56d8 0%, #2F6BFF 50%, #0080ff 100%); width: 100%; display: flex; align-items: center; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 24px; width: 100%; box-sizing: border-box; } .logo { font-size: 28px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: -0.4px; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.2); display: inline-block; background: linear-gradient(to right, #FFFFFF, #E0ECFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .main-nav { background-color: #FFFFFF; width: 100%; display: flex; align-items: center; border-bottom: 1px solid #D6E2FF; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; width: 100%; box-sizing: border-box; flex-wrap: wrap; } .nav-link { color: #1F2D3D; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 16px; transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; display: block; border-radius: 4px 4px 0 0; border-bottom: 3px solid transparent; position: relative; } .nav-link:hover { color: #2F6BFF; background-color: #F4F7FB; box-shadow: 0 -2px 6px rgba(47, 107, 255, 0.15); border-bottom-color: #2F6BFF; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .btn { display: inline-block; padding: 10px 22px; border-radius: 50px; text-decoration: none !important; font-weight: 700; font-size: 15px; line-height: 1.4; text-align: center; cursor: pointer; transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease; border: none; } .btn-download { background: linear-gradient(180deg, #2F6BFF 0%, #001f5e 100%); color: white; box-shadow: 0 2px 8px rgba(0, 31, 94, 0.4); } .btn-download:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(47, 107, 255, 0.3); } .btn-primary { background: linear-gradient(180deg, #FFD700 0%, #FFA200 100%); color: #FFFFFF; box-shadow: 0 2px 8px rgba(255, 162, 0, 0.4); } .btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 162, 0, 0.5); } .hamburger-menu { display: none; visibility: hidden; } .mobile-nav-buttons { display: none; visibility: hidden; } .mobile-menu-overlay { display: none; } @media (max-width: 768px) { :root { --header-offset: 166px; } .site-header { background-color: #FFFFFF; box-shadow: 0 4px 20px rgba(31, 45, 61, 0.15); } .header-top { background-color: #0080ff; background-image: linear-gradient(90deg, #1a56d8 0%, #2F6BFF 50%, #0080ff 100%); } .header-container { width: 100%; max-width: none; padding: 8px 16px; } .logo { font-size: 22px; flex: 1; text-align: center; background: none; -webkit-text-fill-color: #FFFFFF; } .desktop-nav-buttons { display: none; visibility: hidden; } .hamburger-menu { display: flex; visibility: visible; flex-direction: column; justify-content: center; align-items: center; width: 36px; height: 36px; cursor: pointer; z-index: 1002; background: transparent; border: none; padding: 5px; gap: 5px; margin-left: 0; } .hamburger-menu .bar { display: block; width: 22px; height: 2px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active .bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; visibility: visible; display: block; } body.no-scroll { overflow: hidden; } .mobile-nav-buttons { display: flex; visibility: visible; justify-content: center; align-items: center; gap: 10px; padding: 0 12px; width: 100%; background-color: #FFFFFF; z-index: 1000; box-sizing: border-box; padding-top: 12px; padding-bottom: 12px; } .mobile-nav-buttons .btn { flex: 1; max-width: 160px; padding: 8px 12px; font-size: 14px; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 260px; height: 100%; min-height: 100vh; background-color: #FFFFFF; flex-direction: column; align-items: flex-start; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; box-shadow: none; border-right: 1px solid #D6E2FF; padding-top: 20px; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; justify-content: flex-start; max-width: 100%; width: 100%; padding: 0; margin: 0; } .nav-link { width: 100%; padding: 16px 20px; border-radius: 0; border-bottom: 1px solid #E2EDFF; border-left: 3px solid transparent; font-size: 14px; text-align: left; } .nav-link:hover { border-left-color: #2F6BFF; background-color: #F4F7FB; color: #2F6BFF; box-shadow: none; border-bottom-color: #E2EDFF; } .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;
}
