/* ==========================================================================
 * 畅学村 如何上课 v4（2026-11-16，按如何上课版式图）
 * Banner 沿用原样式；以下为：浅灰课堂示意、三个卖点、暖色收藏老师、深蓝收口。
 * 加载顺序：main → v3 → v7 → polish → how-v4（本文件最后）
 * ========================================================================== */

.h4-wrap { max-width: 1024px; } /* 960 内容 + 两侧 32 */
.h4-h2 { margin: 0 0 12px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; line-height: 1.3; color: #0E1A2B; }
.h4-accent { margin-left: 0.4em; color: #F2862E; }
.h4-lead { margin: 0 0 32px; font-size: 14px; color: #5A6372; }

.h4-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 30px;
  border-radius: 999px; background: linear-gradient(180deg, #FFC27A 0%, #F59B3D 100%);
  box-shadow: 0 6px 14px rgba(245, 155, 61, 0.3);
  font-size: 13px; font-weight: 800; color: #3A1D04; text-decoration: none; white-space: nowrap;
}
.h4-btn:hover { filter: brightness(1.05); }
.h4-btn--lg { min-height: 44px; min-width: 210px; }
.h4-btn--white { background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); color: #0E1A2B; }

/* ---------- Banner 五步流程：箭头和连线同一水平 ----------
 * 原来是文字「›」按目测往上挪，字形基线让它浮在线上方；改成画出来的箭头（两条边的折角），
 * 中心点 = 连线中心（圆圈 62px → y = 32px），箭头尖正好落在连线末端。 */
.v3-hero--how .v3-steps5 li + li::before { top: 31px; height: 2px; }
.v3-hero--how .v3-steps5 li + li::after {
  content: ""; box-sizing: border-box;
  top: 27px; right: calc(50% + 41px);
  width: 10px; height: 10px;
  border-top: 2px solid #8FE3EA; border-right: 2px solid #8FE3EA; border-radius: 1px;
  transform: rotate(45deg);
  font-size: 0; line-height: 0;
}

/* ---------- 进入真实课堂（浅灰底，课堂示意缩小居中） ---------- */
.v3-sheet.h4-sheet { background: #F6F7FA; border-radius: 0; margin-top: 0; box-shadow: none; }
.h4-class-sec { padding: 80px 0 64px; }
.h4-class { max-width: 430px; margin: 0 auto; }
.h4-class__frame { padding: 6px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 26px rgba(16, 24, 40, 0.06); }
/* 课堂示意原稿按 ~700px 宽设计：整体缩到 0.6，比例和图标一起缩，不变形 */
.h4-class .v3-class__stage, .h4-class .v3-class__bar { zoom: 0.6; }
.h4-note { margin: 22px 0 0; font-size: 11px; color: #7A8494; text-align: center; }

/* ---------- 三个卖点 ---------- */
.h4-feats-sec { padding: 72px 0 56px; background: #fff; }
.h4-feats-sec .h4-h2 { margin-bottom: 26px; }
.h4-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h4-feats li { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 24px; border-radius: 10px; background: #F6F7FA; }
.h4-feats b { font-size: 16px; font-weight: 800; color: #0E1A2B; }
.h4-feats span { font-size: 12px; color: #7A8494; }

/* ---------- 喜欢这个老师 就收藏起来（暖色横条，手机贴底） ---------- */
.h4-fav-sec { overflow: hidden; padding-top: 56px; background: #FFF8EE; }
.h4-fav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.h4-fav__copy { padding-bottom: 56px; }
.h4-fav .h4-h2 { margin-bottom: 18px; }
.h4-fav__text { margin: 0 0 26px; font-size: 14px; color: #5A6372; }
.h4-fav .h4-btn { min-width: 136px; padding: 0 24px; }
.h4-phone.v3-phone { align-self: end; width: 218px; margin: 0 72px -2px 0; padding: 14px 12px 0; border-radius: 30px 30px 0 0; box-shadow: 0 20px 40px rgba(16, 24, 40, 0.18); }
.h4-phone .v3-phone__notch { width: 80px; height: 18px; margin-bottom: 10px; }
.h4-phone .v3-phone__card { padding: 16px 14px 14px; border-radius: 16px 16px 0 0; gap: 12px; }
.h4-phone .v3-phone__t { font-size: 13px; }
.h4-phone .v3-phone__list img { width: 30px; height: 30px; }
.h4-phone .v3-phone__list li { font-size: 13px; }
.h4-phone .v3-phone__btn { min-height: 34px; margin-bottom: 4px; border-radius: 10px; font-size: 12px; }

/* ---------- 深蓝收口 ---------- */
.h4-end {
  position: relative; overflow: hidden; padding: 64px 0 72px; text-align: center;
  background: radial-gradient(110% 120% at 50% 0%, #13284A 0%, #0B1A33 55%, #08142A 100%);
}
.h4-end__inner { position: relative; z-index: 1; }
.h4-end__t {
  margin: 0 0 16px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 900;
  background: linear-gradient(180deg, #FFD08A 0%, #F59B3D 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h4-end__text { margin: 0 auto 30px; max-width: 46em; font-size: 14px; color: rgba(255, 255, 255, 0.84); }
.h4-end__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.h4-end__arc { position: absolute; bottom: -1px; width: 34%; aspect-ratio: 3 / 1; pointer-events: none; }
.h4-end__arc--l { left: -8%; background: radial-gradient(70% 140% at 30% 120%, rgba(13, 26, 48, 0) 62%, rgba(255, 178, 92, 0.45) 66%, rgba(242, 134, 46, 0.1) 72%, rgba(13, 26, 48, 0) 80%); }
.h4-end__arc--r {
  right: -6%;
  background:
    radial-gradient(70% 140% at 70% 120%, rgba(13, 26, 48, 0) 62%, rgba(255, 196, 120, 0.85) 64.5%, rgba(242, 134, 46, 0.18) 70%, rgba(13, 26, 48, 0) 78%),
    radial-gradient(rgba(150, 180, 220, 0.25) 1px, transparent 1.4px) 0 0 / 8px 8px;
  -webkit-mask: radial-gradient(70% 140% at 70% 120%, #000 64%, transparent 66%);
  mask: radial-gradient(70% 140% at 70% 120%, #000 64%, transparent 66%);
}

/* ---------- 平板 / 手机 ---------- */
@media (max-width: 860px) {
  .h4-feats { grid-template-columns: 1fr; gap: 12px; }
  .h4-fav { grid-template-columns: 1fr; gap: 28px; }
  .h4-fav__copy { padding-bottom: 0; }
  .h4-phone.v3-phone { justify-self: center; margin-right: 0; }
}
@media (max-width: 639px) {
  .h4-class-sec { padding: 52px 0 44px; }
  .h4-class .v3-class__stage, .h4-class .v3-class__bar { zoom: 0.48; }
  .h4-feats-sec { padding: 52px 0 44px; }
  .h4-end__btns .h4-btn { width: 100%; }
  .h4-end__arc { width: 60%; }
}
