/* ============================================================
   txxdh.com 申报资料模板页样式 muban.css
   ============================================================ */

/* 模板头图 */
.muban-hero { position: relative; padding: 76px 0 84px; overflow: hidden; background: linear-gradient(120deg, #f3edff, #f8f6fd 60%, #efe9fa); }
.muban-hero::before { content: ""; position: absolute; right: -100px; top: -100px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(201,174,246,.3), transparent 65%); }
.muban-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.muban-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.22; }
.muban-hero h1 em { font-style: normal; color: var(--purple-5); }
.muban-hero p { color: var(--ink-2); margin-top: 16px; }
.muban-hero .mh-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.muban-hero img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); width: 100%; height: 360px; object-fit: cover; }

/* 模板预览卡 */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tpl-grid .tpl-card { background: var(--card); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .35s ease; display: flex; flex-direction: column; }
.tpl-grid .tpl-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.tpl-grid .tpl-preview { height: 190px; position: relative; background: linear-gradient(150deg, var(--purple-1), #fff 60%, var(--gray-1)); display: flex; align-items: center; justify-content: center; }
.tpl-grid .tpl-preview .sheet { width: 150px; height: 190px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-md); transform: rotate(-3deg); position: relative; padding: 18px 14px; }
.tpl-grid .tpl-preview .sheet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 46px; background: var(--purple-2); border-radius: 10px 10px 0 0; }
.tpl-grid .tpl-preview .sheet .line { position: absolute; top: 70px; left: 14px; right: 14px; height: 7px; border-radius: 4px; background: var(--gray-2); }
.tpl-grid .tpl-preview .sheet .line:nth-child(2) { top: 88px; width: 70%; }
.tpl-grid .tpl-preview .sheet .line:nth-child(3) { top: 106px; width: 84%; }
.tpl-grid .tpl-preview .sheet .line:nth-child(4) { top: 124px; width: 60%; }
.tpl-grid .tpl-preview .tpl-type { position: absolute; top: 14px; right: 14px; background: var(--purple-5); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-full); }
.tpl-grid .tpl-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tpl-grid h3 { font-size: 16.5px; margin-bottom: 8px; }
.tpl-grid p { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.tpl-grid .tpl-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.tpl-grid .tpl-size { font-size: 12.5px; color: var(--gray-4); }
.tpl-grid .tpl-size b { color: var(--purple-6); }

/* 使用四步 */
.tpl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: ts; }
.tpl-steps .ts-item { text-align: center; position: relative; }
.tpl-steps .ts-item:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 62%; width: 76%; height: 2px; border-top: 2px dashed var(--purple-3); }
.tpl-steps .ts-num { counter-increment: ts; }
.tpl-steps .ts-num::before { content: counter(ts); width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 16px; background: linear-gradient(135deg, var(--purple-5), var(--purple-6)); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(124,58,237,.28); position: relative; z-index: 1; }
.tpl-steps h3 { font-size: 15.5px; margin-bottom: 6px; }
.tpl-steps p { font-size: 13px; color: var(--ink-3); }

/* 获取方式 */
.get-zone { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.get-zone .gz-item { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px 26px; text-align: center; transition: all .3s ease; }
.get-zone .gz-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.get-zone .gz-ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 18px; background: var(--purple-1); color: var(--purple-6); display: flex; align-items: center; justify-content: center; }
.get-zone .gz-ic svg { width: 26px; height: 26px; }
.get-zone h3 { font-size: 16px; margin-bottom: 6px; }
.get-zone p { font-size: 13.5px; color: var(--ink-2); }
.get-zone a { color: var(--purple-6); font-weight: 700; }

@media (max-width: 1080px) {
  .muban-hero-in { grid-template-columns: 1fr; gap: 34px; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .tpl-steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .tpl-steps .ts-item:nth-child(2)::after { display: none; }
  .get-zone { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tpl-grid { grid-template-columns: 1fr; }
  .tpl-steps { grid-template-columns: 1fr 1fr; }
}
