/* ==================================================================
   Stellar 星耀 · 公共布局
   顶部导航（深空） / 下拉菜单 / 页脚 / 横幅 / 搜索 / 分页 / 侧边工具
   ================================================================== */
.section-content {
  padding: 80px 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.section-title .section-desc {
  margin-top: 18px;
  font-size: 16px;
  color: var(--st-text-2);
}

.section-bg {
  color: #fff;
}

.section-bg .section-title h2 {
  color: #fff;
}

.section-bg .section-title .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.section-p {
  padding: 0 20px;
}

.common-empty {
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.common-empty img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.common-empty .des {
  font-size: 16px;
  color: var(--st-text-2);
}

.section-w {
  max-width: 100%;
}

.section-title {
  text-align: center;
}

.document .section-content {
  max-width: unset;
}

/* ---------------- 顶部导航 ---------------- */
#header,
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 888;
}

.nav-shadow {
  top: 0;
  box-shadow: 0 6px 20px rgba(10, 27, 51, 0.06);
  border-bottom: 1px solid var(--st-line);
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-header .nav-left {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
}

.nav-header .nav-left .nav-icon img {
  width: 135px;
  height: 30px;
  margin-right: 28px;
}

/* 纯文字 Logo（官网未配置 Logo 图片时的回退） */
.nav-header .nav-left .nav-icon {
  margin-right: 28px;
}

.nav-header .nav-left .nav-icon .text-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--st-navy-900);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 72px;
  white-space: nowrap;
}

.nav-header .nav-left .nav-icon .text-logo i {
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 6px;
  color: rgba(10, 27, 51, 0.5);
}

.nav-header .nav-left .nav-icon .text-logo::before {
  content: '✦';
  color: var(--st-teal);
  font-size: 20px;
  margin-right: 2px;
}

.nav-menu {
  display: flex;
}

.nav-menu .nav-item {
  color: var(--st-text);
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 14px;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s ease;
}

.nav-menu .nav-item:hover {
  color: var(--st-teal-deep);
  border-bottom: 2px solid var(--st-teal);
}

/* 移动端子栏目列表：桌面端始终隐藏，仅在 ≤992px 展开 */
.nav-menu .nav-sub {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px;
}

.nav-right .control {
  margin: 0 12px;
  white-space: nowrap;
  color: rgba(10, 27, 51, 0.72);
  transition: color .2s ease;
}

.nav-right .control:hover {
  color: var(--st-teal-deep);
}

/* 控制台胶囊按钮 */
.nav-right .console-link .control {
  margin: 0 12px 0 16px;
  padding: 8px 16px;
  border-radius: 20px;
  color: #fff;
  background: var(--st-grad);
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(4, 168, 183, 0.3);
  transition: all .25s ease;
}

.nav-right .console-link .control:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
  background: rgba(7, 18, 36, 0.06);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--st-navy-900);
  transform: translateX(-50%);
  transition: all .25s ease;
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.active span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

.breadcrumb {
  padding-left: 0;
  margin-bottom: 8px;
  background-color: transparent;
}

/* ---------------- 下拉菜单 ---------------- */
.nav-cont {
  position: absolute;
  top: 72px;
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  transition: height .35s ease;
  height: 0px;
  box-shadow: 0 24px 40px rgba(7, 18, 36, 0.18);
  z-index: 2;
}

.nav-cont .section-content {
  padding: 0;
}

.nav-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 48px 20px;
  position: relative;
  box-sizing: border-box;
}

.nav-content a {
  width: calc(25% - 15px);
}

.nav-cont .nav-cont-menu {
  display: none;
}

.nav-cont .nav-cont-empty {
  display: none !important;
}

.nav-item-box {
  min-width: 335px;
  height: 96px;
  padding: 24px 20px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(10, 27, 51, 0.06);
  transition: all .25s ease;
}

.nav-item-box:hover {
  border-color: rgba(0, 213, 180, 0.35);
  box-shadow: 0 12px 28px rgba(10, 27, 51, 0.1);
  transform: translateY(-2px);
}

.nav-item-box:hover .title {
  color: var(--st-teal-deep);
}

.nav-item-box img {
  width: 48px;
  height: 48px;
}

.nav-item-box .item-box-title {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-left: 16px;
  font-size: 16px;
  color: rgba(10, 27, 51, 0.9);
}

.nav-item-box .item-box-title .desc {
  font-size: 14px;
  color: var(--st-text-3);
}

/* ---------------- 登录态 ---------------- */
.nav-header .login-in {
  cursor: pointer;
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  z-index: 999;
  padding: 0 32px;
}

.nav-header .login-in::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 32px;
  transform: translateY(-50%);
  border-left: 1px solid rgba(7, 18, 36, 0.12);
}

.nav-header .login-in:hover .login-menu {
  display: block;
}

.nav-header .login-in .head-img {
  width: 32px;
  height: 32px;
  background: var(--st-teal-deep);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-header .login-in .name {
  display: inline-block;
  max-width: 140px;
  color: var(--st-text);
}

.nav-header .login-in .login-menu {
  display: none;
  padding: 8px;
  position: absolute;
  top: 72px;
  left: 0;
  width: 172px;
  height: auto;
  background: #fff;
  border: 1px solid var(--st-line);
  box-shadow: var(--st-shadow-lg);
  opacity: 1;
  border-radius: 12px;
}

.nav-header .login-in .login-menu .login-menu-item {
  cursor: pointer;
  height: 40px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--st-text);
  transition: all .2s ease;
}

.nav-header .login-in .login-menu .login-menu-item:hover {
  background: rgba(0, 213, 180, 0.1);
  color: var(--st-teal-deep);
}

.nav-header .login-in .login-menu .login-menu-item .real-name {
  display: inline-block;
  text-align: center;
  border: 1px solid var(--st-teal-deep);
  color: var(--st-teal-deep);
  font-size: 12px;
  width: 44px;
  height: 18px;
  border-radius: 3px;
}

.nav-header .login-in .login-menu .login-menu-item .no-real-name {
  border: 1px solid #E34D59;
  color: rgba(227, 77, 89, 1);
}

.no-login,
.login-in {
  margin-left: 12px;
  flex-shrink: 0;
}

.no-login .btn {
  border-radius: 20px;
}

/* ---------------- 页脚 ---------------- */
.footer {
  background: var(--st-navy-900);
  color: rgba(255, 255, 255, 0.90);
}

.register-advert {
  width: 100%;
  background: linear-gradient(100deg, #065F58 0%, #0A8FA3 45%, #1D4FD7 100%);
  position: relative;
  overflow: hidden;
}

.register-advert::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 195, 0.35), transparent 70%);
}

.register-advert a {
  text-align: center;
  display: block;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.register-advert a img {
  max-width: 100%;
  margin: 0 auto;
}

.register-advert .register-advert-text {
  color: #fff;
  font-size: 20px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 18px 20px;
}

.register-advert .register-advert-text b {
  color: var(--st-teal);
  font-size: 24px;
}

.register-advert .register-advert-text .register-advert-btn {
  background: #fff;
  color: #065F58;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 26px;
  border-radius: 20px;
  transition: all .25s ease;
}

.register-advert a:hover .register-advert-btn {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.section-promise {
  background-color: var(--st-navy-900);
}

.promise {
  display: flex;
  flex-wrap: wrap;
}

.promise-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 200px;
  padding: 28px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
}

.promise-box img {
  height: 32px;
  width: 32px;
}

.footer-content {
  background-color: var(--st-navy-900);
  font-size: 14px;
}

.footer-content .footer-nav {
  display: flex;
  justify-content: space-between;
  padding: 48px 0 36px;
}

.footer .footer-nav .footer-nav-left {
  margin-right: 120px;
}

.footer-content .footer-nav .footer-nav-left {
  display: flex;
  width: 100%;
  /* 允许左栏收缩到容器可用宽度内，避免右侧「联系我们」块被顶出屏幕产生横向滚动条 */
  min-width: 0;
  gap: 30px;
}

.footer-nav-box {
  flex: 1;
}

.footer-nav-box .footer-nav-head {
  padding: 12px 0;
  width: 120px;
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-box .footer-nav-cont {
  padding-top: 20px;
}

.footer-nav-box .footer-nav-item {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-content .footer-nav .footer-nav-right {
  width: 210px;
}

.footer-nav-right .footer-nav-box .footer-nav-item {
  width: 210px;
  color: rgba(255, 255, 255, 0.50);
}

.footer-nav-right .qr-code img {
  margin-top: 20px;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.footer .footer-link {
  display: none;
  font-size: 13px;
  color: #666;
  height: 50px;
  line-height: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .link-hover {
  color: rgba(255, 255, 255, 0.55);
}

.footer .link-hover:hover {
  color: var(--st-teal);
}

.footer .footer-link a {
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.50);
}

.footer .footer-link a:hover {
  margin-right: 10px;
  color: var(--st-teal);
}

.footer .footer-record {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  height: 50px;
  line-height: 50px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer .footer-record a {
  color: rgba(255, 255, 255, 0.35);
}

.footer .footer-record a:hover {
  color: var(--st-teal);
}

/* ---------------- Tabs ---------------- */
.jr-tabs {
  display: flex;
  border-bottom: 1px solid var(--st-line);
}

.jr-tabs .title {
  color: var(--st-text-2);
  font-size: 18px;
  width: auto !important;
  padding: 10px 40px;
  cursor: pointer;
  margin-right: 0 !important;
  transition: color .2s ease;
}

.jr-tabs .title.swiper-slide-thumb-active {
  color: var(--st-teal-deep);
  border-bottom: 2px solid var(--st-teal);
}

.jr-tabs .title:hover {
  color: var(--st-teal-deep);
  border-bottom: 2px solid var(--st-teal);
}

/* 本站沿用旧版类名 .swiper-container，而内置 swiper 资源的容器选择器是 .swiper，
   容器缺少裁切规则会让 tab 缩略条溢出容器、在窄屏下顶出页面横向滚动条 */
.swiper-container {
  position: relative;
  overflow: hidden;
}

/* ---------------- 内页横幅 ---------------- */
.server-banner {
  background-color: #F2F6FB;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.server-banner2 {
  background-color: rgba(7, 18, 36, 0.55);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.server-banner-desc {
  font-size: 16px;
  max-width: 700px;
  margin-top: 20px;
  margin-bottom: 90px;
  color: var(--st-text-2);
}

.server-banner-desc2 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.banner-cloud {
  background-image: url('../assets/img/cloud/banner.png');
}

.banner-trademark {
  background-image: url('../assets/img/trademark/banner.png');
}

.banner-dedicated {
  background-image: url('../assets/img/dedicated/banner.png');
}

.banner-domain {
  background-image: url('../assets/img/domain/banner.png');
}

.banner-ssl {
  background-image: url('../assets/img/ssl/banner.png');
}

.banner-icp {
  background-image: url('../assets/img/icp/banner.png');
}

.banner-sms {
  background-image: url('../assets/img/sms/banner.png');
}

.banner-trusteeship {
  background-image: url('../assets/img/trusteeship/banner.png');
}

.banner-rent {
  background-image: url('../assets/img/rent/banner.png');
}

.banner-document {
  background-image: url('../assets/img/document/banner.png');
}

.banner-announce {
  background-image: url('../assets/img/document/banner.png');
}

.banner-guarantee {
  background: url('../assets/img/guarantee/banner.png') no-repeat center center;
  background-size: cover;
}

.banner-reward {
  background-image: url('../assets/img/reward/banner.png');
  color: #fff;
}

.banner-contact {
  background: url('../assets/img/guarantee/contact.png') no-repeat center center;
  background-size: cover;
}

.feedback-banner {
  background: url('../assets/img/guarantee/recruit.png') no-repeat center center;
  background-size: cover;
}

.activities-banner {
  height: 440px;
  background: url('../assets/img/active/active_banner.png') no-repeat;
  background-size: 100%;
}

.banner-reward .btn-normal {
  padding: 8px 32px;
}

/* ---------------- 搜索 ---------------- */
.input-search {
  display: flex;
  position: relative;
  flex-wrap: wrap;
}

.input-search input {
  padding-left: 15px;
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 20px;
  width: 30%;
  height: 56px;
  background: #FFFFFF;
  border: 1px solid var(--st-teal);
  border-radius: 0;
  transition: box-shadow .2s ease;
}

.input-search input:focus {
  box-shadow: 0 0 0 3px rgba(0, 213, 180, 0.15);
}

.trademark-box .input-search input {
  border-left: none;
}

.domain-search .input-search input {
  border-right: none;
}

.input-search .search-btn {
  cursor: pointer;
  color: #fff;
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 18px 32px;
  background: var(--st-grad);
  transition: filter .2s ease;
}

.input-search .search-btn:hover {
  filter: brightness(1.08);
}

.input-search .input-search-select {
  cursor: pointer;
  text-align: center;
  line-height: 56px;
  width: 124px;
  height: 56px;
  margin-top: 30px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--st-teal);
  border-left: none;
}

.input-search .input-search-left-select {
  border: 1px solid var(--st-teal);
  border-right: none;
}

.input-search .input-search-s {
  position: relative;
  line-height: 56px;
  height: 56px;
  width: 124px;
  display: flex;
  justify-content: center;
}

.input-search .input-search-select .input-search-s::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  background: #EDEDED;
  height: 24px;
  width: 1px;
}

.input-search .input-search-r {
  position: relative;
  line-height: 56px;
  height: 56px;
  width: 124px;
  display: flex;
  justify-content: center;
}

.input-search .input-search-select .input-search-r::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 0;
  background: #EDEDED;
  height: 24px;
  width: 1px;
}

.input-search .input-search-select .select-box {
  display: none;
  padding: 16px 10px;
  position: absolute;
  top: 86px;
  left: 0;
  width: calc(50% + 124px);
  background: #FFFFFF;
  box-shadow: var(--st-shadow-lg);
  border-radius: 12px;
  z-index: 9;
}

.input-search .input-search-select .select-box-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  width: 110px;
  height: 40px;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  transition: all .2s ease;
}

.input-search .input-search-select .select-box-item:hover {
  border: 1px solid var(--st-teal);
  color: var(--st-teal-deep);
}

.input-search .input-search-select .iconfont {
  font-size: 14px;
  margin-left: 10px;
}

.link-search-group {
  display: flex;
  align-items: center;
  margin-left: -12px;
}

.link-search-group .link-search-to {
  padding: 0 12px;
  display: flex;
  border-right: 1px solid #D6D6D6;
}

.link-search-group .link-search-to:nth-child(4) {
  border: none;
}

.link-search-group .price {
  margin-left: 5px;
  color: var(--st-teal-deep);
}

/* ---------------- 分页 ---------------- */
.jr-page .pagination .page-number.active {
  color: #fff;
  border: 1px solid transparent;
  background: var(--st-grad);
}

.jr-page .pagination .page-number:hover {
  background: var(--st-grad);
  color: #fff !important;
}

.jr-page .pagination>li a {
  margin: 0 4px;
  border: 1px solid #DCDCDC;
  border-radius: 8px;
  color: var(--st-text-2);
  transition: all .2s ease;
}

.jr-page .pagination>li .page-ellipsis {
  border: none;
}

.jr-page .pagination>li .page-ellipsis:hover {
  background: transparent;
}

.jr-page .pagination>li:first-child>a {
  border: none;
}

.jr-page .pagination>li:last-child>a {
  border: none;
}

.jr-select {
  width: 100px;
  border-radius: 8px;
  position: relative;
}

.jr-select select {
  border: 1px solid #EDEDED;
  border-radius: 8px;
  outline: none;
  width: 100%;
  height: 32px;
  line-height: 32px;
  appearance: none;
  padding-left: 12px;
}

.jr-select:after {
  content: "\e674";
  width: 14px;
  height: 8px;
  font-size: 12px;
  font-family: 'iconfont';
  position: absolute;
  right: 20px;
  top: 15%;
  pointer-events: none;
}

/* ---------------- 侧边工具 ---------------- */
.aside-tools {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
}

.aside-tools .tools-list {
  width: 40px;
  background: #FFFFFF;
  box-shadow: var(--st-shadow);
  border-radius: 10px 0 0 10px;
}

.aside-tools .tools-list .tools-item {
  position: relative;
}

.aside-tools .tools-list .tools-item img {
  margin: 10px;
  height: 24px;
  width: 24px;
  cursor: pointer;
}

.aside-tools .tools-list .tools-item::before {
  content: '';
  position: absolute;
  background: rgba(230, 234, 237, 1);
  bottom: 0;
  right: 10px;
  width: 16px;
  height: 1px;
}

.aside-tools .tools-list .tools-item:last-child:before {
  content: none;
}

.aside-tools .tools-list .tools-item:hover .tools-box {
  display: block;
}

.aside-tools .tools-list .tools-item .tools-box {
  display: none;
  position: absolute;
  left: -220px;
  top: 0;
  padding-right: 30px;
}

.aside-tools .tools-list .tools-item .tools-box-s {
  padding: 20px;
  width: 190px;
  background: #FFFFFF;
  box-shadow: var(--st-shadow);
  border-radius: 10px;
  /* 块已移入 footer 内，需显式覆盖 .footer 的白色文字继承 */
  color: var(--st-text, #333);
}

.aside-tools .tools-list .tools-item .tools-box h5 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

.aside-tools .tools-list .tools-item .tools-box p {
  font-size: 13px;
}

.aside-tools .tools-list .tools-item .tools-box .button {
  font-size: 12px;
  display: inline-block;
  margin-top: 20px;
  padding: 4px 12px;
  border: 1px solid var(--st-line);
  border-radius: 6px;
  color: var(--st-teal-deep);
  transition: all .2s ease;
}

.aside-tools .tools-list .tools-item .tools-box .button:hover {
  border: 1px solid var(--st-teal);
}

.flex-none {
  flex-wrap: none !important;
}

#alert-container {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 300px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

#alert-container .alert {
  border-radius: 10px;
  box-shadow: var(--st-shadow-lg);
}

#footerRecord .left-info a {
  margin-right: 10px;
}

/* ---------------- 响应式 ---------------- */
@media screen and (max-width: 1440px) {
  .nav-content a {
    width: calc(33.33% - 14px);
  }
}

@media screen and (max-width: 1200px) {
  .section-content {
    padding: 60px 20px;
  }
  /* 顶部导航不跟随内容区的大内边距，避免导航条被撑成两行高 */
  .section-content.nav-header {
    padding: 0 16px;
  }
  .nav-menu .nav-item {
    padding: 0 10px;
  }
}

/* 窄屏 PC：导航项较多，压缩尺寸并收起「文档」入口（客户支持下拉内仍可达） */
@media screen and (max-width: 1240px) {
  .nav-right > a:not(.console-link) {
    display: none;
  }
  .nav-header .nav-left .nav-icon,
  .nav-header .nav-left .nav-icon img {
    margin-right: 16px;
  }
  .nav-menu .nav-item {
    padding: 0 8px;
    font-size: 14px;
  }
  /* 登录态头像区收窄，避免宽度超过登出态的登录/注册按钮 */
  .nav-header .login-in {
    padding: 0 16px;
  }
}

/* 更窄的 PC 窗口：进一步压缩，避免菜单项压到右侧按钮 */
@media screen and (max-width: 1120px) {
  .nav-menu .nav-item {
    padding: 0 6px;
  }
  .nav-header .nav-left .nav-icon img {
    width: 118px;
    height: auto;
  }
  .nav-header .nav-left .nav-icon {
    margin-right: 12px;
  }
}

/* 最窄的 PC 窗口（993~1024）：菜单与右侧按钮之间保留安全间距 */
@media screen and (max-width: 1024px) {
  .nav-menu .nav-item {
    padding: 0 5px;
  }
  .nav-header .login-in .name {
    max-width: 80px;
  }
}

@media screen and (max-width: 992px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 24px 40px rgba(7, 18, 36, 0.12);
    z-index: 890;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-menu.nav-open {
    display: flex;
  }
  .nav-menu .nav-item {
    height: 52px;
    border-bottom: 1px solid var(--st-line);
    padding: 0 24px;
  }
  .nav-cont {
    display: none !important;
  }

  /* 移动端：无链接的顶级菜单点击后展开其子栏目 */
  .nav-menu .nav-item.has-sub .nav-arrow {
    margin-left: auto;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(10, 27, 51, 0.4);
    border-bottom: 2px solid rgba(10, 27, 51, 0.4);
    transform: rotate(45deg);
    transition: transform .25s ease, border-color .25s ease;
  }
  .nav-menu .nav-item.has-sub.active {
    color: var(--st-teal-deep);
    border-bottom-color: var(--st-teal);
  }
  .nav-menu .nav-item.has-sub.active .nav-arrow {
    border-color: var(--st-teal-deep);
    transform: rotate(-135deg);
  }
  .nav-menu .nav-sub.nav-sub-open {
    display: block;
    width: 100%;
    background: #F4F7FB;
  }
  .nav-menu .nav-sub > a {
    display: block;
    height: 46px;
    line-height: 46px;
    padding: 0 44px 0 24px;
    font-size: 14px;
    color: var(--st-text-2);
    border-bottom: 1px solid var(--st-line);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-menu .nav-sub > a:last-child {
    border-bottom: none;
  }
  .nav-menu .nav-sub > a:hover,
  .nav-menu .nav-sub > a:active {
    color: var(--st-teal-deep);
    background: #EAF3F2;
  }
  .nav-right .control {
    margin: 0 12px;
  }
  .fboxRow {
    flex-wrap: wrap;
  }

  /* 窄屏：产品/解决方案的 tab 缩略条改为可横向滑动，
     既不让整行顶出页面横向滚动条，又能滑动触达屏幕外的 tab */
  .swiper-container.gallery-thumbs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .swiper-container.gallery-thumbs::-webkit-scrollbar {
    display: none;
  }
  .swiper-container.gallery-thumbs .jr-tabs {
    width: max-content;
  }
  .swiper-container.gallery-thumbs .jr-tabs .title {
    padding: 8px 18px;
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .section-content.nav-header {
    height: 56px;
    padding: 0 12px;
  }
  .nav-header .nav-left .nav-icon img {
    width: 92px;
    height: auto;
    margin-right: 0;
  }
  .nav-header .nav-left .nav-icon {
    margin-right: 0;
  }
  .nav-header .nav-left .nav-icon .text-logo {
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 56px;
  }
  /* 移动端隐藏文档入口，避免拥挤 */
  .nav-right > a:not(.console-link) {
    display: none;
  }
  .nav-right {
    font-size: 12px;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .nav-right .console-link .control {
    margin: 0 4px;
    padding: 5px 12px;
    font-size: 12px;
    letter-spacing: 0;
    border-radius: 15px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(4, 168, 183, 0.28);
  }
  .no-login {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  .no-login,
  .login-in {
    margin-left: 4px;
  }
  .no-login .btn {
    padding: 5px 13px;
    font-size: 12px;
    border-radius: 15px;
    white-space: nowrap;
  }
  .no-login .btn.btn-normal-light {
    margin-right: 6px;
  }
  .nav-toggle {
    width: 32px;
    height: 32px;
    margin-left: 6px;
    flex-shrink: 0;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    width: 15px;
  }
  .nav-toggle span::before { top: -5px; }
  .nav-toggle span::after { top: 5px; }
  .nav-header .login-in {
    height: 56px;
    padding: 0 8px;
  }
  .nav-header .login-in .name {
    display: none;
  }
  .nav-header .login-in .login-menu {
    top: 56px;
  }
  .nav-menu {
    top: 56px;
  }
  .section-content {
    padding: 44px 16px;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 25px;
  }
  .server-banner-desc {
    margin-bottom: 40px;
  }
  .input-search input {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 8px;
  }
  .input-search .search-btn,
  .input-search .input-search-select {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .input-search .input-search-select .select-box {
    width: calc(100% - 20px);
  }
  .promise-box {
    min-width: 50%;
    justify-content: flex-start;
    font-size: 14px;
  }
  .footer-content .footer-nav {
    flex-direction: column;
  }
  .footer .footer-nav .footer-nav-left {
    margin-right: 0;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-nav-box {
    flex: 1 1 45%;
  }
  .footer-content .footer-nav .footer-nav-right {
    width: 100%;
  }
  .footer .footer-record {
    flex-direction: column;
    height: auto;
    line-height: 1.8;
    padding: 10px 0;
  }
  .aside-tools {
    display: none;
  }
  .register-advert .register-advert-text {
    font-size: 15px;
    gap: 10px;
  }
  .register-advert .register-advert-text b {
    font-size: 18px;
  }
  .activities-banner { height: 200px; background-size: cover; }
}
