:root {
  --primary: #113B7A;
  --secondary: #1D5FD1;
  --button-bg: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --text-light: #F3F8FF;
  --header-offset: 166px;
}
body {
  margin: 0;
  padding-top: var(--header-offset);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #08162B;
  overflow-x: hidden;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #08162B;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid #244D84;
}
.header-top {
  background: linear-gradient(135deg, #0B2A5B 0%, #113B7A 100%);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  min-height: 68px;
}
.logo {
  color: #F3F8FF;
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #F2C14E 0%, #F3F8FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(79, 168, 255, 0.3);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
}
.btn-primary {
  background: var(--button-bg);
  color: #fff;
  box-shadow: 0 4px 15px rgba(79, 168, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 168, 255, 0.5);
}
.btn-gold {
  background: linear-gradient(180deg, #F2C14E 0%, #E0A82E 100%);
  color: #08162B;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}
.main-nav {
  display: flex;
  background: #10233F;
  border-top: 1px solid #1B3357;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  width: 100%;
}
.nav-link {
  color: #AFC4E8;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #F3F8FF;
  background: rgba(29, 95, 209, 0.35);
}
.nav-highlight {
  color: #F2C14E;
  font-weight: 700;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.mobile-nav-buttons {
  display: none;
}
.site-footer {
  background: #08162B;
  color: #AFC4E8;
  border-top: 1px solid #244D84;
  margin-top: 40px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
}
.footer-brand h3, .footer-nav-col h3 {
  color: #F3F8FF;
  font-size: 18px;
  margin-bottom: 16px;
}
.footer-brand p {
  line-height: 1.6;
  font-size: 14px;
  margin: 12px 0;
}
.footer-logo {
  color: #F2C14E;
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}
.footer-nav-col h3 {
  border-bottom: 2px solid #244D84;
  padding-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #AFC4E8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-nav a:hover {
  color: #F2C14E;
}
.footer-bottom {
  border-top: 1px solid #1B3357;
  padding: 16px 0 20px;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  padding-bottom: 16px;
}
.footer-bottom p {
  margin: 4px 0;
}
.footer-certificate {
  display: inline-flex;
  align-items: center;
  background: rgba(29, 95, 209, 0.2);
  border: 1px solid #244D84;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: #AFC4E8;
  margin-top: 12px;
}
.page-content {
  padding-top: 10px;
  max-width: 100%;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 146px;
  }
  body {
    padding-top: var(--header-offset);
    overflow-x: hidden;
  }
  .site-header {
    min-height: auto;
  }
  .header-container {
    width: 100%;
    max-width: none;
    min-height: 60px;
    padding: 12px 16px;
    position: relative;
    justify-content: center;
  }
  .logo {
    font-size: 22px;
    text-align: center;
    margin: 0 auto;
    order: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header-actions {
    display: none;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-right: 16px;
    order: 0;
    z-index: 1002;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
  }
  .hamburger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: #F3F8FF;
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .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);
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #10233F;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 80px;
    transition: transform 0.3s ease;
    z-index: 1001;
    border-right: 1px solid #244D84;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.3);
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    width: 100%;
  }
  .nav-link {
    padding: 16px 20px;
    font-size: 16px;
    border-bottom: 1px solid #1B3357;
    color: #F3F8FF;
    display: block;
  }
  .nav-link:hover {
    background: rgba(29, 95, 209, 0.2);
  }
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #08162B;
    border-bottom: 1px solid #1B3357;
    width: 100%;
    min-height: 48px;
    position: relative;
    top: 60px;
    z-index: 999;
  }
  .mobile-nav-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
    flex: 1;
    max-width: 140px;
  }
  .site-footer .footer-container {
    padding: 24px 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-brand p {
    font-size: 14px;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  .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;
}
