:root { --header-offset: 122px; --color-primary: #2F6BFF; --color-secondary: #6FA3FF; --color-bg: #F4F7FB; --color-card-bg: #FFFFFF; --color-text-main: #1F2D3D; --color-text-black: #000000; --color-border: #D6E2FF; --color-glow: #A5C4FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--color-text-main); background-color: var(--color-bg); }
a { text-decoration: none; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(47, 107, 255, 0.18); }
.header-top { box-sizing: border-box; width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #1F2D3D; }
.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: 30px; padding-right: 30px; }
.logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-transform: uppercase; line-height: 1; }
.logo:hover { color: var(--color-glow); }
.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; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; text-align: center; text-decoration: none; }
.btn-primary { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 4px 14px rgba(47, 107, 255, 0.45); border-color: #4A8BFF; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(47, 107, 255, 0.6); }
.btn-outline { background-color: #FFFFFF; color: var(--color-primary); border-color: var(--color-border); }
.btn-outline:hover { background-color: var(--color-glow); color: #1F2D3D; transform: translateY(-2px); }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.main-nav { box-sizing: border-box; width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; border-bottom: 2px solid var(--color-border); }
.nav-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; position: relative; }
.nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-menu li { margin: 0; }
.nav-menu a { display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--color-text-main); border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; }
.nav-menu a:hover, .nav-menu a.active { background-color: var(--color-primary); color: #FFFFFF; }
.hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; padding: 0; background: transparent; border: none; cursor: pointer; z-index: 1001; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--color-primary); border-radius: 3px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background-color: rgba(31, 45, 61, 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; }
.site-footer { background-color: #1F2D3D; color: #E8EEF9; margin-top: 40px; }
.footer-top { padding: 40px 0 20px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 12px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-transform: uppercase; margin-bottom: 12px; }
.footer-logo:hover { color: var(--color-glow); }
.footer-description { font-size: 14px; line-height: 1.7; color: #C9D8F5; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-size: 14px; color: #C9D8F5; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--color-glow); }
.footer-mid { margin-top: 24px; }
.footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-bottom { border-top: 1px solid rgba(214, 226, 255, 0.2); padding: 18px 20px; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #A9BDDF; }
.nav-menu li a { text-decoration: none; }
@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; height: 100%; }
  .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 110px); font-size: 26px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #FFFFFF; border-bottom: 1px solid var(--color-border); }
  .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-outline { background-color: #FFFFFF; }
  .main-nav { height: 48px !important; min-height: 48px !important; background-color: #FFFFFF; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; }
  .hamburger-menu { display: flex; }
  .nav-menu { display: none; flex-direction: column; justify-content: flex-start; align-items: stretch; position: fixed; top: var(--header-offset); left: 0; width: 260px; max-width: 80%; height: calc(100vh - var(--header-offset)); background-color: #FFFFFF; padding: 16px 12px; gap: 4px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; box-shadow: 4px 0 18px rgba(31, 45, 61, 0.25); }
  .nav-menu.active { display: flex; transform: translateX(0); }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; width: 100%; padding: 12px 14px; font-size: 15px; border-bottom: 1px solid var(--color-border); white-space: normal; }
  .nav-overlay { display: block; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-row { grid-template-columns: 1fr 1fr; }
  .footer-container { padding: 0 20px; }
}
@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; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
