/* ============================================================
 * Integration Page Styles (集成 Filez 文档中台 / 生态伙伴)
 * ============================================================ */

/* ------------------------------------------------------------
 * Banner Section
 * ------------------------------------------------------------ */
section#banner.itg-banner {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 60px;
}

section#banner.itg-banner .section-container {
  max-width: 1280px;
  position: relative;
  z-index: 1;
}

.itg-banner-inner {
  position: relative;
}

/* 背景光斑 */
.itg-banner-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.itg-blob {
  position: absolute;
  width: 496px;
  height: 347px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.itg-blob-1 {
  background: rgba(0, 152, 253, 0.7);
  right: -80px;
  top: -40px;
}

.itg-blob-2 {
  background: rgba(23, 200, 178, 0.7);
  right: 220px;
  bottom: -60px;
}

.itg-blob-3 {
  background: #2fa8ff;
  left: -140px;
  top: 120px;
  opacity: 0.35;
}

.itg-blob-4 {
  background: #7194fd;
  left: 420px;
  bottom: -140px;
  opacity: 0.3;
}

.itg-banner-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
}

/* Hero 图区 */
.itg-banner-right {
  position: relative;
  width: 640px;
  height: 480px;
  flex-shrink: 0;
}

.itg-hero-shadow {
  position: absolute;
  left: 82px;
  top: 135px;
  width: 476px;
  height: 277px;
  border-radius: 21px;
  background: linear-gradient(
    137deg,
    rgba(45, 212, 191, 0.6) 13%,
    rgba(37, 99, 235, 0.6) 84%,
    rgba(244, 63, 94, 0.6) 153%
  );
  filter: blur(60px);
}

.itg-hero-pill {
  position: absolute;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: #ffffff;
  white-space: nowrap;
}

.itg-hero-pill-1 {
  left: 427px;
  top: 124px;
}

.itg-hero-pill-2 {
  left: 111px;
  top: 137px;
}

.itg-hero-pill-3 {
  left: 70px;
  top: 220px;
}

.itg-hero-pill-4 {
  left: 459px;
  top: 220px;
}

.itg-hero-tag {
  position: absolute;
  left: 50px;
  top: 69px;
  width: 185px;
  padding: 12.5px;
  border-radius: 12px;
  background: rgba(30, 54, 129, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.itg-hero-tag-label {
  display: block;
  font-size: 11px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.itg-hero-tag-sub {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
}

/* ------------------------------------------------------------
 * Partners Section (头部生态伙伴)
 * ------------------------------------------------------------ */

section#partners.itg-partners .section-container,
section#support.itg-support .section-container,
section#capabilities.itg-capabilities .section-container {
  max-width: 1280px;
}
section#support.itg-support .section-title,
section#support.itg-support .section-desc {
  color: #fff;
}

.itg-partner-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.itg-partner-card {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(297deg, #7cc4ff 1%, #3bd9a2 48%, #747bfd 100%) border-box;
  border: 1.5px solid transparent;
  border-radius: 24px;
  box-shadow: 0 0 6px 1px rgba(10, 127, 223, 0.44);
  padding: 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.itg-partner-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.itg-partner-logo {
  height: 40px;
  max-width: 214px;
  object-fit: contain;
}

.itg-partner-divider {
  width: 1px;
  height: 30px;
  background: rgba(16, 28, 47, 0.35);
  flex-shrink: 0;
}

.itg-partner-name {
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  background: linear-gradient(99deg, #2dd4bf -63%, #002e93 41%, #f43f5e 143%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.itg-partner-title {
  font-size: 24px;
  font-weight: 600;
  color: #101c2f;
  line-height: 32px;
  margin: 0;
}

.itg-partner-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.itg-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.itg-item-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.itg-item-text {
  font-size: 16px;
  color: #101c2f;
  line-height: 28px;
}

/* ------------------------------------------------------------
 * Why Section (为什么选择 / 渐变背景)
 * ------------------------------------------------------------ */
section#why.itg-why {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

section#why.itg-why .section-container {
  max-width: 1280px;
  position: relative;
  z-index: 1;
}

.itg-why-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  margin-top: 40px;
}

/* 中间箭头：位于两卡之间，左右各 12px，水平垂直居中 */
.itg-why-cards::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 56px;
  height: 68px;
  background: url("/product/images/integration/arrow.png") center center /
    contain no-repeat;
  pointer-events: none;
}

.itg-why-card {
  border-radius: 24px;

  box-sizing: border-box;
}

.itg-why-card-title {
  padding: 16px;
  display: block;

  border-radius: 24px;
  font-size: 24px;
  font-weight: 600;
  line-height: 40px;
  margin: 0;
  text-align: center;
  color: #8591aa;
}
.itg-why-card--pain .itg-why-card-title {
  color: #ffffff;
  background: #8e92a8;
}

.itg-why-card--value .itg-why-card-title {
  color: #ffffff;
  background:
    linear-gradient(101deg, #2dd4bf -63%, #002e93 41%, #f43f5e 143%),
    linear-gradient(
      114deg,
      #2dd4bfe6 -28%,
      #2dd2c0e6 -28%,
      #2563ebe6 63%,
      #f43f5ee6 153%
    );
}

.itg-why-items {
  padding: 32px;
  background: #eef2fa;
  border-radius: 24px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.itg-why-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.itg-why-item-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.itg-why-item-title {
  font-size: 20px;
  font-weight: 600;
  color: #101c2f;
  line-height: 32px;
}

.itg-why-card--value .itg-why-item-title {
  background:
    linear-gradient(113deg, #2dd4bf -68%, #002e93 41%, #f43f5e 148%),
    linear-gradient(0deg, #000000, #000000), #000000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.itg-why-item-desc {
  margin: 0 0 0 30px;
  font-size: 16px;
  color: rgba(16, 28, 47, 0.85);
  line-height: 28px;
}

/* ------------------------------------------------------------
 * Support Section (合作伙伴支持计划)
 * ------------------------------------------------------------ */

.itg-support-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.itg-support-card {
  background: rgba(15, 26, 58, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 28px 24px 32px;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.itg-support-icon {
  width: 40px;
  height: 40px;
}

.itg-support-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.itg-support-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  line-height: 32px;
  margin: 0;
}

.itg-support-desc {
  font-size: 16px;
  color: #fff;
  line-height: 28px;
  margin: 0;
}

/* ------------------------------------------------------------
 * Capabilities Section (核心能力开放)
 * ------------------------------------------------------------ */

.itg-cap-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.itg-cap-card {
  grid-column: span 2;
  background: #eef2fa;
  border-radius: 24px;
  padding: 32px 32px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.itg-cap-card:nth-of-type(4),
.itg-cap-card:nth-of-type(5) {
  grid-column: span 3;
}

.itg-cap-title {
  font-size: 24px;
  font-weight: 600;
  color: #101c2f;
  line-height: 32px;
  margin: 0;
}

.itg-cap-desc {
  font-size: 16px;
  color: #101c2f;
  line-height: 28px;
  margin: 12px 0 0;
}

.itg-cap-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #1677ff;
  text-decoration: none;
  align-self: flex-start;
}

.itg-cap-link:hover {
  text-decoration: underline;
  color: #1677ff;
}

.itg-cap-link-arrow {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* ------------------------------------------------------------
 * Responsive (移动端)
 * ------------------------------------------------------------ */
@media (max-width: 767px) {
  section#banner.itg-banner {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .itg-banner-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .itg-banner-title {
    font-size: 30px;
    line-height: 42px;
  }

  .itg-banner-desc {
    font-size: 15px;
    line-height: 26px;
    margin-top: 16px;
  }

  .itg-banner-buttons {
    margin-top: 24px;
  }

  .itg-main-btn {
    width: 100%;
    max-width: 320px;
    height: 44px;
    font-size: 16px;
  }

  .itg-banner-right {
    width: 100%;
    height: 300px;
  }

  .itg-hero-shadow {
    left: 40px;
    top: 90px;
    width: 300px;
    height: 180px;
  }

  .itg-hero-panel {
    left: 0;
    top: 20px;
    width: 100%;
    height: 250px;
  }

  .itg-hero-img {
    left: -30px;
    width: 420px;
    height: 236px;
  }

  .itg-hero-pill {
    font-size: 12px;
    line-height: 18px;
  }

  .itg-hero-pill-1 {
    left: 70%;
    top: 32%;
  }

  .itg-hero-pill-2 {
    left: 17%;
    top: 35%;
  }

  .itg-hero-pill-3 {
    left: 10%;
    top: 57%;
  }

  .itg-hero-pill-4 {
    left: auto;
    right: 7%;
    top: 57%;
  }

  .itg-hero-tag {
    left: 12px;
    top: 16px;
    width: 150px;
    padding: 8px 10px;
  }

  .itg-hero-tag-sub {
    font-size: 15px;
  }

  .itg-banner-fade {
    height: 100px;
  }

  section#partners.itg-partners {
    padding: 40px 0 60px;
  }

  section#partners.itg-partners .section-title,
  section#support.itg-support .section-title,
  section#capabilities.itg-capabilities .section-title,
  section#why.itg-why .section-title {
    font-size: 26px;
    line-height: 36px;
  }

  section#partners.itg-partners .section-desc,
  section#support.itg-support .section-desc,
  section#capabilities.itg-capabilities .section-desc,
  section#why.itg-why .section-desc {
    font-size: 15px;
    line-height: 26px;
  }

  .itg-partner-cards,
  .itg-why-cards,
  .itg-cap-cards {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .itg-cap-card,
  .itg-cap-card:nth-of-type(4),
  .itg-cap-card:nth-of-type(5) {
    grid-column: auto;
  }

  .itg-partner-head {
    flex-wrap: wrap;
    gap: 12px;
  }

  .itg-partner-name {
    font-size: 18px;
    line-height: 26px;
  }

  .itg-partner-title {
    font-size: 20px;
  }

  section#why.itg-why {
    padding: 56px 0 56px;
  }

  .itg-why-cards::after {
    display: none;
  }

  .itg-why-card {
    padding: 24px;
  }

  .itg-why-item-title {
    font-size: 18px;
    line-height: 30px;
  }

  .itg-why-item-desc {
    font-size: 14px;
    line-height: 24px;
    margin-left: 30px;
  }

  section#support.itg-support {
    padding: 40px 0;
  }

  .itg-support-cards {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .itg-support-card {
    padding: 24px;
  }

  .itg-support-title {
    font-size: 20px;
  }

  .itg-support-desc {
    font-size: 14px;
    line-height: 24px;
  }

  section#capabilities.itg-capabilities {
    padding: 0 0 60px;
  }

  .itg-cap-title {
    font-size: 20px;
  }

  .itg-cap-desc {
    font-size: 14px;
    line-height: 24px;
  }

  .itg-cta .fc-footer-lead-cta {
    width: 100% !important;
    border-radius: 16px;
  }

  .itg-cta .fc-footer-lead-title {
    font-size: 24px;
    line-height: 34px;
  }

  .itg-cta .fc-footer-lead-desc {
    font-size: 15px;
    line-height: 26px;
  }

  .itg-cta .main-btn {
    min-width: 200px;
    height: 44px;
    font-size: 16px;
  }
}
