@charset "UTF-8";
/*!
 * 智天保商城 · 目录页样式
 */

/* ============================ 页头 ============================ */
.cat-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 54px) 0 56px;
  background:
    radial-gradient(900px 460px at 88% -20%, rgba(109, 75, 196, .42) 0%, transparent 60%),
    radial-gradient(700px 380px at 4% 10%, rgba(136, 203, 127, .14) 0%, transparent 58%),
    linear-gradient(160deg, #071a33 0%, #0b2545 58%, #123a70 100%);
}
.cat-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 18%, transparent 76%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 18%, transparent 76%);
}
.cat-hero .wrap { position: relative; z-index: 1; }

.crumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #9dc4ff; margin-bottom: 20px; }
.crumb a { transition: color .18s var(--ease); }
.crumb a:hover { color: #fff; text-decoration: underline; }
.crumb .sep { color: #4a6d9e; }

.cat-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.8px; line-height: 1.2; }
.cat-hero__lead { margin-top: 18px; max-width: 740px; font-size: 16px; line-height: 1.9; color: #bed0e8; }
.cat-hero__stats { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.cat-hero__stats .chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #d6e3f7; }

/* ============================ 工具条 ============================ */
.cat-toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--header-bg-stuck);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.cat-toolbar__inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 0;
}
.filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter {
  padding: 8px 18px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: all .18s var(--ease);
}
.filter:hover { border-color: var(--brand-300); color: var(--brand); }
.filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(30, 80, 162, .22); }
.cat-count { margin-left: auto; font-size: 13.5px; color: var(--faint); }
.cat-count b { color: var(--brand); font-size: 15px; }

/* ============================ 分区标题 ============================ */
.cat-group + .cat-group { margin-top: 54px; }
.cat-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cat-group__head h2 { font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.cat-group__head .rule { flex: 1; height: 1px; background: var(--line); }
.cat-group__count { font-size: 13px; color: var(--faint); font-weight: 600; }

/* ============================ 服务包卡片 ============================ */
.pkg-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }

.pkg {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.pkg:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--brand-300); }
.pkg--coming { background: linear-gradient(180deg, var(--coming-bg-1) 0%, var(--coming-bg-2) 100%); }
.pkg--coming:hover { transform: none; box-shadow: var(--sh-sm); border-color: var(--line); }

.pkg__head {
  padding: 26px 28px 22px;
  background: linear-gradient(150deg, #0f3566 0%, #1e50a2 68%, #2f6bcc 100%);
  color: #fff; position: relative; overflow: hidden;
}
.pkg--coming .pkg__head { background: linear-gradient(150deg, #4a5c78 0%, #6d7f9c 100%); }
.pkg__head::after {
  content: ""; position: absolute; right: -50px; top: -60px; width: 190px; height: 190px;
  border-radius: 50%; background: radial-gradient(circle, rgba(136, 203, 127, .28) 0%, transparent 68%);
}
.pkg__head-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.pkg__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: .1em; color: #9dc4ff; font-weight: 700; text-transform: uppercase;
}
.pkg__name { margin-top: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.4px; line-height: 1.25; }
.pkg__subtitle { margin-top: 8px; font-size: 14px; color: #cfe0ff; }
.pkg__head .badge { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .26); flex: none; }
.pkg--online .pkg__head .badge { background: var(--accent); border-color: var(--accent); color: #10331c; }

.pkg__body { padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.pkg__summary { font-size: 14.5px; line-height: 1.9; color: var(--muted); }

.pkg__block { border-top: 1px dashed var(--line); padding-top: 18px; }
.pkg__block:first-of-type { border-top: 0; padding-top: 0; }
.pkg__block h4 {
  font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--faint);
  text-transform: uppercase; margin-bottom: 12px;
}
.pkg__rows { display: flex; flex-direction: column; gap: 10px; }
.pkg__row { display: flex; gap: 12px; font-size: 14px; line-height: 1.7; }
.pkg__row dt { flex: none; width: 72px; color: var(--faint); font-weight: 600; }
.pkg__row dd { margin: 0; color: var(--ink-2); flex: 1; }

.pkg__list { display: flex; flex-direction: column; gap: 9px; }
.pkg__list li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.pkg__list li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--brand-300);
}
.pkg__list--service li::before { background: var(--accent); }

.pkg__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.pkg__foot {
  margin-top: auto; padding: 20px 28px 24px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--surface-2);
}
.pkg__meta { font-size: 12.5px; color: var(--faint); }
.pkg__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }

/* ============================ 空态 / 说明 ============================ */
.cat-empty {
  padding: 68px 24px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--bg-soft);
}
.cat-empty__icon { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--faint); }
.cat-empty__icon svg { width: 26px; height: 26px; }
.cat-empty h3 { font-size: 17px; font-weight: 800; }
.cat-empty p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

.cat-note {
  margin-top: 46px; padding: 22px 26px;
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand-300);
  border-radius: var(--radius); font-size: 13.5px; line-height: 1.9; color: var(--muted);
}
.cat-note b { color: var(--ink-2); }

.no-js-only { display: none; }

@media (max-width: 900px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .cat-toolbar { position: static; }
  .cat-count { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .pkg__head, .pkg__body, .pkg__foot { padding-left: 20px; padding-right: 20px; }
  .pkg__name { font-size: 21px; }
  .pkg__row dt { width: 64px; }
}
