html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, sans-serif; line-height: 1.6; color: #1F2D3D; background-color: #F4F7FB; padding-top: var(--header-offset); overflow-x: hidden; }
:root { --header-offset: 122px; --primary-color: #2F6BFF; --secondary-color: #6FA3FF; --text-main: #1F2D3D; --card-bg: #FFFFFF; --bg-color: #F4F7FB; --border-color: #D6E2FF; --glow-color: #A5C4FF; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); background-color: var(--card-bg); }
.header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #265CD9; width: 100%; }
.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: 0 30px; }
.logo { font-size: 28px; font-weight: bold; color: #FFFFFF; text-decoration: none; display: block; white-space: nowrap; }
.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; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; background-color: #3876F0; width: 100%; padding: 0 15px; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; text-align: center; white-space: nowrap; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; border: none; }
.btn-primary { background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #FFFFFF; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
.btn-secondary { background-color: var(--secondary-color); color: #FFFFFF; }
.btn-secondary:hover { background-color: #5A92E0; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); width: 100%; }
.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-link { color: #FFFFFF; text-decoration: none; padding: 10px 15px; font-weight: bold; transition: background-color 0.3s ease; white-space: nowrap; }
.nav-link:hover { background-color: #225DD9; border-radius: 3px; }
.hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; cursor: pointer; padding: 5px; z-index: 1001; }
.hamburger-menu span { display: block; height: 3px; width: 100%; background-color: #FFFFFF; border-radius: 3px; transition: all 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
.mobile-nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; }
.site-footer { background-color: #1F2D3D; color: #D6E2FF; padding: 40px 0 20px; font-size: 14px; }
.footer-grid-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 20px; }
.footer-col { padding: 10px 0; }
.footer-logo { font-size: 24px; font-weight: bold; color: #FFFFFF; text-decoration: none; display: block; margin-bottom: 15px; }
.footer-description { margin-bottom: 15px; line-height: 1.8; color: #D6E2FF; word-wrap: break-word; overflow-wrap: break-word; }
.footer-col h3 { color: #FFFFFF; font-size: 18px; margin-bottom: 20px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #D6E2FF; text-decoration: none; transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--secondary-color); }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; color: #D6E2FF; padding-left: 20px; padding-right: 20px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-slot-top-row, .footer-slot-mid, .footer-slot-mid-row, .footer-slot-bottom { max-width: 1200px; margin: 0 auto; padding: 0 20px; min-height: 1px; }
.footer-slot-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-slot-mid-col { min-height: 1px; }

@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { overflow-x: hidden; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  .header-top { min-height: 60px !important; height: 60px !important; display: flex; justify-content: space-between; align-items: center; padding: 0 15px; }
  .header-container { width: 100%; max-width: none; padding: 0; position: relative; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; position: absolute; left: 50%; transform: translateX(-50%); height: 100%; max-width: calc(100% - 100px); }
  .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; min-height: 48px; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #3876F0; }
  .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: var(--header-offset); left: 0; width: 80%; max-width: 300px; height: calc(100% - var(--header-offset)); background-color: var(--primary-color); flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 20px; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { flex-direction: column; align-items: flex-start; width: 100%; padding: 0; }
  .nav-link { width: 100%; padding: 12px 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-link:last-child { border-bottom: none; }
  .hamburger-menu { display: flex; position: relative; z-index: 1002; margin-right: auto; }
  .footer-grid-container { grid-template-columns: 1fr; padding: 0 15px; }
  .footer-col { text-align: center; }
  .footer-col h3 { margin-top: 20px; }
  .footer-nav { text-align: center; }
  .footer-slot-top-row, .footer-slot-mid, .footer-slot-mid-row, .footer-slot-bottom { padding: 0 15px; }
  .footer-slot-mid-row { grid-template-columns: 1fr; }
  .footer-bottom { padding-left: 15px; padding-right: 15px; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
