/* Verbatim from Vue source-home section SFCs */

/* ===== src/components/source-home/ProductsServiceSection.vue ===== */
/* 名称-only 产品卡：序号水印 + 图标环 + 了解详情 */
.products-service{
  width: 100%;
  background: #fff;
  clear: both;
}

.products-service .fainro-nav{
  width: 100%;
  display: block;
  padding: 0;
  position: relative;
}

.products-service .fainro-nav b{
  display: block;
  text-align: left;
  font-weight: normal;
  font-size: 32px;
  color: rgba(0, 0, 0, 1);
  text-shadow: 2px 2px 5px rgba(17, 76, 124, 0.1);
  line-height: 1.3;
}

.products-service .fainro-nav em{
  display: block;
  text-align: left;
  font-weight: lighter;
  font-size: 18px;
  color: #999;
  text-transform: uppercase;
  padding: 10px 0;
  text-shadow: 1px 1px 2px rgba(17, 76, 124, 0.1);
  font-style: normal;
}

.products-service .fainro-nav red{
  color: #d93751;
}

.products-service .model-one{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0 8px;
  list-style: none;
  margin: 0;
}

.products-service .model-one li{
  position: relative;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid rgba(15, 52, 91, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(217, 55, 81, 0.04) 0%, transparent 42%),
    #fff;
  box-shadow: 0 8px 28px rgba(15, 52, 91, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.products-service .model-one li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d93751 0%, #bf3a85 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.products-service .model-one li a{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
  min-height: 200px;
  padding: 28px 26px 24px;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.products-service .model-one li .prod-index{
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(15, 52, 91, 0.06);
  pointer-events: none;
  user-select: none;
  transition: color 0.28s ease;
}

.products-service .model-one li .icons{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(217, 55, 81, 0.08);
  color: #d93751;
  transition: background 0.28s ease, transform 0.28s ease, color 0.28s ease;
}

.products-service .model-one li .icon,
.products-service .model-one li .iconfont.icon,
.products-service .model-one li .iconfont[class*="icon-"]{
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  color: #d93751;
  background-color: #d93751;
  transition: background-color 0.28s ease, transform 0.28s ease, color 0.28s ease;
}

.products-service .model-one li:hover .iconfont.icon,
.products-service .model-one li:hover .iconfont[class*="icon-"]{
  transform: scale(1.06);
  color: #fff;
  background-color: #fff;
}

.products-service .model-one li b{
  display: block;
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin-top: auto;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
  transition: color 0.25s ease;
  word-break: break-word;
}

.products-service .model-one li .prod-more{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #999;
  transition: color 0.25s ease, gap 0.25s ease;
}

.products-service .model-one li .prod-more i{
  font-style: normal;
  transition: transform 0.25s ease;
}

.products-service .model-one li:hover{
  transform: translateY(-6px);
  border-color: rgba(217, 55, 81, 0.28);
  box-shadow: 0 16px 36px rgba(217, 55, 81, 0.12);
}

.products-service .model-one li:hover::before{
  transform: scaleX(1);
}

.products-service .model-one li:hover .prod-index{
  color: rgba(217, 55, 81, 0.12);
}

.products-service .model-one li:hover .icons{
  background: #d93751;
  color: #fff;
  transform: translateY(-2px);
}

.products-service .model-one li:hover b{
  color: #d93751;
}

.products-service .model-one li:hover .prod-more{
  color: #d93751;
  gap: 10px;
}

.products-service .model-one li:hover .prod-more i{
  transform: translateX(3px);
}

/* 全部卡片统一第一列红色系（不再按列轮换蓝/藏青） */

@media (max-width: 1280px) {
  .products-service .fainro-nav b{
    font-size: 20px;
  }

  .products-service .fainro-nav em{
    font-size: 16px;
  }
}

@media (max-width: 1100px) {
  .products-service .model-one{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 960px) {
  .products-service .fainro-nav b, .products-service .fainro-nav em{
    text-align: center;
  }

  .products-service .model-one{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0 0;
  }

  .products-service .model-one li,
  .products-service .model-one li a{
    min-height: 0;
  }

  .products-service .model-one li a{
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 16px;
    padding: 20px 18px;
  }

  .products-service .model-one li b{
    flex: 1;
    margin-top: 0;
    font-size: 16px;
  }

  .products-service .model-one li .prod-more{
    width: 100%;
    padding-left: 72px;
  }

  .products-service .model-one li .prod-index{
    font-size: 40px;
    top: 8px;
    right: 12px;
  }
}

/* ===== 首页方案区：标题沿用首页；数据卡片见 solution-scheme-cards.css ===== */
.solution-sec{
  background: var(--bg-secondary, #f5f6f8);
}

.solution-sec .title-accent{
  color: #d93751;
}

.solution-sec .head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* ===== src/components/source-home/CasesSection.vue ===== */
/* 对齐 https://www.bwda.net/ .fainro_nav + .fainro_index_model_thr */
.cases-sec{
  width: 100%;
  background: #fff;
  clear: both;
  padding: 88px 0;
}

.cases-sec .fainro-nav{
  width: 100%;
  display: block;
  padding: 0;
  position: relative;
}

.cases-sec .fainro-nav b{
  display: block;
  text-align: left;
  font-weight: normal;
  font-size: 32px;
  color: rgba(0, 0, 0, 1);
  text-shadow: 2px 2px 5px rgba(17, 76, 124, 0.1);
  line-height: 1.3;
}

.cases-sec .fainro-nav em{
  display: block;
  text-align: left;
  font-weight: lighter;
  font-size: 18px;
  color: #999;
  text-transform: uppercase;
  padding: 10px 0;
  text-shadow: 1px 1px 2px rgba(17, 76, 124, 0.1);
  font-style: normal;
}

.cases-sec .fainro-nav red{
  color: #d93751;
}

.cases-sec .model-thr{
  list-style: none;
  margin: 0;
  padding: 48px 0 24px;
  width: 100%;
  overflow: hidden;
}

.cases-sec .model-thr li,
.cases-sec .model-thr .case-item{
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  gap: 40px;
  margin-bottom: 56px;
  cursor: pointer;
}

.cases-sec .model-thr li:last-child{
  margin-bottom: 0;
}

.cases-sec .model-thr li.reverse{
  flex-direction: row-reverse;
}

.cases-sec .case-item__link{
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
}

.cases-sec .infos,
.cases-sec .case-media{
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.cases-sec .infos{
  width: calc(55% - 20px);
  max-width: 540px;
  text-decoration: none;
  color: inherit;
  display: block;
}

.cases-sec .infos b{
  display: block;
  line-height: 1.45;
  font-size: 26px;
  font-weight: 600;
  text-align: left;
  padding: 8px 0 0;
  color: #111;
  transition: color 0.25s ease;
}

.cases-sec .infos dd,
.cases-sec .infos-desc{
  display: block;
  margin: 0;
  line-height: 1.8;
  font-size: 15px;
  text-align: left;
  padding: 16px 0 0;
  color: #666;
  font-weight: 300;
  transition: color 0.25s ease;
}

/* 富文本内任意标签都跟随父级颜色，避免全局 a/p 样式打断整卡悬停 */
.cases-sec .infos-desc :is(p, a, span, div, strong, em, b, font){
  margin: 0 0 12px;
  line-height: 1.8;
  font-size: 15px;
  font-weight: 300;
  color: inherit !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: color 0.25s ease;
}

.cases-sec .infos-desc :is(p, a, span, div, strong, em, b, font):last-child{
  margin-bottom: 0;
}

.cases-sec .infos-desc a{
  display: inline;
  pointer-events: none;
  cursor: inherit;
}

.cases-sec .infos-desc p{
  display: block;
}

.cases-sec .more{
  display: inline-block;
  margin-top: 36px;
  line-height: 45px;
  padding: 0 30px;
  font-size: 12px;
  font-weight: normal;
  color: #fff;
  overflow: hidden;
  background-image: linear-gradient(160deg, #f43a58 10%, #bf3a85 80%);
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(111, 111, 111, 0);
  transition: all 0.3s;
  text-decoration: none;
}

/* 整卡统一悬停：标题 + 描述富文本 + 按钮一起变 */
.cases-sec .model-thr li:hover .infos b{
  color: #d93751;
}

.cases-sec .model-thr li:hover .infos-desc{
  color: #d93751;
}

.cases-sec .model-thr li:hover .more{
  color: #fff;
  padding: 0 50px;
  background-image: linear-gradient(160deg, #f43a58 10%, #ec193b 80%);
  box-shadow: 0 0 20px rgba(111, 111, 111, 0.5);
}

.cases-sec .model-thr li:hover .case-media img{
  transform: scale(1.03);
}

.cases-sec .model-thr li:hover .case-media{
  border-color: rgba(217, 55, 81, 0.28);
  box-shadow: 0 16px 36px rgba(15, 52, 91, 0.12);
}

.cases-sec .more-wrap{
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

@media (max-width: 1280px) {
  .cases-sec .fainro-nav b{
    font-size: 20px;
  }

  .cases-sec .fainro-nav em{
    font-size: 16px;
  }

  .cases-sec .infos b{
    font-size: 22px;
  }
}

@media (max-width: 960px) {
  .cases-sec .fainro-nav b, .cases-sec .fainro-nav em{
    text-align: center;
  }

  .cases-sec .model-thr li, .cases-sec .model-thr li.reverse{
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }

  .cases-sec .infos{
    width: 100%;
    max-width: none;
  }

  .cases-sec .more{
    margin-top: 24px;
    padding: 0 15px;
    line-height: 28px;
  }

  .cases-sec .model-thr li:hover .more{
    padding: 0 28px;
  }
}

/* ===== src/components/source-home/CaseMedia.vue ===== */
.case-media{
  width: calc(45% - 20px);
  height: 380px;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid var(--line, #e0e7ef);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 52, 91, 0.08);
  box-sizing: border-box;
}

.case-media::before,
.case-media::after{
  content: none;
}

.case-media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 0.35s ease;
}

@media (max-width: 960px) {
  .case-media{
    width: 100%;
    height: 280px;
  }
}

/* ===== src/components/source-home/PlatformSection.vue ===== */
.platform-sec{
  background: var(--bg-secondary);
}

.platform-sec .head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.platform-sec .section-desc em{
  font-style: normal;
  font-weight: 700;
  color: #d93751;
}

.platform-sec .head-side{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.platform-sec .count-card{
  display: grid;
  gap: 2px;
  min-width: 148px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border-subtle);
}

.platform-sec .count-card strong{
  font-size: 30px;
  line-height: 1.1;
  color: #d93751;
  font-weight: 800;
}

.platform-sec .count-card strong span{
  font-size: 22px;
}

.platform-sec .count-card em{
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
}

.platform-sec .groups{
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.platform-sec .group-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.platform-sec .group-head h3{
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.platform-sec .group-head span{
  font-size: 12px;
  color: var(--text-muted);
}

.platform-sec .grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.platform-sec .item{
  min-width: 0;
}

.platform-sec .item-face{
  display: grid;
  justify-items: center;
  gap: 8px;
  height: 100%;
  padding: 16px 10px 14px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-subtle);
  transition:
    border-color 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.platform-sec .item:hover .item-face{
  border-color: rgba(217, 55, 81, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
}

.platform-sec .logo-wrap{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.platform-sec .logo{
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.platform-sec .logo-mark{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(160deg, #f7f9fc, #edf2f7);
  border: 1px solid rgba(15, 52, 91, 0.08);
  color: #0f345b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  padding: 2px;
  overflow: hidden;
  word-break: break-all;
}

.platform-sec .item-face strong{
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .platform-sec .grid{
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .platform-sec .grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-sec .count-card{
    min-width: 0;
    flex: 1;
  }
}

/* ===== src/components/source-home/QualSection.vue ===== */
.qual-sec .grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.qual-sec .qual{
  padding: 28px 22px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
}

.qual-sec .qual strong{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  line-height: 1.1;
}

.qual-sec .qual h3{
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.qual-sec .qual p{
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .qual-sec .grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== src/components/source-home/NewsSection.vue ===== */
/* 对齐 https://www.bwda.net/ .fainro_index_model_five */
.news-sec{
  background: #fff;
  clear: both;
}

.news-sec .fainro-nav{
  width: 100%;
  display: block;
  padding: 0;
  position: relative;
}

.news-sec .fainro-nav b{
  display: block;
  text-align: left;
  font-weight: normal;
  font-size: 32px;
  color: rgba(0, 0, 0, 1);
  text-shadow: 2px 2px 5px rgba(17, 76, 124, 0.1);
  line-height: 1.3;
}

.news-sec .fainro-nav em{
  display: block;
  text-align: left;
  font-weight: lighter;
  font-size: 18px;
  color: #999;
  text-transform: uppercase;
  padding: 10px 0;
  text-shadow: 1px 1px 2px rgba(17, 76, 124, 0.1);
  font-style: normal;
}

.news-sec .fainro-nav red{
  color: #d93751;
}

.news-sec .model-five{
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0 8px;
  overflow: hidden;
}

.news-sec .news-istop{
  width: 50%;
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.news-sec .news-istop .img{
  display: block;
  width: 100%;
  height: 0;
  padding: 0 0 60%;
  position: relative;
  overflow: hidden;
  background: #e8eaed;
}

.news-sec .news-istop .img img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
  transform: scale(1);
}

.news-sec .news-istop:hover .img img{
  transform: scale(1.1);
}

.news-sec .news-istop time, .news-sec .news-iscomm time{
  display: block;
  clear: both;
  font-size: 15px;
  font-weight: 300;
  color: #666;
  padding: 16px 0 0;
  font-family: var(--font-mono, inherit);
}

.news-sec .news-iscomm time{
  padding: 0;
}

.news-sec .line{
  display: block;
  height: 2px;
  width: 35px;
  background: #d93751;
  margin: 12px 0;
}

.news-sec .news-iscomm .line{
  margin: 8px 0;
}

.news-sec .news-istop .title{
  display: block;
  clear: both;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  padding: 4px 0 0;
  color: #111;
  transition: color 0.25s ease;
}

.news-sec .news-istop:hover .title{
  color: #d93751;
}

.news-sec .news-istop dd{
  display: block;
  clear: both;
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  padding: 14px 0 0;
  color: #999;
  line-height: 1.75;
}

.news-sec .news-iscomm{
  width: 48%;
  min-width: 0;
}

.news-sec .news-iscomm ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-sec .news-iscomm li{
  display: block;
  padding: 0 0 22px;
}

.news-sec .news-iscomm li:last-child{
  padding-bottom: 0;
}

.news-sec .news-iscomm .inf{
  display: block;
  width: 100%;
  padding-left: 12px;
  text-decoration: none;
  color: inherit;
  border-left: 0;
  box-sizing: border-box;
}

.news-sec .news-iscomm .title{
  display: block;
  clear: both;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  padding: 0;
  color: #111;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-sec .news-iscomm .inf:hover .title{
  color: #d93751;
}

.news-sec .news-iscomm dd{
  margin: 8px 0 0;
  padding: 0;
  height: auto;
  max-height: none;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  overflow: hidden;
  color: #999;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}

.news-sec .more-wrap{
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 1280px) {
  .news-sec .fainro-nav b{
    font-size: 20px;
  }

  .news-sec .fainro-nav em{
    font-size: 16px;
  }

  .news-sec .news-istop .title{
    font-size: 18px;
  }

  .news-sec .news-iscomm .title{
    font-size: 15px;
  }
}

@media (max-width: 960px) {
  .news-sec .fainro-nav b, .news-sec .fainro-nav em{
    text-align: center;
  }

  .news-sec .model-five{
    flex-wrap: wrap;
    gap: 28px;
  }

  .news-sec .news-istop, .news-sec .news-iscomm{
    width: 100%;
  }

  .news-sec .news-iscomm .inf{
    padding-left: 0;
  }
}

/* ===== src/components/source-home/PartnerLogosSection.vue ===== */
.partner-logos{
  padding-bottom: 56px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.partner-logos .head{
  margin-bottom: 32px;
}

.partner-logos .marquee{
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-logos .track{
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 4px 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.partner-logos .marquee.is-empty .track{
  width: 100%;
  justify-content: center;
  min-height: 72px;
}

.partner-logos .logo-item{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
  height: 72px;
  padding: 0 22px 0 14px;
  background: #fff;
  border: 1px solid var(--border-subtle);
}

.partner-logos .logo-media{
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #f0f2f4;
  border: 1px dashed rgba(17, 17, 17, 0.12);
  overflow: hidden;
}

.partner-logos .logo-media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.partner-logos .logo-item strong{
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .partner-logos .track{
    flex-wrap: wrap;
    width: auto !important;
    max-width: 100%;
    justify-content: center;
    padding: 0 24px;
    transform: none !important;
    will-change: auto;
  }

  .partner-logos .marquee{
    mask-image: none;
    -webkit-mask-image: none;
  }
}

