/* 全站共用导航样式（以 index.html 为标准） */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  height: var(--header-h, 56px);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h, 56px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading, #333);
}
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 13px;
  color: #3D3D3D;
  white-space: nowrap;
  position: relative;
  padding: 12px 4px;
	opacity: 1;
}
.nav:hover a{
	/* opacity: 0.4; */
}
.nav a:hover {
	opacity: 1;
  color: #000000;
}
.nav a.active {
  color: #000000;
  opacity: 1;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  cursor: pointer;
  font-size: 13px;
  color: #3D3D3D;
  white-space: nowrap;
  display: block;
  padding: 12px 4px;
  opacity: 1;
}
.nav:hover .nav-dropdown-trigger{
	/* opacity: 0.4; */
}
.nav-dropdown:hover .nav-dropdown-trigger {
  color: #000000;
  opacity: 1;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 88px;
  padding: 2px;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -21px;
  height: 21px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--body, #666);
  position: static;
  white-space: nowrap;
}
.nav-dropdown-menu a::after {
  display: none !important;
}
.nav-dropdown-menu a:hover {
  background: #f5f5f5;
  color: #000000;
}
.nav .nav-dropdown-menu a {
    opacity: 1;
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 1px;
  /* background: var(--heading, #333); */
  background: #000000;
}
.nav-dropdown.active .nav-dropdown-trigger {
  color: #000000;
  border-radius: 2px;
  opacity: 1;
}
.nav-dropdown-menu a.active {
  color: #000000;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
/* 页头「联系演示」CTA：点击后弹出微信二维码浮层（浮层样式在 footer.css） */
.header-cta {
  border: none;
  background: var(--primary, #2b6de5);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 8px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-cta:hover { background: #1f5cc9; }
@media (max-width: 1024px) {
  .header-cta { padding: 7px 14px; }
}
.nav {
  position: static;
  left: auto;
  transform: none;
  margin-left: 36px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-switch-btn {
  border: none;
  background: transparent;
  padding: 4px 2px;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  font-family: inherit;
}
.lang-switch-btn.is-active {
  color: #111;
  font-weight: 700;
}
.lang-switch-sep {
  color: #ccc;
  font-size: 12px;
}
html[data-lang="en"] .hero-banner-content,
html[data-lang="en"] .page-hero-info,
html[data-lang="en"] .partners-banner-info {
  max-width: 720px !important;
}
html[data-lang="en"] .hero-banner h1,
html[data-lang="en"] .page-hero h1,
html[data-lang="en"] .partners-banner h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: none;
}
html[data-lang="en"] .hero-banner-content > p,
html[data-lang="en"] .page-hero-info > p,
html[data-lang="en"] .partners-banner-info > p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .header .nav {
    display: none !important;
    position: fixed !important;
    top: var(--header-h, 56px) !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    width: 42vw !important;
    min-width: 128px !important;
    max-width: 168px !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 150;
    background: #fff;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: touch;
  }
  .header .nav.is-open { display: flex !important; }
}

/* ===== Hi Ula 品牌层（来自 ais-brand-system §02/§03，勿改数值） ===== */
@font-face {
  font-family: 'THICCCBOI';
  src: url('../fonts/THICCCBOI-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;                 /* §03 gap 12px */
  text-decoration: none;
}
.brand-lockup .logo-img {
  width: 40px;               /* §03 头像 40×40 */
  height: 40px;
  border-radius: 50%;        /* §01 一律圆形裁切 */
  display: block;
  flex-shrink: 0;
}
.brand-lockup .wordmark {
  font-family: 'THICCCBOI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 20px;           /* §02 导航/页脚 20px */
  line-height: 1;
  letter-spacing: 0.01em;
  color: #605dba;            /* 浅色底 Grape */
  white-space: nowrap;
}
.site-footer .brand-lockup .wordmark { color: #605dba; }
