:root {
  --header-offset: 122px;
}
body {
  padding-top: var(--header-offset);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(31, 45, 61, 0.15);
  z-index: 1000;
  min-height: auto;
}
.header-top {
  background-color: #1F2D3D;
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  min-height: 68px;
  box-sizing: border-box;
}
.logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}
.logo:hover {
  color: #A5C4FF;
}
.desktop-nav-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  color: #FFFFFF;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-login {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}
.btn-download {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}
.main-nav {
  background-color: #FFFFFF;
  width: 100%;
  display: flex;
  flex-direction: row;
  position: static;
  border-top: 2px solid #D6E2FF;
  border-bottom: 1px solid #D6E2FF;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  gap: 4px;
  min-height: 52px;
  width: 100%;
  box-sizing: border-box;
}
.nav-link {
  display: inline-block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1F2D3D;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.4;
  white-space: nowrap;
}
.nav-link:hover {
  background-color: rgba(47, 107, 255, 0.1);
  color: #2F6BFF;
}
.nav-link.active {
  color: #2F6BFF;
  background-color: rgba(47, 107, 255, 0.08);
  font-weight: 700;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.mobile-nav-buttons {
  display: none;
}
.site-footer {
  background-color: #1F2D3D;
  color: #FFFFFF;
  padding: 50px 0 0;
  margin-top: 60px;
  border-top: 4px solid #2F6BFF;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding: 0 20px 40px;
  box-sizing: border-box;
}
.footer-column {
  display: flex;
  flex-direction: column;
}
.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #A5C4FF;
  margin: 0;
}
.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  color: #A5C4FF;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: #FFFFFF;
}
.footer-bottom {
  background-color: #16202E;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.copyright-text,
.disclaimer-text {
  font-size: 13px;
  color: #A5C4FF;
  margin: 0;
}

/* 移动端媒体查询 */
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding: 0 15px;
    min-height: 60px;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    padding: 0 15px;
  }
  .logo {
    display: block;
    flex: 1;
    text-align: center;
    font-size: 24px;
    order: 2;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 108px);
    background-color: #FFFFFF;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
    border-top: none;
    border-right: 1px solid #D6E2FF;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 10px 0;
    gap: 0;
    width: 100%;
  }
  .nav-link {
    padding: 14px 20px;
    border-bottom: 1px solid #E8EEF8;
    font-size: 15px;
    border-radius: 0;
  }
  .nav-link:hover {
    background-color: rgba(47, 107, 255, 0.05);
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    order: 1;
    z-index: 1001;
    flex-shrink: 0;
  }
  .hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: #1F2D3D;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 48px;
    align-items: center;
    position: relative;
    z-index: 1000;
  }
  .mobile-nav-buttons .btn {
    padding: 8px 14px;
    font-size: 13px;
    flex: 1;
    max-width: 140px;
  }
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1001;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .site-footer {
    padding-top: 40px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 20px 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }
  .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.no-scroll {
  overflow: 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;
}
