/* 首页 · 四个产品依次排列，每个产品一块：上面是名称和说明，下面是演示视频 */
.product-stage { display:grid; gap:28px; }

.product-block { --product-w:min(100%, max(640px, calc((100svh - 300px) * 16 / 9))); padding:38px 44px 44px; }
.product-head { display:flex; align-items:flex-end; justify-content:space-between; gap:36px; width:var(--product-w); margin-inline:auto; }
.product-head h2 { font-size:34px; font-weight:700; line-height:1.4; letter-spacing:-1px; }
.product-head h2 span { margin-left:16px; color:var(--muted); font-size:22px; font-weight:500; letter-spacing:0; }
.product-head p { margin-top:8px; color:var(--muted); font-size:17px; line-height:1.8; }
.product-head .stage-link { flex:none; margin-top:0; white-space:nowrap; }

.product-frame { position:relative; width:var(--product-w); margin:24px auto 0; aspect-ratio:16 / 9; overflow:hidden; border:1px solid #e0e8f3; border-radius:22px; background:#fff; box-shadow:0 20px 60px #18335712; }
.product-frame video { display:block; width:100%; height:100%; object-fit:cover; }
.product-stage.is-enhanced .product-frame video { cursor:pointer; }
.product-toggle { position:absolute; right:18px; bottom:18px; display:none; align-items:center; min-height:38px; padding:0 18px; border:1px solid #d5e0ee; border-radius:999px; background:#fffffff0; color:var(--navy); font-size:14px; font-weight:600; box-shadow:0 6px 18px #18335714; opacity:0; transition:opacity .18s; }
.product-stage.is-enhanced .product-toggle { display:inline-flex; }
.product-frame:hover .product-toggle,.product-toggle:focus-visible,.product-frame.is-paused .product-toggle { opacity:1; }

/* 产品页顶部：标题下面直接放一条视频，没有卡片底 */
.product-stage-hero { margin-top:34px; }
.product-stage-hero .product-block { --product-w:min(100%, 1080px, max(640px, calc((100svh - 330px) * 16 / 9))); padding:0; }
.product-stage-hero .product-frame { margin-top:0; }

/* 视频下面的文字提要：搜索引擎和 AI 读不到视频画面，这几行文字让它们知道视频讲了什么 */
.product-outline { width:var(--product-w); margin:18px auto 0; text-align:center; }
.product-outline-title { margin:0; color:#6b7a8d; font-size:13px; font-weight:600; letter-spacing:.04em; }
.product-outline ol { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 10px; margin:10px 0 0; padding:0; list-style:none; counter-reset:outline; }
.product-outline li { counter-increment:outline; display:inline-flex; align-items:center; gap:8px; padding:6px 14px 6px 7px; border:1px solid #dfe8f5; border-radius:999px; background:#fff; color:#3d4c60; font-size:14px; line-height:1.45; text-align:left; }
.product-outline li::before { content:counter(outline); display:inline-flex; align-items:center; justify-content:center; flex:none; width:22px; height:22px; border-radius:50%; background:#eef4fd; color:var(--accent,#1767e8); font-size:12px; font-weight:700; }

@media (max-width:1000px) {
  .product-block { --product-w:100%; padding:32px; }
  .product-stage-hero { margin-top:26px; }
  .product-stage-hero .product-block { --product-w:100%; padding:0; }
  .product-head h2 { font-size:28px; }
  .product-head h2 span { font-size:19px; }
  .product-head p { font-size:16px; }
}
@media (max-width:640px) {
  .product-stage { gap:20px; }
  .product-block { padding:28px 22px 22px; }
  .product-stage-hero .product-block { padding:0; }
  .product-head { display:block; }
  .product-head h2 { font-size:25px; line-height:1.44; letter-spacing:-.6px; }
  .product-head h2 span { display:block; margin:2px 0 0; font-size:16px; }
  .product-head p { margin-top:10px; font-size:15px; line-height:1.85; }
  .product-head .stage-link { margin-top:14px; font-size:14px; }
  .product-frame { margin-top:18px; border-radius:15px; }
  .product-toggle { right:10px; bottom:10px; min-height:32px; padding:0 14px; font-size:12px; }
  .product-outline { margin-top:14px; }
  .product-outline ol { gap:6px; }
  .product-outline li { padding:5px 11px 5px 6px; font-size:13px; }
}
