: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; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text-main); background-color: var(--bg-page); }

/* ===== Header ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--card-bg); box-shadow: 0 4px 16px rgba(47, 107, 255, 0.18); }
.header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0F2557; border-bottom: 1px solid var(--border-color); }
.header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { display: inline-block; font-size: 28px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; line-height: 1; text-shadow: 0 0 12px rgba(165, 196, 255, 0.6); }
.logo:hover { color: var(--glow); }
.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; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; padding: 10px 20px; font-size: 14px; line-height: 1.2; cursor: pointer; transition: all 0.25s ease; border: none; text-align: center; }
.btn-primary { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(47, 107, 255, 0.6); color: #FFFFFF; }
.btn-outline { background: transparent; color: #FFFFFF; border: 2px solid var(--glow); }
.btn-outline:hover { background: rgba(165, 196, 255, 0.18); color: #FFFFFF; }

/* Hamburger */
.hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: all 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); }

/* Main nav */
.main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #1A3A8F; }
.nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; }
.nav-link { display: inline-block; padding: 8px 12px; color: #E6EEFF; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 6px; white-space: nowrap; transition: all 0.2s ease; }
.nav-link:hover, .nav-link.active { color: #FFFFFF; background-color: var(--primary); box-shadow: 0 0 10px rgba(165, 196, 255, 0.6); }

/* Overlay */
.nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(15, 37, 87, 0.6); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }

/* ===== Footer ===== */
.site-footer { background-color: #0F2557; color: #E6EEFF; }
.footer-top { padding: 60px 0 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 16px; text-shadow: 0 0 12px rgba(165, 196, 255, 0.6); }
.footer-logo:hover { color: var(--glow); }
.footer-description { font-size: 14px; line-height: 1.7; color: #C5D6F5; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; padding-bottom: 10px; 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: #C5D6F5; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-nav a:hover { color: #FFFFFF; padding-left: 4px; }
.footer-dynamic-col { min-width: 0; }
.footer-mid { margin-top: 30px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-bottom { background-color: #0A1A3D; padding: 20px 0; border-top: 1px solid rgba(214, 226, 255, 0.18); }
.footer-bottom p { margin: 0; text-align: center; font-size: 13px; color: #A5C4FF; }
.footer-slot-anchor-inner { width: 100%; }

/* ===== Responsive ===== */
@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; }
  .hamburger-menu { display: flex; }
  .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 24px; }
  .logo img { display: block !important; max-width: 100%; height: auto; 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%; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0F2557; }
  .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; display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh !important; flex-direction: column; justify-content: flex-start; align-items: stretch; padding-top: 80px; background-color: #1A3A8F; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; padding: 10px 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px; }
  .nav-link { display: block; padding: 12px 15px; font-size: 15px; border-radius: 6px; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-top { padding: 40px 0 30px; }
  .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-grid { grid-template-columns: 1fr; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
