/* 金融界 AI 工具市场 — 首页样式 — Less */
body {
  background: #F5F7FC;
}
.home-hero {
  width: 100%;
  height: 680px;
  background: #f5f7fc url(https://i0cloud.jrjimg.cn/cloud/images/subject/mcp/banner.png) no-repeat center top;
  background-size: 1920px 680px;
  overflow: hidden;
}
.home-hero .hero-content {
  display: none;
}
.home-hero .hero-btns {
  display: flex;
  gap: 14px;
  margin: 474px 0 0 41px;
  font-weight: 500;
  font-size: 24px;
  color: #FFFFFF;
  line-height: 33px;
}
.home-hero .hero-btns a {
  width: 224px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
}
.home-hero .hero-btns a img {
  width: 24px;
  height: 24px;
}
.btn-hero-primary {
  background: linear-gradient(45deg, #001FDA 0%, #009AF3 100%);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  color: #fff;
}
.btn-hero-outline {
  padding: 14px 36px;
  background: transparent;
  border: 1px solid #BCC3D8;
  color: #041026;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-outline:hover {
  background: rgba(4, 16, 38, 0.06);
  border-color: #041026;
  color: #041026;
}
/* ===== 首页 数字统计 ===== */
.home-stats {
  position: relative;
  z-index: 2;
  width: 1200px;
  height: 184px;
  background: #fff;
  border-radius: 16px;
  margin: -52px auto 0;
  box-sizing: border-box;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  height: 100%;
  text-align: center;
}
.home-stat {
  position: relative;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.home-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 112px;
  background: #e5e5e5;
}
.home-stat .num {
  font-weight: 600;
  font-size: 24px;
  line-height: 48px;
  color: #041026;
}
.home-stat .num span {
  font-size: 44px;
  line-height: 48px;
  color: #BF1738;
}
.home-stat .label {
  font-weight: 400;
  font-size: 16px;
  color: #041026;
  line-height: 20px;
  margin-top: 10px;
}
.home-stat img {
  width: 32px;
  height: 32px;
  display: block;
  margin-top: 14px;
}
/* ===== 首页 特性区 ===== */
.home-features {
  margin-top: 60px;
}
.home-features .sec-title {
  font-size: 40px;
  color: #041026;
  line-height: 48px;
  text-align: center;
  color: var(--text);
}
.home-features .sec-sub {
  width: 467px;
  height: 44px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid #CAD0F6;
  font-weight: 400;
  font-size: 18px;
  color: #5B71AE;
  line-height: 44px;
  margin: 12px auto 40px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.feature-card {
  width: 360px;
  height: 216px;
  border-radius: 16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 30px 30px;
  transition: all 0.25s;
  margin-bottom: 30px;
  box-sizing: border-box;
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.feature-card h3 {
  font-weight: bold;
  font-size: 18px;
  color: #041026;
  line-height: 24px;
  margin-bottom: 10px;
}
.feature-card p {
  font-weight: 400;
  font-size: 14px;
  color: #5B6B80;
  line-height: 20px;
}
.feature-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.feature-card-top img {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}
.feature-tag {
  display: none;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid #CAD0F6;
  background: #EEF2FF;
  font-weight: 400;
  font-size: 14px;
  color: #5B71AE;
  line-height: 28px;
  white-space: nowrap;
}
.feature-icon {
  width: 60px;
  height: 60px;
}
/* ===== 首页 领域预览 ===== */
.home-domains {
  margin-top: 30px;
  max-width: 1200px;
  margin: 30px auto 0;
}
.home-domains .sec-title {
  font-size: 40px;
  color: #2B2B2B;
  line-height: 48px;
  text-align: center;
}
.home-domains .sec-sub {
  width: 355px;
  height: 44px;
  border-radius: 24px;
  border: 1px solid #CAD0F6;
  text-align: center;
  font-weight: 400;
  font-size: 18px;
  color: #5B71AE;
  line-height: 44px;
  margin: 12px auto 40px;
}
.home-domain-row {
  display: flex;
  justify-content: space-between;
}
.home-domain-card {
  width: 360px;
  background: #FFFFFF;
  border-radius: 16px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  padding-bottom: 30px;
  box-sizing: border-box;
}
.home-domain-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.home-domain-card > img {
  width: 100%;
  height: auto;
  display: block;
}
.home-domain-card h3 {
  font-weight: 500;
  font-size: 22px;
  color: #041026;
  line-height: 24px;
  margin-top: 8px;
}
.home-domain-card .count-label {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  margin: 8px auto;
  height: 24px;
  width: fit-content;
  padding: 0 16px;
  border-radius: 12px;
}
.home-domain-card:nth-child(1) .count-label {
  background: #E9EDFF;
  color: #375FCE;
}
.home-domain-card:nth-child(2) .count-label {
  background: #DCF8F5;
  color: #1FA499;
}
.home-domain-card:nth-child(3) .count-label {
  background: #FEECE4;
  color: #FF4708;
}
.home-domain-card p {
  font-weight: 400;
  font-size: 14px;
  color: #5B6B80;
  line-height: 20px;
  padding: 0 30px;
  text-align: left;
}
/* ===== 首页 CTA ===== */
.home-cta {
  width: 100%;
  height: 480px;
  background: url(https://i0cloud.jrjimg.cn/cloud/images/subject/mcp/banner-bottom.png) center center / cover no-repeat;
  text-align: center;
  overflow: hidden;
  margin-top: -98px;
}
.home-cta h2 {
  margin-top: 176px;
  font-size: 48px;
  color: #FCFCFC;
  line-height: 67px;
  margin-bottom: 12px;
}
.home-cta p {
  font-size: 20px;
  color: #B1C1D5;
  line-height: 28px;
}
.home-cta .hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  font-size: 24px;
  color: #FFFFFF;
  line-height: 33px;
  margin-top: 43px;
}
.home-cta .hero-btns .btn-hero-primary {
  width: 224px;
  height: 60px;
  background: linear-gradient(45deg, #001FDA 0%, #009AF3 100%);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.home-cta .hero-btns .btn-hero-outline {
  width: 224px;
  height: 60px;
  border-radius: 16px;
  border: 1px solid #BCC3D8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
}
.home-cta .hero-btns .btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
/* ===== 首页 合作伙伴 ===== */
.home-partners {
  padding: 40px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.home-partners p {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0.4;
  filter: grayscale(1);
}
.partners-row span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
}
/* ===== 响应式（首页） ===== */
@media (max-width: 768px) {
  .home-hero {
    height: auto;
    min-height: 551px;
    padding: 0 0 220px;
    background: url(https://i0cloud.jrjimg.cn/cloud/images/subject/mcp/banner-h5.png) center bottom / 100% auto no-repeat #EAF2FB;
  }
  .home-hero .container {
    padding: 0 20px;
  }
  .home-hero .hero-content {
    display: block;
    position: relative;
    z-index: 1;
    max-width: 100%;
  }
  .home-hero .hero-eyebrow {
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
    color: #0C43DD;
    line-height: 22px;
    margin-bottom: 12px;
    padding-bottom: 4px;
    background: linear-gradient(90deg, #35c7ff 0%, #7b6cff 100%) left bottom / 100% 2px no-repeat;
  }
  .home-hero .hero-title {
    font-weight: 700;
    font-size: 44px;
    color: #041026;
    line-height: 50px;
    margin-bottom: 16px;
  }
  .home-hero .hero-title span {
    display: inline-block;
    font-size: 32px;
    line-height: 40px;
    color: #5b71ae;
  }
  .home-hero .hero-desc {
    font-weight: 400;
    font-size: 16px;
    color: #7D90B2;
    line-height: 24px;
    margin: 0;
    text-align: justify;
  }
  .home-hero .hero-desc + .hero-desc {
    margin-top: 8px;
  }
  .home-hero .hero-btns {
    position: relative;
    z-index: 1;
    margin: 24px 0 0;
    gap: 12px;
  }
  .home-hero .hero-btns a {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 44px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
  }
  .home-hero .hero-btns a img {
    width: 20px;
    height: 20px;
  }
  .btn-hero-outline {
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.72);
    border-color: #bcc3d8;
    color: #041026;
  }
  /* 统计：2x2 */
  .home-stats {
    width: calc(100% - 40px);
    max-width: 100%;
    height: auto;
    margin: 0 auto 0;
    border-radius: 12px;
  }
  .home-stats .container {
    padding: 0;
    max-width: none;
  }
  .home-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .home-stat {
    padding: 22px 8px;
    /* 中间十字分隔线 */
  }
  .home-stat:not(:last-child)::after {
    display: none;
  }
  .home-stat:nth-child(1),
  .home-stat:nth-child(2) {
    border-bottom: 1px solid #e5e5e5;
  }
  .home-stat:nth-child(1),
  .home-stat:nth-child(3) {
    border-right: 1px solid #e5e5e5;
  }
  .home-stat .num {
    font-size: 18px;
    line-height: 36px;
  }
  .home-stat .num span {
    font-size: 32px;
    line-height: 36px;
  }
  .home-stat .label {
    font-size: 14px;
    line-height: 20px;
    margin-top: 6px;
  }
  .home-stat img {
    display: none;
  }
  /* 特性：单列卡片 */
  .home-features {
    margin-top: 40px;
  }
  .home-features .sec-title {
    font-size: 24px;
    line-height: 32px;
    text-align: left;
    padding: 0;
  }
  .home-features .sec-title span {
    width: 100%;
    display: block;
  }
  .home-features .sec-sub {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 12px 0 24px;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 17px;
    color: #5B71AE;
    line-height: 28px;
    text-align: left;
    box-sizing: border-box;
  }
  .features-grid {
    flex-direction: column;
    gap: 0;
  }
  .feature-card {
    width: 100%;
    height: auto;
    min-height: 202px;
    margin-bottom: 16px;
    padding: 20px 16px;
    border-radius: 12px;
  }
  .feature-card h3 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 12px;
  }
  .feature-card p {
    font-size: 14px;
    color: #8C92AD;
    line-height: 28px;
  }
  .feature-card-top {
    display: flex;
    align-items: center;
  }
  .feature-card-top img {
    width: 36px;
    height: 36px;
    display: block;
    margin-bottom: 0;
  }
  .feature-tag {
    display: inline-flex;
    height: 24px;
    padding: 0 12px;
    font-size: 16px;
    line-height: 24px;
    border-radius: 12px;
    background: #F1F6FF;
    border: 1px solid #CAD0F6;
    color: #5B71AE;
  }
  /* 服务域：单列 */
  .home-domains {
    width: 100%;
    max-width: 100%;
    margin: 24px auto 0;
  }
  .home-domains .sec-title {
    font-size: 24px;
    line-height: 32px;
    text-align: left;
  }
  .home-domains .sec-sub {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 12px 0 24px;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 17px;
    color: #5B71AE;
    line-height: 28px;
    text-align: left;
    box-sizing: border-box;
  }
  .home-domain-row {
    flex-direction: column;
    gap: 16px;
  }
  .home-domain-card {
    width: 100%;
    height: 341px;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 24px;
    border-radius: 12px;
    text-align: left;
  }
  .home-domain-card:first-of-type {
    background: linear-gradient(134deg, #FFFFFF 50%, #E6F1FF 100%);
  }
  .home-domain-card:nth-of-type(2) {
    background: linear-gradient(134deg, #FFFFFF 50%, #E3F7F5 100%);
  }
  .home-domain-card:nth-of-type(3) {
    background: linear-gradient(134deg, #FFFFFF 50%, #FFF1E2 100%);
  }
  .home-domain-card > img {
    order: 2;
    width: 100%;
    height: 65%;
    margin: 0 0;
  }
  .home-domain-card h3 {
    order: 1;
    font-size: 24px;
    color: #041026;
    line-height: 23px;
    font-weight: 600;
    margin: 0;
    padding-right: 90px;
  }
  .home-domain-card .count-label {
    order: 1;
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
    font-size: 16px;
    line-height: 23px;
    padding: 0 12px;
    font-weight: 600;
    background: transparent !important;
    border: none;
  }
  .home-domain-card p {
    order: 3;
    padding: 0;
    font-size: 16px;
    color: #8C92AD;
    line-height: 28px;
    border-top: 1px solid #8C92AD;
    padding-top: 16px;
  }
  /* CTA */
  .home-cta {
    width: 100%;
    height: 221px;
    margin-top: 40px;
    padding: 24px 0 0;
    background-position: center center;
    background-size: cover;
    background: url(https://i0cloud.jrjimg.cn/cloud/images/subject/mcp/banner-bottom-h5.png) center center / cover no-repeat;
  }
  .home-cta .container {
    padding: 0 20px;
  }
  .home-cta h2 {
    margin-top: 0;
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 10px;
    text-align: left;
  }
  .home-cta p {
    font-size: 16px;
    color: #B1C1D5;
    line-height: 28px;
    text-align: left;
  }
  .home-cta p span {
    width: 100%;
    display: block;
  }
  .home-cta .hero-btns {
    margin-top: 20px;
    gap: 12px;
    justify-content: flex-start;
  }
  .home-cta .hero-btns .btn-hero-primary,
  .home-cta .hero-btns .btn-hero-outline {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 44px;
    border-radius: 12px;
    font-size: 15px;
    padding: 0 8px;
  }
  .home-cta .hero-btns .btn-hero-primary {
    color: #fff;
    border-color: rgba(188, 195, 216, 0.8);
    background: linear-gradient(129deg, #FC0A1C 0%, #E35342 55.89%, #AA0726 100%);
  }
  .home-cta .hero-btns .btn-hero-outline {
    color: #fff;
    border: 1px solid #886363;
    background: rgba(197, 106, 106, 0.24);
  }
}
