/* ==========================================================================
   舍为斯官网 · 实验平台页（.platform- 前缀）
   实测（1920 视口）：导航 110 / Banner 324 / 分类条 100 / 内容区 1400
   ========================================================================== */

/* ------------------------------ 页头 ------------------------------ */
.platform-hero { position: relative; padding-top: var(--header-h);}

.platform-hero__banner {
  position: relative;
  height: 324px;
  background: #dfe7ec url("../images/platform-banner.webp") center / cover no-repeat;
}
.platform-hero__inner { position: relative; height: 100%; display: flex; align-items: center; }
.platform-hero__title {
  color: #fff;
  font-size: 36px;
  font-weight: normal;
  text-shadow: 0 4px 20px rgba(10, 32, 56, .3);
  margin-bottom: 80px;
}

/* 分类导航条：整条通栏，箭头贴最左，面包屑绿色胶囊在右 */
.platform-catbar {
  position: absolute;
    width: 100%;
    bottom: 0;
}
.platform-container {max-width: 1400px; }
.platform-catbar__inner {
	background: var(--c-bar);
  height: 80px;
  max-width: 1200px;
  border-radius: 0 50px 50px 0;
  padding: 0 20px;
  padding-right: 200px;
  display: flex;
  align-items: center;
  gap: 24px;
}
/* 箭头组：一个绿色胶囊内含两个箭头 */
.platform-catbar__arrows {
  position: static;
  flex: 0 0 auto;
  width: 121px;
  height: 50px;
  border-radius: 34px;
  background: var(--c-green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.platform-catbar__arrow {
  width: 60px;
  height: 67px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  transition: color .25s, background .25s;
}
.platform-catbar__arrow svg { width: 13px; height: 13px; }
.platform-catbar__arrow:hover { background: var(--c-green-dark); transform: none; }
.platform-catbar__arrow.is-disabled {
  background: transparent;
  color: rgba(255, 255, 255, .4);
  pointer-events: none;
}

.platform-catbar__tabs {
  display: flex;
  align-items: center;
  gap: 34px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  flex: 1 1 auto;
  padding: 4px 0;
}
.platform-catbar__tabs::-webkit-scrollbar { display: none; }
.platform-catbar__tab {
  position: relative;
  flex: 0 0 auto;
  padding: 8px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 1);
  white-space: nowrap;
  transition: color .25s;
  font-weight: bold;
}
.platform-catbar__tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: var(--c-green);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.platform-catbar__tab:hover { color: #fff; }
.platform-catbar__tab.is-active { color: #fff; font-weight: 700; }
.platform-catbar__tab.is-active::after { width: 100%; }

/* 面包屑胶囊：比蓝条更高，向右下突出 */
.platform-crumb {
  position: absolute;
  right: 0px;
  top: 49px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 60px;
  padding: 0 92px 0 12px;
  border-radius: 36px 0 0 36px;
  background: var(--c-green);
  color: #fff;
  font-size: 16px;
  letter-spacing: .5px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(20, 60, 90, .18);
  transition: background .25s;
}
.platform-crumb:hover { color: #fff; }
.platform-crumb__ico {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(0, 0, 0, .12);
  display: grid;
  place-items: center;
}
.platform-crumb__ico svg { width: 26px; height: 26px; }
.platform-crumb em { font-style: normal; opacity: .7; margin: 0 8px; }

/* ------------------------------ 子栏目 ------------------------------ */
.platform-chips { background: #fff; padding: 66px 0 26px; }
.platform-chips__inner { display: flex; align-items: center; gap: 24px; }
.platform-chips__line { flex: 1 1 auto; height: 1px; background: #e8e8e8; }
.platform-chips__list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
.platform-chip {
  padding: 8px 24px;
  border: 1px solid #dcdcdc;
  border-radius: 20px;
  font-size: 14px;
  color: #3a3a3a;
  background: #fff;
  transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.platform-chip:hover { color: var(--c-green); border-color: var(--c-green); transform: translateY(-2px); }
.platform-chip.is-active { color: #fff; background: var(--c-green); border-color: var(--c-green); }

/* ------------------------------ 正文 ------------------------------ */
.platform-content { padding: 14px 0 96px; background: #fff; }
.platform-content-top {padding: 70px 0 0;}

.platform-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
      align-items: center;
}
.platform-intro__figure { border-radius: 5px; overflow: hidden; background: #eef2f5; }
.platform-intro__figure img { width: 100%; height: 151px; object-fit: cover; }
.platform-intro__text p {
  font-size: 14.5px;
  line-height: 2.1;
  color: #6d7579;
  text-align: justify;
  text-indent: 2em;
}
.platform-intro__text p + p { margin-top: 6px; }

.platform-block { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.platform-block.is-switching { opacity: 0; transform: translateY(10px); }
.platform-block img {max-width: 100%; height: auto!important;}

.platform-block__title {
  position: relative;
  margin: 46px 0 16px;
  padding-left: 14px;
  font-size: 17px;
  color: #3a3a3a;
}
.platform-block__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--c-green);
}
.platform-block p {
  font-size: 14.5px;
  line-height: 2.1;
  color: #6d7579;
  text-align: justify;
}
.platform-block p + p { margin-top: 6px; }
.platform-block__adv { padding-left: 2em; }
.platform-block__adv b { color: #4d555a; font-weight: 600; }

/* 表格：极浅网格线 */
.platform-table {
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.platform-table::-webkit-scrollbar { height: 6px; }
.platform-table::-webkit-scrollbar-track { background: #f2f5f6; border-radius: 3px; }
.platform-table::-webkit-scrollbar-thumb { background: #c7d3da; border-radius: 3px; }
.platform-table__hint { display: none; }
.platform-table table { width: 100%; min-width: 860px; font-size: 13.5px; color: #6d7579; }
.platform-table th,
.platform-table td { border: 1px solid #f0f2f2; padding: 17px 15px; line-height: 1.85; text-align: left; vertical-align: top; }
.platform-table thead th { background: #e8f2f4; color: #3a3a3a; font-weight: 600; font-size: 14px; }
.platform-table tbody th { width: 132px; background: #fcfdfd; color: #4d555a; font-weight: 600; white-space: nowrap; }
.platform-table tbody tr:hover td,
.platform-table tbody tr:hover th { background: #fbfdfd; }

.platform-notice {
  margin-top: 36px;
  padding: 50px 26px;
  border: 1px dashed #d6e3df;
  border-radius: 8px;
  background: #f8fbfa;
  text-align: center;
}
.platform-notice h3 { font-size: 17px; color: #3a3a3a; margin-bottom: 10px; }
.platform-notice p { font-size: 13.5px; color: #8a9296; line-height: 1.9; text-align: center; text-indent: 0; }
.platform-notice a { color: var(--c-green); }

/* ------------------------------ 响应式 ------------------------------ */
@media (max-width: 1919px) { .platform-catbar__tabs { gap: 26px; } }

@media (max-width: 1439px) {
  .platform-catbar__tabs { gap: 20px; }
  .platform-catbar__tab { font-size: 15px; }
  .platform-hero__title { font-size: 36px; }
}

@media (max-width: 1279px) {
  .platform-crumb { display: none; }
}

@media (max-width: 1199px) {
  .platform-hero__banner { height: 270px; }
  .platform-hero__title { font-size: 32px; letter-spacing: 4px; }
  .platform-catbar__inner { height: 80px; }
  .platform-catbar__arrows { width: 104px; height: 58px; }
  .platform-catbar__arrow { width: 52px; height: 58px; }
  .platform-chips { padding: 46px 0 22px; }
  .platform-intro { grid-template-columns: 200px 1fr; gap: 24px; }
}

@media (max-width: 991px) {
  .platform-hero__banner { height: 220px; }
  .platform-hero__title { font-size: 26px; letter-spacing: 3px; }
  .platform-catbar__inner { height: 64px; gap: 16px; }
  .platform-catbar__arrows { width: 92px; height: 48px; }
  .platform-catbar__arrow { width: 46px; height: 48px; }
  .platform-crumb { display: none; }
  .platform-chips { padding: 34px 0 18px; }
  .platform-chips__line { display: none; }
  .platform-chips__inner { justify-content: flex-start; }
  .platform-chips__list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .platform-chips__list::-webkit-scrollbar { display: none; }
  .platform-intro { grid-template-columns: 1fr; gap: 18px; }
  .platform-intro__figure img { height: 200px; }
  .platform-block__title { margin: 34px 0 12px; }
}

@media (max-width: 767px) {
  .platform-table__hint {
    display: block;
    margin-bottom: 8px;
    color: #9aa8b1;
    font-size: 12px;
    text-align: right;
  }
  .platform-hero__banner { height: 180px; }
  .platform-hero__title { font-size: 22px; }
  .platform-catbar__tab { font-size: 13.5px; }
  .platform-content { padding-bottom: 60px; }
  .platform-block p,
  .platform-intro__text p { font-size: 13.5px; line-height: 1.95; }
  .platform-table table { min-width: 720px; font-size: 12.5px; }
  .platform-table th, .platform-table td { padding: 10px 11px; }
  .platform-notice { padding: 36px 18px; }
}