﻿/* 修复：覆盖 user.css 的 overflow-x:hidden，确保平台页面可正常滚动 */
html, body {
  overflow-x: visible;
}

.platform-hero {
  position: relative;
  width: 100%;
  height: 810px;
  background: url('../img/platform/banner-bg.png') no-repeat;
  background-size: 100% 100%;
}

.platform-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 18, 48, 0.28) 0%, rgba(2, 18, 48, 0.12) 45%, rgba(2, 18, 48, 0) 100%);
}

.platform-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.platform-hero-title {
  margin: 0;
  font-size: 60px;
  line-height: 1.2;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.platform-hero-subtitle {
  max-width: 1100px;
  margin: 24px auto 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

.platform-advantage {
  background: #FFFFFF;
  padding: 30px 0 10px;
}

.platform-advantage-title {
  margin: 0 0 90px;
  text-align: center;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: #00BEFF;
}

.platform-advantage-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 90px 30px;
}

.platform-adv-item {
  position: relative;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0px 4px 10px 0px rgba(0,190,255,0.25);
  padding: 70px 10px 40px;
  max-height: 218px;
}

.platform-adv-icon {
  position: absolute;
  top: -58px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 120px;
  object-fit: contain;
}

.platform-adv-item h4 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #000;
}

.platform-adv-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  color: #000;
}

@media (max-width: 1599px) {
  .platform-hero-title {
    font-size: 56px;
  }

  .platform-hero-subtitle {
    font-size: 22px;
    max-width: 960px;
  }

  .platform-advantage-title {
    font-size: 42px;
  }

  .platform-adv-item h4 {
    font-size: 19px;
  }

  .platform-adv-item p {
    font-size: 15px;
  }
}

@media (max-width: 1199px) {
  .platform-hero {
    height: 640px;
  }

  .platform-hero-content {
    padding: 70px 20px 0;
  }

  .platform-hero-title {
    font-size: 46px;
  }

  .platform-hero-subtitle {
    font-size: 20px;
  }

  .platform-advantage {
    padding: 48px 15px 56px;
  }

  .platform-advantage-title {
    margin-bottom: 64px;
    font-size: 36px;
  }

  .platform-advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 20px;
  }

  .platform-adv-item {
    padding: 64px 16px 26px;
  }

  .platform-adv-item h4 {
    font-size: 18px;
  }

  .platform-adv-item p {
    font-size: 14px;
  }
}

.platform-idea {
  background: #F9FBFF;
  padding: 30px 0 24px;
}

.platform-idea-title {
  margin: 0 0 30px;
  text-align: center;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: #00BEFF;
}

.platform-idea-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
  margin-bottom: 30px;
}

.platform-idea-row:last-child {
  margin-bottom: 0;
}

.platform-idea-row.is-reverse {
  flex-direction: row-reverse;
}

.platform-idea-text {
  flex: 1;
  max-width: 548px;
}

.platform-idea-text h3 {
  margin: 0 0 20px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: #000000;
}

.platform-idea-text p {
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 500;
  color: #000;
}

.platform-idea-image {
  flex: 0 0 50%;
  box-shadow: 0px 4px 10px 0px rgba(0,190,255,0.25)
}

.platform-idea-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1599px) {
  .platform-idea-title {
    font-size: 42px;
  }

  .platform-idea-text h3 {
    font-size: 36px;
  }

  .platform-idea-text p {
    font-size: 20px;
  }
}

@media (max-width: 1199px) {
  .platform-idea {
    padding: 48px 0 56px;
  }

  .platform-idea-title {
    font-size: 36px;
  }

  .platform-idea-row,
  .platform-idea-row.is-reverse {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 42px;
  }

  .platform-idea-text,
  .platform-idea-image {
    max-width: 100%;
    flex: 0 0 auto;
  }

  .platform-idea-text h3 {
    margin-bottom: 14px;
    font-size: 30px;
  }

  .platform-idea-text p {
    font-size: 18px;
  }
}

.platform-function {
  width: 100%;
  height: 720px;
  background: url('../img/platform/function-bg.png') center center / cover no-repeat;
  padding: 24px 0 22px;
}

.platform-function-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: #00BEFF;
}

.pf-tab-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 28px;
  padding: 16px;
  width: 918px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 44px;
  background: rgba(8, 35, 82, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pf-tab-item {
  margin: 0;
  min-width: 156px;
  height: 55px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.92);
  color: #029CFF;
  font-size: 24px;
  font-weight: 500;
  line-height: 55px;
  text-align: center;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.pf-tab-item:hover {
  transform: translateY(-2px);
}

.pf-tab-item.is-active {
  background: linear-gradient( 45deg, #009DFF 0%, #3656FF 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(0, 137, 255, 0.35);
  transform: translateY(-3px) scale(1.02);
}

.pf-tab-panels {
    width: 1360px;
    margin-left: -90px;
}

.pf-tab-panel {
  display: none;
}

.pf-tab-panel.is-active {
  display: block;
  animation: pfTabFadeIn .45s ease both;
}

.pf-tab-panel.is-active .platform-function-shot {
  animation: pfTabSlideLeft .45s ease both;
}

.pf-tab-panel.is-active .platform-function-detail {
  animation: pfTabSlideRight .45s ease both;
}

@keyframes pfTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pfTabSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pfTabSlideRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



.platform-function-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.platform-function-shot {
  width: 800px;
  border-radius: 8px;
  overflow: hidden;
}

.platform-function-shot img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.platform-function-detail {
  width: 542px;
  height: 395px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: rgba(8, 35, 82, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 30px 0;
  color: #ffffff;
}

.platform-function-detail h3 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.platform-function-detail ul {
  margin: 0;
  padding-left: 36px;
}

.platform-function-detail li {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  color: #ffffff;
  position: relative;
}

.platform-function-detail li::after {
    content: '•';
    position: absolute;
    left: -20px;
    top: -10px;
    font-size: 30px;
}

.platform-function-detail li:last-child {
  margin-bottom: 0;
}

@media (max-width: 1599px) {
  .platform-function-title {
    font-size: 42px;
  }

  .pf-tab-list {
    width: 100%;
    max-width: 918px;
  }

  .pf-tab-item {
    min-width: 136px;
    font-size: 22px;
  }

  .pf-tab-panels {
    width: 100%;
    margin-left: 0;
  }

  .platform-function-detail h3 {
    font-size: 34px;
  }

  .platform-function-detail li {
    font-size: 18px;
  }
}

@media (max-width: 1199px) {
  .platform-function {
    height: auto;
    padding: 48px 0;
  }

  .platform-function-title {
    font-size: 36px;
  }

  .pf-tab-list {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
  }

  .pf-tab-item {
    min-width: 120px;
    height: 42px;
    font-size: 18px;
    line-height: 40px;
  }

  .pf-tab-panels {
    width: 100%;
    margin-left: 0;
  }

  .platform-function-panel {
    flex-direction: column;
  }

  .platform-function-shot,
  .platform-function-detail {
    flex: 0 0 auto;
    width: 100%;
  }

  .platform-function-shot {
    max-width: 100%;
  }

  .platform-function-shot img {
    height: auto;
  }

  .platform-function-detail {
    height: auto;
    padding: 18px 22px;
  }

  .platform-function-detail h3 {
    font-size: 30px;
  }

  .platform-function-detail li {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .platform-hero {
    height: 460px;
  }

  .platform-hero-content {
    padding-top: 52px;
  }

  .platform-hero-title {
    font-size: 30px;
  }

  .platform-hero-subtitle {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.8;
    padding: 0 16px;
  }

  .platform-advantage-title {
    margin-bottom: 32px;
    font-size: 30px;
  }

  .platform-advantage-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .platform-adv-item {
    min-height: auto;
    padding: 80px 18px 20px;
  }

  .platform-adv-item h4 {
    font-size: 18px;
  }

  .platform-adv-item p {
    font-size: 14px;
  }

  .platform-idea {
    padding: 40px 0 44px;
  }

  .platform-idea-title {
    margin-bottom: 22px;
    font-size: 30px;
  }

  .platform-idea-row,
  .platform-idea-row.is-reverse {
    gap: 20px;
    margin-bottom: 36px;
  }

  .platform-idea-text h3 {
    margin-bottom: 12px;
    font-size: 24px;
  }

  .platform-idea-text p {
    font-size: 14px;
    line-height: 1.8;
  }

  .platform-function {
    padding: 40px 0;
  }

  .platform-function-title {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .pf-tab-list {
    width: 100%;
    height: auto;
    gap: 8px;
    padding: 8px;
    margin-bottom: 12px;
  }

  .pf-tab-item {
    min-width: calc(50% - 6px);
    font-size: 15px;
    height: 38px;
    line-height: 36px;
  }

  .pf-tab-panels {
    width: 100%;
    margin-left: 0;
  }

  .platform-function-detail {
    height: auto;
    padding: 16px;
  }

  .platform-function-detail h3 {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .platform-function-detail ul {
    padding-left: 18px;
  }

  .platform-function-detail li {
    font-size: 14px;
    line-height: 1.6;
  }
}

