/* ===== Journal Promotion 页面增强样式（弹窗/Logo墙/评价/表单/套餐/流程） ===== */

/* ---------- 任务1：服务详情弹窗 ---------- */
.jp-detail-btn {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: #4A3A6B; font-size: 14px; font-weight: 700;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid #D4AF37;
  cursor: pointer; transition: all 0.25s ease; align-self: flex-start;
}
.jp-detail-btn:hover { background: #D4AF37; color: #4A3A6B; box-shadow: 0 6px 16px rgba(212,175,55,0.3); }
.jp-detail-btn:focus-visible { outline: 3px solid rgba(212,175,55,0.5); outline-offset: 2px; }

.jp-modal-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(30, 22, 48, 0.62); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.jp-modal-overlay.open { opacity: 1; visibility: visible; }
.jp-modal {
  background: #fff; border-radius: 18px; max-width: 680px; width: 100%;
  max-height: 86vh; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 30px 70px rgba(30, 22, 48, 0.45);
  border-top: 6px solid #D4AF37;
  transform: translateY(16px); transition: transform 0.28s ease;
}
.jp-modal-overlay.open .jp-modal { transform: translateY(0); }
.jp-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px; background: linear-gradient(135deg, #4A3A6B 0%, #6B5A8B 100%);
}
.jp-modal-title { color: #fff; font-size: 19px; font-weight: 800; }
.jp-modal-close {
  background: rgba(255,255,255,0.16); border: none; color: #fff;
  width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1;
  cursor: pointer; transition: background 0.2s;
}
.jp-modal-close:hover { background: rgba(212,175,55,0.55); }
.jp-modal-body { padding: 24px 26px 28px; overflow-y: auto; }
.jp-modal-pane { display: none; }
.jp-modal-pane.active { display: block; animation: jpPaneIn 0.3s ease; }
@keyframes jpPaneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.jp-modal-pane h4 {
  color: #4A3A6B; font-size: 14px; font-weight: 800; margin: 22px 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.jp-modal-pane h4:first-child { margin-top: 0; }
.jp-modal-pane h4::before {
  content: ""; width: 4px; height: 16px; border-radius: 2px; background: #D4AF37; display: inline-block;
}
.jp-modal-pane ul, .jp-modal-pane ol { margin: 0; padding-left: 20px; color: #55506B; font-size: 14px; line-height: 1.8; }
.jp-modal-pane li { margin-bottom: 4px; }
.jp-modal-pane .jp-kpi li { color: #4A3A6B; font-weight: 700; }
.jp-modal-cta {
  margin-top: 22px; display: inline-flex; text-decoration: none;
  background: #D4AF37; color: #4A3A6B; padding: 12px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 800; box-shadow: 0 8px 20px rgba(212,175,55,0.35);
  transition: all 0.25s ease;
}
.jp-modal-cta:hover { background: #E3C65A; transform: translateY(-2px); color: #4A3A6B; }

/* ---------- 任务2：合作期刊 Logo 墙（卡片 + 预留图片位） ---------- */
.jp-partner-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1080px; }
.jp-partner-card {
  background: #fff; border: 1px solid #E8E0F0; border-radius: 14px;
  padding: 22px 16px 18px; text-align: center;
  transition: all 0.25s ease; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.jp-partner-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(74,58,107,0.14); border-color: #D4AF37; }
/* Logo 图片位置：将期刊 Logo 放入 .jp-partner-logo 内的 <img>，未上传时显示首字母徽章 */
.jp-partner-logo {
  width: 100%; min-height: 96px; border-radius: 12px;
  background: linear-gradient(135deg, #4A3A6B 0%, #6B5A8B 100%);
  color: #D4AF37; font-size: 26px; font-weight: 800; letter-spacing: 0.5px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  overflow: hidden; border: 1px solid #E0D9EB; flex-shrink: 0;
  position: relative;
}
.jp-partner-card:nth-child(4n+2) .jp-partner-logo,
.jp-partner-card:nth-child(4n+3) .jp-partner-logo { background: linear-gradient(135deg, #2E2445 0%, #4A3A6B 100%); }
.jp-partner-logo::before {
  content: ""; position: absolute; left: 16px; right: 16px; top: 0;
  height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}
.jp-partner-logo img { width: 100%; height: 100%; object-fit: cover; }
.jp-cover-note {
  font-size: 10px; font-weight: 600; letter-spacing: 0.3px;
  color: #F8E7A1; background: rgba(46, 36, 69, 0.55);
  padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(212,175,55,0.45);
}
.jp-partner-card .jp-partner-name { color: #4A3A6B; font-size: 15px; font-weight: 800; }
.jp-partner-card .jp-partner-meta { color: #9A93AC; font-size: 12px; }
.jp-partner-grid + .jp-partner-note { margin-top: 22px; }

/* ---------- 任务6：数据支撑条 ---------- */
.jp-proof-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 36px; max-width: 1080px; margin-left: auto; margin-right: auto;
}
.jp-proof-item {
  background: #F8F6FC; border: 1px solid #E8E0F0; border-radius: 14px;
  padding: 30px 14px 24px; text-align: center; position: relative;
}
.jp-proof-item::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 46px; height: 4px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}
.jp-proof-num { display: block; font-size: 36px; font-weight: 800; color: #D4AF37; letter-spacing: 0.5px; line-height: 1.1; }
.jp-proof-label { font-size: 13px; color: #4A3A6B; font-weight: 600; margin-top: 8px; display: block; }

/* ---------- 任务3：编委评价 ---------- */
.jp-testimonials { background: #F8F6FC; }
.jp-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.jp-testi-card {
  background: #fff; border-radius: 16px; padding: 26px 24px;
  border: 1px solid #E8E0F0; border-left: 5px solid #D4AF37;
  box-shadow: 0 4px 18px rgba(74,58,107,0.06); position: relative;
}
.jp-testi-quote-mark {
  position: absolute; top: 14px; right: 20px; font-size: 56px; line-height: 1;
  color: rgba(212,175,55,0.28); font-family: Georgia, serif; font-weight: 800;
}
.jp-testi-text { color: #4A3A6B; font-size: 14px; line-height: 1.8; margin: 0 0 20px; }
.jp-testi-person { display: flex; align-items: center; gap: 12px; }
.jp-testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #4A3A6B 0%, #6B5A8B 100%);
  color: #D4AF37; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.jp-testi-who .jp-testi-name { color: #4A3A6B; font-size: 14px; font-weight: 800; }
.jp-testi-who .jp-testi-role { color: #9A93AC; font-size: 12px; margin-top: 2px; }
.jp-testi-affiliation {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid #E0D9EB;
  color: #6B6882; font-size: 12px; font-weight: 600; line-height: 1.5;
}

/* ---------- 任务5：流程说明增强 ---------- */
.jp-step p { font-size: 13.5px; }
.jp-step .jp-step-item {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  font-size: 13px; color: #4A3A6B; font-weight: 600; margin-top: 10px; text-align: left;
}
.jp-step .jp-step-item::before { content: "▸"; color: #D4AF37; font-weight: 800; }
.jp-step-period {
  display: inline-block; margin-top: 14px; padding: 5px 14px; border-radius: 999px;
  background: rgba(212,175,55,0.16); border: 1px solid rgba(212,175,55,0.5);
  color: #8A5A00; font-size: 12px; font-weight: 700;
}

/* ---------- 任务7：服务套餐 ---------- */
.jp-plans { background: #F8F6FC; }
.jp-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.jp-plan-card {
  background: #fff; border-radius: 18px; border: 1px solid #E8E0F0;
  padding: 32px 26px; display: flex; flex-direction: column;
  box-shadow: 0 6px 22px rgba(74,58,107,0.07); position: relative;
  transition: all 0.28s ease;
}
.jp-plan-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(74,58,107,0.16); }
.jp-plan-card.jp-plan-hot { border: 2px solid #D4AF37; }
.jp-plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #D4AF37, #E3C65A); color: #4A3A6B;
  font-size: 12px; font-weight: 800; padding: 5px 16px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}
.jp-plan-card h3 { color: #4A3A6B; font-size: 19px; margin: 0 0 6px; font-weight: 800; text-align: center; }
.jp-plan-desc { color: #9A93AC; font-size: 13px; text-align: center; margin: 0 0 18px; }
.jp-plan-feats { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; flex: 1; }
.jp-plan-feats li {
  display: flex; align-items: flex-start; gap: 8px;
  color: #55506B; font-size: 13.5px; line-height: 1.6;
}
.jp-plan-feats li::before { content: "✓"; color: #D4AF37; font-weight: 800; flex-shrink: 0; }
.jp-plan-price {
  text-align: center; color: #4A3A6B; font-size: 14px; font-weight: 700;
  background: #F8F6FC; border-radius: 10px; padding: 10px 14px; margin-bottom: 18px;
}
.jp-plan-price span { color: #D4AF37; font-size: 16px; font-weight: 800; }
.jp-plan-price-note { color: #9A93AC; font-size: 11.5px; margin-top: 4px; font-weight: 500; }
.jp-plan-btn {
  display: block; text-align: center; text-decoration: none;
  background: transparent; color: #4A3A6B; border: 1.5px solid #4A3A6B;
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 800;
  transition: all 0.25s ease;
}
.jp-plan-btn:hover { background: #4A3A6B; color: #fff; }
.jp-plan-card.jp-plan-hot .jp-plan-btn { background: #D4AF37; border-color: #D4AF37; color: #4A3A6B; }
.jp-plan-card.jp-plan-hot .jp-plan-btn:hover { background: #E3C65A; }

/* ---------- 任务4：咨询表单 ---------- */
.jp-contact-form {
  background: #fff; border-radius: 18px; padding: 28px 26px;
  text-align: left; max-width: 560px; margin: 30px auto 0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.jp-form-field { display: flex; flex-direction: column; gap: 6px; }
.jp-form-field.full { grid-column: 1 / -1; }
.jp-form-field label { color: #4A3A6B; font-size: 13px; font-weight: 700; }
.jp-form-field input,
.jp-form-field textarea {
  border: 1px solid #D8D0E6; border-radius: 10px; padding: 11px 14px;
  font-size: 14px; color: #333; background: #fff; width: 100%;
  box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s;
}
.jp-form-field input:focus,
.jp-form-field textarea:focus {
  outline: none; border-color: #4A3A6B; box-shadow: 0 0 0 3px rgba(74,58,107,0.12);
}
.jp-form-field textarea { min-height: 96px; resize: vertical; }
.jp-form-submit {
  grid-column: 1 / -1; margin-top: 4px;
  background: #D4AF37; color: #4A3A6B; border: none; border-radius: 999px;
  padding: 13px 24px; font-size: 15px; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 20px rgba(212,175,55,0.35); transition: all 0.25s ease;
}
.jp-form-submit:hover { background: #E3C65A; transform: translateY(-2px); }
.jp-form-note { grid-column: 1 / -1; color: #6B6882; font-size: 12px; text-align: center; margin: 0; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 900px) {
  .jp-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .jp-proof-band { grid-template-columns: repeat(2, 1fr); }
  .jp-testi-grid { grid-template-columns: 1fr; }
  .jp-plan-grid { grid-template-columns: 1fr; max-width: 440px; }
}
@media (max-width: 560px) {
  .jp-partner-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .jp-contact-form { grid-template-columns: 1fr; }
  .jp-proof-band { grid-template-columns: 1fr 1fr; gap: 12px; }
}
