/* ============ 导航 / 首页 / 去使用按钮 覆盖 ============ */

/* 导航宽度自适应内容（去掉产品 logo 后不再撑满） */
.navbar {
  width: auto;
  max-width: calc(100% - 40px);
  gap: 10px;
  padding: 0 12px 0 26px;
}
.nav-links {
  width: auto;
  gap: 28px;
}
.nav-use {
  white-space: nowrap;
  padding: 9px 24px;
}

/* 首页：产品截图在视口内垂直居中，套圆角+阴影浮框 */
.home-bg .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 110px);
  margin-top: 0 !important;
}
.hero-shot {
  width: 86%;
  max-width: 1220px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 44px 100px -46px rgba(40, 60, 120, 0.5),
    0 8px 24px -12px rgba(40, 60, 120, 0.25);
}
.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============ 帮我编程：语言列表浮层（锚定在截图左侧空白栏） ============ */
.code-shot {
  position: relative;
  width: 74%;
  max-width: 1220px;
  margin: 22px auto 0;
}
.code-shot__img {
  display: block;
  width: 100%;
  height: auto;
}
.code-shot__rail {
  position: absolute;
  left: 0;
  top: 11%;
  height: 82%;
  width: 21.3%;   /* 截图左侧空白栏宽度占比 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(8px, 1.3vw, 16px);
  padding: 0 clamp(8px, 1.4vw, 20px);
  box-sizing: border-box;
}
/* 覆盖 style.css 里易飘的 clamp 绝对定位 */
.code-shot__rail .language-list2-title {
  position: static;
  left: auto;
  top: auto;
  width: 100%;
  text-align: center;
  font-size: clamp(11px, 1vw, 13px);
  color: #8a93a6;
  margin-bottom: 2px;
}
.code-shot__rail .language-list2 {
  position: static;
  left: auto;
  top: auto;
  width: 100%;
  font-size: inherit;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.3vw, 16px);
}
.code-shot__rail .language-item2 {
  margin: 0;
  padding: clamp(8px, 1vw, 12px) 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(30, 40, 90, 0.08);
  font-size: clamp(12px, 1.1vw, 15px);
}

/* 各屏「去使用」按钮 */
.use-btns {
  display: flex;
  justify-content: center;
  margin: 4px 0 8px;
}
.use-btns .btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* 页脚：仅留 ICP+版权，居中 */
.footer-content {
  justify-content: center;
}
.footer-left {
  margin-left: 0;
}
