:root {
  --primary: #11A84E;
  --secondary: #22C768;
  --bg-card: #11271B;
  --bg-body: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
  --header-offset: 122px;
  --header-top-h: 68px;
  --main-nav-h: 52px;
}
body {
  padding-top: var(--header-offset);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-family: 'Inter', 'Segoe UI', sans-serif;
}
.header-top {
  background: linear-gradient(180deg, #0A4B2C 0%, #11271B 100%);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--header-top-h);
  padding: 8px 24px;
  gap: 16px;
  box-sizing: border-box;
}
.logo {
  display: inline-block;
  font-size: 34px;
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(242, 193, 78, 0.32);
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: lowercase;
}
.logo:hover {
  color: var(--glow);
  text-shadow: 0 0 24px rgba(87, 227, 141, 0.4);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-actions .btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.header-actions .btn-login {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #FFFFFF;
}
.header-actions .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(42, 209, 111, 0.5);
}
.header-actions .btn-register {
  background: linear-gradient(135deg, #F2C14E 0%, #E5A623 100%);
  color: #08160F;
}
.header-actions .btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(242, 193, 78, 0.55);
}
.header-actions .btn-download {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--glow);
}
.header-actions .btn-download:hover {
  background: rgba(87, 227, 141, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(87, 227, 141, 0.25);
}
.main-nav {
  background: linear-gradient(90deg, #08160F 0%, #0A4B2C 45%, #08160F 100%);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  min-height: var(--main-nav-h);
  width: 100%;
  box-sizing: border-box;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px 16px;
  box-sizing: border-box;
}
.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.22s ease;
  white-space: nowrap;
  display: inline-block;
  border: 1px solid transparent;
}
.nav-link:hover {
  color: var(--gold);
  background: rgba(242, 193, 78, 0.08);
  border-color: rgba(242, 193, 78, 0.2);
}
.nav-link.active {
  color: var(--glow);
  font-weight: 700;
}
.hamburger-menu {
  display: none;
  border: none;
  background: rgba(87, 227, 141, 0.08);
  border: 1px solid rgba(87, 227, 141, 0.35);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1002;
}
.hamburger-menu .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--glow);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger-menu.active {
  border-color: var(--gold);
  background: rgba(242, 193, 78, 0.12);
}
.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--gold);
}
.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--gold);
}
.mobile-header-actions {
  display: none;
  width: 100%;
  border-top: 1px solid rgba(46, 122, 78, 0.5);
}
.site-footer {
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
  border-top: 2px solid var(--primary);
  width: 100%;
  clear: both;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 40px;
}
.footer-col .footer-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
  text-transform: lowercase;
}
.footer-col .footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 20px;
}
.footer-heading {
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(242, 193, 78, 0.3);
  display: inline-block;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: var(--glow);
  padding-left: 5px;
}
.footer-certifications {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.cert-badge {
  border: 1px solid var(--primary);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(17, 168, 78, 0.12);
}
.footer-bottom {
  padding-top: 20px;
  text-align: center;
}
.footer-disclaimer p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 0 10px;
}
.footer-copyright p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}
.footer-copyright p a {
  color: var(--text-main);
  text-decoration: none;
}
.footer-copyright p a:hover {
  color: var(--gold);
}
body.no-scroll {
  overflow: hidden !important;
}
.mobile-menu-overlay {
  display: none;
}
@media (min-width: 769px) {
  .mobile-header-actions {
    display: none !important;
  }
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .site-header {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  }
  .header-top {
    background: linear-gradient(180deg, #0A4B2C 0%, #11271B 100%);
  }
  .header-container {
    width: 100%;
    max-width: none;
    min-height: 60px;
    padding: 6px 12px;
    gap: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    order: 2;
    font-size: 24px;
    margin: 0 auto;
    flex: 1;
    text-align: center;
  }
  .hamburger-menu {
    display: flex;
    order: 1;
    width: 42px;
    height: 42px;
    margin-left: 0;
    margin-right: 0;
  }
  .header-actions {
    display: none;
  }
  .mobile-header-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid rgba(46, 122, 78, 0.5);
    width: 100%;
    box-sizing: border-box;
  }
  .mobile-header-actions .btn {
    flex: 1;
    max-width: 120px;
    padding: 9px 8px;
    font-size: 12px;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
    border-right: 1px solid var(--border-color);
    z-index: 1003;
    overflow-y: auto;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 84px;
    transform: translateX(-110%);
    transition: transform 0.4s ease;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.45);
  }
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0 40px;
    max-width: none;
    width: 100%;
  }
  .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(46, 122, 78, 0.25);
  }
  .nav-link:hover, .nav-link.active {
    background: rgba(242, 193, 78, 0.06);
    border-left: 3px solid var(--gold);
    border-bottom-color: rgba(46, 122, 78, 0.25);
    color: var(--gold);
    border-radius: 0;
  }
  .header-container {
    min-height: 60px;
    padding: 6px 12px;
  }
  .footer-container {
    padding: 36px 16px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }
  .footer-col {
    text-align: left;
  }
  .footer-heading {
    margin-bottom: 10px;
    font-size: 14px;
  }
  .footer-links li {
    margin-bottom: 5px;
  }
  .footer-links a {
    font-size: 13px;
  }
  .footer-bottom {
    padding-top: 12px;
  }
  .footer-disclaimer p {
    font-size: 11px;
  }
  .no-scroll {
    overflow: hidden !important;
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1004;
    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;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
