/* 官网二级页面（收费标准 / 帮助中心）样式 */

/* 页面顶部标题区 */
.page-hero {
  padding: 120px 0 48px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8c 100%);
  color: #fff;
  text-align: center;
}
.page-hero h1 {
  font-size: 36px;
  margin: 0 0 12px;
  font-weight: 700;
}
.page-hero p {
  font-size: 16px;
  opacity: 0.88;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.nav-links a.active {
  color: #d23a3a;
  font-weight: 600;
}

.loading-tip,
.empty-tip {
  text-align: center;
  color: #8a94a6;
  padding: 40px 0;
  font-size: 15px;
}

/* ===== 收费标准 ===== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(30, 58, 95, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(30, 58, 95, 0.12);
}
.plan-card.recommended {
  border-color: #d23a3a;
  box-shadow: 0 12px 36px rgba(210, 58, 58, 0.16);
}
.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #d23a3a;
  color: #fff;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 20px;
}
.plan-name {
  font-size: 22px;
  margin: 0 0 6px;
  color: #1e3a5f;
}
.plan-sub {
  color: #8a94a6;
  font-size: 14px;
  margin: 0 0 20px;
  min-height: 20px;
}
.plan-price {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.plan-price .price-cur {
  font-size: 20px;
  color: #1e3a5f;
  font-weight: 600;
}
.plan-price .price-amount {
  font-size: 38px;
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1;
}
.plan-price .price-unit {
  font-size: 15px;
  color: #8a94a6;
}
.plan-price .price-free {
  font-size: 34px;
  font-weight: 800;
  color: #2e9e5b;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: #4a5568;
  font-size: 14px;
  border-bottom: 1px dashed #eef1f6;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e9e5b;
  font-weight: 700;
}
.plan-btn {
  margin-top: auto;
}
.plan-note {
  margin-top: 28px;
  text-align: center;
  color: #8a94a6;
  font-size: 14px;
  line-height: 1.8;
}

/* ===== 帮助中心 ===== */
.help-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.help-sidebar {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 16px;
  position: sticky;
  top: 90px;
}
.help-side-title {
  font-weight: 700;
  color: #1e3a5f;
  padding: 8px 12px 12px;
  border-bottom: 1px solid #eef1f6;
  margin-bottom: 8px;
}
.help-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.help-menu li { margin: 0; }
.help-menu a {
  display: block;
  padding: 10px 12px;
  color: #4a5568;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.help-menu a:hover { background: #f3f6fb; }
.help-menu a.active {
  background: #eef4fc;
  color: #2d5a8c;
  font-weight: 600;
}
.help-menu-loading,
.help-menu-empty {
  color: #8a94a6;
  padding: 12px;
  font-size: 14px;
}

.help-content { min-width: 0; }
.help-article {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 32px 36px;
}
.article-title {
  font-size: 26px;
  color: #1e3a5f;
  margin: 0 0 8px;
}
.article-summary {
  color: #8a94a6;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef1f6;
}
.article-body {
  color: #3a4556;
  line-height: 1.9;
  font-size: 15px;
}
.article-body h2 { font-size: 20px; color: #1e3a5f; margin: 24px 0 12px; }
.article-body h3 { font-size: 17px; color: #1e3a5f; margin: 20px 0 10px; }
.article-body p { margin: 0 0 14px; }
.article-body ul,
.article-body ol { padding-left: 22px; margin: 0 0 14px; }
.article-body li { margin-bottom: 8px; }
.article-body img { max-width: 100%; border-radius: 8px; }
.article-body a { color: #2d5a8c; }

/* 反馈表单 */
.feedback-box {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 28px 36px;
  margin-top: 24px;
}
.feedback-box h3 {
  font-size: 20px;
  color: #1e3a5f;
  margin: 0 0 6px;
}
.feedback-tip {
  color: #8a94a6;
  font-size: 14px;
  margin: 0 0 20px;
}
.feedback-form .ff-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.feedback-form .ff-row label {
  width: 80px;
  flex-shrink: 0;
  padding-top: 8px;
  color: #4a5568;
  font-size: 14px;
}
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  flex: 1;
  border: 1px solid #d6deea;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #2d3748;
  background: #fff;
}
.feedback-form textarea { resize: vertical; }
.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #2d5a8c;
}
.ff-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 96px;
}
.ff-msg { font-size: 14px; color: #8a94a6; }
.ff-msg.success { color: #2e9e5b; }
.ff-msg.error { color: #d23a3a; }

@media (max-width: 860px) {
  .help-layout { grid-template-columns: 1fr; }
  .help-sidebar { position: static; }
  .feedback-form .ff-row { flex-direction: column; gap: 6px; }
  .feedback-form .ff-row label { width: auto; padding-top: 0; }
  .ff-actions { padding-left: 0; }
  .page-hero { padding: 100px 0 40px; }
  .page-hero h1 { font-size: 28px; }
}
