:root { --header-offset: 122px; --primary: #2F6BFF; --primary-light: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --bg: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --text-black: #000000; --border: #D6E2FF; --glow: #A5C4FF; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: var(--bg); color: var(--text-main); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ===== Header ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: #FFFFFF; box-shadow: 0 4px 18px rgba(47, 107, 255, 0.16); }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; width: 100%; border-bottom: 1px solid var(--border); }
.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-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: var(--primary); text-transform: lowercase; line-height: 1; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
.logo:hover { color: #1E50C8; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--btn-gradient); color: #FFFFFF !important; border: none; border-radius: 8px; padding: 10px 22px; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; box-shadow: 0 4px 12px rgba(47, 107, 255, 0.35); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 8px 20px rgba(47, 107, 255, 0.45); }
.btn-login { background: #FFFFFF; color: var(--primary) !important; border: 2px solid var(--primary); box-shadow: 0 4px 12px rgba(47, 107, 255, 0.18); }
.btn-login:hover { background: #EEF3FF; }
.btn-register { background: var(--btn-gradient); }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; align-items: center; justify-content: center; background: #FFFFFF; border-bottom: 1px solid var(--border); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; width: 100%; background: var(--primary); }
.nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; }
.nav-list { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; height: 100%; }
.nav-link { display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: 15px; font-weight: 600; color: #FFFFFF; transition: background-color 0.2s ease, color 0.2s ease; border-radius: 0; position: relative; }
.nav-link:hover, .nav-link.active { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.nav-link.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: #FFFFFF; border-radius: 2px 2px 0 0; }
.hamburger-menu { display: none; }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 25, 45, 0.55); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.nav-overlay.active { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* ===== Footer ===== */
.site-footer { background: #10214A; color: #D5DEF3; margin-top: 40px; font-size: 14px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top { padding: 48px 0 32px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-col { min-width: 0; }
.footer-about { grid-column: span 1; }
.footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: #FFFFFF; margin-bottom: 14px; letter-spacing: 1px; }
.footer-logo:hover { color: var(--glow); }
.footer-description { margin: 0 0 14px; color: #B9C7E6; line-height: 1.75; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { font-size: 16px; color: #FFFFFF; margin: 0 0 16px; font-weight: 700; letter-spacing: 0.5px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--primary-light); border-radius: 2px; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #B9C7E6; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: #FFFFFF; padding-left: 4px; }
.footer-dynamic-col { min-width: 0; }
.footer-mid { padding: 12px 0 24px; border-top: 1px solid rgba(214, 226, 255, 0.15); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(214, 226, 255, 0.15); text-align: center; background: #0B1838; }
.footer-bottom p { margin: 0; color: #97A8CC; font-size: 13px; }
.footer-slot-anchor-inner { min-height: 1px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .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: 26px; }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; gap: 10px; flex-wrap: nowrap; overflow: hidden; }
  .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 { height: 48px !important; min-height: 48px !important; background: var(--primary); position: fixed; top: 108px; left: 0; width: 100%; display: none; flex-direction: column; z-index: 1001; overflow: visible; }
  .main-nav.active { display: block !important; }
  .main-nav .nav-container { width: 100%; max-width: none; padding: 0; height: auto; display: block; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1002; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
  .hamburger-menu span { display: block; width: 24px; height: 3px; background: var(--primary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-list { display: flex; flex-direction: column; width: 100%; height: auto; background: #FFFFFF; padding: 8px 0; gap: 0; box-shadow: 0 10px 25px rgba(15, 25, 45, 0.2); }
  .nav-list li { width: 100%; }
  .nav-link { width: 100%; height: auto; padding: 14px 20px; color: var(--text-main); font-size: 15px; border-radius: 0; justify-content: flex-start; border-bottom: 1px solid var(--border); }
  .nav-link:hover, .nav-link.active { background: #EEF3FF; color: var(--primary); }
  .nav-link.active::after { display: none; }
  .footer-top { padding: 36px 0 24px; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-about { grid-column: span 2; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .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-about { grid-column: span 1; }
  .footer-mid-grid { grid-template-columns: 1fr; }
  .footer-logo { font-size: 24px; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
