:root { --header-offset: 164px; --primary: #2F6BFF; --primary-light: #6FA3FF; --primary-dark: #1E4FC4; --bg: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --border-color: #D6E2FF; --glow: #A5C4FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg); color: var(--text-main); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); display: flex; flex-direction: column; } .header-top { background-color: var(--primary); width: 100%; min-height: 68px; display: flex; align-items: center; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; width: 100%; padding-left: 30px; padding-right: 30px; box-sizing: border-box; } .logo { font-size: 32px; font-weight: 900; color: #ffffff !important; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); line-height: 1.2; } .logo:hover { color: var(--glow) !important; } .desktop-nav-buttons { display: flex; gap: 10px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 25px; font-weight: 700; font-size: 15px; text-decoration: none !important; border: none; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; min-height: 42px; box-sizing: border-box; } .btn-register { background: var(--btn-gradient); color: #ffffff !important; box-shadow: 0 4px 12px rgba(42, 98, 255, 0.5); } .btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(42, 98, 255, 0.6); } .btn-login { background: var(--card-bg); color: var(--primary) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); } .btn-login:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2); } .main-nav { background-color: #ffffff; width: 100%; display: flex; min-height: 52px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 0; padding: 0 20px; width: 100%; } .nav-link { padding: 0 15px; font-weight: 600; color: var(--text-main); text-decoration: none !important; font-size: 15px; display: inline-flex; align-items: center; height: 52px; border-bottom: 3px solid transparent; transition: all 0.3s ease; line-height: 1; } .nav-link:hover { color: var(--primary); border-bottom-color: var(--primary); background-color: transparent; } .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); } .mobile-nav-buttons { display: none; } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } .site-footer { background-color: #1E2A45; color: #ffffff; width: 100%; padding-top: 50px; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 30px; padding: 0 30px 30px; } .footer-logo { font-size: 28px; font-weight: 900; color: #ffffff !important; text-decoration: none; letter-spacing: 0.5px; text-transform: uppercase; } .footer-desc { font-size: 14px; line-height: 1.8; color: #A0AED0; margin: 15px 0 12px; } .footer-safe { font-size: 14px; color: #ffd166; font-weight: 600; margin: 0; } .footer-title { font-size: 17px; font-weight: 700; margin-bottom: 22px; color: #ffffff; position: relative; padding-bottom: 12px; } .footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: var(--primary); border-radius: 2px; } .footer-links { padding-left: 10px; } .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; } .footer-nav li a { color: #A0AED0; text-decoration: none !important; font-size: 14px; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; } .footer-nav li a::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background-color: var(--primary); transition: all 0.3s ease; opacity: 0; } .footer-nav li a:hover { color: #ffffff; padding-left: 5px; } .footer-nav li a:hover::before { opacity: 1; } .footer-contact { padding-right: 10px; } .footer-contact p { font-size: 14px; color: #A0AED0; line-height: 1.8; margin: 0; display: flex; align-items: flex-start; gap: 10px; } .footer-contact p svg { flex-shrink: 0; margin-top: 3px; } .footer-phone, .footer-address { margin-bottom: 14px; } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 15px; text-align: center; width: 100%; box-sizing: border-box; background-color: #16203A; } .footer-bottom p { font-size: 14px; color: #A0AED0; margin: 0; } @media (max-width: 768px) { :root { --header-offset: 146px; } body { overflow-x: hidden; } .site-header { overflow-y: auto; } .header-top { min-height: 60px; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; } .logo { font-size: 24px; } .desktop-nav-buttons { display: none; } .main-nav { display: none; position: fixed; top: 108px; left: 0; width: 85%; max-width: 360px; height: calc(100vh - 108px); z-index: 1001; flex-direction: column; justify-content: flex-start; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; background-color: #ffffff; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15); min-height: calc(100vh - 108px); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; justify-content: flex-start; padding: 15px 0; gap: 0; width: 100%; max-width: none; align-items: stretch; } .nav-link { height: auto; padding: 16px 25px; font-size: 16px; border-bottom: 2px solid #f0f3f8; border-left: 3px solid transparent; } .nav-link:hover { background-color: var(--bg); border-left-color: var(--primary); border-bottom: 2px solid #f0f3f8; } .nav-link.active { background-color: var(--bg); border-left-color: var(--primary); border-bottom: 2px solid #f0f3f8; } .mobile-nav-buttons { display: flex; gap: 8px; padding: 8px 15px; background-color: #EAF0FF; border-bottom: 1px solid var(--border-color); z-index: 1000; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } .mobile-nav-buttons .btn { flex: 1; padding: 8px 10px; font-size: 12px; min-height: 36px; text-align: center; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; cursor: pointer; background: transparent; border: none; outline: none; position: absolute; top: 7px; left: 8px; z-index: 1002; padding: 0; } .hamburger-menu span { display: block; width: 24px; height: 2.5px; background-color: #ffffff; margin: 3px 0; transition: all 0.3s ease; border-radius: 2px; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); } .mobile-menu-overlay { display: none; position: fixed; top: 108px; left: 0; width: 100%; height: calc(100vh - 108px); background-color: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; } .product-button-row { display: flex; justify-content: space-around; align-items: center; padding: 6px 0; background: #FFFFFF; border-bottom: 2px solid var(--primary); } .footer-container { grid-template-columns: 1fr; gap: 35px; padding: 0 15px 30px; text-align: left; } .footer-links, .footer-contact { padding-left: 0; padding-right: 0; } .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; } .footer-nav li a { padding: 4px 0; } .footer-contact p { margin-bottom: 10px; } .footer-bottom { padding: 15px 10px; font-size: 12px; } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .mobile-nav-buttons .btn { animation: fadeInDown 0.5s ease forwards; } .mobile-nav-buttons .btn:first-child { animation-delay: 0.1s; } .mobile-nav-buttons .btn:last-child { animation-delay: 0.2s; } .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 (min-width: 769px) and (max-width: 1024px) { .header-container { max-width: 900px; padding-left: 20px; padding-right: 20px; } .nav-container { max-width: 900px; padding-left: 15px; padding-right: 15px; gap: 0; } .nav-link { padding: 0 10px; font-size: 14px; } .btn { padding: 10px 15px; font-size: 13px; } .footer-container { padding: 0 20px 30px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
