:root { --primary: #2F6BFF; --secondary: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --bg-page: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --text-black: #000000; --border-color: #D6E2FF; --glow: #A5C4FF; --header-offset: 122px; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-main); background: var(--bg-page); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
img { max-width: 100%; }
/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(31, 45, 61, 0.16); background: #FFFFFF; }
.header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #1E4FD6 0%, #2F6BFF 100%); border-bottom: 1px solid rgba(165, 196, 255, 0.35); }
.header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; }
.logo { display: inline-flex; align-items: center; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-transform: lowercase; line-height: 1; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.logo:hover { color: #FFFFFF; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 10px 20px; font-size: 14px; font-weight: 700; line-height: 1.2; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-login { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.75); }
.btn-login:hover { background: rgba(255, 255, 255, 0.24); color: #FFFFFF; }
.btn-register { background: linear-gradient(180deg, #FFD966 0%, #F5A623 100%); color: #1F2D3D; box-shadow: 0 4px 14px rgba(245, 166, 35, 0.45); }
.btn-register:hover { box-shadow: 0 6px 18px rgba(245, 166, 35, 0.6); color: #1F2D3D; }
.mobile-nav-buttons { box-sizing: border-box; display: none; width: 100%; }
.hamburger-menu { display: none; width: 44px; height: 44px; padding: 10px 8px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 8px; cursor: pointer; flex-direction: column; justify-content: space-between; align-items: center; z-index: 1001; }
.hamburger-menu span { display: block; width: 100%; height: 2.5px; background: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; border-bottom: 1px solid var(--border-color); }
.nav-container { box-sizing: border-box; width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav-item { margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; padding: 6px 11px; font-size: 14px; font-weight: 600; color: var(--text-main); border-radius: 6px; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.nav-link:hover { background: rgba(47, 107, 255, 0.1); color: var(--primary); }
.nav-link.active { background: var(--primary); color: #FFFFFF; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(15, 25, 40, 0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
body.no-scroll { overflow: hidden; }
/* ===== FOOTER ===== */
.site-footer { background: #101B2E; color: #C9D6EC; margin-top: 40px; }
.footer-top { padding: 48px 0 28px; background: radial-gradient(circle at 12% 0%, rgba(47, 107, 255, 0.28) 0%, rgba(16, 27, 46, 0) 55%), #101B2E; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; line-height: 1.1; margin-bottom: 12px; text-transform: lowercase; }
.footer-logo:hover { color: var(--glow); }
.footer-description { margin: 0; font-size: 14px; line-height: 1.7; color: #AEC0DC; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #FFFFFF; letter-spacing: 0.4px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-nav li { margin: 0; padding: 0; }
.footer-nav a { display: inline-block; font-size: 14px; color: #AEC0DC; line-height: 1.5; transition: color 0.2s ease; word-wrap: break-word; overflow-wrap: break-word; }
.footer-nav a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-mid { padding: 10px 0 6px; }
.footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-slot-anchor-inner { display: block; min-height: 1px; width: 100%; }
.footer-dynamic-col { display: block; }
.footer-bottom { background: #0A1322; border-top: 1px solid rgba(165, 196, 255, 0.18); padding: 16px 0; }
.footer-bottom .footer-container { text-align: center; }
.copyright { margin: 0; font-size: 13px; color: #8FA3C4; line-height: 1.6; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { padding-top: var(--header-offset); }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; }
  .hamburger-menu { display: flex; position: relative; z-index: 1001; order: -1; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; min-height: 48px; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #1E4FD6; }
  .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; padding-top: 16px; background: #FFFFFF; box-shadow: 6px 0 24px rgba(15, 25, 40, 0.35); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1001; }
  .main-nav.active { display: block !important; transform: translateX(0) !important; }
  .nav-container { width: 100%; max-width: none; height: auto; display: block; padding: 0; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0; }
  .nav-item { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 13px 20px; font-size: 15px; border-radius: 0; color: var(--text-main); border-bottom: 1px solid #EDF2FB; }
  .nav-link:hover, .nav-link.active { background: rgba(47, 107, 255, 0.1); color: var(--primary); }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-mid-row { grid-template-columns: 1fr 1fr; }
  .footer-top { padding: 34px 0 20px; }
  .footer-container { padding-left: 16px; padding-right: 16px; }
  .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: 480px) {
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-mid-row { grid-template-columns: 1fr; }
  .logo { font-size: 22px; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
