:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-bg: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --bg-color: #F4F7FB;
  --text-main: #1F2D3D;
  --text-black: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --header-offset: 122px;
  --header-top-height: 68px;
  --nav-height: 52px;
  --mobile-btn-height: 48px;
  --mobile-offset-total: 110px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  padding-top: var(--header-offset);
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #142C6E;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-top {
  background-color: #0D1F52;
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  min-height: var(--header-top-height);
}

.logo {
  display: inline-block;
  font-size: 36px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(180deg, #FFD700, #FFAA00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  letter-spacing: 2px;
  line-height: 1.2;
}

.logo:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 8px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 40px;
}

.btn-primary {
  background: var(--button-bg);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(47, 107, 255, 0.3);
  border-radius: 25px;
}

.btn-primary:hover {
  box-shadow: 0 6px 14px rgba(47, 107, 255, 0.5);
  transform: translateY(-2px);
}

.btn-primary-light {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: 700;
  box-shadow: none;
  border-radius: 25px;
}

.btn-primary-light:hover {
  background: #f0f5ff;
  color: #1F5090;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.2);
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #F4F7FB;
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--primary-color);
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  min-height: var(--nav-height);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0 15px;
}

.nav-link {
  display: block;
  text-decoration: none;
  color: #0D1F52;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 18px;
  transition: color 0.3s;
  border-radius: 4px;
  line-height: 1.4;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: #e8efff;
}

.nav-link:active {
  color: #1F5090;
}

.mobile-nav-buttons {
  display: none;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: none;
  gap: 6px;
  padding: 10px;
  position: absolute;
  left: 15px;
  top: 10px;
  z-index: 1001;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-overlay {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --header-offset: calc(60px + 48px);
  }
  
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    height: auto;
    z-index: 1000;
  }
  
  .header-top {
    background-color: #0D1F52;
    width: 100%;
    position: relative;
  }
  
  .header-container {
    width: 100%;
    max-width: none;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
  }
  
  .logo {
    font-size: 30px;
    display: block;
    margin: 0 auto;
    text-align: center;
  }
  
  .desktop-nav-buttons {
    display: none;
  }
  
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #F4F7FB;
    width: 290px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    border-right: 2px solid var(--primary-color);
    border-bottom: none;
    padding-top: 85px;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }
  
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  
  .nav-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    color: #1F2D3D;
    font-size: 17px;
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    white-space: normal;
  }
  
  .nav-link:hover {
    background-color: #e8efff;
    color: var(--primary-color);
  }
  
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
    gap: 5px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1001;
    background-color: transparent;
    border: none;
    padding: 8px;
  }
  
  .mobile-nav-buttons {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    padding: 8px 10px;
    background-color: #0D1F52;
    width: 100%;
    min-height: 48px;
    z-index: 1000;
  }
  
  .mobile-nav-buttons .btn {
    font-size: 14px;
    padding: 8px 15px;
    min-height: 36px;
    white-space: nowrap;
    flex: 1;
  }
  
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }
  
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  
  body {
    overflow-x: hidden;
  }
  
  .site-footer {
    margin-bottom: 0;
  }
  
  .footer-container {
    flex-direction: column;
    flex-wrap: wrap;
  }
  
  .footer-column {
    width: 50%;
    padding: 15px 10px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 15px 10px;
  }
  
  .footer-nav {
    margin-bottom: 20px;
  }
}

.site-footer {
  background-color: #0D1F52;
  color: #FFFFFF;
  margin-top: 50px;
  border-top: 4px solid var(--primary-color);
  font-family: inherit;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 40px 30px 30px;
}

.footer-column {
  min-width: 180px;
  margin-bottom: 30px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-block;
  font-size: 32px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(90deg, #6FA3FF, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.footer-description {
  color: #a4a4d6;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.footer-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: capitalize;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links {
  list-style: none;
  padding-left: 8px;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link {
  color: #a4a4d6;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.footer-bottom {
  background-color: #0A1840;
  text-align: center;
  padding: 20px 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #1F3AB0;
}

.footer-copyright {
  margin: 0;
  color: #8f99cc;
  font-size: 15px;
}

.footer-disclaimer {
  background-color: #080F30;
  text-align: center;
  padding: 12px 15px;
  width: 100%;
  border-top: 1px solid #253A8C;
}

.footer-disclaimer-text {
  margin: 0;
  color: #7a85aa;
  font-style: italic;
  font-size: 15px;
  font-weight: 700;
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
