/* 齐马建站平台门户（gw.qima.net）portal.css v=20260910a */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft Yahei", "PingFang SC", Helvetica, Arial, sans-serif; color: #24292f; background: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
.p-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.p-center { text-align: center; }

/* ---- 头部 ---- */
.p-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #eaecef; }
.p-header .p-wrap { display: flex; align-items: center; height: 64px; gap: 36px; }
.p-logo { font-size: 21px; font-weight: 700; color: #0b5fae; letter-spacing: .5px; }
.p-logo em { font-style: normal; color: #f59e0b; }
.p-nav { display: flex; gap: 30px; flex: 1; }
.p-nav a { font-size: 15px; color: #454b52; line-height: 64px; }
.p-nav a:hover, .p-nav a.on { color: #0b5fae; }
.p-actions { display: flex; gap: 12px; align-items: center; }

/* ---- 按钮 ---- */
.btn { display: inline-block; padding: 10px 24px; border-radius: 6px; font-size: 15px; text-align: center; cursor: pointer; border: 0; }
.btn-primary { background: #0b5fae; color: #fff; }
.btn-primary:hover { background: #094d8d; }
.btn-ghost { border: 1px solid #c9d4e0; color: #0b5fae; background: #fff; }
.btn-ghost:hover { border-color: #0b5fae; }
.btn-lg { padding: 14px 36px; font-size: 17px; }
.btn-gold { background: #f59e0b; color: #fff; }
.btn-gold:hover { background: #dd8f09; }
.btn-outline { border: 1px solid rgba(255,255,255,.65); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---- Hero ---- */
.p-hero { background: linear-gradient(135deg, #072a4a 0%, #0b5fae 62%, #0e7ac0 100%); color: #fff; padding: 96px 0 104px; text-align: center; }
.p-hero h1 { font-size: 46px; line-height: 1.32; font-weight: 700; }
.p-hero h1 span { color: #ffd08a; }
.p-hero > .p-wrap > p { margin: 22px auto 0; max-width: 720px; font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.88); }
.p-hero-cta { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.p-hero-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.62); }

/* ---- 通用区块 ---- */
.p-section { padding: 84px 0; }
.p-section.p-gray { background: #f6f8fb; }
.p-h2 { font-size: 32px; text-align: center; color: #1c2b3a; }
.p-sub { margin: 14px 0 0; text-align: center; color: #66707c; font-size: 16px; }
.p-more { margin-top: 36px; text-align: center; }

/* 四层产品 */
.p-layers { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; max-width: 880px; margin-left: auto; margin-right: auto; }
.layer { border-radius: 10px; padding: 22px 30px; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.layer b { font-size: 18px; }
.layer span { font-size: 14px; opacity: .85; line-height: 1.7; }
.l4 { background: linear-gradient(120deg, #0d6b57, #16a085); }
.l3 { background: linear-gradient(120deg, #0b5fae, #2b7de9); }
.l2 { background: linear-gradient(120deg, #7a3fd6, #a56ae8); }
.l1 { background: linear-gradient(120deg, #22303f, #3d4f63); }

/* 卡片栅格 */
.p-grid { margin-top: 48px; display: grid; gap: 22px; }
.p-grid-3 { grid-template-columns: repeat(3, 1fr); }
.p-card { background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; padding: 28px; transition: box-shadow .2s, transform .2s; }
.p-card:hover { box-shadow: 0 10px 28px rgba(11,95,174,.12); transform: translateY(-3px); }
.p-card h3 { font-size: 18px; color: #1c2b3a; margin-bottom: 10px; }
.p-card p { font-size: 14px; color: #66707c; line-height: 1.8; }
.p-ico { width: 46px; height: 46px; border-radius: 10px; background: #e8f1fb; color: #0b5fae; font-size: 22px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

/* 步骤 */
.p-steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.p-step { background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; padding: 26px 22px; text-align: center; }
.p-step i { font-style: normal; display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: #0b5fae; color: #fff; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 14px; }
.p-step b { display: block; font-size: 16px; margin-bottom: 8px; }
.p-step span { font-size: 13px; color: #66707c; line-height: 1.7; display: block; }

/* 模板库 */
.p-tpl-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.p-tpl { border: 1px solid #e8ecf1; border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.p-tpl:hover { box-shadow: 0 12px 30px rgba(11,95,174,.14); transform: translateY(-3px); }
.p-tpl-cover { height: 190px; display: flex; align-items: center; justify-content: center; color: #fff; }
.p-tpl-cover b { font-size: 24px; letter-spacing: 2px; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.p-tpl-info { padding: 18px 20px 20px; }
.p-tpl-info h3 { font-size: 17px; color: #1c2b3a; }
.p-tpl-info .code { font-size: 12px; color: #98a2ad; margin-left: 8px; }
.p-tpl-info .tag { display: inline-block; margin-top: 10px; padding: 3px 12px; border-radius: 20px; background: #eef4fb; color: #0b5fae; font-size: 12px; }
.p-tpl-acts { margin-top: 16px; display: flex; gap: 10px; }
.p-tpl-acts .btn { flex: 1; padding: 8px 0; font-size: 13px; }
.btn-disabled { background: #eef0f3; color: #98a2ad; cursor: not-allowed; }

/* 套餐 */
.p-plan-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.p-plan { border: 1px solid #e8ecf1; border-radius: 12px; padding: 34px 30px; background: #fff; display: flex; flex-direction: column; position: relative; }
.p-plan.hot { border: 2px solid #0b5fae; box-shadow: 0 14px 34px rgba(11,95,174,.14); }
.p-plan .hot-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #0b5fae; color: #fff; font-size: 12px; padding: 4px 16px; border-radius: 20px; }
.p-plan h3 { font-size: 20px; color: #1c2b3a; }
.p-plan .price { margin: 18px 0 4px; font-size: 40px; font-weight: 700; color: #0b5fae; }
.p-plan .price small { font-size: 15px; color: #98a2ad; font-weight: 400; }
.p-plan .limit { font-size: 13px; color: #66707c; padding-bottom: 18px; border-bottom: 1px dashed #e3e8ee; }
.p-plan ul { margin: 18px 0 26px; flex: 1; }
.p-plan li { font-size: 14px; color: #454b52; line-height: 2.1; padding-left: 22px; position: relative; }
.p-plan li::before { content: "✓"; position: absolute; left: 0; color: #16a085; font-weight: 700; }
.p-plan .note { margin-top: 10px; font-size: 12px; color: #98a2ad; text-align: center; }

/* 应用中心 */
.p-app-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-app { border: 1px solid #e8ecf1; border-radius: 10px; padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.p-app-top { display: flex; align-items: center; justify-content: space-between; }
.p-app h3 { font-size: 17px; color: #1c2b3a; }
.p-app .req { font-size: 12px; color: #0b5fae; background: #eef4fb; border-radius: 20px; padding: 3px 12px; }
.p-app p { font-size: 13px; color: #66707c; line-height: 1.8; flex: 1; }
.p-app .price { font-size: 20px; font-weight: 700; color: #1c2b3a; }
.p-app .price small { font-size: 13px; color: #98a2ad; font-weight: 400; }
.p-app-note { margin-top: 34px; text-align: center; font-size: 14px; color: #66707c; }

/* CTA 带 */
.p-cta { background: linear-gradient(120deg, #072a4a, #0b5fae); color: #fff; padding: 72px 0; text-align: center; }
.p-cta h2 { font-size: 30px; margin-bottom: 28px; }

/* 页脚 */
.p-footer { background: #101820; color: #98a2ad; padding: 30px 0; font-size: 13px; }
.p-foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.p-footer a { color: #c6cdd4; }
.p-footer a:hover { color: #fff; }

/* ---- 响应式（≤860px：单列） ---- */
@media (max-width: 860px) {
  .p-header .p-wrap { gap: 14px; }
  .p-nav { gap: 14px; }
  .p-nav a { font-size: 13px; }
  .p-actions .btn-ghost { display: none; }
  .p-hero { padding: 64px 0 72px; }
  .p-hero h1 { font-size: 30px; }
  .p-hero > .p-wrap > p { font-size: 15px; }
  .p-section { padding: 56px 0; }
  .p-h2 { font-size: 25px; }
  .p-grid-3, .p-steps, .p-tpl-grid, .p-plan-grid, .p-app-grid { grid-template-columns: 1fr; }
  .layer { padding: 16px 18px; }
  .p-foot-row { flex-direction: column; text-align: center; }
}
