:root { --header-offset: 122px; --primary: #2F6BFF; --primary-dark: #1E4FBF; --secondary: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --bg: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --border-color: #D6E2FF; --glow-color: #A5C4FF; } * { margin: 0; padding: 0; box-sizing: border-box; } body { padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--bg); color: var(--text-main); } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--card-bg); box-shadow: 0 4px 16px rgba(31, 45, 61, 0.12); min-height: auto; } .header-top { background-color: #1E4FBF; width: 100%; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; min-height: 68px; gap: 16px; } .logo { font-size: 2rem; font-weight: 900; color: #ffffff; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; line-height: 1.2; display: inline-block; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center; transition: all 0.3s ease; border: none; cursor: pointer; line-height: 1.4; box-shadow: 0 4px 10px rgba(31, 45, 61, 0.20); } .btn:focus { outline: 3px solid var(--glow-color); outline-offset: 2px; } .btn-download { background: #ffffff; color: #1E4FBF; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .btn-download:hover { background: #E6EDFF; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); } .btn-register { background: var(--btn-gradient); color: #ffffff; box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4); } .btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(47, 107, 255, 0.5); filter: brightness(1.1); } .main-nav { background-color: #FFFFFF; width: 100%; display: flex; border-top: 1px solid var(--border-color); } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: stretch; width: 100%; padding: 0 16px; } .nav-menu { list-style: none; display: flex; align-items: center; text-align: center; flex-wrap: wrap; justify-content: center; gap: 4px; } .nav-item { display: inline-block; } .nav-link { display: block; padding: 15px 16px; color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; transition: color 0.3s ease, background-color 0.3s ease; border-bottom: 3px solid transparent; } .nav-link:hover { color: var(--primary); background-color: rgba(255, 255, 255, 0.1); } .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); } .hamburger-menu, .mobile-menu-overlay, #mobileNavButtons { display: none; } .site-footer { background-color: #1E2A3A; color: #cfd8e3; padding: 60px 24px 0; width: 100%; margin-top: 0; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; } .footer-column { display: flex; flex-direction: column; gap: 16px; } .footer-logo { font-size: 2.2rem; font-weight: 900; color: #ffffff; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; line-height: 1.2; background: linear-gradient(180deg, #4A8BFF, #2F6BFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .footer-description { font-size: 0.95rem; line-height: 1.7; opacity: 0.9; color: #cbd5e1; } .footer-title { font-size: 1.25rem; font-weight: 700; color: #ffffff; margin-bottom: 8px; } .footer-nav { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; } .footer-nav li { margin: 0; } .footer-nav a { color: #cfd8e3; text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; font-size: 0.95rem; } .footer-nav a:hover { color: #6FA3FF; padding-left: 4px; } .footer-contact-item { font-size: 0.95rem; line-height: 1.6; } .footer-contact-item a { color: #cfd8e3; text-decoration: none; } .footer-contact-item a:hover { color: #6FA3FF; } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; padding: 20px 0; width: 100%; } .copyright { font-size: 0.9rem; color: #a0afc0; opacity: 0.8; } @media (max-width: 768px) { :root { --header-offset: 146px; } body { overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; } .header-top { background-color: #1E4FBF; width: 100%; } .header-container { width: 100%; max-width: none; padding-left: 16px; padding-right: 16px; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .logo { font-size: 1.6rem; font-weight: 900; color: #ffffff; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; line-height: 1.4; display: block; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); } .header-top .header-container { flex-wrap: wrap; } .header-container .logo { order: 2; flex: 1; text-align: center; padding: 0 8px; min-width: 0; } .header-container .desktop-nav-buttons { display: none; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; cursor: pointer; z-index: 1002; background: transparent; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 8px; transition: all 0.3s ease; order: 1; flex-shrink: 0; } .hamburger-menu .bar { width: 24px; height: 2px; background-color: #ffffff; margin: 3px 0; transition: all 0.3s ease; display: block; border-radius: 2px; } .hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 42, 58, 0.75); z-index: 998; backdrop-filter: blur(2px); } .mobile-menu-overlay.active { display: block; } #mobileNavButtons { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 20px; background: #FFFFFF; width: 100%; flex-wrap: wrap; border-bottom: 1px solid var(--border-color); z-index: 999; } .mobile-nav-buttons .btn { flex: 1 1 auto; max-width: none; text-align: center; font-size: 0.8rem; padding: 12px 20px; color: #ffffff; border-radius: 6px; display: block; } .mobile-nav-buttons .btn-register { background: var(--btn-gradient); box-shadow: 0 4px 8px rgba(47, 107, 255, 0.3); } .mobile-nav-buttons .btn-download { background: #1E4FBF; color: #ffffff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .btn { text-decoration: none; } .main-nav { position: fixed; top: 0; left: 0; width: 84%; max-width: 340px; height: 100vh; overflow-y: auto; background-color: #FFFFFF; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2); z-index: 1001; flex-direction: column; align-items: stretch; transform: translateX(-100%); transition: transform 0.3s ease-in-out; display: block; visibility: visible; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { max-width: none; width: 100%; flex-direction: column; align-items: stretch; padding: 0; } .nav-menu { list-style: none; display: flex; flex-direction: column; width: 100%; text-align: left; padding: 20px; gap: 0; } .nav-item { display: block; border-bottom: 1px solid #E2E8F0; margin: 0; } .nav-item:last-child { border-bottom: none; } .nav-link { display: block; width: 100%; padding: 16px 12px; text-align: left; font-size: 1rem; font-weight: 600; color: var(--text-main); text-decoration: none; transition: background-color 0.3s ease, padding-left 0.3s ease; border-bottom: none; } .nav-link:hover, .nav-link.active { background-color: #F0F4FF; color: var(--primary); border-left: 3px solid var(--primary); padding-left: 16px; } .main-nav .close-menu { color: #888; } .site-footer { background-color: #1E2A3A; padding: 60px 20px 0; width: 100%; } .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding: 0 0 30px; width: 100%; max-width: 100%; } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 30px; padding: 20px 0; width: 100%; text-align: center; } .page-content { overflow-x: hidden; max-width: 100%; width: 100%; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } body { overflow-x: hidden; } } @media (min-width: 769px) { .header-container { padding-left: 24px; padding-right: 24px; } .mobile-nav-buttons { display: none; } } .page-content { padding-top: 10px; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
