:root { --primary: #E53935; --primary-light: #FF5A4F; --btn-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); --bg-page: #F5F7FA; --card-bg: #FFFFFF; --text-main: #333333; --border-color: #E0E0E0; --header-offset: 122px; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-page); color: var(--text-main); }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #B71C1C 0%, #E53935 100%); }
.header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; }
.logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 0.5px; color: #FFFFFF; text-decoration: none; line-height: 1; text-transform: lowercase; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.mobile-nav-buttons { display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; cursor: pointer; font-weight: 700; border-radius: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn-primary { background: var(--btn-gradient); color: #FFFFFF; padding: 10px 22px; font-size: 15px; box-shadow: 0 4px 12px rgba(229,57,53,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(229,57,53,0.5); }
.btn-outline { background: #FFFFFF; color: #E53935; border: 2px solid #FFFFFF; padding: 8px 20px; font-size: 15px; }
.btn-outline:hover { background: #FFEBEE; transform: translateY(-2px); }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.hamburger-menu span { display: block; width: 26px; height: 3px; background: #FFFFFF; border-radius: 2px; 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 { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; border-top: 3px solid #E53935; }
.nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; }
.nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: wrap; height: 100%; }
.nav-menu li { height: 100%; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 600; color: #333333; text-decoration: none; border-bottom: 3px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; white-space: nowrap; }
.nav-link:hover { color: #E53935; border-bottom-color: #E53935; }
.menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.menu-overlay.active { display: block; opacity: 1; }
.site-footer { background: #1F1F1F; color: #CFCFCF; width: 100%; margin-top: 40px; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top-row { padding: 0; }
.footer-main { padding: 48px 0 24px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.footer-col { min-width: 0; }
.footer-about .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; letter-spacing: 0.5px; text-transform: lowercase; }
.footer-description { font-size: 14px; line-height: 1.7; color: #BDBDBD; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; position: relative; padding-bottom: 8px; }
.footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--btn-gradient); border-radius: 2px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav li { margin: 0; }
.footer-nav a { color: #BDBDBD; text-decoration: none; font-size: 14px; line-height: 1.6; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: #FF5A4F; padding-left: 4px; }
.footer-mid { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-bottom { background: #141414; border-top: 1px solid #2E2E2E; padding: 20px 0; }
.footer-copyright { margin: 0; font-size: 14px; color: #9E9E9E; text-align: center; }
.footer-slot-anchor-inner { min-height: 1px; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; }
  .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 24px; max-width: calc(100% - 100px); }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .hamburger-menu { display: flex; position: relative; z-index: 2; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #B71C1C; }
  .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; width: 78%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; flex-direction: column; align-items: stretch; justify-content: flex-start; background: #FFFFFF; z-index: 1000; box-shadow: 4px 0 20px rgba(0,0,0,0.25); overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; padding-top: 76px; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0 0 24px; }
  .nav-menu { flex-direction: column; align-items: stretch; width: 100%; gap: 0; height: auto; }
  .nav-menu li { width: 100%; height: auto; border-bottom: 1px solid var(--border-color); }
  .nav-link { width: 100%; height: auto; padding: 14px 20px; font-size: 15px; border-bottom: none; border-left: 3px solid transparent; justify-content: flex-start; }
  .nav-link:hover { border-bottom-color: transparent; border-left-color: #E53935; background: #FFF5F5; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { padding: 32px 0 20px; }
  .footer-container { padding: 0 16px; }
  .footer-description { font-size: 13px; }
  .footer-bottom { padding: 16px 0; }
  .footer-copyright { font-size: 13px; }
  .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;
}
