/* ============================================================
   东方心语 — 合规页面补充样式（关于我们 / 协议 / 下单 / 保障）
   ============================================================ */

/* 讲师字母徽标（不使用虚构人像） */
.mentor-monogram {
  aspect-ratio: 4/5;
  border-radius: 24px 4px 24px 24px;
  background:
    radial-gradient(120% 90% at 20% 10%, #FFFFFF 0%, rgba(255,255,255,0) 55%),
    linear-gradient(150deg, #23554B 0%, #1F4B43 55%, #2E6B5E 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px 30px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.mentor-monogram::before {
  content: "陈"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%);
  font-family: var(--serif); font-size: 190px; line-height: 1; color: rgba(255,255,255,.10);
}
.mentor-monogram .m-name { font-family: var(--serif); font-size: 30px; letter-spacing: 3px; position: relative; }
.mentor-monogram .m-role { font-size: 13px; opacity: .78; letter-spacing: 1.5px; margin-top: 6px; position: relative; }
.mentor-monogram .m-line { width: 46px; height: 2px; background: var(--gold); margin-bottom: 18px; position: relative; }

.mentor-inline .monogram-sm {
  width: 132px; height: 160px; flex: none; border-radius: 18px;
  background: linear-gradient(150deg, #23554B, #1F4B43);
  color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 56px; letter-spacing: 2px; box-shadow: var(--shadow);
}

/* 服务保障条 */
.guard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.guard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .3s, box-shadow .3s;
}
.guard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guard .g-ico { font-size: 22px; margin-bottom: 12px; }
.guard h3 { font-size: 17px; margin-bottom: 6px; }
.guard p { font-size: 13.8px; color: var(--muted); line-height: 1.7; }

/* 主体信息表 */
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 12px 34px; }
.info-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.info-row:last-child { border-bottom: none; }
.info-row dt { color: var(--muted); }
.info-row dd { color: var(--ink); word-break: break-all; }
.info-row dd a { color: var(--accent-deep); }

/* 页内标题（左侧竖条） */
.block-title { font-size: 22px; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.block-title::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--accent); }

/* 协议类长文档 */
.legal-wrap { max-width: 900px; margin: 0 auto; }
.legal-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 52px 56px; }
.legal-card h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.legal-meta { color: var(--muted); font-size: 13.5px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.legal-card h2 { font-size: 18px; margin: 34px 0 12px; }
.legal-card h3 { font-size: 15.5px; margin: 22px 0 8px; color: var(--brand); }
.legal-card p, .legal-card li { font-size: 14.8px; color: #3B4A45; line-height: 1.95; }
.legal-card p { margin-bottom: 12px; }
.legal-card ul, .legal-card ol { padding-left: 22px; margin-bottom: 14px; }
.legal-card li { list-style: disc; margin-bottom: 6px; }
.legal-card ol li { list-style: decimal; }
.legal-card strong { color: var(--ink); }
.legal-note { background: var(--bg); border-left: 3px solid var(--gold); border-radius: 8px; padding: 16px 20px; font-size: 14px; color: var(--muted); margin: 22px 0; }
.legal-toc { background: var(--bg); border-radius: 14px; padding: 20px 24px; margin-bottom: 30px; }
.legal-toc a { font-size: 14px; color: var(--brand); display: block; padding: 4px 0; }
.legal-toc a:hover { color: var(--accent-deep); }

/* 下单页 */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 34px 36px; }
.panel + .panel { margin-top: 24px; }
.panel h2 { font-size: 19px; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.panel h2::before { content: ""; width: 4px; height: 19px; background: var(--accent); border-radius: 3px; }

.order-item { display: flex; gap: 18px; align-items: center; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.order-item img { width: 132px; height: 92px; object-fit: cover; border-radius: 12px; flex: none; }
.order-item h3 { font-size: 16.5px; line-height: 1.55; }
.order-item .o-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }
.order-item .o-price { margin-left: auto; font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--accent-deep); white-space: nowrap; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--ink); font-weight: 600; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  border: 1px solid var(--line); background: var(--bg); border-radius: 10px;
  padding: 12px 14px; outline: none; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,75,67,.08); background: #fff; }
.field .hint { font-size: 12.5px; color: var(--muted); }

.pay-option {
  display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--brand);
  background: var(--brand-soft); border-radius: 12px; padding: 16px 18px;
}
.pay-option .wechat { width: 34px; height: 34px; border-radius: 9px; background: #09BB07; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.pay-option b { font-size: 15px; display: block; }
.pay-option span { font-size: 12.5px; color: var(--muted); }

.agree-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 22px; }
.agree-row input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.agree-row a { color: var(--brand); text-decoration: underline; }

.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); padding: 7px 0; }
.sum-row.total { font-size: 16px; color: var(--ink); font-weight: 600; padding-top: 16px; margin-top: 10px; border-top: 1px solid var(--line); }
.sum-row.total b { font-family: var(--serif); font-size: 28px; color: var(--accent-deep); }
.panel .btn { width: 100%; margin-top: 18px; }
.pay-tip { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.7; }
.safe-row { display: flex; justify-content: space-around; font-size: 12.5px; color: var(--muted); margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }

/* 支付结果 */
.result-card { max-width: 720px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 52px 48px; text-align: center; }
.result-ico {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 34px;
}
.result-card h1 { font-size: 26px; margin-bottom: 10px; }
.result-card > p { color: var(--muted); font-size: 15px; }
.result-detail { text-align: left; background: var(--bg); border-radius: 14px; padding: 8px 22px; margin: 28px 0; }
.rd-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.rd-row:last-child { border-bottom: none; }
.rd-row span { color: var(--muted); }
.rd-row b { text-align: right; }
.result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 客诉渠道 */
.complaint-box {
  background: var(--accent-soft); border-radius: 16px; padding: 26px 30px; margin-top: 28px;
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.complaint-box h4 { font-size: 16px; margin-bottom: 4px; }
.complaint-box p { font-size: 13.8px; color: var(--muted); }
.complaint-box .btn { flex: none; }

/* 联系卡片 */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.contact-card .c-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--muted); line-height: 1.8; word-break: break-all; }
.contact-card a:hover { color: var(--accent-deep); }

/* 页脚补充 */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.footer-legal a:hover { color: var(--gold); }
.footer-entity { font-size: 12.8px; opacity: .6; line-height: 1.9; }

@media (max-width: 960px) {
  .guard-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 34px 26px; }
  .info-row { grid-template-columns: 1fr; gap: 6px; }
  .info-card { padding: 8px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .order-item { flex-wrap: wrap; }
  .order-item .o-price { margin-left: 0; }
  .result-card { padding: 36px 24px; }
}
@media (max-width: 640px) {
  .guard-grid, .contact-grid { grid-template-columns: 1fr; }
}
