:root { --primary: #113B7A; --secondary: #1D5FD1; --card-bg: #10233F; --text-main: #F3F8FF; --text-secondary: #AFC4E8; --border-color: #244D84; --glow: #4FA8FF; --gold: #F2C14E; --divider: #1B3357; --deep-navy: #08162B; --header-offset: 136px; --header-top-bg: var(--deep-navy); --main-nav-bg: #ffffff; --footer-bg: var(--deep-navy); --footer-text: #AFC4E8; --footer-heading: #F3F8FF; --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, Helvetica, sans-serif; background-color: var(--deep-navy); color: var(--text-main); margin: 0; padding-top: var(--header-offset); }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); background-color: var(--header-top-bg); min-height: auto; }
.header-top { background-color: var(--deep-navy); width: 100%; border-bottom: 1px solid var(--border-color); position: relative; z-index: 1002; min-height: 68px; display: flex; align-items: center; }
.header-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; min-height: 68px; gap: 20px; }
.logo { display: inline-block; font-size: 32px; font-weight: 900; color: var(--gold); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; line-height: 1.2; }
.logo:hover { color: var(--gold); text-decoration: none; }
.desktop-nav-buttons { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; transition: all 0.3s ease; border: none; cursor: pointer; line-height: 1.4; min-height: 42px; }
.btn-register { background: var(--btn-gradient); color: #ffffff; box-shadow: 0 4px 12px rgba(43, 115, 246, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6); }
.btn-login { background: linear-gradient(180deg, #F2C14E 0%, #D49A2A 100%); color: var(--deep-navy); }
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5); }
.btn-download { background: linear-gradient(180deg, #F2C14E 0%, #D49A2A 100%); color: var(--deep-navy); }
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(242, 193, 78, 0.4); }
.main-nav { background-color: var(--main-nav-bg); width: 100%; display: flex; align-items: center; border-bottom: 1px solid var(--divider); position: relative; z-index: 1001; }
.nav-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; padding: 8px 20px; }
.nav-link { display: block; padding: 10px 18px; color: var(--primary); font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: background-color 0.3s ease, color 0.3s ease; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background-color: var(--primary); color: #ffffff; text-decoration: none; }
.hamburger-menu { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; padding: 8px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 1003; position: relative; }
.hamburger-line { display: block; width: 100%; height: 3px; background-color: var(--gold); border-radius: 3px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav-buttons { display: none; }
.mobile-menu-overlay { display: none; }
.site-footer { background-color: var(--footer-bg); color: var(--footer-text); padding: 60px 0 0; margin-top: 0; border-top: 2px solid var(--border-color); }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding: 0 40px 50px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-logo { display: inline-block; font-size: 36px; font-weight: 900; color: var(--gold); text-decoration: none; text-transform: uppercase; letter-spacing: 2px; }
.footer-logo:hover { color: var(--gold); text-decoration: none; }
.footer-description { font-size: 15px; line-height: 1.7; color: var(--footer-text); text-align: left; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; }
.footer-heading { font-size: 18px; font-weight: 700; color: var(--footer-heading); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 2px; border-bottom: 2px solid var(--gold); padding-bottom: 10px; }
.footer-nav { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-link { color: var(--footer-text); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-link:hover { color: var(--gold); text-decoration: none; padding-left: 6px; }
.footer-bottom { border-top: 1px solid var(--divider); padding: 20px 40px; background-color: rgba(8, 22, 43, 0.8); text-align: center; }
.copyright { font-size: 15px; color: var(--footer-text); margin: 0; }
@media (max-width: 768px) {
:root { --header-offset: 158px; }
body { padding-top: var(--header-offset); overflow-x: hidden; }
.page-content img { max-width: 100% !important; height: auto !important; display: block; }
.page-content { overflow-x: hidden; max-width: 100%; }
.site-header { width: 100%; }
.header-container { width: 100%; max-width: none; padding-left: 16px; padding-right: 16px; min-height: 60px; }
.logo { display: block; font-size: 28px; }
.main-nav { position: fixed; top: 60px; left: 0; width: 280px; height: 100vh; height: calc(100vh - 60px); background-color: var(--deep-navy); border-right: 1px solid var(--border-color); border-bottom: none; display: none; flex-direction: column; transform: translateX(-100%); transition: transform 0.35s ease-in-out; padding: 0; z-index: 1002; }
.nav-container { width: 100%; max-width: none; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 20px 0; overflow-y: auto; }
.nav-link { display: block; padding: 16px 24px; color: var(--text-main); font-size: 16px; font-weight: 600; border-bottom: 1px solid rgba(36, 77, 132, 0.25); border-radius: 0; transition: background-color 0.3s ease, color 0.3s ease; }
.nav-link:hover { background-color: rgba(29, 95, 209, 0.2); color: var(--gold); }
.nav-link.active { background-color: rgba(29, 95, 209, 0.3); color: var(--gold); }
.main-nav.active { display: flex; flex-direction: column; transform: translateX(0); }
.hamburger-menu { display: flex; order: 0; }
.desktop-nav-buttons { display: none; }
.mobile-nav-buttons { display: block; width: 100%; background-color: var(--header-top-bg); border-bottom: 1px solid var(--border-color); position: relative; z-index: 1000; }
.mobile-nav-container { width: 100%; max-width: none; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px 16px; }
.mobile-nav-container .btn { flex: 1; max-width: 45%; padding: 8px 12px; font-size: 14px; text-decoration: none; min-height: 38px; }
.mobile-nav-container .btn-download { display: none; }
.mobile-menu-overlay { display: none; position: fixed; top: 60px; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; background-color: rgba(8, 22, 43, 0.7); z-index: 999; }
.mobile-menu-overlay.active { display: block; }
.site-header.header-top { min-height: auto; }
.site-header { min-height: auto; }
.footer-container { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px 40px; text-align: center; }
.footer-brand { align-items: center; text-align: center; }
.footer-description { text-align: center; }
.footer-column { align-items: center; }
.footer-heading { text-align: center; width: 100%; }
.footer-nav { align-items: center; }
.footer-link { text-align: center; }
.footer-bottom { padding: 20px 16px; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
