:root { --primary: #2F6BFF; --secondary: #6FA3FF; --bg: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --border: #D6E2FF; --glow: #A5C4FF; --header-offset: 122px; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: var(--bg); color: var(--text-main); }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: var(--card-bg); box-shadow: 0 4px 20px rgba(47,107,255,0.12); }
.header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #1E4FD8 0%, #2F6BFF 100%); width: 100%; box-sizing: border-box; }
.header-container { width: 100%; max-width: 1200px; margin: 0 auto; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 30px; box-sizing: border-box; }
.logo { display: inline-block; color: #FFFFFF; font-size: 26px; font-weight: 800; text-decoration: none; letter-spacing: 0.5px; text-shadow: 0 2px 6px rgba(0,0,0,0.2); white-space: nowrap; }
.logo:hover { color: #FFFFFF; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; cursor: pointer; transition: all 0.25s ease; border: none; text-align: center; line-height: 1.2; }
.btn-primary { background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #FFFFFF; padding: 10px 22px; font-size: 15px; box-shadow: 0 4px 12px rgba(47,107,255,0.35); border: 1px solid rgba(255,255,255,0.25); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(47,107,255,0.5); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #FFFFFF; padding: 10px 20px; font-size: 15px; border: 2px solid #FFFFFF; }
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-1px); }
.mobile-nav-buttons { display: none; min-height: 48px; box-sizing: border-box; }
.main-nav { height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; width: 100%; border-top: 1px solid var(--border); box-sizing: border-box; }
.nav-container { width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; box-sizing: border-box; }
.nav-link { display: inline-block; color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 6px; transition: all 0.2s ease; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #FFFFFF; box-shadow: 0 2px 8px rgba(47,107,255,0.3); }
.hamburger-menu { display: none; position: absolute; top: 10px; left: 15px; z-index: 1001; width: 44px; height: 44px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.4); border-radius: 8px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.hamburger-menu span { display: block; width: 24px; height: 3px; background: #FFFFFF; border-radius: 2px; transition: all 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-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
.site-footer { background: linear-gradient(160deg, #15203A 0%, #1F2D3D 100%); color: #C8D4E8; padding: 50px 20px 0; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(214,226,255,0.15); }
.footer-col { min-width: 0; }
.footer-about { display: flex; flex-direction: column; }
.footer-logo { display: inline-block; color: #FFFFFF; font-size: 24px; font-weight: 800; text-decoration: none; margin-bottom: 14px; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.footer-description { font-size: 14px; line-height: 1.7; color: #A9B8D0; margin: 0 0 16px; overflow-wrap: break-word; word-wrap: break-word; }
.footer-heading { color: #FFFFFF; font-size: 16px; font-weight: 700; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #A9B8D0; text-decoration: none; font-size: 14px; transition: color 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: var(--secondary); padding-left: 3px; }
.footer-dynamic-col { min-height: 10px; }
.footer-mid-section { padding: 30px 0; display: flex; flex-direction: column; gap: 20px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-bottom { text-align: center; padding: 24px 0; border-top: 1px solid rgba(214,226,255,0.15); }
.footer-bottom p { margin: 0; font-size: 14px; color: #8FA0BC; }
.footer-slot-anchor-inner { min-height: 1px; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  body { overflow-x: hidden; }
  .site-header { width: 100%; max-width: 100%; overflow-x: hidden; }
  .header-top { height: 60px !important; min-height: 60px !important; position: relative; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: center; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; text-align: center; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: linear-gradient(135deg, #1E4FD8 0%, #2F6BFF 100%); min-height: 48px; }
  .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; }
  .mobile-nav-buttons .btn-primary { box-shadow: 0 3px 8px rgba(0,0,0,0.25); }
  .mobile-nav-buttons .btn-outline { border-width: 2px; }
  .hamburger-menu { display: flex; position: absolute; top: 8px; left: 12px; z-index: 1001; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 82%; height: 100vh; min-height: 100vh; background: #FFFFFF; z-index: 1002; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 0 30px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 24px rgba(0,0,0,0.2); border-top: none; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0 15px; gap: 2px; }
  .nav-link { display: block; width: 100%; text-align: left; padding: 13px 16px; font-size: 15px; border-radius: 8px; border-bottom: 1px solid var(--border); }
  .nav-link:hover, .nav-link.active { background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #FFFFFF; padding-left: 20px; }
  .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.55); z-index: 1000; opacity: 0; transition: opacity 0.3s ease; }
  .nav-overlay.active { display: block; opacity: 1; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 30px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .site-footer { padding: 40px 16px 0; }
  .footer-logo { font-size: 22px; }
  .footer-heading { font-size: 15px; }
  body.no-scroll { overflow: 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;
}
