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; --bg-card: #FFFFFF; --bg-main: #F4F7FB; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --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(--bg-main); }

.header-top { box-sizing: border-box; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); width: 100%; color: #FFFFFF; }
.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 20px; }

.logo { font-size: 28px; font-weight: bold; color: #FFFFFF; text-decoration: none; display: block; padding: 0; margin: 0; 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: var(--bg-main); width: 100%; padding: 0 20px; justify-content: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 25px; background: var(--btn-gradient); color: #FFFFFF; text-decoration: none; font-weight: bold; white-space: nowrap; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 15px; }
.btn:hover { opacity: 0.9; box-shadow: 0 4px 8px rgba(0,0,0,0.2); }

.main-nav { box-sizing: border-box; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--secondary-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; position: relative; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; }
.nav-list li { margin: 0; }
.nav-link { color: #FFFFFF; text-decoration: none; font-weight: bold; padding: 8px 0; display: block; transition: color 0.3s ease; font-size: 15px; white-space: nowrap; }
.nav-link:hover { color: var(--border-color); }

.hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
.hamburger-icon { display: block; width: 24px; height: 2px; background: #FFFFFF; position: relative; transition: background 0.3s ease; }
.hamburger-icon::before, .hamburger-icon::after { content: ''; display: block; width: 24px; height: 2px; background: #FFFFFF; position: absolute; left: 0; transition: transform 0.3s ease, top 0.3s ease; }
.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { top: 8px; }
.hamburger-menu.active .hamburger-icon { background: transparent; }
.hamburger-menu.active .hamburger-icon::before { transform: rotate(45deg); top: 0; }
.hamburger-menu.active .hamburger-icon::after { transform: rotate(-45deg); top: 0; }

.overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; }
.overlay.active { display: block; }

.site-footer { background-color: var(--primary-color); color: #FFFFFF; padding: 40px 20px 20px; font-size: 14px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto 30px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 30px; }
.footer-col h6 { font-size: 16px; margin-bottom: 15px; color: #FFFFFF; }
.footer-col p { margin-bottom: 15px; line-height: 1.8; overflow-wrap: break-word; word-wrap: break-word; }
.footer-logo { font-size: 24px; font-weight: bold; color: #FFFFFF; text-decoration: none; display: block; margin-bottom: 15px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #FFFFFF; text-decoration: none; transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--secondary-color); }

.footer-bottom { max-width: 1200px; margin: 0 auto; text-align: center; padding-top: 20px; font-size: 13px; }
.footer-bottom p { margin: 0; }

.footer-slot-anchor-inner { min-height: 1px; }

@media (max-width: 1024px) {
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-col:nth-child(3), .footer-col:nth-child(4) { grid-column: auto; }
}

@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px !important; }
  .header-container { padding: 0 15px; position: relative; justify-content: center; /* Center logo */ }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  
  .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--bg-main); }
  .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: calc(100vh - var(--header-offset)); position: fixed; top: var(--header-offset); left: 0; width: 280px; max-width: calc(100% - 60px); background-color: var(--primary-color); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; display: none; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
  .main-nav.active { transform: translateX(0); display: flex; }
  .nav-container { width: 100%; max-width: none; padding: 20px 15px; height: auto; flex-direction: column; align-items: flex-start; }
  .nav-list { flex-direction: column; width: 100%; gap: 0; }
  .nav-list li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-list li:last-child { border-bottom: none; }
  .nav-link { padding: 12px 0; font-size: 16px; width: 100%; }

  .hamburger-menu { display: block; left: 15px; }
  /* .hamburger-menu.active { left: auto; right: 15px; } */ /* Removed as per instruction to align left always */

  .site-header { background-color: var(--primary-color); }
  .site-footer { padding: 30px 15px 15px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 20px; padding-bottom: 20px; }
  .footer-col { text-align: center; }
  .footer-logo { margin-bottom: 10px; }
  .footer-description { margin-bottom: 10px; }
  .footer-nav { text-align: center; }
  .footer-nav li { margin-bottom: 5px; }

  .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;
}
