:root {
  --header-offset: 166px;
  --primary: #2F6BFF;
  --primary-dark: #1E4FCC;
  --primary-light: #6FA3FF;
  --secondary-light: #EAF1FF;
  --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --bg: #F4F7FB;
  --text-main: #1F2D3D;
  --border: #D6E2FF;
  --glow: #A5C4FF;
}
body {
  padding-top: var(--header-offset);
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 16px rgba(47, 107, 255, 0.25);
  border-bottom: 1px solid var(--border);
}
.header-top {
  background-color: #1A3B8C;
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 24px;
  padding-right: 24px;
  min-height: 68px;
}
.logo {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
}
.logo:hover {
  color: var(--glow);
}
.desktop-nav-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--btn-gradient);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #1E4FCC 100%);
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.6);
}
.btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}
.main-nav {
  background-color: #FFFFFF;
  width: 100%;
  display: flex;
  flex-direction: row;
  border-top: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-container a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}
.nav-container a:hover {
  color: var(--primary);
  background-color: var(--secondary-light);
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background-color: #1A3B8C;
  color: #FFFFFF;
  padding-top: 48px;
  margin-top: 60px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 24px 40px;
}
.footer-column {
  flex: 1;
  min-width: 200px;
}
.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 12px 0 0;
}
.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-nav a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}
.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom p {
  margin: 0;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 146px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 60px;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 10px 15px;
    gap: 0;
  }
  .nav-container a {
    display: block;
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
  }
  .nav-container a:last-child {
    border-bottom: none;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: #FFFFFF;
    flex-direction: column;
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .logo {
    font-size: 20px;
    display: block;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: #1A3B8C;
    width: 100%;
    z-index: 1000;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 1004;
    background: transparent;
    border: none;
    padding: 0;
  }
  .hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  .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);
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  .footer-container {
    flex-direction: column;
    gap: 32px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .footer-bottom {
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
}
