.ai-nav-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #101820;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e4e8ef;
  backdrop-filter: saturate(180%) blur(10px);
}

.ai-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
}

.ai-nav-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.ai-nav-brand img {
  display: block;
  width: auto;
  height: 40px;
}

.ai-nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  min-width: 0;
}

.ai-nav-desktop a,
.ai-nav-mobile nav a {
  color: #101820;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.ai-nav-desktop a:hover,
.ai-nav-mobile nav a:hover {
  color: #0f8f73;
  text-decoration: none;
}

.ai-nav-desktop a[aria-current="page"],
.ai-nav-mobile nav a[aria-current="page"] {
  color: #07634f;
  font-weight: 750;
}

.ai-nav-mobile {
  display: none;
  margin-left: auto;
}

.ai-nav-mobile summary {
  min-width: 60px;
  padding: 8px 12px;
  color: #101820;
  background: #fff;
  border: 1px solid #dce7e0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
  text-align: center;
}

.ai-nav-mobile summary::-webkit-details-marker {
  display: none;
}

.ai-nav-mobile nav {
  position: absolute;
  top: calc(100% - 2px);
  right: 16px;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid #dce7e0;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.14);
}

.ai-nav-mobile nav a {
  padding: 9px 10px;
  border-radius: 6px;
}

.ai-nav-mobile nav a:hover {
  background: #f1f8f4;
}

@media (max-width: 1080px) {
  .ai-nav-desktop {
    display: none;
  }

  .ai-nav-mobile {
    display: block;
  }
}

@media (max-width: 560px) {
  .ai-nav-inner {
    padding: 8px 14px;
  }

  .ai-nav-brand img {
    height: 34px;
  }
}
