/* 全局基础重置 - 彻底解决点击闪白核心 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* 移除所有元素点击高亮 */
  tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none; /* 禁用移动端长按菜单 */
}
html, body {
  background-color: #000; /* 全局背景黑，避免跳转瞬间露白 */
}
a {
  outline: none;
  border: none;
  text-decoration: none;
  background: transparent !important; /* 强制所有a标签背景透明 */
  color: inherit;
  transition: none; /* 避免过渡动画导致的视觉闪烁 */
}
/* 导航核心样式 */
.nav-wrapper {
  width: 100%;
  background-color: #000;
  position: relative;
  z-index: 999;
  height: 80px;
}
.nav-container {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  height: 100%;
  background-color: #000; /* 容器背景黑，双重保障 */
}
/* Logo样式 */
.brandidea_logo {
  flex-shrink: 0;
  width: 50%;
  padding-left: 80px;
}
.brandidea_logo svg {
  width: 45mm;
  height: auto;
  display: block;
}
/* PC端菜单 - 修复所有链接闪白 */
.nav-menu {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 50%;
  padding-right: 80px;
  margin-left: -20px;
}
.nav-menu a {
  font-weight: 500;
  font-size: 1.625rem;
  color: #fff !important; /* 强制白字 */
  white-space: nowrap;
  padding: 10px 0; /* 增加点击区域，避免边缘点击闪白 */
  position: relative;
  z-index: 1;
}
.nav-menu a:hover {
  color: #888 !important; /* 绿色改#888 */
}
/* 移动端汉堡按钮 */
.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: transparent;
}
.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}
/* 移动端导航弹窗 - 背景黑到底 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000 !important; /* 强制黑背景 */
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: 40px 20px;
}
.mobile-nav.active {
  display: flex;
}
/* 移动端关闭按钮 */
.close-btn {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-bottom: 60px;
  background: transparent;
}
.close-btn::before,
.close-btn::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}
.close-btn::before {
  transform: rotate(45deg);
}
.close-btn::after {
  transform: rotate(-45deg);
  margin-top: -2px;
}
/* 移动端菜单 - 修复所有链接闪白 */
.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 20px;
}
.mobile-nav-menu a {
  font-weight: 500;
  font-size: 1.625rem;
  color: #fff !important; /* 强制白字 */
  padding: 10px 0;
}
.mobile-nav-menu a:hover {
  color: #888 !important; /* 绿色改#888 */
}
/* 响应式断点 */
@media only screen and (max-width: 800px) {
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: flex;
    margin-right: 20px;
  }
  .brandidea_logo {
    width: auto;
    padding-left: 20px;
  }
  .brandidea_logo svg {
    width: 35mm;
    height: auto;
  }
}