/* =============================================================
   One0 AI · 案例与留资（/cases/ 与 /contact/，首页案例带共用）
   作品墙 / 自有产品清单 / 联系渠道卡
   ============================================================= */

/* ============ 作品墙 ============ */
/* 静态兜底卡始终写在 HTML 里（禁用 JS / 接口失败时也可见），
   showcase.js 仅在拉到真实数据后整块替换，不留空容器。 */
.showcase-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
}
.showcase-card {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.showcase-card:hover { transform: translateY(-5px); border-color: rgba(232, 145, 72, 0.5); }
.showcase-media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  display: grid; place-items: center; font-size: 44px;
  background: linear-gradient(135deg, #fb923c, #fb7185);
}
.showcase-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)); z-index: 1;
}
.showcase-title { font-size: 14px; font-weight: 800; color: #fff; line-height: 1.35; }
.showcase-meta { font-size: 11.5px; color: rgba(255, 255, 255, 0.72); margin-top: 4px; }
.showcase-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.66); color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
/* 渐变占位（无封面图时用首字/emoji 撑住版面，避免破图） */
.showcase-media--ph { color: rgba(255, 255, 255, 0.92); font-weight: 900; }

.showcase-source {
  margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--text-muted);
}

/* ============ 自有产品清单（不编客户案例，只列自己实际运营的产品） ============ */
.product-list { display: flex; flex-direction: column; gap: 12px; }
.product-row {
  display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
  transition: border-color 0.25s;
}
.product-row:hover { border-color: rgba(232, 145, 72, 0.4); }
.product-row .pr-main { flex: 1 1 280px; min-width: 0; }
.product-row h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 5px; }
.product-row p { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }
.product-row .pr-side { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.product-row .pr-link { font-size: 13px; font-weight: 700; color: var(--brand); }
.product-row .pr-link:hover { color: var(--brand-light); }

/* ============ 联系渠道卡 ============ */
.channel-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.channel-card { padding: 24px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.channel-card .ch-ico { font-size: 26px; line-height: 1; }
.channel-card h3 { font-size: 16px; font-weight: 800; }
.channel-card p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.channel-card .ch-value { font-size: 14px; font-weight: 700; color: var(--brand-light); word-break: break-all; }
.channel-card .qr-img, .channel-card .qr-box { width: 150px; height: 150px; }

/* ============ 留资页顶部承诺条 ============ */
.promise-strip {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center;
  margin-top: 30px; font-size: 13.5px; color: var(--text-sub);
}
.promise-strip span { display: inline-flex; align-items: center; gap: 7px; }
.promise-strip .tick { color: var(--brand); }

/* ============ 404 ============ */
.notfound { padding: 130px 0 140px; text-align: center; }
.notfound .code {
  font-size: clamp(64px, 16vw, 130px); font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #fbbf24, #e89148);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.notfound h1 { font-size: clamp(22px, 4vw, 30px); font-weight: 900; margin: 14px 0 10px; }
.notfound p { color: var(--text-sub); font-size: 15px; margin-bottom: 30px; }

@media (max-width: 760px) {
  .showcase-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
}
