/* ============================================
   页面美化增强样式
   ============================================ */

/* ---------- 全局优化 ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
}

::selection {
  background: linear-gradient(135deg, #ED3C3F, #FD472C);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ED3C3F, #FD472C);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d42e31, #e53e3f);
}

/* ---------- 头部美化 ---------- */
.page-index .header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(20, 5, 78, 0.85) !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-index .header.header_down {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

.page-index .header .hd_nav .nav-link {
  font-weight: 500;
  letter-spacing: 0;
  transition: all 0.3s ease;
}

.page-index .header .hd_nav .nav_item.current .nav-link::after,
.page-index .header .hd_nav .nav_item:hover .nav-link::after {
  height: 2px;
  border-radius: 1px;
}

/* ---------- Banner 美化 ---------- */
.page-index .index-slide .swiper-slide {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ---------- Section 标题美化 ---------- */
.section-title h2 {
  font-weight: 700;
  letter-spacing: 0;
  background: linear-gradient(135deg, #333 0%, #1a1a2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title.white h2 {
  background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title .crown {
  color: #ED3C3F;
  font-weight: 600;
}

/* ---------- Section 1 特性卡片美化 ---------- */
.page-index .section-1 {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-index .section-1:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 15px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.page-index .section-1 .list li a {
  transition: all 0.3s ease;
}

.page-index .section-1 .list li a:hover {
  transform: translateY(-3px);
}

.page-index .section-1 .list li h3 {
  font-weight: 600;
  color: #1a1a2e;
}

/* ---------- Section 2 产品方案美化 ---------- */
.page-index .section-2 .section-tab .tab-item {
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-index .section-2 .section-tab .tab-item.on {
  box-shadow: 0 15px 50px rgba(237, 60, 63, 0.15);
}

.page-index .section-2 .section-tab .item-hd {
  border-radius: 12px 12px 0 0;
}

.page-index .section-2 .section-tab .item-bd {
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 40px rgba(33, 40, 60, 0.08);
}

.page-index .section-2 .tab-1-slide .hd li {
  transition: all 0.3s ease;
  border-radius: 8px;
}

.page-index .section-2 .tab-1-slide .hd li.on {
  background: rgba(237, 60, 63, 0.05);
}

.page-index .section-2 .tab-1-slide dl dd {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.page-index .section-2 .tab-1-slide dl dd:hover {
  border-color: #ED3C3F;
  box-shadow: 0 5px 20px rgba(237, 60, 63, 0.1);
  transform: translateY(-2px);
}

.page-index .section-2 .tab-1-slide .l-btn {
  border-radius: 20px;
  transition: all 0.3s ease;
}

.page-index .section-2 .tab-1-slide .l-btn:hover {
  background: linear-gradient(135deg, #ED3C3F, #FD472C);
  color: #fff;
  box-shadow: 0 5px 15px rgba(237, 60, 63, 0.3);
  transform: translateY(-1px);
}

/* ---------- Section 4 架构卡片美化 ---------- */
.page-index .section-4 .list li {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}

.page-index .section-4 .list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.page-index .section-4 .list li h3 {
  font-weight: 600;
  color: #1a1a2e;
}

/* ---------- Section 5 平台架构美化 ---------- */
.page-index .section-5 .hd .list li {
  transition: all 0.3s ease;
  border-radius: 10px;
  cursor: pointer;
}

.page-index .section-5 .hd .list li:hover {
  transform: translateY(-3px);
}

.page-index .section-5 .hd2 li {
  transition: all 0.3s ease;
  border-radius: 8px;
  box-sizing: border-box;
}

.page-index .section-5 .hd2 li:hover {
  background: rgba(237, 60, 63, 0.05);
  transform: translateX(3px);
}

/* ---------- Section 6 解决方案美化 ---------- */
.page-index .section-6 .bd .list li {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.page-index .section-6 .bd .list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(22, 25, 42, 0.9) 0%, rgba(26, 26, 40, 0.85) 100%);
  z-index: 1;
  transition: all 0.4s ease;
}

.page-index .section-6 .bd .list li:hover::before {
  background: linear-gradient(135deg, rgba(237, 60, 63, 0.15) 0%, rgba(22, 25, 42, 0.9) 100%);
}

.page-index .section-6 .bd .list li .inner {
  position: relative;
  z-index: 2;
}

.page-index .section-6 .bd .list li .h2 {
  font-weight: 700;
  letter-spacing: 0;
}

.page-index .section-6 .hd .list li {
  transition: all 0.3s ease;
  border-radius: 10px;
  cursor: pointer;
}

.page-index .section-6 .hd .list li:hover {
  transform: translateY(-3px);
}

/* ---------- 按钮美化 ---------- */
.btn-red2 {
  background: linear-gradient(135deg, #ED3C3F 0%, #FD472C 100%) !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 15px rgba(237, 60, 63, 0.3);
  transition: all 0.3s ease !important;
}

.btn-red2:hover {
  background: linear-gradient(135deg, #d42e31 0%, #e53e3f 100%) !important;
  box-shadow: 0 6px 20px rgba(237, 60, 63, 0.4) !important;
  transform: translateY(-2px);
}

.btn-line {
  border-radius: 25px !important;
  transition: all 0.3s ease !important;
}

.btn-line:hover {
  background: #fff;
  color: #333 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* ---------- Footer 美化 ---------- */
.footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #16192a 100%) !important;
}

.footer .footer_service {
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .footer_service li .text .h3 {
  font-weight: 600;
}

.footer .footer_link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.footer .ft-menu .menu-list dt {
  font-weight: 600;
}

.footer .ft-menu .menu-list a {
  transition: all 0.3s ease;
  padding-left: 0;
}

.footer .ft-menu .menu-list a:hover {
  color: #ED3C3F !important;
  padding-left: 5px;
}

.footer .footer_copy p {
  color: #666;
}

/* ---------- 右侧悬浮客服美化 ---------- */
.float-right-box {
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -5px 5px 30px rgba(0, 0, 0, 0.1);
}

.float-right-box .top-list li a {
  transition: all 0.3s ease;
}

.float-right-box .top-list li a:hover {
  background: rgba(237, 60, 63, 0.05);
  transform: translateX(-3px);
}

/* ---------- 模态框美化 ---------- */
.modal {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6) !important;
}

.modal-content {
  border-radius: 16px !important;
  border: none !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-content .close {
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 10;
  color: #999;
  transition: all 0.3s ease;
}

.modal-content .close:hover {
  color: #333;
  transform: rotate(90deg);
}

/* ---------- 滚动动画 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section-title,
.section-1 .list li,
.section-4 .list li,
.section-5 .hd2 li {
  animation: fadeInUp 0.8s ease forwards;
}

.section-1 .list li:nth-child(1) { animation-delay: 0.1s; }
.section-1 .list li:nth-child(2) { animation-delay: 0.2s; }
.section-1 .list li:nth-child(3) { animation-delay: 0.3s; }
.section-1 .list li:nth-child(4) { animation-delay: 0.4s; }

.section-4 .list li:nth-child(1) { animation-delay: 0.1s; }
.section-4 .list li:nth-child(2) { animation-delay: 0.2s; }
.section-4 .list li:nth-child(3) { animation-delay: 0.3s; }
.section-4 .list li:nth-child(4) { animation-delay: 0.4s; }
.section-4 .list li:nth-child(5) { animation-delay: 0.5s; }
.section-4 .list li:nth-child(6) { animation-delay: 0.6s; }

/* ---------- 微交互优化 ---------- */
a {
  transition: all 0.3s ease;
}

img {
  transition: all 0.3s ease;
}

/* ---------- 响应式优化 ---------- */
@media screen and (max-width: 768px) {
  .section-title h2 {
    font-size: 1.6rem;
  }

  .page-index .section-1 {
    border-radius: 0.8rem;
  }

  .btn-red2,
  .btn-line {
    border-radius: 20px !important;
  }

  .modal-content {
    border-radius: 12px !important;
    margin: 10% auto !important;
  }
}

/* ---------- 全站统一细节 ---------- */
body {
  min-width: 0;
  color: #263238;
  line-height: 1.65;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container,
.w1200 {
  box-sizing: border-box;
}

.header {
  box-shadow: 0 3px 18px rgba(22, 38, 45, 0.06);
}

.header .hd_nav .nav-link {
  font-weight: 500;
}

.page-index .header {
  background: rgba(20, 37, 43, 0.78) !important;
  border-bottom-color: rgba(255, 255, 255, 0.18) !important;
}

.page-index .header.header_down {
  background: rgba(255, 255, 255, 0.97) !important;
}

.section-title h2 {
  color: #263238;
  font-weight: 700;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 16px auto 0;
  background: #ed3c3f;
  border-radius: 2px;
}

.section-title.white h2 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.section-title.white h2::after {
  background: #fff;
}

.page-index .section-1,
.page-index .section-2 .section-tab .item-bd,
.page-index .section-2 .section-tab .tab-item.on .item-bd {
  border-radius: 8px;
}

.page-index .section-1 {
  box-shadow: 0 12px 36px rgba(27, 47, 57, 0.12);
}

.page-index .section-2 .section-tab .item-bd {
  box-shadow: 0 12px 36px rgba(27, 47, 57, 0.09);
}

.btn-red2,
.btn-line,
.btn-line2 {
  border-radius: 4px !important;
}

.btn-red2 {
  background: #ed3c3f !important;
  box-shadow: 0 5px 15px rgba(237, 60, 63, 0.2);
}

.btn-red2:hover {
  background: #d92f34 !important;
}

.footer {
  background: #17272d !important;
}

.footer .footer_service {
  background: #1d3037 !important;
}

.footer .footer_link {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.footer .ft-menu .menu-list dt {
  font-size: 19px;
}

.footer .footer_copy p {
  color: #a9b4b8;
}

.suspension .a {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.suspension .a:hover {
  transform: translateX(-3px);
}

/* ---------- 资讯与联系页 ---------- */
.page-news .section-2,
.page-contactus .section-2 {
  margin-top: 56px;
  padding-bottom: 64px;
}

.page-news .section-2 .title,
.page-contactus .section-2 .title,
.page-contactus .mob-s2 .title {
  align-items: center;
  padding-bottom: 14px;
  border-bottom-color: #e5e9eb;
}

.page-news .section-2 .title .title_left,
.page-contactus .section-2 .title .title_left {
  font-weight: 600;
}

.page-news .section-2 .case_list_title {
  margin: 42px 0 30px;
}

.page-news .section-2 .case_list_title span,
.page-news .section-2 .case_list_title .all_title {
  letter-spacing: 0;
}

.page-news .section-2 .news_list {
  padding: 28px 0;
  border-top-color: #e5e9eb;
}

.page-news .section-2 .news_list .item {
  gap: 8px;
  margin-bottom: 16px;
}

.page-news .section-2 .news_list .item .item_left {
  background: #315d68;
  border-radius: 4px 0 0 4px;
}

.page-news .section-2 .news_list .item .item_right {
  background: #f5f8f9;
  border-radius: 0 4px 4px 0;
  padding: 0 32px;
}

.page-news .section-2 .news_list .item:hover .item_left {
  background: #ed3c3f;
}

.page-news .section-2 .news_list .item:hover .item_right {
  box-shadow: 0 8px 24px rgba(25, 48, 57, 0.1);
}

.page-news .news_contentsss {
  border-radius: 6px;
  box-shadow: 0 10px 34px rgba(25, 48, 57, 0.08);
}

.page-news .page_pc .news_contentsss .case_list_title .title_wrap .title_1 {
  font-weight: 700;
  line-height: 1.45;
}

.page-news .page_pc .news_contentsss .news_content .content_detail {
  color: #46545a;
  line-height: 1.9;
}

.page-contactus .section-2 .case_content {
  align-items: stretch;
  gap: 44px;
}

.page-contactus .section-2 .case_content .content_left {
  overflow: hidden;
  border: 1px solid #dfe6e8 !important;
  border-radius: 6px;
  background: #f5f8f9;
}

.page-contactus .section-2 .case_content .content_right {
  padding: 8px 0;
}

.page-contactus .section-2 .case_content .content_right .content_title {
  font-weight: 700;
}

.page-contactus .section-2 .case_content .content_right .desc_title,
.page-contactus .section-2 .case_content .content_right .red_num {
  color: #c83439 !important;
}

.page-contactus .section-2 .case_content .content_right .desc_detail {
  line-height: 1.75;
}

.page-update .update-tabs {
  box-shadow: 0 6px 24px rgba(25, 48, 57, 0.06);
}

.page-update .updata_temp .box .item .desc:before {
  border-radius: 5px;
  box-shadow: 0 8px 26px rgba(25, 48, 57, 0.07);
}

@media screen and (min-width: 769px) and (max-width: 1319px) {
  body {
    min-width: 0;
  }

  .container,
  .w1200 {
    width: min(1200px, calc(100% - 48px));
  }

  .page-index .section-5 .inner-slide {
    width: 100%;
  }

  .page-index .section-1 .list li {
    box-sizing: border-box;
    height: 131px;
    padding: 0 12px;
  }

  .page-index .section-1 .list li a {
    display: flex;
    height: 131px;
    align-items: center;
    gap: 12px;
  }

  .page-index .section-1 .list li .img {
    float: none;
    flex: 0 0 51px;
    margin: 0;
  }

  .page-index .section-1 .list li .text {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
  }

  .page-index .section-1 .list li h3 {
    font-size: 15px;
  }

  .page-index .section-1 .list li p {
    font-size: 12px;
    line-height: 1.5;
  }

  .page-index .section-4 .list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 36px;
    margin: 0;
  }

  .page-index .section-4 .list li {
    float: none;
    width: auto;
    margin: 0;
  }

  .page-feature .section-6 .list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 24px;
    margin: 0;
  }

  .page-feature .section-6 .list li {
    box-sizing: border-box;
    float: none;
    width: auto;
    margin: 0;
    border-radius: 8px;
  }
}

@media screen and (min-width: 769px) and (max-width: 950px) {
  .header .hd_nav {
    margin-left: 12px;
  }

  .header .hd_nav .nav-link {
    padding: 0 9px;
    font-size: 12px;
  }

  .header .hd_extra {
    display: none;
  }

  .page-index .section-4 .list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-feature .section-6 .list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 移动端 ---------- */
@media screen and (max-width: 768px) {
  body {
    min-width: 0 !important;
    overflow-x: hidden;
  }

  .page-index .mob-header {
    background: #17343c;
    border-bottom-color: rgba(255, 255, 255, 0.15);
  }

  .page-index .mob-header.header_down,
  .page-index .mob-header.active {
    background: #fff;
  }

  .mob-header-menu {
    box-shadow: 0 12px 26px rgba(20, 37, 43, 0.12);
  }

  .mob-header-menu .menu-link {
    font-weight: 500;
  }

  .mob-fixed-footer {
    box-shadow: 0 -4px 18px rgba(20, 37, 43, 0.08);
  }

  .mob-fixed-footer .f-btn {
    background: #ed3c3f;
  }

  .mob-footer .footer_service {
    background: #1d3037;
  }

  .mob-footer .footer_main {
    background: #17272d;
  }

  .page-index .mob-s1 {
    background-position: center top;
  }

  .page-news .page_mobile .mob-body .mob-s2,
  .page-contactus .mob-s2 {
    margin-top: 32px;
    padding-bottom: 28px;
  }

  .page-news .page_mobile .mob-body .mob-s2 .title,
  .page-contactus .mob-s2 .title {
    gap: 10px;
    align-items: center;
    padding-bottom: 10px;
  }

  .page-news .page_mobile .mob-body .mob-s2 .title .title_right,
  .page-contactus .mob-s2 .title .title_right {
    font-size: 12px;
  }

  .page-news .page_mobile .mob-body .mob-s2 .case_list_title {
    margin: 24px 0 18px;
  }

  .page-news .page_mobile .mob-body .mob-s2 .case_list_title span,
  .page-news .page_mobile .mob-body .mob-s2 .case_list_title .all_title {
    font-size: 15px;
    letter-spacing: 0;
  }

  .page-news .page_mobile .mob-body .mob-s2 .news_list {
    padding: 16px 0;
  }

  .page-news .page_mobile .mob-body .mob-s2 .news_list .item {
    gap: 6px;
    margin-bottom: 12px;
  }

  .page-news .page_mobile .mob-body .mob-s2 .news_list .item .item_left {
    min-width: 76px;
    border-radius: 4px 0 0 4px;
  }

  .page-news .page_mobile .mob-body .mob-s2 .news_list .item .item_right {
    min-width: 0;
    padding: 12px;
    border-radius: 0 4px 4px 0;
  }

  .page-news .page_mobile .mob-body .mob-s2 .news_list .item .item_right .list_content_left {
    min-width: 0;
  }

  .page-news .page_mobile .mob-body .mob-s2 .news_list .item .item_right .list_content_left .title {
    font-size: 14px;
    line-height: 1.5;
  }

  .page-news .page_mobile .mob-body .mob-s2 .news_list .item .item_right .list_content_left .content {
    font-size: 12px;
    line-height: 1.6;
  }

  .page-news .page_mobile .news_contentsss {
    width: calc(100% - 24px);
    padding: 18px 14px !important;
    margin-top: 20px;
  }

  .page-news .page_mobile .news_contentsss .case_list_title {
    margin: 20px 0;
  }

  .page-news .page_mobile .news_contentsss .case_list_title .title_wrap .title_1 {
    font-size: 20px;
    line-height: 1.5;
  }

  .page-news .page_mobile .news_contentsss .news_content .content_detail {
    overflow-wrap: anywhere;
  }

  .page-contactus .mob-s2 .case_content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
  }

  .page-contactus .mob-s2 .case_content .content_left {
    box-sizing: border-box;
    width: 100%;
    min-width: 0 !important;
    min-height: 220px !important;
    margin: 0;
    border: 1px solid #dfe6e8 !important;
    border-radius: 6px;
    background: #f5f8f9;
  }

  .page-contactus .mob-s2 .case_content .content_right {
    width: 100%;
    margin: 0;
  }

  .page-contactus .mob-s2 .case_content .content_right .desc_detail {
    overflow-wrap: anywhere;
  }

  .page-contactus .mob-s2 .case_content .content_right .red_num {
    color: #c83439 !important;
  }

  .page-update .page_mobile .updata_temp {
    margin: 28px 0;
  }

  .modal-content {
    border-radius: 8px !important;
  }
}
