/* ==========================================================================
   X.TIMING AI 频道（ai.css）
   --------------------------------------------------------------------------
   只放本页版式。颜色、字号、留白、断点全部来自 xt-theme.css。
   结构用 Bootstrap 栅格与原生件（card / badge / modal / btn）。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 首屏：保留门店实景照，文字压在左侧
       （首屏文字件在 xt-theme.css 7c，这里只放照片与入口行）
   -------------------------------------------------------------------------- */
.page-hero--photo {
  padding-block: var(--xt-hero-top) 0;
  background-image: url("../images/ai/hero.webp");
}
.hero-body { padding-bottom: var(--xt-hero-bottom); }

/* 首屏底下三条入口：细线分栏，点哪条跳哪段 */
.hero-links { padding-bottom: 0.5rem; }
.hero-links a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 1rem 1.75rem 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: var(--xt-fs-small);
  font-weight: 600;
  color: #e7ecdf;
  transition: color var(--xt-ease);
}
.hero-links a:hover { color: var(--xt-accent); }
.hero-links small {
  font-size: var(--xt-fs-label);
  letter-spacing: 0.14em;
  color: #a8b8a4;
}
.hero-links a span { margin-left: auto; }

/* --------------------------------------------------------------------------
   2. 关于
   -------------------------------------------------------------------------- */
.intro-band { border-bottom: 1px solid var(--xt-line); }
.intro-band .xt-copy { max-width: 36em; }

/* --------------------------------------------------------------------------
   3. AI 产品：一件产品一张横卡，左名右述
   -------------------------------------------------------------------------- */
.product-stack { margin-top: 0; }
.product-item { --bs-card-bg: var(--xt-white); }
.product-item .card-title { margin-bottom: 0; }
.product-sub {
  display: block;
  margin-top: 0.45rem;
  font-size: var(--xt-fs-small);
  font-weight: 400;
  color: var(--xt-muted);
}
.product-item .badge {
  vertical-align: middle;
  color: var(--xt-brand);
  background: rgba(66, 101, 24, 0.1);
}
.product-item .xt-copy { max-width: 34em; }
.link-arrow {
  display: inline-block;
  font-size: var(--xt-fs-small);
  font-weight: 600;
  color: var(--xt-brand);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.link-arrow:hover { color: var(--xt-ink); }

/* 界面示意图：点开看大图 */
.shot-button {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-radius);
  background: var(--xt-paper);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color var(--xt-ease);
}
.shot-button:hover { border-color: var(--xt-brand-soft); }
.shot-button img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 30rem;
}

/* --------------------------------------------------------------------------
   4. 业务能力共建：深色区块上的四张卡
   -------------------------------------------------------------------------- */
.step-card {
  --bs-card-bg: rgba(255, 255, 255, 0.05);
  --bs-card-border-color: rgba(255, 255, 255, 0.16);
}
.step-card .card-title { color: #f2f0e8; }
.step-desc {
  font-size: var(--xt-fs-small);
  line-height: var(--xt-lh-body);
  color: #b9c7b4;
}

/* --------------------------------------------------------------------------
   5. 课程：左标签右内容的两列表
   -------------------------------------------------------------------------- */
.course-card .card-title { margin-bottom: 0.35rem; }
.course-lead {
  margin: 0;
  font-size: var(--xt-fs-small);
  font-weight: 600;
  color: var(--xt-brand);
}
.course-list {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.7rem 1rem;
  margin: 1.2rem 0 0;
  font-size: var(--xt-fs-small);
}
.course-list dt {
  font-weight: 600;
  color: var(--xt-ink);
  line-height: 1.6;
}
.course-list dd {
  margin: 0;
  line-height: 1.7;
  color: var(--xt-muted);
}

/* --------------------------------------------------------------------------
   6. 弹窗里的示意图：只留说明文字，图由 xt-theme 的 .modal-body > img 撑满
   -------------------------------------------------------------------------- */
.modal-note {
  margin: 1rem 0 0;
  font-size: var(--xt-fs-small);
  color: var(--xt-muted);
}

/* --------------------------------------------------------------------------
   7. 小屏
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .hero-links a { padding: 0.8rem 0; }
  .hero-copy { margin-block: 1.2rem 1.4rem; }
  .course-list { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.5rem 0.8rem; }
  .zoom-hint { right: 0.5rem; bottom: 0.5rem; }
}
