/* Homepage design scheme V1 - 洞庭蓝体系覆盖 */
:root {
  --ink: #1D2129;
  --ink-soft: #4E5969;
  --muted: #86909C;
  --line: #E5E6EB;
  --water: #165DFF;
  --water-deep: #0E42B3;
  --water-light: #E8F3FF;
  --cyan: #00B8D9;
  --green: #36B37E;
  --orange: #FF8C00;
  --purple: #722ED1;
  --page-soft: #F5F7FA;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(22, 93, 255, 0.08);
  --wrap: 1200px;
}

body {
  color: var(--ink-soft) !important;
  background: #fff !important;
}

.wrap,
.main-inner,
.brand-nav-inner,
.footer-grid,
.footer-copy-inner {
  width: min(var(--wrap), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.home-bleed {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}

/* top service bar */
.top-service-bar {
  height: auto;
  min-height: 36px;
  background: #F5F7FA;
  color: #86909C;
  font-size: 12px;
}
.top-service-bar .wrap {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}
.top-left-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.top-welcome {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #86909C;
}
.top-links { display: flex; gap: 14px; flex-shrink: 0; align-items: center; }
.top-links a { color: #86909C; }
.top-links a:hover { color: #165DFF; }
.top-user { color: #4E5969; }
.top-login { display: inline-flex; gap: 10px; align-items: center; }
.top-login a { color: #165DFF; }

.region-switch, .mobile-entry { position: relative; flex-shrink: 0; }
.region-btn, .mobile-btn {
  border: 1px solid #E5E6EB;
  background: #fff;
  border-radius: 6px;
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  color: #4E5969;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.region-btn strong { color: #165DFF; font-weight: 600; }
.region-btn:hover, .mobile-btn:hover { border-color: #165DFF; color: #165DFF; }
.region-panel, .mobile-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid #E5E6EB;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(22, 93, 255, 0.12);
  padding: 10px;
}
.region-panel[hidden],
.mobile-panel[hidden] {
  display: none !important;
}
.region-panel {
  width: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.region-panel .region-clear {
  grid-column: 1 / -1;
  text-align: center;
  border-bottom: 1px solid #E5E6EB;
  margin-bottom: 4px;
  padding-bottom: 10px;
  color: #165DFF;
  font-weight: 600;
}
.region-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #4E5969;
  text-decoration: none;
}
.region-panel a:hover,
.region-panel a.is-active {
  background: #E8F3FF;
  color: #165DFF;
}
.mobile-panel {
  width: 200px;
  text-align: center;
}
.mobile-panel .mobile-title { margin: 0 0 8px; color: #1D2129; font-weight: 600; }
.mobile-panel .mobile-qr {
  width: 140px;
  height: 140px;
  margin: 0 auto 8px;
  background: #F2F3F5;
  border-radius: 4px;
  overflow: hidden;
}
.mobile-panel .mobile-qr img,
.mobile-panel .mobile-qr canvas {
  display: block;
  width: 140px;
  height: 140px;
}
.mobile-url {
  margin: 0 0 6px;
  font-size: 11px;
  color: #165DFF;
  word-break: break-all;
}
.mobile-tip { margin: 0; color: #86909C; font-size: 11px; line-height: 1.5; }
.region-banner {
  background: #E8F3FF;
  color: #0E42B3;
  font-size: 13px;
  border-bottom: 1px solid #BEDAFF;
}
.region-banner .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.region-banner a { margin-left: auto; color: #165DFF; }
.region-news-tip {
  margin: 6px 0 0;
  font-size: 12px;
  color: #86909C;
  font-weight: 400;
}

/* brand + nav：上下两层，导航铺满不挤搜索 */
.brand-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid #165DFF;
  box-shadow: 0 2px 10px rgba(22, 93, 255, 0.04);
}
.brand-nav-top {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 8px;
  transition: min-height .2s ease, padding .2s ease;
}
.brand-nav.is-compact .brand-nav-top { min-height: 68px; padding: 8px 0 4px; }
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1D2129;
  flex-shrink: 0;
}
.logo-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  background: transparent;
  flex-shrink: 0;
}
.logo-mark.small { width: 28px; height: 28px; }
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.15;
  min-width: 0;
}
.logo-text strong {
  font-size: 24px;
  font-weight: 700;
  color: #1D2129;
  letter-spacing: 0.02em;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
}
.brand-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.brand-platform em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #4E5969;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-domain {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #165DFF, #00B8D9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: "Segoe UI", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 4px 10px rgba(22, 93, 255, 0.22);
}
.brand-nav.is-compact .logo-text strong { font-size: 20px; }
.brand-nav.is-compact .brand-platform em { font-size: 12px; }
.brand-nav.is-compact .logo-mark { width: 40px; height: 40px; }

.brand-nav .main-nav {
  background: transparent !important;
  box-shadow: none !important;
  position: static !important;
  border-top: 1px solid #F2F3F5;
}
.brand-nav .nav-scroll {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}
.brand-nav .nav-inner {
  width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}
.brand-nav .nav-inner > .nav-link,
.brand-nav .nav-item {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}
.brand-nav .nav-inner > .nav-link,
.brand-nav .nav-item > .nav-link {
  color: #1D2129 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 14px 8px !important;
  width: 100% !important;
  justify-content: center !important;
  background: transparent !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap;
}
.brand-nav .nav-item > .nav-link::after,
.brand-nav .nav-inner > .nav-link::after {
  left: 18%;
  right: 18%;
  bottom: 6px;
  background: #165DFF;
}
.brand-nav .nav-item:hover > .nav-link,
.brand-nav .nav-inner > .nav-link:hover,
.brand-nav .nav-item.is-current > .nav-link,
.brand-nav .nav-link.is-current {
  color: #165DFF !important;
  background: transparent !important;
}
.brand-nav .nav-item.is-current > .nav-link::after,
.brand-nav .nav-link.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}
.brand-nav .nav-dropdown a.is-current {
  color: #165DFF;
  background: #eef4ff;
  font-weight: 600;
}
.brand-nav .nav-dropdown {
  border-radius: 8px;
  border-color: #E5E6EB;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.nav-search input {
  width: 260px;
  height: 40px;
  border: 1px solid #E5E6EB;
  border-right: 0;
  border-radius: 20px 0 0 20px;
  padding: 0 16px;
  background: #F5F7FA;
  outline: none;
  font-size: 13px;
}
.nav-search button {
  height: 40px;
  border: 0;
  border-radius: 0 20px 20px 0;
  padding: 0 18px;
  background: #165DFF;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* homepage sections */
.home-page { padding-bottom: 48px; }
.home-section { margin-top: 24px; }
.home-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #0E42B3;
}
.banner-stage { position: absolute; inset: 0; }
.home-banner .banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity .5s ease;
}
.home-banner .banner-slide.is-active { opacity: 1; pointer-events: auto; cursor: pointer; }
.home-banner .banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,66,179,.88) 0%, rgba(22,93,255,.55) 42%, rgba(0,184,217,.25) 100%);
}
.home-banner .banner-slide.tone-orange::before {
  background: linear-gradient(90deg, rgba(255,140,0,.9) 0%, rgba(255,125,0,.55) 45%, rgba(14,66,179,.25) 100%);
}
.home-banner .banner-slide.tone-cyan::before {
  background: linear-gradient(90deg, rgba(0,184,217,.88) 0%, rgba(22,93,255,.5) 50%, rgba(14,66,179,.2) 100%);
}
.banner-grid {
  position: relative;
  z-index: 1;
  height: 420px;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
}
.home-banner .banner-copy {
  color: #fff;
  padding-right: 24px;
}
.home-banner .banner-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3;
  font-weight: 700;
  text-shadow: none;
}
.home-banner .banner-copy p {
  margin: 0 0 20px;
  font-size: 15px;
  opacity: .95;
  max-width: 28em;
}
.banner-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  background: #165DFF;
  color: #fff !important;
  font-weight: 700;
}
.tone-orange .banner-btn { background: #FF8C00; }
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.banner-arrow.prev { left: 20px; }
.banner-arrow.next { right: 20px; }
.home-banner .banner-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  right: auto;
  z-index: 3;
}

/* 快捷入口 + 数据看板：同一面板、等高、贴紧 Banner */
.home-page .entry-board {
  margin-top: -28px;
  position: relative;
  z-index: 5;
}
.home-page .entry-board-panel {
  background: #fff;
  border: 1px solid #E5E6EB;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(22, 93, 255, 0.08);
  padding: 14px;
}
.home-page .entry-board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.85fr);
  gap: 12px;
  align-items: stretch;
  min-height: 156px;
}
.home-page .quick-entries {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
  height: 100%;
}
.home-page .quick-card {
  height: 100% !important;
  min-height: 132px !important;
  border-radius: 8px !important;
  background: #F7F9FC !important;
  border: 1px solid #E5E6EB !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  color: #1D2129 !important;
  padding: 12px 8px !important;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.home-page .quick-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.2)),
    var(--water-light);
  box-shadow: inset 0 0 0 1px rgba(22,93,255,.08);
  position: relative;
}
.home-page .quick-ico::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 4px;
  background: #165DFF;
  opacity: .9;
}
.home-page .quick-card.tone-cyan .quick-ico { background: rgba(0,184,217,.14); }
.home-page .quick-card.tone-cyan .quick-ico::before { background: #00B8D9; }
.home-page .quick-card.tone-purple .quick-ico { background: rgba(114,46,209,.14); }
.home-page .quick-card.tone-purple .quick-ico::before { background: #722ED1; }
.home-page .quick-card.tone-green .quick-ico { background: rgba(54,179,126,.14); }
.home-page .quick-card.tone-green .quick-ico::before { background: #36B37E; }
.home-page .quick-card.tone-orange .quick-ico { background: rgba(255,140,0,.14); }
.home-page .quick-card.tone-orange .quick-ico::before { background: #FF8C00; }
.home-page .quick-card.tone-blue .quick-ico { background: rgba(22,93,255,.12); }
.home-page .quick-card strong {
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.35;
  color: #1D2129 !important;
}
.home-page .quick-card:hover {
  transform: translateY(-3px);
  background: #fff !important;
  border-color: #165DFF !important;
  box-shadow: 0 8px 20px rgba(22,93,255,.12);
}
.home-page .stats-strip {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr;
  gap: 10px !important;
  margin: 0 !important;
  height: 100%;
}
.home-page .stat-card {
  background: #E8F3FF !important;
  border: 1px solid rgba(22,93,255,.1) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  text-align: left !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.home-page .stat-card strong {
  color: #165DFF !important;
  font-size: 26px !important;
  line-height: 1.1 !important;
  letter-spacing: -.02em;
}
.home-page .stat-card strong small {
  font-size: 12px;
  margin-left: 2px;
  font-weight: 600;
}
.home-page .stat-card span {
  color: #4E5969 !important;
  font-size: 12px !important;
  display: block;
  margin-top: 6px;
}
.home-page .stat-card em {
  font-style: normal;
  color: #36B37E;
  font-size: 12px;
  margin-top: 4px;
}

.core-triple {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: stretch;
}
.triple-col {
  background: #fff;
  border: 1px solid #E5E6EB;
  border-radius: 8px;
  padding: 16px 16px 12px;
  box-shadow: 0 4px 14px rgba(29,33,41,.03);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  min-width: 0;
  overflow: hidden;
}
.dual-col {
  background: #fff;
  border: 1px solid #E5E6EB;
  border-radius: 8px;
  padding: 16px 16px 12px;
  box-shadow: 0 4px 14px rgba(29,33,41,.03);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  min-width: 0;
  overflow: hidden;
}
.triple-col .tab-panels {
  flex: 1;
  min-height: 0;
}
.panel-cap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F2F3F5;
}
.panel-cap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-cap h3 {
  margin: 0;
  font-size: 18px;
  color: #1D2129;
  font-weight: 700;
  white-space: nowrap;
}
.panel-cap.with-tabs { flex-wrap: nowrap; }
.mini-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mini-tabs button {
  border: 0;
  background: #F5F7FA;
  color: #4E5969;
  font-size: 13px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1.2;
}
.mini-tabs button.is-active {
  color: #165DFF;
  background: #E8F3FF;
  font-weight: 700;
}
.more-plus {
  margin-left: auto;
  color: #86909C !important;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.more-plus:hover { color: #165DFF !important; }
.tab-panels > [data-panel] { display: none; }
.tab-panels > .is-active,
.tab-panels > [data-panel].is-active { display: block; }
.home-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed #E5E6EB;
  font-size: 14px;
  min-width: 0;
  max-width: 100%;
}
.home-list li:last-child { border-bottom: 0; }
.home-list a {
  flex: 1;
  min-width: 0;
  color: #1D2129;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-list a:hover { color: #165DFF; }
.home-list span { color: #86909C; font-size: 12px; flex-shrink: 0; }
.home-list em.home-amount {
  flex-shrink: 0;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #c2410c;
  background: #fff8ef;
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: 4px;
  padding: 1px 6px;
  max-width: 9.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-list li.is-hot a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF8C00;
  margin-right: 8px;
  vertical-align: middle;
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  color: #fff !important;
  font-size: 12px;
  flex-shrink: 0;
}
.tag-cyan { background: #00B8D9; }
.tag-green { background: #36B37E; }
.tag-orange { background: #FF8C00; }
.tag-purple { background: #722ED1; }
.tag-blue { background: #165DFF; }

.feature-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  text-decoration: none;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E5E6EB;
}
.feature-thumb {
  width: 160px;
  height: 100px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #E8F3FF;
}
.feature-card h4 {
  margin: 0 0 6px;
  color: #1D2129;
  font-size: 15px;
  line-height: 1.4;
}
.feature-card p {
  margin: 0 0 8px;
  color: #86909C;
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-ai {
  margin-top: 24px;
  background: #F5F7FA;
  padding: 28px 0;
}
.ai-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}
.ai-intro {
  border-radius: 8px;
  padding: 28px 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(114,46,209,.18), transparent 50%),
    linear-gradient(160deg, #1D2129, #3b2068);
  color: #fff;
  min-height: 320px;
}
.ai-intro h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.3;
  background: linear-gradient(90deg, #fff, #d6b6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ai-intro p { margin: 0 0 24px; color: rgba(255,255,255,.8); font-size: 14px; }
.ai-enter {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: #722ED1;
  color: #fff !important;
  font-weight: 700;
}
.ai-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.ai-tool-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E5E6EB;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: #1D2129;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ai-tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ai-tool-card i,
.ai-tool-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-block;
  border: 1px solid rgba(114,46,209,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  background-color: #f6f1ff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ai-icon-qa { background-image: url("/static/images/icons/ai-qa.svg"); }
.ai-icon-gauge { background-image: url("/static/images/icons/ai-gauge.svg"); }
.ai-icon-plan { background-image: url("/static/images/icons/ai-plan.svg"); }
.ai-icon-remote { background-image: url("/static/images/icons/ai-remote.svg"); }
.ai-tool-card:hover .ai-tool-icon {
  border-color: rgba(114,46,209,.3);
  box-shadow: 0 6px 14px rgba(114,46,209,.14), inset 0 1px 0 rgba(255,255,255,.75);
  transform: translateY(-1px);
}
.ai-tool-card strong { font-size: 14px; }
.ai-tool-card span { font-size: 12px; color: #86909C; min-height: 34px; }
.ai-tool-card em { font-style: normal; color: #722ED1; font-size: 13px; font-weight: 600; }
.ai-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ai-case-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E5E6EB;
  overflow: hidden;
  text-decoration: none;
  color: #1D2129;
  padding-bottom: 10px;
}
.ai-case-cover {
  height: 80px;
  background:
    linear-gradient(135deg, rgba(114,46,209,.35), rgba(22,93,255,.25)),
    url("/static/images/banners/banner-2.jpg") center/cover;
}
.ai-case-card strong { display: block; padding: 10px 12px 4px; font-size: 14px; }
.ai-case-card .tag { margin-left: 12px; }

.dual-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.vendor-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.vendor-wall a,
.vendor-wall span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid #E5E6EB;
  border-radius: 8px;
  color: #86909C;
  font-size: 12px;
  background: #F5F7FA;
  text-decoration: none;
  transition: .2s ease;
}
.vendor-wall a {
  padding: 8px 10px;
  text-align: center;
  line-height: 1.35;
  color: #4E5969;
  font-weight: 600;
}
.vendor-wall a:hover {
  color: #165DFF;
  background: #fff;
  border-color: rgba(22,93,255,.35);
}
.home-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.home-product-grid a {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
  background: #E8F3FF;
  border: 1px solid rgba(22,93,255,.16);
  color: #1D2129;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.home-product-grid a em {
  font-style: normal;
  font-size: 11px;
  color: #165DFF;
  font-weight: 600;
}
.home-product-grid a strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.home-product-grid a:hover { background: #d9ecff; }
.home-section { margin-top: 28px; }
.dual-zone { gap: 24px; }
.match-box {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.match-actions { display: flex; flex-direction: column; gap: 8px; }
.match-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 8px;
  background: #165DFF;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
}
.match-actions a.ghost {
  background: #fff;
  color: #165DFF !important;
  border: 1px solid #165DFF;
}
.tool-list { list-style: none; margin: 0; padding: 0; }
.tool-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  margin-bottom: 8px;
  border: 1px solid #E5E6EB;
  border-radius: 8px;
  background: #Fafbfc;
  border-bottom: 1px solid #E5E6EB;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.tool-list li:last-child { margin-bottom: 0; }
.tool-list li:hover {
  background: #fff;
  border-color: rgba(22, 93, 255, 0.28);
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.06);
}
.tool-list .tag {
  flex: 0 0 auto;
  min-width: 40px;
  justify-content: center;
}
.tool-list a:not(.calc-link) {
  flex: 1 1 auto;
  min-width: 0;
  color: #1D2129;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tool-list a:not(.calc-link):hover { color: #165DFF; }
.tool-list .calc-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  background: #E8F3FF;
  color: #165DFF;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}
.tool-list .calc-link:hover {
  background: #165DFF;
  color: #fff;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.topic-cover {
  height: 160px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}
.topic-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  transition: .2s ease;
  pointer-events: none;
}
.topic-cover span {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}
.topic-cover:hover::before { background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); }

.nav-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.nav-quick-col h4 {
  margin: 0 0 10px;
  color: #1D2129;
  font-size: 14px;
}
.nav-quick-col a {
  display: block;
  color: #4E5969;
  font-size: 13px;
  padding: 4px 0;
}
.nav-quick-col a:hover { color: #165DFF; }

/* footer */
.site-footer {
  margin-top: auto;
  background: #1D2129 !important;
  color: #C9CDD4;
  padding: 36px 0 0 !important;
  border-top: 0 !important;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 24px;
  padding-bottom: 28px;
}
.footer-brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
}
.footer-col h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}
.footer-col a, .footer-col p {
  display: block;
  color: #C9CDD4;
  font-size: 13px;
  margin: 0 0 8px;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-col a[href*="hnzhsl.com"] {
  display: inline;
  color: #7EB7FF;
  font-weight: 700;
}
.footer-copy {
  border-top: 1px solid #30363D;
  min-height: 56px;
}
.footer-copy-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.footer-copy-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
}
.footer-copy-inner p { margin: 0; color: #C9CDD4; }
.footer-copy-inner p a {
  color: #C9CDD4;
  text-decoration: none;
}
.footer-copy-inner p a:hover { color: #fff; }
.footer-region .region-btn {
  background: #30363D;
  border-color: #484F58;
  color: #C9CDD4;
  height: 28px;
}
.footer-region .region-btn strong { color: #7EB7FF; }
.footer-region .region-btn:hover {
  border-color: #7EB7FF;
  color: #fff;
}
.footer-region .region-panel {
  top: auto;
  bottom: calc(100% + 8px);
  left: 0;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
}
.footer-friends a { color: #C9CDD4; margin-left: 8px; }
.footer-friends a:hover { color: #fff; }

.back-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #165DFF;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 90;
}
.back-top.is-show { opacity: 1; pointer-events: auto; }

.channel-head h1,
.channel-head .page-title,
.panel-cap h3 { color: #165DFF; }
.channel-tabs a.is-active {
  background: #e8f6fb !important;
  border-color: #1799CD !important;
  color: #0f7aa8 !important;
}
.channel-tabs a.tab-all.is-active {
  background: #fff !important;
  border-color: #1799CD !important;
  color: #1799CD !important;
}
.news-brief-label,
.search-box button,
.main-nav { background: #165DFF !important; }

@media (max-width: 1100px) {
  .brand-nav-top { flex-wrap: wrap; }
  .nav-search { width: 100%; }
  .nav-search input { width: 100%; flex: 1; min-width: 0; }
  .brand-nav .nav-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .brand-nav .nav-inner > .nav-link,
  .brand-nav .nav-item { flex: 0 0 auto; }
  .brand-nav .nav-inner > .nav-link,
  .brand-nav .nav-item > .nav-link {
    width: auto !important;
    padding: 12px 14px !important;
  }
  .home-page .entry-board { margin-top: 16px; }
  .home-page .entry-board-grid,
  .core-triple, .ai-grid, .dual-zone { grid-template-columns: 1fr; }
  .home-page .quick-entries { grid-template-columns: repeat(3, 1fr) !important; }
  .home-page .quick-card { min-height: 110px !important; }
  .ai-tools, .ai-cases, .topic-cards, .nav-quick-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner-grid { grid-template-columns: 1fr; }
  .home-banner, .banner-grid { height: 360px; }
  .triple-col, .dual-col { min-height: 0; }
}
@media (max-width: 720px) {
  .wrap,
  .main-inner,
  .brand-nav-inner,
  .footer-grid,
  .footer-copy-inner,
  .brand-nav .nav-inner {
    width: min(var(--wrap), calc(100% - 24px)) !important;
  }
  .home-page .quick-entries,
  .home-page .stats-strip,
  .ai-tools, .ai-cases, .topic-cards, .nav-quick-grid, .vendor-wall, .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .match-box { grid-template-columns: 1fr; }
  .top-service-bar .wrap {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }
  .top-welcome { display: none; }
  .brand-platform {
    flex-wrap: wrap;
    gap: 6px;
  }
  .brand-platform em {
    white-space: normal;
    max-width: 100%;
    line-height: 1.35;
  }
  .brand-domain { display: none; }
  .logo-text strong { font-size: 18px; }
  /* 手机端导航：横向滑动；子菜单用 body 级面板（不放在 overflow 滚动层内） */
  .brand-nav .main-nav {
    position: relative;
    overflow: visible;
  }
  .brand-nav .nav-scroll {
    width: min(var(--wrap), calc(100% - 24px));
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .brand-nav .nav-scroll::-webkit-scrollbar { height: 3px; }
  .brand-nav .nav-scroll::-webkit-scrollbar-thumb {
    background: rgba(22, 93, 255, 0.25);
    border-radius: 3px;
  }
  .brand-nav .nav-inner {
    width: max-content !important;
    min-width: 100%;
    margin: 0 !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    gap: 0;
  }
  .brand-nav .nav-inner > .nav-link,
  .brand-nav .nav-item {
    flex: 0 0 auto !important;
  }
  .brand-nav .nav-inner > .nav-link,
  .brand-nav .nav-item > .nav-link {
    padding: 12px 14px !important;
    font-size: 14px !important;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(22, 93, 255, 0.15);
  }
  .brand-nav .nav-item.open > .nav-link {
    background: rgba(22, 93, 255, 0.08) !important;
    color: #165DFF !important;
  }
  /* 手机端隐藏原下拉，改用 #navMobilePanel */
  .brand-nav .nav-dropdown {
    display: none !important;
  }
  .nav-mobile-mask {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15, 35, 55, 0.28);
    -webkit-tap-highlight-color: transparent;
  }
  .nav-mobile-mask.is-show { display: block; }
  .nav-mobile-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    z-index: 1300;
    max-height: min(60vh, 420px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid rgba(22, 93, 255, 0.14);
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(13, 120, 180, 0.2);
    padding: 6px 0;
  }
  .nav-mobile-panel[hidden] { display: none !important; }
  .nav-mobile-panel a {
    display: block;
    padding: 13px 16px;
    color: #1D2129;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    border-bottom: 1px solid #F2F3F5;
    -webkit-tap-highlight-color: rgba(22, 93, 255, 0.12);
  }
  .nav-mobile-panel a:last-child { border-bottom: 0; }
  .nav-mobile-panel a:active,
  .nav-mobile-panel a.is-current {
    color: #165DFF;
    background: #F2F7FF;
  }
  .nav-mobile-panel__all {
    color: #165DFF !important;
    font-weight: 700 !important;
    background: #F7FAFF;
  }
  .home-banner,
  .banner-grid { height: auto !important; min-height: 220px; }
  .banner-grid {
    padding: 36px 0 48px;
    align-items: end;
  }
  .home-banner .banner-copy {
    padding-right: 0;
  }
  .home-banner .banner-copy h2 {
    font-size: 22px;
    word-break: break-word;
  }
  .home-banner .banner-copy p {
    font-size: 13px;
    max-width: 100%;
  }
  .home-page .entry-board { margin-top: 12px; }
  .home-page .entry-board-panel { padding: 10px; }
  .home-page .quick-card {
    min-height: 88px !important;
    padding: 10px 6px !important;
  }
  .home-page .quick-card strong { font-size: 12px !important; }
  .home-page .stat-card strong { font-size: 22px !important; word-break: break-all; }
  .panel-cap-row {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .panel-cap h3 {
    white-space: normal;
    font-size: 16px;
    line-height: 1.35;
  }
  .mini-tabs {
    width: 100%;
    gap: 6px;
  }
  .mini-tabs button {
    font-size: 12px;
    padding: 5px 10px;
  }
  .home-list li {
    align-items: flex-start;
    gap: 6px;
  }
  .home-list a {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.45;
    word-break: break-word;
  }
  .home-list span,
  .home-list em.home-amount {
    margin-top: 2px;
  }
  .home-list em.home-amount {
    max-width: 7.5em;
  }
  .feature-card {
    grid-template-columns: 1fr;
  }
  .feature-thumb {
    width: 100%;
    max-width: 100%;
    height: 140px;
  }
  .feature-card h4 {
    word-break: break-word;
  }
  .tool-list li {
    flex-wrap: wrap;
  }
  .tool-list a:not(.calc-link) {
    white-space: normal;
    word-break: break-word;
  }
  .a11y-panel {
    left: 8px;
    right: 8px;
    bottom: 8px;
    max-width: none;
  }
}
@media (max-width: 420px) {
  .home-page .quick-entries {
    grid-template-columns: 1fr 1fr !important;
  }
  .home-page .stats-strip {
    grid-template-columns: 1fr !important;
  }
}

/* 无障碍 */
.a11y-panel {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1200;
  background: #fff;
  border: 1px solid #E5E6EB;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: min(420px, calc(100vw - 32px));
}
.a11y-panel[hidden] { display: none !important; }
.a11y-panel strong { font-size: 13px; margin-right: 4px; }
.a11y-panel button {
  border: 1px solid #E5E6EB;
  background: #F5F7FA;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}
.a11y-panel button:hover { border-color: #165DFF; color: #165DFF; }
html.a11y-on body { line-height: 1.8; }
html.a11y-on a { text-decoration: underline; }
html.a11y-large { font-size: 112.5%; }
html.a11y-xlarge { font-size: 125%; }
html.a11y-contrast,
html.a11y-contrast body {
  background: #000 !important;
  color: #fff !important;
}
html.a11y-contrast .site,
html.a11y-contrast .brand-nav,
html.a11y-contrast .top-service-bar,
html.a11y-contrast .site-footer,
html.a11y-contrast .card,
html.a11y-contrast .home-page section {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html.a11y-contrast a { color: #ffe566 !important; }
html.a11y-contrast .top-service-bar { background: #111 !important; }
