/* 腾讯云风格 - 公共组件样式 */

/* 内容区容器 */
.section-content {
  padding: 80px 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.section-title .section-desc {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
}

.section-bg {
  color: #fff;
}

.section-bg .section-title .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

.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: rgba(0, 0, 0, 0.60);
}

.section-w {
  max-width: 100%;
}

.section-title {
  text-align: center;
}

.document .section-content {
  max-width: unset;
}

/* ===================== 顶部导航栏 ===================== */
/* 顶部导航栏通过 .nav-shadow 实现定位 */

.nav-shadow {
  position: sticky;
  top: 0;
  z-index: 888;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-header .nav-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-header .nav-left .nav-icon img {
  width: 135px;
  height: 30px;
  margin-right: 40px;
}

.nav-menu {
  display: flex;
}

.nav-menu .nav-item {
  color: #333;
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 18px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-menu .nav-item:hover {
  color: #0052D9;
  border-bottom: 2px solid #0052D9;
}

.nav-right {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.nav-right .control {
  margin: 0 16px;
  color: #333;
  transition: color 0.2s;
}

.nav-right .control:hover {
  color: #0052D9;
}

.breadcrumb {
  padding-left: 0;
  margin-bottom: 8px;
  background-color: transparent;
}

/* 下拉菜单面板 */
.nav-cont {
  position: absolute;
  top: 64px;
  width: 100%;
  overflow: hidden;
  background: #F7F8FA;
  transition: all .3s ease;
  height: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.nav-cont .section-content {
  padding: 0;
}

.nav-content {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 48px 20px;
  position: relative;
  box-sizing: border-box;
}

.nav-content a {
  width: calc(25% - 12px);
}

.nav-cont .nav-cont-menu {
  display: none;
}

.nav-cont .nav-cont-empty {
  display: none !important;
}

.nav-item-box {
  min-width: 335px;
  height: 88px;
  padding: 20px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.nav-item-box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.nav-item-box:hover .title {
  color: #0052D9;
}

.nav-item-box img {
  width: 44px;
  height: 44px;
}

.nav-item-box .item-box-title {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-left: 14px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.9);
}

.nav-item-box .item-box-title .desc {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.4);
}

/* 登录区域 */
.nav-header .login-in {
  cursor: pointer;
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  z-index: 999;
  padding: 0 28px;
}

.nav-header .login-in::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 28px;
  transform: translateY(-50%);
  border-left: 1px solid #E7E8EC;
}

.nav-header .login-in:hover .login-menu {
  display: block;
}

.nav-header .login-in .head-img {
  width: 32px;
  height: 32px;
  background: #0052D9;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-header .login-in .name {
  display: inline-block;
  max-width: 140px;
}

.nav-header .login-in .login-menu {
  display: none;
  padding: 8px;
  position: absolute;
  top: 64px;
  left: 0;
  width: 160px;
  background: #FFFFFF;
  border: 1px solid #E7E8EC;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.nav-header .login-in .login-menu .login-menu-item {
  cursor: pointer;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.15s ease;
}

.nav-header .login-in .login-menu .login-menu-item:hover {
  background: #ECF2FE;
  color: #0052D9;
}

.nav-header .login-in .login-menu .login-menu-item .real-name {
  display: inline-block;
  text-align: center;
  border: 1px solid #0052D9;
  color: #0052D9;
  font-size: 12px;
  width: 44px;
  height: 18px;
  line-height: 18px;
  border-radius: 3px;
}

.nav-header .login-in .login-menu .login-menu-item .no-real-name {
  border: 1px solid #E34D59;
  color: #E34D59;
}

/* ===================== 底部导航栏 ===================== */

.footer {
  background: #1B2643;
  color: rgba(255, 255, 255, 0.90);
}

.register-advert {
  width: 100%;
  height: 68px;
  background: linear-gradient(135deg, #0052D9 0%, #3370E2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-advert a {
  text-align: center;
  color: #fff;
  font-size: 16px;
}

.register-advert a img {
  max-width: 100%;
  margin: 0 auto;
}

.section-promise {
  background-color: #161E35;
}

.promise {
  display: flex;
  flex-wrap: wrap;
}

.promise-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 200px;
  padding: 24px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.promise-box img {
  height: 28px;
  width: 28px;
}

.promise-box span {
  color: rgba(255, 255, 255, 0.85);
}

.footer-content {
  background-color: #1B2643;
  font-size: 14px;
}

.footer-content .footer-nav {
  display: flex;
  justify-content: space-between;
  padding: 48px 0 32px;
}

.footer .footer-nav .footer-nav-left {
  margin-right: 120px;
}

.footer-content .footer-nav .footer-nav-left {
  display: flex;
  width: 100%;
  gap: 24px;
}

.footer-nav-box {
  flex: 1;
}

.footer-nav-box .footer-nav-head {
  padding: 10px 0;
  width: 120px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.90);
}

.footer-nav-box .footer-nav-cont {
  padding-top: 16px;
}

.footer-nav-box .footer-nav-item {
  margin-bottom: 8px;
  font-size: 13px;
}

.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.45);
}

.footer-nav-right .qr-code img {
  margin-top: 16px;
  width: 80px;
  height: 80px;
}

.footer .footer-link {
  display: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  height: 48px;
  line-height: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .link-hover {
  color: rgba(255, 255, 255, 0.45);
}

.footer .link-hover:hover {
  color: #3370E2;
}

.footer .footer-link a {
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.45);
}

.footer .footer-link a:hover {
  margin-right: 10px;
  color: #3370E2;
}

.footer .footer-record {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  height: 48px;
  line-height: 48px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* Tab 样式 */
.jr-tabs {
  display: flex;
  border-bottom: 1px solid #E7E8EC;
}

.no-login,
.login-in {
  margin-left: 16px;
}

.jr-tabs .title {
  color: #666;
  font-size: 16px;
  width: auto !important;
  padding: 10px 40px;
  cursor: pointer;
  margin-right: 0 !important;
  transition: all 0.2s ease;
}

.jr-tabs .title.swiper-slide-thumb-active {
  color: #0052D9;
  border-bottom: 2px solid #0052D9;
}

.jr-tabs .title:hover {
  color: #0052D9;
  border-bottom: 2px solid #0052D9;
}

/* 产品页 Banner */
.server-banner {
  background: rgba(247, 248, 250, 1);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.server-banner2 {
  background: rgba(0, 0, 0, 0.40);
  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;
}

.server-banner-desc2 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* 搜索框 */
.input-search {
  display: flex;
  position: relative;
}

.input-search input {
  padding-left: 15px;
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 20px;
  width: 30%;
  height: 56px;
  background: #FFFFFF;
  border: 1px solid #0052D9;
}

.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: #0052D9;
}

.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 #0052D9;
  border-left: none;
}

.input-search .input-search-left-select {
  border: 1px solid #0052D9;
  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: #FEFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.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 #E7E8EC;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.input-search .input-search-select .select-box-item:hover {
  border: 1px solid #0052D9;
  color: #0052D9;
}

.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: #0052D9;
}

/* 分页 */
.jr-page .pagination .page-number.active {
  color: #fff;
  border: 1px solid #0052D9;
  background: #0052D9;
}

.jr-page .pagination .page-number:hover {
  background: #0052D9;
  color: #fff !important;
}

.jr-page .pagination>li a {
  margin: 0 4px;
  border: 1px solid #DCDCDC;
  border-radius: 4px;
  color: rgba(0, 0, 0, 0.60);
}

.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: 6px;
  position: relative;
}

.jr-select select {
  border: 1px solid #E7E8EC;
  border-radius: 6px;
  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: 45%;
  right: 0;
  z-index: 3;
}

.aside-tools .tools-list {
  width: 44px;
  background: #FFFFFF;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.06);
  border-radius: 6px 0 0 6px;
  overflow: hidden;
}

.aside-tools .tools-list .tools-item {
  position: relative;
  transition: all 0.2s ease;
}

.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(0, 0, 0, 0.06);
  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 {
  background: #ECF2FE;
}

.aside-tools .tools-list .tools-item:hover .tools-box {
  display: block;
}

.aside-tools .tools-list .tools-item .tools-box {
  display: none;
  position: absolute;
  left: -230px;
  top: 0;
  padding-right: 30px;
}

.aside-tools .tools-list .tools-item .tools-box-s {
  padding: 20px;
  width: 190px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

.aside-tools .tools-list .tools-item .tools-box h5 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #1B2643;
}

.aside-tools .tools-list .tools-item .tools-box p {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

.aside-tools .tools-list .tools-item .tools-box .button {
  font-size: 12px;
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px solid #0052D9;
  color: #0052D9;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.aside-tools .tools-list .tools-item .tools-box .button:hover {
  background: #0052D9;
  color: #fff;
}

.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;
}

#footerRecord .left-info a {
  margin-right: 10px;
}

/* ===================== 回到顶部 ===================== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #E7E8EC;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #0052D9;
  border-color: #0052D9;
}

.back-to-top:hover svg {
  fill: #fff;
  stroke: #fff;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #666;
  fill: none;
  transition: all 0.2s;
}

/* ===================== 滚动淡入动画 ===================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animated-in {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.animated-in {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.animated-in {
  opacity: 1;
  transform: translateX(0);
}

/* ===================== 导航搜索框 ===================== */
.nav-search {
  position: relative;
  margin-right: 8px;
}

.nav-search-input {
  width: 0;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  transition: all 0.3s ease;
  background: #F7F8FA;
}

.nav-search.active .nav-search-input {
  width: 200px;
  border-color: #0052D9;
  background: #fff;
}

.nav-search-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-search-btn:hover {
  background: #ECF2FE;
}

.nav-search-btn svg {
  width: 18px;
  height: 18px;
  stroke: #666;
  fill: none;
}

/* ===================== 响应式适配 ===================== */
@media screen and (max-width: 1440px) {
  .nav-content a {
    width: calc(33.33% - 12px);
  }
}

@media screen and (max-width: 1200px) {
  .nav-header .nav-left .nav-icon img {
    margin-right: 20px;
  }

  .nav-menu .nav-item {
    padding: 0 12px;
  }

  .section-content {
    padding: 60px 20px;
  }

  .quick-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid-secondary {
    grid-template-columns: repeat(2, 1fr);
  }

  .resolve-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content .footer-nav .footer-nav-left {
    flex-wrap: wrap;
    margin-right: 0;
  }

  .footer .footer-nav .footer-nav-right {
    width: 100%;
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .nav-header {
    height: 56px;
    padding: 0 16px;
  }

  .nav-menu {
    display: none;
  }

  .nav-right .control {
    display: none;
  }

  .section-content {
    padding: 40px 16px;
  }

  .banner-cont .swiper-slide {
    height: 360px;
  }

  .banner-text h1 {
    font-size: 28px;
  }

  .banner-quick {
    margin-top: -24px;
  }

  .quick-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-grid-secondary {
    grid-template-columns: 1fr;
  }

  .resolve-grid {
    grid-template-columns: 1fr;
  }

  .base-content-wrapper {
    flex-direction: column;
  }

  .stat-item {
    margin-bottom: 16px;
  }

  .news-content {
    gap: 20px;
  }

  .news-content .news-cont {
    min-width: 100%;
  }

  .footer-content .footer-nav {
    flex-direction: column;
  }

  .footer-content .footer-nav .footer-nav-left {
    flex-wrap: wrap;
  }

  .footer-nav-box {
    min-width: calc(50% - 12px);
  }

  .aside-tools {
    display: none;
  }

  .section-title h2 {
    font-size: 24px;
  }
}
