/**
 * ==============================================================================
 * 易合成 AIPHACAS — 全站公共样式库 (COMMON DESIGN SYSTEM)
 * 包含：基础重置、全局变量、全屏导航栏、通栏下拉菜单、开启合作CTA板块、标准页脚
 * ==============================================================================
 */

:root {
  --brand-navy-dark: #13193a;
  --brand-navy: #1a2354;
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-green: #2ec99b;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #edf2f7;
  --border-dark: rgba(255, 255, 255, 0.1);
  --container-max-width: 1400px;
}

/* ====== 基础重置 & 通用容器 ====== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  color: #1a2332;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.site-container,
.customContainer {
  max-width: var(--container-max-width) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 36px !important;
  padding-right: 36px !important;
  box-sizing: border-box !important;
}

@media (max-width: 992px) {
  .site-container,
  .customContainer {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ==============================================================================
 * 通用 顶部拆分 Hero (Split Hero) 
 * ============================================================================== */
.page-split-hero {
  display: flex;
  height: 500px;
  min-height: 500px;
  background-color: #ffffff;
  border-bottom: 1px solid #eef2f6;
}

.split-hero-left {
  /* 宽屏最多 1100px, 中等宽度按比例收: 原来写死 1100px, 1401~1800px(1440/1536/1600 等常见宽度)右栏只剩约 110px, 文字被挤成一窄列 */
  flex: 0 0 min(1100px, 57%);
  width: min(1100px, 57%);
  height: 500px;
  background-color: #e6eaf0; /* 灰蓝色占位 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.split-hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 8%;
}

.split-hero-content {
  max-width: 600px;
}

.split-hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.split-hero-content p {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 22px;
}

.split-hero-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1400px) {
  .split-hero-left {
    flex: 0 0 50%;
    width: 50%;
  }
}

@media (max-width: 992px) {
  .page-split-hero {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  .split-hero-left {
    flex: none;
    height: 350px;
    width: 100%;
  }
  .split-hero-right {
    flex: none;
    width: 100%;
    padding: 50px 24px;
  }
}

/* ==============================================================================
 * 1. 顶部导航栏系统 (HEADER & NAVBAR)
 * ============================================================================== */

#header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 999 !important;
  width: 100% !important;
  height: 100px !important;
  min-height: 100px !important;
  max-height: 100px !important;
  overflow: visible !important;
  background: #ffffff !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid var(--border-light) !important;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, height 0.35s ease, border-color 0.35s ease !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 首页初始未滑动状态：透明背景 */
#header.header-transparent,
#header.white {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 1px solid transparent !important;
}

/* 首页未滑动/透明默认状态下：导航文字为纯白色，箭头为浅白色，品牌名称为纯白色，Logo 为彩色版本 */
#header.white .custom-nav-item > div[class*="label"],
#header.white .custom-nav-item > a[class*="label"],
#header.header-transparent .custom-nav-item > div[class*="label"],
#header.header-transparent .custom-nav-item > a[class*="label"] {
  color: #ffffff !important;
}

#header.white .fa-chevron-down,
#header.header-transparent .fa-chevron-down {
  color: rgba(255, 255, 255, 0.85) !important;
}

#header.white .header-brand-name,
#header.header-transparent .header-brand-name {
  color: #ffffff !important;
}

#header.white .header-brand .logo-default,
#header.header-transparent .header-brand .logo-default {
  display: block !important;
}

#header.white .header-brand .logo-dark-mode,
#header.header-transparent .header-brand .logo-dark-mode {
  display: none !important;
}

/* 📍 【核心：仅透明态 hover 时，或二级页面未滑动时导航栏变白底，滚动态不变】 */
#header.header-dropdown-open:not(.header-scrolled):not(.header-scrolled-light),
#header.white:has(.custom-nav-item:hover),
#header.header-transparent:has(.custom-nav-item:hover),
#header.secondary-page-header:not(.header-scrolled) {
  background: #ffffff !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid #edf2f7 !important;
}

/* 透明态 hover 或二级页面未滑动时的颜色保持深色 */
#header.white:has(.custom-nav-item:hover) .header-brand-name,
#header.header-transparent:has(.custom-nav-item:hover) .header-brand-name,
#header.secondary-page-header:not(.header-scrolled) .header-brand-name {
  color: var(--brand-navy) !important;
}

#header.white:has(.custom-nav-item:hover) .header-brand .logo-default,
#header.header-transparent:has(.custom-nav-item:hover) .header-brand .logo-default,
#header.secondary-page-header:not(.header-scrolled) .header-brand .logo-default {
  display: block !important;
}

#header.white:has(.custom-nav-item:hover) .header-brand .logo-dark-mode,
#header.header-transparent:has(.custom-nav-item:hover) .header-brand .logo-dark-mode,
#header.secondary-page-header:not(.header-scrolled) .header-brand .logo-dark-mode {
  display: none !important;
}

#header.white:has(.custom-nav-item:hover) .custom-nav-item > div[class*="label"],
#header.white:has(.custom-nav-item:hover) .custom-nav-item > a[class*="label"],
#header.header-transparent:has(.custom-nav-item:hover) .custom-nav-item > div[class*="label"],
#header.header-transparent:has(.custom-nav-item:hover) .custom-nav-item > a[class*="label"],
#header.secondary-page-header:not(.header-scrolled) .custom-nav-item > div[class*="label"],
#header.secondary-page-header:not(.header-scrolled) .custom-nav-item > a[class*="label"] {
  color: var(--brand-navy) !important;
}

#header.white:has(.custom-nav-item:hover) .fa-chevron-down,
#header.header-transparent:has(.custom-nav-item:hover) .fa-chevron-down,
#header.secondary-page-header:not(.header-scrolled) .fa-chevron-down {
  color: var(--brand-navy) !important;
}


.header-container {
  max-width: var(--container-max-width);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* 品牌 Logo 与名称 */
.header-brand a {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  height: 46px !important;
}

.header-brand img,
.header-brand-logo {
  height: 46px !important;
  width: auto !important;
  max-height: 46px !important;
  transition: all 0.35s ease !important;
  flex-shrink: 0 !important;
  display: block;
}

.header-brand .logo-default {
  display: block !important;
}

.header-brand .logo-dark-mode {
  display: none !important;
}

.header-brand-name {
  font-size: 21px !important;
  font-weight: 800 !important;
  margin-left: 12px !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  height: 46px !important;
  line-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  color: var(--brand-navy) !important;
  transition: all 0.35s ease !important;
  flex-shrink: 0 !important;
}

/* 隐藏移动端菜单按钮 (桌面端默认) */
.mobile-menu-toggle {
  display: none !important;
}

/* 导航项列表 (固定靠最右侧对齐) */
.header-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.header-nav-list {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  flex-wrap: nowrap !important;
}

.custom-nav-item {
  position: relative !important;
  flex-shrink: 0 !important;
  height: 100px !important;
  display: flex !important;
  align-items: center !important;
  transition: height 0.35s ease !important;
}

.custom-nav-item > div[class*="label"],
.custom-nav-item > a[class*="label"] {
  cursor: pointer !important;
  padding: 0 14px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  color: var(--brand-navy) !important;
  height: 100px !important;
  line-height: 100px !important;
  text-decoration: none !important;
  transition: color 0.3s ease, height 0.35s ease, line-height 0.35s ease, font-size 0.35s ease, padding 0.35s ease !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

#header .custom-nav-item:hover > div[class*="label"],
#header .custom-nav-item:hover > a[class*="label"],
#header.white .custom-nav-item:hover > div[class*="label"],
#header.white .custom-nav-item:hover > a[class*="label"],
#header.header-transparent .custom-nav-item:hover > div[class*="label"],
#header.header-transparent .custom-nav-item:hover > a[class*="label"],
#header.header-dropdown-open .custom-nav-item:hover > div[class*="label"],
#header.header-dropdown-open .custom-nav-item:hover > a[class*="label"],
#header.header-scrolled .custom-nav-item:hover > div[class*="label"],
#header.header-scrolled .custom-nav-item:hover > a[class*="label"],
#header.header-scrolled .custom-nav-item:hover > div,
#header.header-scrolled .custom-nav-item:hover > a:not(.login-btn),
#header.header-scrolled-light .custom-nav-item:hover > div[class*="label"],
#header.header-scrolled-light .custom-nav-item:hover > a[class*="label"],
#header.header-scrolled-light .custom-nav-item:hover > div,
#header.header-scrolled-light .custom-nav-item:hover > a:not(.login-btn),
#header.secondary-page-header .custom-nav-item:hover > div[class*="label"],
#header.secondary-page-header .custom-nav-item:hover > a[class*="label"],
.custom-nav-item:hover > div[class*="label"],
.custom-nav-item:hover > a[class*="label"],
.custom-nav-item:hover > div,
.custom-nav-item:hover > a:not(.login-btn) {
  color: #2563eb !important;
}

#header .custom-nav-item:hover .fa-chevron-down,
#header.white .custom-nav-item:hover .fa-chevron-down,
#header.header-transparent .custom-nav-item:hover .fa-chevron-down,
#header.header-dropdown-open .custom-nav-item:hover .fa-chevron-down,
#header.header-scrolled .custom-nav-item:hover .fa-chevron-down,
#header.header-scrolled-light .custom-nav-item:hover .fa-chevron-down,
#header.secondary-page-header .custom-nav-item:hover .fa-chevron-down,
.custom-nav-item:hover .fa-chevron-down {
  color: #2563eb !important;
  transform: rotate(180deg) !important;
}

/* 登录按钮：不论何种状态，始终是蓝色底 (#2353BE)，白色字 (#ffffff) */
.login-btn,
#header .login-btn,
#header.white .login-btn,
#header.header-transparent .login-btn,
#header.header-dropdown-open .login-btn,
#header.header-scrolled .login-btn,
#header.header-scrolled-light .login-btn {
  height: 38px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  background: #2353BE !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: normal !important;
  margin-left: 10px !important;
  border-radius: 6px !important;
  border: none !important;
  text-decoration: none !important;
  transition: all 0.35s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  white-space: nowrap !important;
}

.login-btn:hover,
#header .login-btn:hover,
#header.white .login-btn:hover,
#header.header-transparent .login-btn:hover,
#header.header-dropdown-open .login-btn:hover,
#header.header-scrolled .login-btn:hover,
#header.header-scrolled-light .login-btn:hover,
.custom-nav-item:hover > a.login-btn,
.custom-nav-item > a.login-btn:hover {
  background: #1b45a6 !important;
  color: #ffffff !important;
  filter: brightness(1.08) !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 4px 12px rgba(35, 83, 190, 0.35) !important;
}

/* ====== 滚动后紧凑状态 (SCROLLED COMPACT STATE: 60px) ====== */

#header.header-scrolled {
  background: var(--brand-navy) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35) !important;
  border-bottom: none !important;
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
}

#header.header-scrolled .header-container {
  height: 60px !important;
}

#header.header-scrolled .header-brand a {
  height: 32px !important;
}

#header.header-scrolled .header-brand img,
#header.header-scrolled .header-brand-logo {
  height: 32px !important;
  max-height: 32px !important;
}

#header.header-scrolled .header-brand .logo-default {
  display: none !important;
}

#header.header-scrolled .header-brand .logo-dark-mode {
  display: block !important;
}

#header.header-scrolled .header-brand-name {
  color: #ffffff !important;
  font-size: 16px !important;
  height: 32px !important;
  line-height: 32px !important;
}

#header.header-scrolled .custom-nav-item {
  height: 60px !important;
}

#header.header-scrolled .custom-nav-item > div[class*="label"],
#header.header-scrolled .custom-nav-item > a[class*="label"] {
  height: 60px !important;
  line-height: 60px !important;
  font-size: 13.5px !important;
  padding: 0 8px !important;
  color: #ffffff !important;
}

#header.header-scrolled .custom-nav-item:hover > div[class*="label"],
#header.header-scrolled .custom-nav-item:hover > a[class*="label"] {
  color: #0ea5e9 !important;
}

#header.header-scrolled .fa-chevron-down {
  color: #ffffff !important;
}

#header.header-scrolled .custom-nav-item:hover .fa-chevron-down {
  color: #0ea5e9 !important;
}

#header.header-scrolled .login-btn {
  height: 32px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
}

/* 白底吸顶中间态 (白色底，深色字) */
#header.header-scrolled-light {
  background: #ffffff !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid #edf2f7 !important;
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
}

#header.header-scrolled-light .custom-nav-item {
  height: 60px !important;
}

#header.header-scrolled-light .custom-nav-item > div[class*="label"],
#header.header-scrolled-light .custom-nav-item > a[class*="label"] {
  height: 60px !important;
  line-height: 60px !important;
  font-size: 13.5px !important;
  padding: 0 8px !important;
  color: var(--brand-navy) !important;
}

#header.header-scrolled-light .custom-nav-item:hover > div[class*="label"],
#header.header-scrolled-light .custom-nav-item:hover > a[class*="label"] {
  color: #0ea5e9 !important;
}

#header.header-scrolled-light .fa-chevron-down {
  color: var(--brand-navy) !important;
}

#header.header-scrolled-light .custom-nav-item:hover .fa-chevron-down {
  color: #0ea5e9 !important;
}

#header.header-scrolled-light .header-brand-name {
  color: var(--brand-navy) !important;
  font-size: 16px !important;
  height: 32px !important;
  line-height: 32px !important;
}

#header.header-scrolled-light .header-brand img.logo-default,
#header.header-scrolled-light .header-brand .logo-default {
  display: block !important;
  height: 32px !important;
}

#header.header-scrolled-light .header-brand img.logo-dark-mode,
#header.header-scrolled-light .header-brand .logo-dark-mode {
  display: none !important;
}

/* ==============================================================================
 * 2. 全屏通栏下拉菜单系统 (FULL-WIDTH MEGA DROPDOWN SYSTEM)
 * 📍 【核心：下拉框展示区固定为纯白色，所有状态下都是】
 * ============================================================================== */

/* 基础隐藏状态 */
.mega-dropdown-menu {
  position: fixed !important;
  top: 100px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  background: #ffffff !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12) !important;
  border-top: 1px solid var(--border-light) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-8px) !important;
  transition: opacity 0.25s ease, transform 0.25s ease, top 0.35s ease, visibility 0.25s !important;
  z-index: 998 !important;
  min-height: 300px !important;
  padding: 40px 0 !important;
  box-sizing: border-box !important;
}

/* 滚动状态下的 top 值 */
#header.header-scrolled .mega-dropdown-menu,
#header.header-scrolled-light .mega-dropdown-menu {
  top: 60px !important;
}

/* hover 时展示下拉菜单（使用 #header 提升特异性，确保覆盖所有隐藏规则） */
#header .custom-nav-item:hover .mega-dropdown-menu,
#header.white .custom-nav-item:hover .mega-dropdown-menu,
#header.secondary-page-header .custom-nav-item:hover .mega-dropdown-menu,
#header.header-scrolled .custom-nav-item:hover .mega-dropdown-menu,
#header.header-scrolled-light .custom-nav-item:hover .mega-dropdown-menu,
#header.header-dropdown-open .custom-nav-item:hover .mega-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* 未滚动时从 top:100px 展开 */
#header.white .custom-nav-item:hover .mega-dropdown-menu,
#header.secondary-page-header:not(.header-scrolled) .custom-nav-item:hover .mega-dropdown-menu {
  top: 100px !important;
}

/* 滚动后 hover 时，菜单从 60px 处开始（header 保持 60px 不变） */
#header.header-scrolled .custom-nav-item:hover .mega-dropdown-menu,
#header.header-scrolled-light .custom-nav-item:hover .mega-dropdown-menu {
  top: 60px !important;
}

.mega-dropdown-container {
  max-width: 1600px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 48px !important;
  display: flex !important;
  align-items: stretch !important;
  gap: 56px !important;
  box-sizing: border-box !important;
}

/* 左侧：二级菜单综合说明 */
.mega-dropdown-left {
  flex: 0 0 250px !important;
  width: 250px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-align: left !important;
  padding-right: 16px !important;
}

.mega-left-title,
#header.header-scrolled .mega-dropdown-menu .mega-left-title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  line-height: 1.3 !important;
  margin: 0 0 14px 0 !important;
  letter-spacing: -0.02em !important;
}

.mega-left-desc,
#header.header-scrolled .mega-dropdown-menu .mega-left-desc {
  font-size: 13.5px !important;
  color: var(--text-muted) !important;
  line-height: 1.75 !important;
  margin: 0 0 20px 0 !important;
}

.mega-left-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: auto !important;
}

.mega-left-action-link,
#header.header-scrolled .mega-dropdown-menu .mega-left-action-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--brand-blue) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.mega-left-action-link:hover,
#header.header-scrolled .mega-dropdown-menu .mega-left-action-link:hover {
  color: var(--brand-blue-hover) !important;
  transform: translateX(4px) !important;
}

.mega-left-action-link i {
  font-size: 11px !important;
  transition: transform 0.2s ease !important;
}

/* 中间：细线分割 */
.mega-dropdown-divider {
  width: 1px !important;
  background: #e2e8f0 !important;
  flex-shrink: 0 !important;
  align-self: stretch !important;
}

/* 右侧：二级菜单内容 (间距拉宽，向右偏移) */
.mega-dropdown-right {
  flex: 1 !important;
  display: grid !important;
  padding-left: 36px !important;
  text-align: left !important;
}

.mega-dropdown-right.cols-2 {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 64px !important;
}

.mega-dropdown-right.cols-3 {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 52px !important;
}

.mega-dropdown-right.cols-4 {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 44px !important;
}

.mega-dropdown-right.solutions-layout {
  grid-template-columns: minmax(180px, 1fr) minmax(360px, 2fr) minmax(360px, 2fr) !important;
  gap: 48px !important;
}

.mega-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.mega-col-subgrid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 4px 28px !important;
}

.mega-col-header,
#header.header-scrolled .mega-dropdown-menu .mega-col-header {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--brand-navy) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding-bottom: 8px !important;
  margin-bottom: 10px !important;
  border-bottom: 1.5px solid #f1f5f9 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
}

.mega-col-header:hover,
#header.header-scrolled .mega-dropdown-menu .mega-col-header:hover {
  color: var(--brand-blue) !important;
}

.mega-col-header i {
  font-size: 11px !important;
  color: var(--brand-blue) !important;
}

.mega-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 6px 8px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background 0.15s ease !important;
}

.mega-item:hover {
  background: #f8fafc !important;
}

.mega-item-name,
#header.header-scrolled .mega-dropdown-menu .mega-item-name {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  transition: color 0.15s ease !important;
}

.mega-item:hover .mega-item-name,
#header.header-scrolled .mega-dropdown-menu .mega-item:hover .mega-item-name {
  color: var(--brand-blue) !important;
}

.mega-item-desc,
#header.header-scrolled .mega-dropdown-menu .mega-item-desc {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  line-height: 1.45 !important;
  white-space: nowrap !important;
}

/* ==============================================================================
 * 3. 开启合作联系板块 (LET'S TALK / CTA BANNER)
 * ============================================================================== */

.cta-contact-section {
  position: relative !important;
  background: #ffffff !important;
  padding: 64px 0 !important;
  border-top: 1px solid var(--border-light) !important;
  border-bottom: 1px solid var(--border-light) !important;
  box-sizing: border-box !important;
}

.cta-contact-container {
  max-width: var(--container-max-width) !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
  box-sizing: border-box !important;
}

.cta-contact-text {
  flex: 1 !important;
}

.cta-eyebrow {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--brand-blue) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.cta-title {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
  letter-spacing: -0.02em !important;
}

.cta-desc {
  font-size: 15px !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.cta-contact-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  background: #ffffff !important;
  color: #1a2354 !important;
  border: 2px solid #1a2354 !important;
  padding: 18px 52px !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(26, 35, 84, 0.08) !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.cta-contact-btn:hover {
  background: #ffffff !important;
  color: #2ec99b !important;
  border-color: #2ec99b !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important;
}

.cta-contact-btn:hover i {
  color: #2ec99b !important;
  transform: translateX(4px) !important;
}

@media (max-width: 992px) {
  .cta-contact-container {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .cta-title {
    font-size: 24px !important;
  }
}

/* ==============================================================================
 * 4. 页脚系统 (FOOTER MODULE)
 * ============================================================================== */

footer.footer-module {
  position: relative !important;
  background: radial-gradient(ellipse at 85% 15%, rgba(46, 201, 155, 0.20) 0%, transparent 60%),
    linear-gradient(180deg, rgba(19, 25, 58, 0.72) 0%, rgba(13, 18, 43, 0.82) 100%),
    url('images/hero-bg.png') center center / cover no-repeat !important;
  background-color: var(--brand-navy-dark) !important;
  overflow: hidden !important;
  color: #94a3b8 !important;
  padding: 60px 0 30px 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.footer-container {
  max-width: var(--container-max-width) !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 36px !important;
  box-sizing: border-box !important;
}

/* 顶部 Logo */
.footer-top {
  padding-bottom: 24px !important;
  margin-bottom: 40px !important;
  border-bottom: 1px solid var(--border-dark) !important;
}

.footer-brand a {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  gap: 14px !important;
}

.footer-brand img {
  height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.footer-brand span {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important;
  line-height: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* 中间多列导航布局 (5列式自适应，第5列给予充足宽度容纳3个并排二维码) */
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 1.1fr 1.1fr 1.8fr 2.1fr !important;
  gap: 28px !important;
  margin-bottom: 48px !important;
}

.footer-col h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: 0.05em !important;
}

.footer-col ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  font-size: 13.5px !important;
}

.footer-col a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-col a:hover {
  color: #2ec99b !important;
}

.footer-email-link {
  color: #ffffff !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.footer-email-link:hover {
  color: #2ec99b !important;
}

.footer-beian-link {
  color: #94a3b8 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.footer-beian-link:hover {
  color: #2ec99b !important;
}

.footer-cert-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #94a3b8 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.footer-cert-link:hover,
.footer-cert-link:hover span {
  color: #2ec99b !important;
}

/* 官方关注矩阵三个二维码并排布局 */
.footer-qrcode-group {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  max-width: 270px !important;
}

/* 二维码关注卡片 (选中/悬停时边框与文字变绿) */
.footer-qrcode-card {
  text-align: center !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 6px !important;
  padding: 6px 4px !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.footer-qrcode-card:hover {
  transform: translateY(-2px) !important;
  border-color: #2ec99b !important;
  box-shadow: 0 4px 12px rgba(46, 201, 155, 0.25) !important;
}

.footer-qrcode-card img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 4px !important;
  display: block !important;
  margin: 0 auto 4px auto !important;
}

.footer-qrcode-card span {
  font-size: 11px !important;
  color: #94a3b8 !important;
  display: block !important;
  transition: color 0.2s ease !important;
}

.footer-qrcode-card:hover span {
  color: #2ec99b !important;
}

/* 底部版权与免责声明 */
.footer-bottom {
  padding-top: 24px !important;
  border-top: 1px solid var(--border-dark) !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
  line-height: 1.7 !important;
}

.footer-bottom-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.footer-disclaimer {
  font-size: 11px !important;
  color: #64748b !important;
  margin-top: 12px !important;
  line-height: 1.6 !important;
}

/* 页脚响应式适配：宽度不够时二维码自适应为2列 */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px !important;
  }
  .footer-qrcode-group {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 180px !important;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==============================================================================
 * 5. 移动端综合适配 (Mobile Responsiveness)
 * ============================================================================== */
@media (max-width: 992px) {
  /* Header Nav Mobile Layout */
  .header-nav {
    display: none !important;
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 60px) !important;
    background: #ffffff !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 20px !important;
    overflow-y: auto !important;
    box-shadow: inset 0 1px 0 #edf2f7 !important;
    z-index: 999;
  }
  
  .header-nav.mobile-active {
    display: flex !important;
  }
  
  .header-nav-list {
    flex-direction: column !important;
    width: 100% !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }
  
  .custom-nav-item {
    width: 100% !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    border-bottom: 1px solid #f1f5f9;
  }
  
  .custom-nav-item > div[class*="label"], 
  .custom-nav-item > a[class*="label"] {
    width: 100% !important;
    height: 54px !important;
    line-height: 54px !important;
    justify-content: space-between !important;
    color: var(--brand-navy) !important;
    padding: 0 10px !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    cursor: pointer;
    z-index: 1000;
  }
  
  #header .mobile-menu-toggle { color: var(--brand-navy) !important; }
  #header.white:not(.header-scrolled-light) .mobile-menu-toggle { color: #ffffff !important; }
  #header.header-scrolled .mobile-menu-toggle { color: #ffffff !important; }
  #header.header-scrolled-light .mobile-menu-toggle { color: var(--brand-navy) !important; }
  
  #header,
  #header .customContainer,
  #header .header-container {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
  }
  
  #header .header-brand a { height: 32px !important; }
  #header .header-brand img { height: 32px !important; max-height: 32px !important; }
  #header .header-brand-name { font-size: 16px !important; height: 32px !important; line-height: 32px !important; }
  
  /* Mega Menu on Mobile */
  .mega-dropdown-menu {
    position: static !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 0 15px 10px !important;
    box-shadow: none !important;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none !important;
  }
  
  .custom-nav-item.mobile-open .mega-dropdown-menu {
    display: block !important;
  }
  
  .mega-dropdown-container {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 !important;
  }
  
  .mega-dropdown-left {
    width: 100% !important;
    flex: none !important;
    padding: 0 !important;
  }
  
  .mega-dropdown-divider {
    display: none !important;
  }
  
  .mega-dropdown-right {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    gap: 15px !important;
  }
  
  .mega-dropdown-right.cols-2,
  .mega-dropdown-right.cols-3,
  .mega-dropdown-right.cols-4,
  .mega-dropdown-right.solutions-layout {
    grid-template-columns: 1fr !important;
  }

  .mega-col-subgrid-2 {
    grid-template-columns: 1fr !important;
  }

  .login-btn {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    justify-content: center !important;
    height: 44px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 576px) {
  /* Fix cta section padding */
  .cta-contact-section {
    padding: 40px 0 !important;
  }
  .cta-contact-btn {
    padding: 14px 30px !important;
    font-size: 16px !important;
  }
}

/* ====== 极光丝绸双视频交叉淡入淡出系统 (SEAMLESS CROSSFADE VIDEO SYSTEM) ====== */
.hero-video-crossfade-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: #060a14;
}

.hero-wave-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  background-color: #060a14;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.video-crossfade-active {
  opacity: 1;
  z-index: 2;
}

.video-crossfade-hidden {
  opacity: 0;
  z-index: 1;
}


