/* ====================== 全局变量 双色主题 站群切换 ====================== */
:root {
  --c-main: #0066ff;    /* 主色调 */
  --c-sub: #ff2e63;     /* 辅助高亮色 */
  --c-white: #ffffff;
  --c-dark: #0f172a;
  --c-gray: #64748b;
  --c-light: #f1f5f9;
  --speed: 0.3s all ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul {list-style: none;}
a {text-decoration: none;color: inherit;}
img {max-width: 100%;display: block;}
body {
  font-family: "Microsoft YaHei",sans-serif;
  color: var(--c-dark);
  background: #fff;
  overflow-x: hidden;
}
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ====================== 头部导航 nav ====================== */
.head {
  width: 100%;
  background: var(--c-dark);
  z-index: 999;
  position: relative;
}
.head-row {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--c-white);
}
.nav-ul {
  display: flex;
  gap: 36px;
}
.nav-li a {
  color: #cbd5e1;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  transition: var(--speed);
}
.nav-li.active a {
  color: var(--c-sub);
}
.nav-li.active a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--c-sub);
}
.nav-li a:hover {
  color: var(--c-sub);
}

/* ====================== 首页首屏Banner 超强动态光效 ====================== */
.banner-home {
  width: 100%;
  min-height: 640px;
  background: linear-gradient(140deg, var(--c-main), #083391);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* 多层大动态光效 */
.light-l1 {
  position: absolute;
  top: 0;
  left: -150%;
  width: 90%;
  height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.22),transparent);
  animation: slideL 6s linear infinite;
}
.light-l2 {
  position: absolute;
  top: 0;
  right: -150%;
  width: 90%;
  height: 100%;
  background: linear-gradient(270deg,transparent,rgba(255,46,99,0.18),transparent);
  animation: slideR 8s linear infinite;
}
.light-dot span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: dotFloat 14s infinite linear;
}
.light-dot span:nth-child(1) {top:12%;left:5%;animation-delay:0s;}
.light-dot span:nth-child(2) {top:40%;left:22%;animation-delay:1.5s;}
.light-dot span:nth-child(3) {top:75%;left:12%;animation-delay:3s;}
.light-dot span:nth-child(4) {top:25%;left:80%;animation-delay:4.5s;}
.light-dot span:nth-child(5) {top:65%;left:85%;animation-delay:6s;}
.light-ring-big {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation: ringSpin 24s linear infinite;
}
.banner-cont {
  position: relative;
  z-index: 2;
  color: var(--c-white);
}
.banner-pp {
  font-size: 38px;
  margin-bottom: 18px;
  font-weight: bold;
}
.banner-desc {
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 40px;
  opacity: 0.94;
}
.banner-btn-box {
  display: flex;
  gap: 22px;
}
.btn-fill {
  padding: 15px 40px;
  background: var(--c-sub);
  color: #fff;
  border-radius: 99px;
  font-weight: 500;
  box-shadow: 0 0 30px rgba(255,46,99,0.45);
  transition: var(--speed);
}
.btn-fill:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 45px rgba(255,46,99,0.7);
}
.btn-stroke {
  padding: 15px 40px;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 99px;
  transition: var(--speed);
}
.btn-stroke:hover {
  background: #fff;
  color: var(--c-main);
  transform: translateY(-6px) scale(1.03);
}

/* ====================== 内页通用Banner ====================== */
.banner-page {
  width: 100%;
  height: 280px;
  background: linear-gradient(140deg, var(--c-main), #083391);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.banner-page .light-l1,.banner-page .light-l2,.banner-page .light-dot,.banner-page .light-ring-big {
  transform: scale(0.65);
}
.banner-page-text {
  color: #fff;
  position: relative;
  z-index: 2;
}
.banner-page-text h1 {
  font-size: 38px;
  margin-bottom: 12px;
}
.banner-page-text p {
  font-size: 17px;
  opacity: 0.9;
}

/* ====================== 面包屑 ====================== */
.bread-nav {
  padding: 26px 0;
  font-size: 14px;
  color: var(--c-gray);
}
.bread-nav a {
  color: var(--c-main);
}

/* ====================== 二级子导航 ====================== */
.submenu {
  padding: 12px 0 32px;
}
.submenu-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.submenu-item a {
  padding: 11px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  display: inline-block;
  transition: var(--speed);
}
.submenu-item.active a {
  background: var(--c-main);
  color: #fff;
  border-color: var(--c-main);
}
.badge-num {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  border-radius: 14px;
  margin-left: 7px;
}
.submenu-item.active .badge-num {
  background: #fff;
  color: var(--c-main);
}
.submenu-item:not(.active) .badge-num {
  background: var(--c-main);
  color: #fff;
}

/* ====================== 数据统计区块 动态光效 ====================== */
.data-block {
  width: 100%;
  padding: 76px 0;
  background: linear-gradient(140deg, #0a2259, var(--c-main));
  position: relative;
  overflow: hidden;
  margin: 66px 0;
}
.data-block .light-l1 {animation-duration:7s;}
.data-block .light-dot span {background: rgba(255,255,255,0.5);}
.data-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}
.data-num {
  font-size: 46px;
  font-weight: bold;
  margin-bottom: 12px;
  animation: numPulse 3.2s ease infinite alternate;
}
.data-txt {
  font-size: 17px;
  opacity: 0.92;
}

/* ====================== 区块标题通用 ====================== */
.title-box {
  text-align: center;
  margin-bottom: 54px;
}
.title-box h2 {
  font-size: 34px;
  margin-bottom: 14px;
  color: var(--c-dark);
}
.title-box p {
  font-size: 17px;
  color: var(--c-gray);
}

/* ====================== 服务卡片 ====================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 28px;
  margin-bottom: 76px;
}
.service-card {
  display: block;
  padding: 32px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  transition: var(--speed);
}
.service-card:hover {
  border-color: var(--c-main);
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(0,102,255,0.14);
}
.service-ico {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
}
.service-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
}
.service-card p {
  font-size: 15px;
  color: var(--c-gray);
  line-height: 1.75;
}

/* ====================== 图文卡片（优势/FAQ） ====================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 28px;
  margin-bottom: 44px;
}
.text-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  transition: var(--speed);
}
.text-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(0,102,255,0.14);
}
.card-img {
  width: 100%;
  height: 166px;
  object-fit: cover;
}
.card-text {
  padding: 22px;
}
.card-text h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.card-text p {
  font-size: 15px;
  color: var(--c-gray);
  line-height: 1.65;
}
.more-btn {
  text-align: center;
  margin-bottom: 76px;
}
.more-link {
  color: var(--c-main);
  font-weight: 500;
  font-size: 16px;
}

/* ====================== 资讯列表 ====================== */
.news-wrap {
  margin-bottom: 44px;
}
.news-item {
  display: flex;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid #e2e8f0;
}
.news-img {
  width: 230px;
  height: 146px;
  object-fit: cover;
  border-radius: 8px;
}
.news-text h2 {
  font-size: 21px;
  margin-bottom: 12px;
}
.news-time {
  font-size: 14px;
  color: var(--c-gray);
  margin-bottom: 12px;
}
.news-desc {
  font-size: 15px;
  color: var(--c-gray);
  line-height: 1.75;
}
.page-turn {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 32px 0;
}
.page-turn a {
  padding: 9px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 14px;
}

/* ====================== 资讯详情 ====================== */
.detail-wrap {
  padding-bottom: 76px;
}
.detail-h1 {
  font-size: 32px;
  margin-bottom: 18px;
}
.detail-time {
  font-size: 15px;
  color: var(--c-gray);
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e2e8f0;
}
.detail-body {
  font-size: 17px;
  line-height: 1.95;
  color: #222;
}
.prev-next {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--c-gray);
}

/* ====================== 通用正文盒子 ====================== */
.content-wrap {
  font-size: 17px;
  line-height: 1.95;
  color: #222;
  padding-bottom: 76px;
}

/* ====================== 底部转化区块 超大动态光效 ====================== */
.action-block {
  width: 100%;
  padding: 96px 0;
  background: linear-gradient(140deg, #071c49, var(--c-main));
  position: relative;
  overflow: hidden;
  margin-top: 66px;
}
.action-block .light-l1 {animation-duration:5.5s;}
.action-block .light-l2 {animation-duration:7.5s;}
.action-block .light-dot span {background: rgba(255,255,255,0.55);}
.action-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  color: #fff;
}
.action-text h2 {
  font-size: 36px;
  margin-bottom: 14px;
}
.action-text p {
  font-size: 18px;
  opacity: 0.93;
}
.action-btn-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.action-btn1 {
  padding: 16px 42px;
  background: var(--c-sub);
  color: #fff;
  border-radius: 99px;
  font-weight: 500;
  box-shadow: 0 0 32px rgba(255,46,99,0.42);
  transition: var(--speed);
}
.action-btn1:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 48px rgba(255,46,99,0.68);
}
.action-btn2 {
  padding: 16px 42px;
  background: #fff;
  color: var(--c-main);
  border-radius: 99px;
  font-weight: 500;
  transition: var(--speed);
}
.action-btn2:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 36px rgba(255,255,255,0.32);
}

/* ====================== 页脚 ====================== */
.foot {
  background: var(--c-dark);
  color: #cbd5e1;
  padding: 66px 0 36px;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 44px;
}
.foot-contact h4 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 22px;
}
.foot-contact p {
  line-height: 2.05;
  font-size: 14px;
}
.foot-link span {
  color: #fff;
  margin-right: 10px;
}
.foot-link a {
  margin-right: 14px;
  font-size: 14px;
  color: #cbd5e1;
}
.copyright {
  border-top: 1px solid #1e293b;
  padding-top: 22px;
  text-align: center;
  font-size: 14px;
}
.copyright a {
  color: var(--c-sub);
  margin-left: 12px;
}

/* ====================== 动画关键帧 大幅度动态 ====================== */
@keyframes slideL {
  0% {left: -150%;}
  100% {left: 150%;}
}
@keyframes slideR {
  0% {right: -150%;}
  100% {right: 150%;}
}
@keyframes dotFloat {
  0% {transform: translate(0,0) scale(1);opacity:0;}
  20% {opacity:1;}
  80% {opacity:1;}
  100% {transform: translate(150px,-220px) scale(0);opacity:0;}
}
@keyframes ringSpin {
  0% {transform: translate(-50%,-50%) rotate(0deg);}
  100% {transform: translate(-50%,-50%) rotate(360deg);}
}
@keyframes numPulse {
  0% {transform: scale(1);}
  100% {transform: scale(1.08);}
}

/* ====================== 移动端响应式全套适配 ====================== */
/* 平板 1024px */
@media screen and (max-width:1024px) {
  .banner-h1 {font-size: 38px;}
  .data-row {grid-template-columns: repeat(2,1fr);}
  .service-grid,.card-grid {grid-template-columns: repeat(2,1fr);}
  .action-row {flex-direction: column;text-align: center;}
  .action-btn-group {justify-content: center;}
  .foot-row {flex-direction: column;}
}
/* 手机横屏 768px */
@media screen and (max-width:768px) {
  .head-row {height: auto;flex-direction: column;padding:18px 0;gap:18px;}
  .nav-ul {flex-wrap: wrap;justify-content: center;gap:18px;}
  .banner-home {min-height: 440px;}
  .banner-h1 {font-size: 30px;}
  .banner-desc {font-size: 16px;}
  .banner-btn-box {flex-direction: column;}
  .btn-fill,.btn-stroke {width: 100%;text-align: center;}
  .banner-page {height: 210px;}
  .banner-page-text h1 {font-size:28px;}
  .title-box h2 {font-size:28px;}
  .action-text h2 {font-size:28px;}
  .news-item {flex-direction: column;}
  .news-img {width:100%;height:210px;}
  .detail-h1 {font-size:26px;}
  .light-ring-big {width:320px;height:320px;}
}
/* 手机竖屏 480px */
@media screen and (max-width:480px) {
  .banner-h1 {font-size:25px;}
  .data-row {grid-template-columns: 1fr;}
  .service-grid,.card-grid {grid-template-columns: 1fr;}
  .data-num {font-size:34px;}
  .submenu-row {gap:10px;}
  .submenu-item a {padding:9px 16px;font-size:13px;}
  .action-block {padding:66px 0;}
  .action-btn1,.action-btn2 {width:100%;text-align:center;}
  .page-turn {flex-wrap: wrap;}
}
