/* ==========================================================================
   首页 · seven-cloud 风格（蓝主题 #0e52ff / tab-box 卡片 / PC三列+手机单列）
   ========================================================================== */

.sc-container {
  width: 1240px;
  max-width: 96%;
  margin: 0 auto;
}

/* -------------------------------------------------- Hero（视频/纯色 banner） */
.hero {
  position: relative;
  height: 520px;
  background: linear-gradient(135deg, #0e52ff 0%, #006eff 55%, #0080ff 100%);
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.25;
  margin: 0;
}

.hero-desc {
  margin-top: 18px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .86);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 30px;
  border-radius: 4px;
  font-size: 15px;
  transition: background .25s, border-color .25s;
}

.sc-btn-primary {
  background: #fff;
  color: #0e52ff;
}

.sc-btn-primary:hover {
  background: #f5f9ff;
}

.sc-btn-ghost {
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
}

.sc-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

/* -------------------------------------------------- 轮播下四格入口 */
.quick-nav {
  margin-top: -70px;
  padding-bottom: 0;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 10px rgba(172, 172, 172, .4);
  overflow: hidden;
}

.quick-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
  transition: background .25s;
}

.quick-nav-item:hover {
  background: #f6f9ff;
}

.quick-nav-item h4 {
  margin: 0;
  font-size: 15px;
  color: #1a1a1a;
}

.quick-nav-item p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #9E9E9E;
}

/* -------------------------------------------------- 通用 section */
.sc-section {
  padding: 40px 0;
  background: #fff;
}

.sc-section-head {
  text-align: center;
  padding-bottom: 20px;
}

.sc-section-title {
  font-size: 30px;
  color: #1a1a1a;
  margin: 0 0 15px;
}

.sc-section-desc {
  color: #717278;
  font-size: 15px;
  margin: 0;
}

/* -------------------------------------------------- 产品 tab-box */
.tab-box {
  text-align: left;
}

.tab-box-head {
  border-bottom: 1px solid #ececec;
  margin-bottom: 30px;
}

.tab-box-menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tab-box-menu li {
  cursor: pointer;
  color: #2f2f40;
  padding: 0 0 15px;
  line-height: 24px;
  margin: 0 10px 20px;
  position: relative;
  font-size: 15px;
  min-width: 90px;
  text-align: center;
  white-space: nowrap;
  transition: color .25s;
}

.tab-box-menu li::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #0e52ff;
  transition: .3s width cubic-bezier(.74, .29, .03, .91);
}

.tab-box-menu li.active {
  color: #0e52ff;
}

.tab-box-menu li.active::after {
  width: 100%;
}

.tab-box-content {
  padding: 0 10px;
}

.tab-box-panel {
  display: none;
  flex-wrap: wrap;
  margin: -10px;
}

.tab-box-panel.active {
  display: flex;
}

.col-3 {
  width: 33.3333333333%;
  padding: 10px;
  box-sizing: border-box;
}

.tab-box-menu-item {
  display: block;
  height: 100%;
  padding: 20px 30px;
  box-shadow: 0 2px 10px rgba(64, 66, 77, .16);
  border: 1px solid #ebf0fc;
  transition: border .3s;
  box-sizing: border-box;
  border-radius: 4px;
  background: #fff;
}

.tab-box-menu-item:hover {
  border: 1px solid #0e52ff;
}

.tab-box-menu-title {
  font-size: 14px;
  position: relative;
  line-height: 24px;
  margin: 0 0 5px;
  color: #202d40;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .25s;
}

.tab-box-menu-item:hover .tab-box-menu-title {
  color: #0e52ff;
}

.tab-box-menu-text {
  color: #9E9E9E;
  font-size: 12px;
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 产品角标 */
.product-tag {
  background-color: rgba(252, 241, 235, 1);
  color: rgba(254, 95, 71, 1);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: normal;
  margin-left: 6px;
}

/* -------------------------------------------------- 为什么选择我们 */
.reason-box {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.reason-col {
  width: 50%;
  padding: 10px;
  box-sizing: border-box;
}

.reason-box-item {
  box-shadow: 0 2px 10px rgba(64, 66, 67, 0.16);
  padding: 36px 28px;
  cursor: pointer;
  border: 1px solid #fff;
  position: relative;
  box-sizing: border-box;
  height: 100%;
  border-radius: 4px;
  background: #fff;
}

.reason-box-item:hover {
  border: 1px solid #0e52ff;
}

.reason-box-item:hover .reason-item-title {
  color: #0e52ff;
}

.reason-item-title {
  font-size: 16px;
  margin: 0 0 15px;
  color: #1a1a1a;
  transition: color .25s;
}

.reason-item-text {
  color: #666;
  line-height: 1.8em;
  text-align: justify;
  font-size: 13px;
  margin: 0;
}

/* -------------------------------------------------- 公告/新闻 */
.news-list-sc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.news-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid #0e52ff;
  margin-bottom: 6px;
}

.news-block-title {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 600;
}

.news-block-more {
  font-size: 13px;
  color: #717278;
  transition: color .2s;
}

.news-block-more:hover {
  color: #0e52ff;
}

.news-item-sc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #f2f2f2;
}

.news-item-sc .t {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}

.news-item-sc .t:hover {
  color: #0e52ff;
}

.news-item-sc .time {
  flex: 0 0 auto;
  font-size: 12.5px;
  color: #9E9E9E;
}

/* -------------------------------------------------- 响应式 */
@media (max-width: 992px) {
  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: 420px;
  }

  .hero-title {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .sc-section {
    padding: 30px 0;
  }

  .sc-section-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .sc-section-desc {
    font-size: 13px;
  }

  .hero {
    height: 340px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-actions .sc-btn {
    flex: 1 1 calc(50% - 7px);
    padding: 0 12px;
  }

  .quick-nav {
    margin-top: -56px;
  }

  .quick-nav-grid {
    grid-template-columns: 1fr;
  }

  /* 手机端 tab 横向滚动 */
  .tab-box-head {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tab-box-head::-webkit-scrollbar {
    display: none;
  }

  .tab-box-menu {
    display: inline-flex;
    padding-right: 40px;
    flex-wrap: nowrap;
  }

  .tab-box-menu li {
    display: inline-block;
    padding: 0 15px 10px;
    color: #2f2f40;
    font-size: 16px;
    position: relative;
    white-space: nowrap;
  }

  .tab-box-menu li.active {
    color: #0e52ff;
  }

  .tab-box-menu li.active::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #0e52ff;
  }

  .col-3 {
    width: 100%;
  }

  .tab-box-panel {
    flex-direction: column;
  }

  .reason-col {
    width: 100%;
  }

  .reason-box-item {
    padding: 24px 22px;
  }

  .news-list-sc {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 420px) {
  .hero-actions .sc-btn {
    flex: 1 1 100%;
  }
}