/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* 通用容器和行样式（用于非导航栏区域） */
/* .container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
} */

/* Container 响应式 */
/* @media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
} */

.row {
  display: flex;
  flex-wrap: wrap;
}

/* 通用 Logo 样式 */
.tab-logo {
  display: block;
}

/* Banner 样式 */
.home-banner {
  background-image: url("../img/index/back.png");
  background-position: center;
  background-repeat: no-repeat;
  padding:164px 0 20px 0;
  background-color: #2d75d5;
  background-position: 100% 0;
  background-size: 58%;
}

.banner-box {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media (min-width: 768px) {
 .banner-box{
    width: 750px;
  }
}

@media (min-width: 992px) {
  .banner-box{
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .banner-box{
    width: 1170px;
  }
}

.banner-head {
  margin-top: 60px;
  width: 750px;
  padding: 0 15px;
}

.banner-head h1 {
  font-size: 46px;
  color: #fff;
  margin: 20px 0;
}

.cool-txt {
  display: inline-block;
  background: linear-gradient(-90deg, #4690ff 1%, #b068ff 99%);
  transform: skew(-20deg);
}

.cool-txt p {
  color: #fff;
  padding: 7px 16px 6px 14px;
  border-radius: 4px;
  font-size: 18px;
  margin: 0;
  transform: skew(20deg);
}

.bg-icon1 {
  display: flex;
  /* justify-content: center;
  align-items: center; */
  flex: 1;
  /* padding: 0 15px; */
}

.home-banner .bg-icon1 .card-img {
  width: 224px;
  height: 335px;
  object-fit: contain;
}

.company {
  width: 100%;
  text-align: center;
}

.company-h {
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 400;
}

.company-logo {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.company-logo > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  height: 60px;
}

.home-banner .company-logo .tab-logo {
  /* width: 195px;
  height: auto; */
  width: 100%;
  height: 100%;
  display: block;
}

@media only screen and (max-width: 468px){
  .home-banner{
    padding:100px 15px 20px;
  }
  .banner-head{
    text-align: center;
    vertical-align: middle;
    margin-top: 0;
  }
  .banner-head h1{
    font-size:24px;
  }
  .cool-txt{
    margin-top: 0;
    margin-bottom: 40px;
  }
  .cool-txt p{
    font-size: 14px;
  }
  .bg-icon1{
    display: none;
  }
  .company{
    margin-top: 0;
  }
  .company .company-h{
    margin-bottom: 20px;
  }
  .company-logo div{
    margin-bottom: 15px;
    width:33%;
  }
  .company .company-logo .tab-logo{
    width:100%;
  }
 
}

/* Module Small 样式 */
.module-small {
  padding: 24px 0;
}

.module-gray {
  background-color: #f5f5f5;
}

.module-small .container {
  margin: 0 auto;
  padding: 0 15px;
}

@media (min-width: 768px) {
 .module-small .container  {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .module-small .container  {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .module-small .container  {
    width: 1170px;
  }
}


.module-small .row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.home-card4 {
  display: flex;
  width: 100%;
  /* gap: 30px; */
  justify-content: space-between;
  flex-wrap: wrap;
}

.module-small .col-md-4 {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
}

.card3 {
  background: #fff;
  /* border-radius: 8px; */
  padding: 23px 30px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  height: 100%;
}

/* .card3:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
} */

.card-txt {
  flex: 1;
}

.card3 h5 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px;
  line-height: 25px;
}

.card3 h5 span {
  color: #d2691e;
  font-weight: 700;
}

/* .card3 h5 a {
  color: #357AD5;
  text-decoration: none;
  margin-left: 8px;
  font-size: 16px;
}

.card3 h5 a:hover {
  color: #2a5fa0;
}

.card3 h5 .fa {
  font-size: 16px;
} */

.card3 p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 20px;
  margin-bottom: 10px;
}

.module-small .card-img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Module Small 响应式 - 小屏幕 */
@media (max-width: 991px) {
  .module-small .row {
    flex-direction: column;
  }

  .home-card4 {
    flex-direction: column;
  }

  .module-small .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}

@media only screen and (max-width: 468px){
  .card3{
    margin-bottom:1px;
  }
}

/* Module 样式 */
.module {
  padding: 80px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.module .container {
  width: 100%;
}

@media (min-width: 768px) {
 .module .container  {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .module .container  {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .module .container  {
    width: 1170px;
  }
}

.content-h {
  text-align: center;
  /* margin-bottom: 50px; */
  margin:20px 0 60px;
}

.content-h h2 {
  font-size: 36px;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.module .row {
  align-items: flex-start;
}

.home-server {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

.module .col-md-4 {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding-left: 15px;
  padding-right: 15px;
}

.card-a {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid #A3C6F5;
}

.card-a:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  border-top: 4px solid #357ad5;
}

.server-bg {
  padding: 30px 0;
  background: #f8f9fa;
  background: url("../img/index/project_bg.png");
  text-align: center;
}

.card-h {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  margin: 0;
  margin-bottom: 20px;
  line-height: 33px;
}

.server-clause {
  padding: 30px 20px;
}

.clause-card {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.clause-card:last-child {
  margin-bottom: 0;
}

.clause-card .nike {
  width: 16px;
  height: 12px;
  margin-right: 12px;
  flex-shrink: 0;
}

.server-clause .card-txt {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.show-more {
  text-align: center;
  margin-top: 20px;
}

.home-more a {
  color: #357ad5;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.home-more a:hover {
  color: #2a5fa0;
  text-decoration: underline;
}

.home-more a .fa {
  margin-left: 5px;
}

/* Module 响应式 */
@media (max-width: 991px) {
  .module .row {
    flex-direction: column;
  }

  .home-server {
    flex-direction: column;
  }

  .module .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .module{
    padding: 40px 0 20px;
  }

  .content-h h2{
    font-size: 24px;
  }

  .content-h{
    margin:20px 0;
  }

  .card-h{
    margin-bottom: 0;
  }
  .card-a{
    margin-bottom: 20px;
  }
}

/* 对比表格区域样式 */
.comparison-section {
  width: 100%;
  background-color: #2B4F7F;
}

.comparison-header {
  width: 100%;
  color: #fff;
  text-align: center;
  margin:20px 0 40px;
}

.comparison-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.comparison-section .container {
  width: 100%;
  margin: 0 auto;
  padding: 60px 15px;
  background-color: #2B4F7F;
}

@media (min-width: 768px) {
  .comparison-section .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .comparison-section .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .comparison-section .container {
    width: 1170px;
  }
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
  border: none;
}

.comparison-table thead {
  border-bottom:1px solid #EEEEEE;
}

.comparison-table th {
  padding: 30px 40px;
  text-align: center;
  font-size: 20px;
  color: #333;
  border-right:1px solid #EEEEEE;
  background-color: #fff;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table th:nth-child(2) {
  background-color: rgba(69,134,255,0.1);
}
.comparison-table tbody tr {
  border-bottom: none;
}

.comparison-table td {
  padding: 20px 40px;
  font-size: 16px;
  color: #333;
  border: none;
  vertical-align: middle;
  text-align: center;
  border-right:1px solid #EEEEEE;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.comparison-table td:nth-child(2) {
  background-color: rgba(69,134,255,0.1);
}
.comparison-table .dimension {
  background-color: #fff;
  font-weight: 500;
}

.comparison-table td img {
  display: block;
  margin: 0 auto;
}

/* 对比表格样式 */
.comparison-table thead tr th:first-child {
  width: 280px;
}

.comparison-table thead tr th:not(:first-child) {
  width: 230px;
}

/* 小屏幕响应式 */
@media only screen and (max-width: 468px) {
  .comparison-table thead tr th {
    width: auto;
  }
}

/* 对比表格响应式 */
@media (max-width: 991px) {
  /* 修改样式，使其更美观 */
  .comparison-header h2 {
    font-size: 28px;
  }

  .comparison-section .container {
    padding: 40px 15px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 16px 18px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .comparison-header{
    margin:20px 0;
  }
  .comparison-header h2{
    font-size: 24px;
  }
  .comparison-table th {
    font-size: 14px;
    padding:12px 0;
  }
  .comparison-table td{
    font-size: 12px;
    padding:10px 20px;
  }
  /* 覆盖了之前设置的固定列宽，保证 th/td 根据内容自适应 */
  .comparison-table thead tr th:first-child,
  .comparison-table thead tr th:not(:first-child),
  .comparison-table tbody tr td {
    width: auto;
  }

  .comparison-table th:first-child,.comparison-table td:first-child {
    text-align: center;
  }
  .comparison-table td img {
    width:22px;
    height:22px;
  }
}