/* ============================================
   AI生图 移动端样式
   ============================================ */

.aist-mobile {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  overflow-x: hidden;
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", -apple-system, sans-serif;
}

.aist-section {
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
}

.aist-container {
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.aist-bg-gray { background: #f5f7fa; }
.aist-bg-white { background: #fff; }

.aist-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  line-height: 1.4;
  margin: 0 0 8px;
}

.aist-section-desc {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
  margin: 0 auto 24px;
}

/* 八大能力 - 标签页 */
.aist-tabs {
  display: flex;
  overflow-x: auto;
  background: #f0f4ff;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.aist-tabs::-webkit-scrollbar { display: none; }

.aist-tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.aist-tab.active {
  background: #fff;
  color: #0067FC;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,103,252,0.12);
}

.aist-tab-panel { display: none; }
.aist-tab-panel.active { display: block; }

.aist-cap-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.aist-cap-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.aist-cap-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aist-cap-icon img { width: 24px; height: 24px; }

.aist-cap-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.aist-cap-sub {
  font-size: 13px;
  color: #0067FC;
  margin: 2px 0 0;
}

.aist-cap-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 12px;
}

/* 提示词框 */
.aist-prompt-box {
  background: #EFF6FF;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.aist-prompt-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e40af;
  display: block;
  margin-bottom: 6px;
}

.aist-prompt-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* 对比图片 */
.aist-compare-imgs {
  display: flex;
  gap: 10px;
}

.aist-compare-item {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.aist-compare-item img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.aist-img-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  z-index: 1;
}

/* 全链路 - 部门轮播 */
.aist-dept-header {
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid #0067FC;
}
.aist-dept-tag-label {
  display: inline-block;
  background: #EFF6FF;
  color: #0067FC;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.aist-dept-sub {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}
.aist-dept-slider { width: 100%; overflow: hidden; margin-bottom: 8px; }
.aist-dept-slide { outline: none; }

.aist-dept-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.aist-dept-img {
  width: 100%;
  aspect-ratio: 2/1;
  background: #f0f4ff;
  overflow: hidden;
}
.aist-dept-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aist-dept-body { padding: 16px; }

.aist-dept-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.aist-dept-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0067FC;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.aist-dept-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.aist-dept-pager {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 16px 0 0 0 !important;
  width: 100% !important;
}

.aist-dept-pager .bx-pager {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
}

.aist-dept-pager .bx-pager-item {
  display: inline-block;
  margin: 0 4px;
  float: none !important;
}

.aist-dept-pager a.bx-pager-link {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #d1d5db !important;
  font-size: 0 !important;
  display: inline-block !important;
  text-indent: -9999px !important;
  overflow: hidden;
}

.aist-dept-pager a.bx-pager-link.active {
  background-color: #0067FC !important;
  width: 20px !important;
  border-radius: 4px !important;
}

/* 适配垂直行业 - 深蓝 */
.aist-industry-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  padding: 40px 0;
}
.aist-industry-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 12px;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
}
.aist-industry-desc {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  text-align: center;
  line-height: 1.6;
  margin: 0 0 24px;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
}
.aist-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.aist-industry-card {
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 16px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.aist-industry-emoji {
  font-size: 28px;
  line-height: 1;
}
.aist-industry-name {
  font-size: 12px;
  color: #fff;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
}
.aist-industry-more {
  background: transparent;
  border: 1px dashed rgba(255,255,255,.3);
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,.6);
}

.aist-mobile img { max-width: 100%; height: auto; }
html, body { max-width: 100%; overflow-x: hidden; }
