/* ===== 开放集成页 - Hero ===== */

.integ-hero {
  padding: 72px 0 40px;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
  text-align: center;
}

.integ-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text);
}

.integ-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-light);
}


/* ===== 卡片区域 ===== */

.integ-cards-section {
  padding: 48px 0 96px;
  background: var(--white);
}

.integ-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}


/* ===== 卡片通用 ===== */

.integ-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 40px 36px 36px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.integ-card:hover {
  transform: translateY(-4px);
}


/* ===== 卡片主题 - 办公套件（蓝色系） ===== */

.integ-card--suite {
  background: linear-gradient(160deg, #f4f7ff 0%, #eaf0ff 100%);
  border: 1px solid #d4dfff;
}

.integ-card--suite:hover {
  box-shadow: 0 16px 48px rgba(47, 94, 245, 0.12);
}

.integ-card--suite .integ-card-icon {
  background: #dbe4ff;
  color: #2f5ef5;
}

.integ-card--suite .integ-card-tagline {
  color: #2f5ef5;
}

.integ-card--suite .integ-feat-label {
  background: #2f5ef5;
}


/* ===== 卡片主题 - 文档中台（紫色系） ===== */

.integ-card--sdk {
  background: linear-gradient(160deg, #f7f4ff 0%, #f0eaff 100%);
  border: 1px solid #dcd4ff;
}

.integ-card--sdk:hover {
  box-shadow: 0 16px 48px rgba(108, 63, 245, 0.12);
}

.integ-card--sdk .integ-card-icon {
  background: #e6deff;
  color: #6c3ff5;
}

.integ-card--sdk .integ-card-tagline {
  color: #6c3ff5;
}

.integ-card--sdk .integ-feat-label {
  background: #6c3ff5;
}


/* ===== 徽章 ===== */

.integ-card-badge {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  background: #2f5ef5;
  color: #ffffff;
  letter-spacing: 0.5px;
}


/* ===== 卡片内部元素 ===== */

.integ-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.integ-card-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.integ-card-tagline {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 28px;
}


/* ===== 特性列表 ===== */

.integ-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.integ-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #3c4257;
}

.integ-feat-label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 4px;
  margin-top: 2px;
  white-space: nowrap;
}

.integ-feat-text {
  flex: 1;
}


/* ===== 适用场景 ===== */

.integ-card-scenario {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  margin-bottom: 28px;
  line-height: 1.5;
}

.integ-scenario-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  opacity: 0.5;
}


/* ===== CTA 按钮 ===== */

.integ-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 12px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.integ-card-btn:hover {
  transform: translateY(-1px);
}

.integ-card-btn--suite {
  background: #2f5ef5;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(47, 94, 245, 0.25);
}

.integ-card-btn--suite:hover {
  box-shadow: 0 6px 24px rgba(47, 94, 245, 0.35);
}

.integ-card-btn--sdk {
  background: #6c3ff5;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(108, 63, 245, 0.25);
}

.integ-card-btn--sdk:hover {
  box-shadow: 0 6px 24px rgba(108, 63, 245, 0.35);
}


/* ===== 响应式 ===== */

@media (max-width: 980px) {
  .integ-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
    margin: 0 auto;
  }

  .integ-card {
    padding: 32px 28px 28px;
  }
}

@media (max-width: 640px) {
  .integ-hero {
    padding: 48px 0 28px;
  }

  .integ-desc {
    font-size: 15px;
  }

  .integ-cards-section {
    padding: 32px 0 64px;
  }

  .integ-card {
    padding: 28px 20px 24px;
  }

  .integ-card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }

  .integ-card-title {
    font-size: 22px;
  }

  .integ-card-features li {
    font-size: 14px;
  }

  .integ-card-btn {
    width: 100%;
  }
}
