/* ============ AI 造型设计页 · 文字排版层 ============ */
/* 仅 ai-design.html 引用，独立可摘除 */

/* ---------- Hero：双引擎公式标题 ---------- */
.page-banner h1.ai-eq {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 4px 16px; font-size: clamp(24px, 4.2vw, 50px); line-height: 1.2;
}
.page-banner h1.ai-eq .eq-op {
  -webkit-text-fill-color: #6e8eff; color: #6e8eff; font-weight: 700;
}
.page-banner h1.ai-eq .eq-b {
  -webkit-text-fill-color: #a86eff; color: #a86eff;
}
.ai-eq-line {
  margin-top: 12px; font-size: clamp(17px, 2.1vw, 27px); font-weight: 700;
  letter-spacing: 1px; color: #fff;
}
.ai-eq-line span {
  background: linear-gradient(90deg, #00d4ff, #a86eff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.page-banner .ai-eq-desc {
  margin-top: 20px; font-size: 15.5px; line-height: 1.85;
  max-width: 780px; color: var(--text-2);
}

/* ---------- 导语区 ---------- */
.ai-lead h2 {
  font-size: clamp(25px, 2.8vw, 37px); font-weight: 800;
  line-height: 1.28; margin: 14px 0 18px;
}
.ai-lead p { color: var(--text-2); font-size: 15.5px; line-height: 1.95; margin-bottom: 15px; }
.ai-lead .lead-p { font-size: 17px; color: var(--text); }
.ai-lead strong { color: #fff; font-weight: 700; }
.ai-lead .hl { color: var(--brand); font-weight: 600; }

/* ---------- 右侧旗舰卡 ---------- */
.ai-engine-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 340px; padding: 40px 34px;
  background: linear-gradient(150deg, rgba(255, 126, 58, 0.16), rgba(168, 110, 255, 0.16));
  border: 1px solid var(--line); border-radius: 22px;
}
.ai-engine-icon { font-size: 62px; line-height: 1; }
.ai-engine-card h3 { margin-top: 14px; font-size: 30px; font-weight: 800; }
.ai-engine-card > p { color: var(--text-2); font-size: 14.5px; margin-top: 8px; }
.ai-engine-meta { margin-top: 26px; display: grid; gap: 12px; width: 100%; }
.ai-engine-meta div {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.ai-engine-meta b { font-size: 13.5px; color: var(--brand); white-space: nowrap; }
.ai-engine-meta span { font-size: 12.5px; color: var(--text-2); text-align: right; }

/* ---------- 八大能力：4 列紧凑栅格 ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap-card { position: relative; padding: 30px 22px 26px; }
.cap-no {
  position: absolute; top: 16px; right: 18px;
  font-size: 13px; font-weight: 800; letter-spacing: 1px;
  color: rgba(0, 212, 255, 0.45);
}
.cap-card h3 { font-size: 17px; margin-bottom: 10px; }
.cap-card p { font-size: 14px; line-height: 1.75; }

/* ---------- 流程盒 ---------- */
.ai-flow-box { padding: 46px 38px; }
.ai-flow-note {
  margin-top: 26px; text-align: center; color: var(--text-2);
  font-size: 14px; line-height: 1.8;
}

/* ---------- 双自研协同区 ---------- */
.ai-duo-section {
  background: linear-gradient(135deg, rgba(168, 110, 255, 0.08), rgba(0, 212, 255, 0.06));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-head h2.ai-duo-title { font-size: clamp(23px, 2.9vw, 38px); }
.ai-duo-title .ai-cad { color: #a86eff; }
.ai-duo-title .ai-plus { color: #6e8eff; }
.ai-kicker { color: var(--brand); font-size: 14px; }

.ai-duo-flow {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center;
  padding: 28px; margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: 18px;
}
.ai-duo-col { padding: 24px; border: 1px solid; border-radius: 14px; }
.ai-duo-slm {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(110, 142, 255, 0.05));
  border-color: #00d4ff;
}
.ai-duo-cad {
  background: linear-gradient(135deg, rgba(168, 110, 255, 0.1), rgba(0, 212, 255, 0.05));
  border-color: #a86eff;
}
.ai-duo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ai-duo-badge {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; font-size: 22px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.ai-duo-slm .ai-duo-badge { background: linear-gradient(135deg, #00d4ff, #6e8eff); }
.ai-duo-cad .ai-duo-badge { background: linear-gradient(135deg, #a86eff, #00d4ff); }
.ai-duo-head h4 { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.ai-duo-slm .ai-duo-head h4 { color: #00d4ff; }
.ai-duo-cad .ai-duo-head h4 { color: #a86eff; }
.ai-duo-sub { color: var(--text-2); font-size: 12px; }

.ai-duo-steps { list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--text-2); }
.ai-duo-steps li {
  display: flex; gap: 10px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-duo-steps li:last-child { border-bottom: none; }
.ai-duo-steps b { color: #fff; font-weight: 700; }
.ai-duo-slm .ai-duo-steps li { border-color: rgba(0, 212, 255, 0.15); }
.ai-duo-cad .ai-duo-steps li { border-color: rgba(168, 110, 255, 0.15); }

.ai-duo-link { text-align: center; }
.ai-duo-arrow { display: block; font-size: 42px; line-height: 1; color: var(--brand); }
.ai-duo-link-txt {
  display: block; margin-top: 10px; font-size: 11px; font-weight: 600;
  line-height: 1.5; color: var(--brand);
}

.ai-duo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ai-stat {
  padding: 24px 16px; text-align: center; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.ai-stat b {
  display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--brand);
}
.ai-stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .ai-duo-flow { grid-template-columns: 1fr; }
  .ai-duo-arrow { transform: rotate(90deg); }
  .ai-duo-link-txt { margin-top: 4px; }
  .ai-engine-card { min-height: 0; padding: 32px 26px; }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
  .ai-duo-stats { grid-template-columns: 1fr; }
  .ai-flow-box { padding: 30px 20px; }
  .page-banner h1.ai-eq { gap: 2px 10px; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .ai-eq-line span {
    background: none; -webkit-text-fill-color: currentColor; color: var(--brand);
  }
}
