/* ============================================================
   鹿鸣英语 · 营销首页样式
   配色：松木森林绿 + 蜜橘暖橙 + 奶油米白（手绘绘本质感）
   ============================================================ */

/* ---------- 字体 ---------- */
@import url('https://fonts.googleapis.cn/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --green: #2F7D57;
  --green-deep: #1F5A3E;
  --green-soft: #8FCBA8;
  --orange: #FF8A3D;
  --orange-deep: #F06F1C;
  --yellow: #FFD166;
  --cream: #FFFBF3;
  --white: #FFFFFF;
  --ink: #2B2B2B;
  --gray: #6B6B6B;
  --gray-line: #ECE6DA;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 30px rgba(47, 125, 87, 0.12);
  --shadow-sm: 0 6px 18px rgba(47, 125, 87, 0.10);
  --shadow-orange: 0 10px 26px rgba(255, 138, 61, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-zh: 'Noto Sans SC', system-ui, sans-serif;
  --font-en: 'Nunito', sans-serif;
  --font-display: 'Fredoka', 'Nunito', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-zh);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-weight: 800; font-size: 14px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green-deep); background: rgba(143, 203, 168, 0.28);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow.orange { color: var(--orange-deep); background: rgba(255, 209, 102, 0.35); }
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.25;
  color: var(--green-deep); letter-spacing: -0.5px;
}
.section-title .em { color: var(--orange); }
.section-sub {
  margin-top: 14px; font-size: 17px; color: var(--gray); max-width: 640px;
}
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 17px; padding: 15px 30px; border-radius: 999px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff; box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,138,61,.42); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-ghost {
  background: #fff; color: var(--green-deep); box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(47,125,87,.16);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--green-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Decorative blobs / leaves ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.blob {
  border-radius: 50%; filter: blur(8px); opacity: .5;
}
@keyframes floaty { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-14px) rotate(4deg)} }
@keyframes twinkle { 0%,100%{opacity:.5;transform:scale(.85)} 50%{opacity:1;transform:scale(1.1)} }
.floaty { animation: floaty 6s ease-in-out infinite; }
.twinkle { animation: twinkle 3s ease-in-out infinite; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 251, 243, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(47,125,87,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0; font-weight: 900; font-size: 21px; color: var(--green-deep); text-decoration: none; }
.brand-logo {
  height: 38px; width: auto;
  display: inline-flex; align-items: center; flex-shrink: 0;
}
.brand-logo img { height: 100%; width: auto; object-fit: contain; display: block; }
.footer .brand-logo { height: 36px; background: transparent; box-shadow: none; }
.brand small { display: block; font-family: var(--font-en); font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 1px; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav-links a::after {
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px;
  background: var(--orange); border-radius: 2px; transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px !important; font-size: 15px !important; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); padding: 12px 24px 20px; border-bottom: 1px solid var(--gray-line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px dashed var(--gray-line); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:''; display:block; width:20px; height:2px; background: var(--green-deep); border-radius: 2px; transition: .25s; }
  .nav-toggle span::before { transform: translateY(-6px); }
  .nav-toggle span::after { transform: translateY(4px); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero::before {
  content:''; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(620px 380px at 85% 8%, rgba(255,209,102,.30), transparent 60%),
    radial-gradient(540px 420px at 8% 18%, rgba(143,203,168,.38), transparent 62%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(47,125,87,.12);
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--green-deep); box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,61,.18); }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 900; line-height: 1.15; letter-spacing: -1px; color: var(--green-deep); }
.hero h1 .hl { position: relative; color: var(--green); white-space: nowrap; }
.hero h1 .hl::after {
  content:''; position:absolute; left:-2px; right:-2px; bottom:4px; height:14px;
  background: var(--yellow); opacity:.55; border-radius: 6px; z-index:-1; transform: skewX(-8deg);
}
.hero h1 .en { font-family: var(--font-display); font-weight: 600; color: var(--orange); display:block; font-size: .52em; letter-spacing: 1px; margin-bottom: 6px; }
.hero p.lead { margin-top: 20px; font-size: 18px; color: var(--gray); max-width: 540px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 34px; }
.hero-stats .num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--green-deep); line-height: 1; }
.hero-stats .num span { color: var(--orange); }
.hero-stats .lbl { font-size: 13px; color: var(--gray); margin-top: 6px; }

/* Hero visual: child holding book */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 480px; }
.hero-book-wrap {
  position: relative; z-index: 1; width: 100%; max-width: 480px;
  display: grid; place-items: center;
  animation: floaty 7s ease-in-out infinite;
}
.hero-book {
  width: 100%; height: auto; display: block;
  border-radius: 28px;
  filter: drop-shadow(0 24px 40px rgba(47,125,87,.28));
}
/* 浮动标签气泡 */
.hero-float-tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--green-deep); font-size: 14px; font-weight: 700;
  padding: 9px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(47,125,87,.18);
}
.hero-float-tag svg { color: var(--orange); }
.hero-float-tag.tag-1 { top: 12%; left: -4%; animation: floaty 5.5s ease-in-out infinite; }
.hero-float-tag.tag-2 { top: 40%; right: -6%; animation: floaty 6.5s ease-in-out infinite .6s; }
.hero-float-tag.tag-3 { bottom: 10%; left: 2%; animation: floaty 6s ease-in-out infinite 1.1s; }
.hero-deco-star { position:absolute; color: var(--yellow); z-index:3; }
.hero-deco-star.s1 { top: 4%; left: 10%; font-size: 26px; }
.hero-deco-star.s2 { top: 30%; right: 4%; font-size: 18px; animation-delay: .6s; }
.hero-deco-star.s3 { bottom: 18%; left: 4%; font-size: 20px; animation-delay: 1.2s; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { min-height: 400px; order: -1; }
  .hero-book-wrap { max-width: 360px; }
  .hero-float-tag { font-size: 12px; padding: 7px 11px; }
  .hero-float-tag.tag-1 { left: 0; }
  .hero-float-tag.tag-2 { right: 0; }
  .hero { padding: 40px 0 60px; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 340px; }
  .hero-float-tag.tag-3 { display: none; }
}

/* ============================================================
   WAVE DIVIDER
   ============================================================ */
.wave { display:block; width:100%; height: 80px; }
.wave.flip { transform: scaleY(-1); }

/* ============================================================
   核心优势
   ============================================================ */
.adv-bg { background: linear-gradient(180deg, var(--cream) 0%, #F3FAF5 100%); }
.adv-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.adv-card {
  background: #fff; border-radius: var(--radius-lg); padding: 34px 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(47,125,87,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.adv-card::after {
  content:''; position:absolute; top:-40px; right:-40px; width:120px; height:120px; border-radius:50%;
  background: radial-gradient(circle, rgba(143,203,168,.35), transparent 70%);
}
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(47,125,87,.18); }
.adv-icon {
  width: 60px; height: 60px; border-radius: 18px; display:grid; place-items:center;
  margin-bottom: 20px; color: #fff;
}
.adv-icon svg { width: 30px; height: 30px; }
.adv-icon.g1 { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.adv-icon.g2 { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }
.adv-icon.g3 { background: linear-gradient(135deg, var(--yellow), #F4B740); color: #7a4d00; }
.adv-card h3 { font-size: 22px; font-weight: 800; color: var(--green-deep); margin-bottom: 10px; }
.adv-card p { color: var(--gray); font-size: 15px; }
.adv-list { margin-top: 18px; display:grid; gap: 10px; }
.adv-list li { display:flex; gap:10px; font-size: 14.5px; color: var(--ink); align-items:flex-start; }
.adv-list li svg { width: 18px; height:18px; flex-shrink:0; color: var(--green); margin-top: 3px; }

@media (max-width: 860px) { .adv-grid { grid-template-columns: 1fr; } }

/* ============================================================
   功能展示 (10 大功能) - 交错平板
   ============================================================ */
.feat-bg { background: #F3FAF5; }
.feat-list { margin-top: 60px; display: grid; gap: 80px; }
.feat-item { display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feat-item.reverse .feat-text { order: 2; }
.feat-item.reverse .feat-mock { order: 1; }
.feat-tag {
  display:inline-flex; align-items:center; gap:8px; font-family: var(--font-en); font-weight: 800;
  font-size: 13px; letter-spacing: 1px; color: var(--orange-deep);
  background: rgba(255,209,102,.4); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.feat-tag .n { background: var(--orange); color:#fff; width: 22px; height: 22px; border-radius: 50%; display:grid; place-items:center; font-size:12px; }
.feat-text h3 { font-size: clamp(24px,3vw,32px); font-weight: 900; color: var(--green-deep); line-height: 1.3; }
.feat-text > p { margin-top: 14px; color: var(--gray); font-size: 16px; }
.feat-points { margin-top: 22px; display:grid; gap: 14px; }
.feat-points li { display:flex; gap: 12px; align-items:flex-start; font-size: 15px; }
.feat-points .ic { width: 34px; height: 34px; border-radius: 10px; flex-shrink:0; display:grid; place-items:center; background: rgba(47,125,87,.1); color: var(--green); }
.feat-points .ic svg { width: 18px; height:18px; }
.feat-points b { color: var(--green-deep); }

/* mock tablet (smaller, in feature row) */
.feat-mock { display:grid; place-items:center; position:relative; }
.mini-tablet {
  width: 100%; max-width: 420px; background: transparent; border-radius: 0; padding: 0;
  box-shadow: none;
  transition: transform .5s var(--ease);
}
.feat-mock:hover .mini-tablet { transform: translateY(-6px) rotate(0deg) !important; }
.mini-screen { position:relative; border-radius: 24px; overflow: hidden; background:#fff; box-shadow: 0 26px 50px rgba(31,90,62,.25); }
.mini-screen.screen-shot { aspect-ratio: 3/4; background:#fff; }
.shot-img {
  width:100%; height:100%; display:block; object-fit: contain;
}
.feat-item:nth-child(odd) .mini-tablet { transform: rotate(-1.5deg); }
.feat-item:nth-child(even) .mini-tablet { transform: rotate(1.5deg); }
.feat-bubble {
  position:absolute; bottom: -18px; right: -10px; z-index: 5;
  background:#fff; border-radius: 18px; padding: 12px 18px; box-shadow: var(--shadow);
  font-weight: 700; font-size: 14px; color: var(--ink); max-width: 200px; line-height:1.5;
  border: 2px solid var(--orange);
}
.feat-bubble::before { content:''; position:absolute; top:-10px; left: 24px; width:18px; height:18px; background:#fff; border-left:2px solid var(--orange); border-top:2px solid var(--orange); transform: rotate(45deg); }

@media (max-width: 860px) {
  .feat-item { grid-template-columns: 1fr; gap: 40px; }
  .feat-item.reverse .feat-text { order: 1; }
  .feat-item.reverse .feat-mock { order: 2; }
  .feat-list { gap: 60px; }
}

/* ============================================================
   学习路径
   ============================================================ */
.path-bg { background: linear-gradient(180deg, #F3FAF5 0%, var(--cream) 100%); }
.path-steps { margin-top: 54px; display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position:relative; }
.path-steps::before {
  content:''; position:absolute; top: 40px; left: 8%; right: 8%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--green-soft) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.pstep { position:relative; z-index:1; text-align:center; }
.pstep .ring {
  width: 80px; height: 80px; border-radius:50%; margin: 0 auto 18px; display:grid; place-items:center;
  background:#fff; box-shadow: var(--shadow); border: 3px solid var(--green-soft); position:relative;
  font-family: var(--font-display); font-weight:700; font-size: 26px; color: var(--green-deep);
}
.pstep .ring .emoji { font-size: 32px; }
.pstep h4 { font-size: 18px; font-weight: 800; color: var(--green-deep); }
.pstep p { font-size: 14px; color: var(--gray); margin-top: 6px; padding: 0 6px; }
.pstep .time { display:inline-block; margin-top:10px; font-size:12px; font-weight:700; color: var(--orange-deep); background: rgba(255,209,102,.35); padding: 3px 12px; border-radius: 999px; font-family: var(--font-en); }
@media (max-width: 860px) {
  .path-steps { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .path-steps::before { display:none; }
}

/* ============================================================
   教材体系
   ============================================================ */
.book-bg { background: var(--cream); }
.book-grid { margin-top: 50px; display:grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.book {
  background:#fff; border-radius: var(--radius-md); padding: 14px 12px; text-align:center;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(47,125,87,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.book:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.book-cover {
  aspect-ratio: 3/4; border-radius: 10px; margin-bottom: 10px; position:relative; overflow:hidden;
  display:grid; place-items:center; color:#fff; font-family: var(--font-display); font-weight:700;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.book-cover .lvl { font-size: 30px; line-height:1; }
.book-cover .sub { font-size: 10px; font-family: var(--font-zh); font-weight: 700; margin-top:6px; opacity:.9; letter-spacing:1px; }
.book-cover .badge { position:absolute; top:6px; right:6px; background: var(--orange); color:#fff; font-size:9px; padding:2px 6px; border-radius: 6px; font-family: var(--font-zh); }
.book-name { font-size: 13.5px; font-weight: 700; color: var(--green-deep); }
.book-tag { font-size: 11px; color: var(--gray); margin-top: 2px; }
.book:nth-child(1) .book-cover, .book:nth-child(2) .book-cover { background: linear-gradient(150deg, #5BB88A, var(--green)); }
.book:nth-child(3) .book-cover, .book:nth-child(4) .book-cover { background: linear-gradient(150deg, #6FC3B0, #2E9E8E); }
.book:nth-child(5) .book-cover, .book:nth-child(6) .book-cover { background: linear-gradient(150deg, #F6A25B, var(--orange)); }
.book:nth-child(7) .book-cover, .book:nth-child(8) .book-cover { background: linear-gradient(150deg, #FFC36B, #F49B3C); }
.book:nth-child(9) .book-cover, .book:nth-child(10) .book-cover { background: linear-gradient(150deg, #8FCBA8, #4A9D74); }
.book:nth-child(11) .book-cover, .book:nth-child(12) .book-cover { background: linear-gradient(150deg, #FFB088, #F06F1C); }

.book-table-wrap { margin-top: 44px; overflow-x:auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.book-table { width:100%; border-collapse: collapse; background:#fff; min-width: 560px; }
.book-table th { background: var(--green); color:#fff; padding: 14px 18px; text-align:left; font-size:14px; font-weight:700; }
.book-table td { padding: 14px 18px; border-top: 1px solid var(--gray-line); font-size: 14.5px; }
.book-table tr:hover td { background: #F6FBF8; }
.book-table .lvl-pill { display:inline-block; background: rgba(47,125,87,.12); color: var(--green-deep); font-weight:700; padding:3px 12px; border-radius: 999px; font-size: 13px; }
@media (max-width: 900px) { .book-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 520px) { .book-grid { grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   数据 / 信任
   ============================================================ */
.data-bg { background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%); color:#fff; border-radius: 32px; padding: 56px 40px; position:relative; overflow:hidden; }
.data-bg::before, .data-bg::after { content:''; position:absolute; border-radius:50%; }
.data-bg::before { width: 300px; height: 300px; background: rgba(255,255,255,.06); top:-120px; right:-80px; }
.data-bg::after { width: 220px; height: 220px; background: rgba(255,209,102,.14); bottom:-100px; left:-60px; }
.data-grid { position:relative; z-index:1; display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align:center; }
.data-grid .n { font-family: var(--font-display); font-size: 44px; font-weight:700; color: var(--yellow); line-height:1; }
.data-grid .l { margin-top: 8px; font-size: 15px; opacity: .92; }
.data-cta { text-align:center; margin-top: 36px; position:relative; z-index:1; }
@media (max-width: 760px) { .data-grid { grid-template-columns: repeat(2,1fr); gap: 30px; } .data-bg { padding: 40px 24px; } }

/* ============================================================
   家长评价
   ============================================================ */
.rev-bg { background: #FFF8EE; }
.rev-grid { margin-top: 50px; display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rev-card { background:#fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); position:relative; border: 1px solid rgba(47,125,87,.06); transition: transform .3s var(--ease); }
.rev-card:hover { transform: translateY(-5px); }
.rev-quote { position:absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 54px; line-height:1; color: var(--green-soft); opacity: .6; }
.rev-stars { color: var(--yellow); font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.rev-text { font-size: 15px; color: var(--ink); line-height: 1.8; }
.rev-user { margin-top: 20px; display:flex; align-items:center; gap: 12px; }
.rev-avatar { width: 44px; height:44px; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight: 800; font-size: 16px; }
.rev-avatar.a1 { background: linear-gradient(135deg, #6FC3B0, var(--green)); }
.rev-avatar.a2 { background: linear-gradient(135deg, #F6A25B, var(--orange)); }
.rev-avatar.a3 { background: linear-gradient(135deg, #FFC36B, #F49B3C); }
.rev-name { font-weight: 700; font-size: 14.5px; }
.rev-meta { font-size: 12.5px; color: var(--gray); }
@media (max-width: 860px) { .rev-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-bg { background: var(--cream); }
.faq-list { max-width: 820px; margin: 46px auto 0; display:grid; gap: 14px; }
.faq-item { background:#fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid rgba(47,125,87,.06); overflow:hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 20px 24px; text-align:left; font-weight: 700; font-size: 16.5px; color: var(--green-deep); }
.faq-q .icon { flex-shrink:0; width: 28px; height: 28px; border-radius:50%; background: rgba(47,125,87,.1); color: var(--green); display:grid; place-items:center; transition: transform .3s var(--ease); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--orange); color:#fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--gray); font-size: 15px; line-height: 1.8; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position:relative; padding: 90px 0; text-align:center; overflow:hidden; background: linear-gradient(180deg, var(--cream), #FFF3E2); }
.final h2 { font-size: clamp(28px,4.5vw,44px); font-weight:900; color: var(--green-deep); line-height: 1.3; }
.final h2 .em { color: var(--orange); }
.final p { margin: 16px auto 0; max-width: 560px; color: var(--gray); font-size: 17px; }
.final-actions { margin-top: 32px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.final-note { margin-top: 18px; font-size: 13px; color: var(--gray); }
.final-deco { position:absolute; opacity:.5; pointer-events:none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-deep); color: rgba(255,255,255,.82); padding: 50px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color:#fff; }
.footer-desc { margin-top: 14px; font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer h5 { color:#fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer li a:hover { color: var(--yellow); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); text-align:center; font-size: 13px; opacity: .7; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ============================================================
   迷你 App 界面（CSS 绘制）
   ============================================================ */
.app { width:100%; height:100%; font-family: var(--font-en); position:relative; overflow:hidden; }
.app-statusbar { position:absolute; top:0; left:0; right:0; height: 26px; display:flex; align-items:center; justify-content:space-between; padding: 0 16px; font-size: 11px; font-weight: 700; z-index: 5; }
.app-body { position:absolute; inset: 26px 0 0 0; padding: 14px; display:flex; flex-direction:column; }

/* 通用顶部标题 */
.app-top { display:flex; align-items:center; gap:10px; margin-bottom: 12px; }
.app-back { width: 30px; height:30px; border-radius: 50%; background: rgba(47,125,87,.1); color: var(--green); display:grid; place-items:center; }
.app-title { font-family: var(--font-zh); font-weight: 800; font-size: 15px; color: var(--ink); }
.app-pill { margin-left:auto; font-size: 11px; font-weight:700; padding: 4px 12px; border-radius: 999px; background: var(--blue, #3B82F6); color:#fff; font-family: var(--font-zh); }

/* ---- 迷你界面配色辅助 ---- */
.sky { background: linear-gradient(160deg, #E8F4FE 0%, #F6F0FF 100%); }
.cream-scr { background: linear-gradient(160deg, #FFF8EC 0%, #F0FBF4 100%); }

/* ===== 1. 教材书架 ===== */
.m-books { background: linear-gradient(160deg, #FFF6E8, #EAF6EE); }
.m-books .shelf-tabs { display:flex; gap:6px; overflow:hidden; margin-bottom:10px; }
.m-books .shelf-tabs span { font-size:10px; font-family: var(--font-zh); font-weight:600; padding:5px 9px; border-radius:8px; white-space:nowrap; color: var(--gray); background: rgba(47,125,87,.08); }
.m-books .shelf-tabs span.on { background: var(--green); color:#fff; }
.m-books .grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.m-books .b { border-radius: 8px; overflow:hidden; aspect-ratio: 3/4; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; padding: 6px 4px; color:#fff; font-family: var(--font-zh); box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.m-books .b .lv { font-family: var(--font-display); font-size: 18px; font-weight:700; line-height:1; }
.m-books .b .nm { font-size: 9px; font-weight:700; margin-top:3px; }
.m-books .b .ck { position:absolute; top:4px; right:4px; background: var(--orange); color:#fff; font-size:8px; padding:1px 5px; border-radius:5px; font-weight:700; }
.m-books .b:nth-child(1){background:linear-gradient(150deg,#5BB88A,#2F7D57)}
.m-books .b:nth-child(2){background:linear-gradient(150deg,#6FC3B0,#2E9E8E)}
.m-books .b:nth-child(3){background:linear-gradient(150deg,#F6A25B,#FF8A3D)}
.m-books .b:nth-child(4){background:linear-gradient(150deg,#8FCBA8,#4A9D74)}
.m-books .b:nth-child(5){background:linear-gradient(150deg,#FFC36B,#F49B3C)}
.m-books .b:nth-child(6){background:linear-gradient(150deg,#7FB3D5,#3B82F6)}
.m-books .b:nth-child(7){background:linear-gradient(150deg,#F4A5B0,#E8637A)}
.m-books .b:nth-child(8){background:linear-gradient(150deg,#B5A3E8,#7C5CD6)}

/* ===== 2. 中英文对照阅读 ===== */
.m-read { background: #fff; }
.m-read .lesson-tag { display:inline-block; background: var(--green); color:#fff; font-family: var(--font-display); font-size:13px; font-weight:600; padding: 5px 16px; border-radius: 8px; }
.m-read .lesson-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); margin: 8px 0 12px; }
.m-read .illus { height: 96px; border-radius: 10px; background: linear-gradient(180deg,#CDE7FF 0%,#FFF 60%), radial-gradient(circle at 30% 70%, #FFD166 0 18px, transparent 19px); position:relative; overflow:hidden; margin-bottom: 12px; }
.m-read .illus .sun { position:absolute; top:10px; right:14px; width:24px; height:24px; border-radius:50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(255,209,102,.3); }
.m-read .illus .house { position:absolute; bottom:0; left:14px; width: 40px; height: 34px; background:#F4A5B0; border-radius: 6px 6px 0 0; }
.m-read .illus .house::before { content:''; position:absolute; top:-14px; left:-6px; width:0; height:0; border-left:26px solid transparent; border-right:26px solid transparent; border-bottom: 16px solid #E8637A; }
.m-read .illus .tree { position:absolute; bottom:0; right: 20px; width: 16px; height: 40px; background: var(--green-deep); border-radius: 8px 8px 0 0; }
.m-read .illus .tree::before { content:''; position:absolute; top:-22px; left:-10px; width:36px; height:36px; border-radius:50%; background: var(--green); }
.m-read .en { font-family: var(--font-en); font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.m-read .cn { font-family: var(--font-zh); font-size: 11px; color: var(--gray); margin-top: 2px; }
.m-read .toolbar { display:flex; gap:8px; margin-top:auto; }
.m-read .tool { flex:1; text-align:center; font-family: var(--font-zh); font-size:10px; color: var(--gray); }
.m-read .tool .ti { width: 34px; height:34px; border-radius:10px; margin: 0 auto 4px; display:grid; place-items:center; background: rgba(47,125,87,.1); color: var(--green); }

/* ===== 3. 点读跟读 ===== */
.m-listen { background: linear-gradient(160deg,#EAF4FF,#FFF); }
.m-listen .pic { height: 110px; border-radius: 10px; background: linear-gradient(180deg,#D8ECFF,#FFF); position:relative; overflow:hidden; margin-bottom: 10px; border:2px solid #fff; box-shadow: 0 4px 10px rgba(59,130,246,.15); }
.m-listen .pic .bubble { position:absolute; border-radius: 50%; background:#fff; border:2px solid #CDE7FF; }
.m-listen .pic .b1 { width: 70px; height: 70px; top: 8px; left: 10px; }
.m-listen .pic .b2 { width: 60px; height: 60px; top: 18px; right: 14px; }
.m-listen .pic .girl { position:absolute; bottom:0; left: 26px; width: 22px; height: 40px; background: #F6A25B; border-radius: 10px 10px 0 0; }
.m-listen .pic .boy { position:absolute; bottom:0; right: 30px; width: 22px; height: 40px; background: #FFD166; border-radius: 10px 10px 0 0; }
.m-listen .line { background: rgba(59,130,246,.12); border:1.5px solid #3B82F6; border-radius: 6px; padding: 5px 9px; margin-bottom: 6px; font-family: var(--font-en); font-size: 11px; font-weight:700; color:#1F4FA8; position:relative; }
.m-listen .line.active { background: #3B82F6; color:#fff; }
.m-listen .line .zh { display:block; font-family: var(--font-zh); font-weight: 500; font-size: 9px; opacity:.7; margin-top:1px; }
.m-listen .side-tools { position:absolute; left: 6px; top: 128px; display:grid; gap: 8px; }
.m-listen .side-tools .s { width: 26px; height:26px; border-radius:50%; background:#fff; box-shadow: 0 3px 8px rgba(0,0,0,.1); display:grid; place-items:center; color: var(--green); }

/* ===== 4. 在线查词 ===== */
.m-dict { background: linear-gradient(160deg,#F0FBF4,#FFF8EC); }
.m-dict .behind { font-family: var(--font-en); font-size: 12px; color: var(--gray); opacity:.5; padding: 10px 12px; }
.m-dict .behind .u { text-decoration: underline; text-decoration-style: wavy; }
.m-dict .card { position:absolute; left: 10px; right: 10px; top: 64px; background:#fff; border-radius: 14px; box-shadow: 0 12px 28px rgba(0,0,0,.18); padding: 14px; border: 1px solid #eee; }
.m-dict .card .head { display:flex; align-items:center; justify-content:space-between; }
.m-dict .card .w { font-family: var(--font-en); font-size: 22px; font-weight: 800; color: var(--ink); }
.m-dict .card .ph { font-family: var(--font-en); font-size: 12px; color: var(--gray); margin-top:2px; }
.m-dict .card .speak { width: 30px; height:30px; border-radius:50%; background: rgba(47,125,87,.12); color: var(--green); display:grid; place-items:center; }
.m-dict .card .sec { margin-top: 10px; }
.m-dict .card .sec-t { font-family: var(--font-zh); font-size: 11px; font-weight: 800; color: var(--orange-deep); margin-bottom: 3px; }
.m-dict .card .sec-c { font-family: var(--font-zh); font-size: 11.5px; color: var(--ink); line-height:1.5; }
.m-dict .card .ex { font-family: var(--font-en); font-size: 11px; color: var(--green-deep); line-height:1.5; }

/* ===== 5. 单词学习 ===== */
.m-word { background: linear-gradient(160deg,#FFF0F0,#FFF8EC); }
.m-word .progress { font-family: var(--font-zh); font-size: 11px; color: var(--gray); font-weight:600; margin-bottom: 8px; }
.m-word .word-card { background: rgba(255,255,255,.7); backdrop-filter: blur(4px); border-radius: 14px; padding: 12px; display:flex; gap: 12px; align-items:center; box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.m-word .word-img { width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(150deg,#FFE9EC,#FFD6DE); display:grid; place-items:center; flex-shrink:0; }
.m-word .word-img .balloon { width: 30px; height: 38px; background: radial-gradient(circle at 35% 30%, #ff8a9a, #E8455A); border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%; position:relative; }
.m-word .word-img .balloon::after { content:''; position:absolute; bottom: -14px; left: 50%; width:1px; height: 14px; background:#999; }
.m-word .w-en { font-family: var(--font-en); font-size: 24px; font-weight:800; color: var(--ink); display:flex; align-items:center; gap:8px; }
.m-word .w-en .sp { width: 22px; height:22px; border-radius:50%; background: var(--green); color:#fff; display:grid; place-items:center; }
.m-word .w-sen { font-family: var(--font-en); font-size: 10.5px; color: var(--green-deep); margin-top: 3px; line-height:1.4; }
.m-word .choices { display:grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.m-word .choices .c { background: rgba(255,255,255,.8); border-radius: 12px; padding: 12px 8px; text-align:center; font-family: var(--font-zh); font-size: 13px; font-weight:600; color: var(--ink); box-shadow: 0 3px 8px rgba(0,0,0,.05); border: 2px solid transparent; }
.m-word .choices .c.right { border-color: var(--green); background: #EAF8EF; color: var(--green-deep); }

/* ===== 6. 听音选词 / 拼写 ===== */
.m-spell { background: linear-gradient(160deg,#F0F4FF,#FFF8EC); }
.m-spell .hint { text-align:center; margin: 18px 0 8px; }
.m-spell .hint .cn { font-family: var(--font-zh); font-size: 18px; font-weight: 800; color: var(--ink); }
.m-spell .hint .sp { display:inline-flex; width: 30px; height:30px; border-radius:50%; background: var(--green); color:#fff; align-items:center; justify-content:center; margin-left: 8px; vertical-align: middle; }
.m-spell .answer { display:flex; justify-content:center; gap:6px; margin: 14px 0; min-height: 36px; }
.m-spell .answer .slot { width: 30px; height: 36px; border-bottom: 3px solid var(--green-soft); display:grid; place-items:center; font-family: var(--font-en); font-weight:800; font-size: 20px; color: var(--green-deep); }
.m-spell .answer .slot.filled { border-color: var(--green); }
.m-spell .keys { display:flex; flex-wrap:wrap; justify-content:center; gap: 8px; max-width: 260px; margin: 0 auto; }
.m-spell .keys .k { width: 38px; height: 40px; border-radius: 10px; background:#fff; box-shadow: 0 4px 0 rgba(47,125,87,.15), 0 2px 6px rgba(0,0,0,.06); display:grid; place-items:center; font-family: var(--font-en); font-weight:800; font-size: 18px; color: var(--ink); }
.m-spell .keys .k.used { opacity: .3; }

/* ===== 7. 口语评分 ===== */
.m-score { background: linear-gradient(160deg,#EAF8EF,#fff); }
.m-score .tabs { display:flex; gap:6px; margin-bottom: 10px; }
.m-score .tabs span { font-size:10px; font-family: var(--font-zh); font-weight:700; padding: 4px 12px; border-radius: 999px; background: rgba(47,125,87,.1); color: var(--gray); }
.m-score .tabs span.on { background: var(--green); color:#fff; }
.m-score .score-row { display:flex; align-items:center; gap: 12px; }
.m-score .ring { width: 72px; height:72px; border-radius:50%; flex-shrink:0; display:grid; place-items:center; position:relative; background: conic-gradient(var(--green) 0 93%, rgba(47,125,87,.12) 93% 100%); }
.m-score .ring::before { content:''; position:absolute; inset:6px; border-radius:50%; background:#fff; }
.m-score .ring span { position:relative; z-index:1; font-family: var(--font-display); font-weight:700; font-size: 24px; color: var(--green-deep); }
.m-score .metrics { display:grid; grid-template-columns: repeat(3,1fr); gap:6px; flex:1; }
.m-score .metric { background:#fff; border-radius: 10px; padding: 8px 4px; text-align:center; box-shadow: 0 3px 8px rgba(0,0,0,.05); }
.m-score .metric .v { font-family: var(--font-display); font-weight:700; font-size: 20px; }
.m-score .metric .v.g { color: var(--green); } .m-score .metric .v.o { color: var(--orange); }
.m-score .metric .l { font-family: var(--font-zh); font-size: 9px; color: var(--gray); }
.m-score .word-ana { margin-top: 10px; background: rgba(255,255,255,.7); border-radius: 10px; padding: 8px 10px; }
.m-score .word-ana .en { font-family: var(--font-en); font-size: 12px; font-weight:700; color: var(--ink); }
.m-score .word-ana .en .sc { color: var(--orange); float:right; }
.m-score .word-ana .bar { height: 6px; border-radius: 4px; background: rgba(47,125,87,.12); margin-top: 6px; overflow:hidden; }
.m-score .word-ana .bar i { display:block; height:100%; width: 75%; background: linear-gradient(90deg, var(--green-soft), var(--green)); border-radius: 4px; }
.m-score .judge { margin-top: 6px; font-family: var(--font-zh); font-size: 10px; color: var(--green-deep); font-weight:700; }

/* ===== 8. 巩固练习 ===== */
.m-quiz { background: linear-gradient(160deg,#E8F4FE,#F0FBF4); }
.m-quiz .quiz-num { display:flex; gap:6px; margin-bottom: 10px; align-items:center; }
.m-quiz .qn { width: 26px; height:26px; border-radius:50%; background:#fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); display:grid; place-items:center; font-family: var(--font-en); font-weight:800; font-size: 12px; color: var(--gray); }
.m-quiz .qn.on { background: var(--green); color:#fff; box-shadow: 0 0 0 3px rgba(47,125,87,.2); }
.m-quiz .qtype { font-family: var(--font-zh); font-size: 10px; font-weight:700; color: var(--orange-deep); background: rgba(255,209,102,.4); display:inline-block; padding: 2px 8px; border-radius: 6px; margin-bottom: 6px; }
.m-quiz .qtext { font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--ink); line-height:1.5; }
.m-quiz .qmini { width: 50px; height: 50px; border-radius: 10px; background: #fff; margin-top: 8px; display:grid; place-items:center; box-shadow: 0 3px 8px rgba(0,0,0,.06); }
.m-quiz .opts { position:absolute; right: 12px; top: 60px; width: 48%; display:grid; gap: 7px; }
.m-quiz .opt { background: rgba(255,255,255,.85); border-radius: 10px; padding: 9px 11px; font-family: var(--font-en); font-size: 11px; font-weight: 700; color: var(--ink); box-shadow: 0 3px 8px rgba(0,0,0,.06); border: 2px solid transparent; line-height:1.35; }
.m-quiz .opt.correct { border-color: var(--green); background: #EAF8EF; color: var(--green-deep); }

/* ===== 9. 单词 PK ===== */
.m-pk { background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 50%, #4D96FF 50%, #6BB6FF 100%); position:relative; }
.m-pk .timer { position:absolute; top: 10px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.9); border-radius: 999px; padding: 3px 14px; font-family: var(--font-en); font-weight:800; font-size: 14px; color: #E8455A; z-index: 3; }
.m-pk .pk-cards { position:absolute; inset: 0; display:grid; grid-template-columns: 1fr 1fr; }
.m-pk .pcard { padding: 40px 10px 10px; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; }
.m-pk .pcard.left { background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); }
.m-pk .pcard.right { background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); }
.m-pk .avatar { width: 46px; height:46px; border-radius:50%; background:#fff; display:grid; place-items:center; margin-bottom: 6px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.m-pk .avatar svg { width: 28px; height:28px; }
.m-pk .pname { font-family: var(--font-en); font-weight:800; font-size: 11px; color:#fff; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.m-pk .prank { font-family: var(--font-zh); font-size: 9px; color: rgba(255,255,255,.85); margin-top: 2px; }
.m-pk .pk-logo { position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); z-index:4; }
.m-pk .pk-logo .txt { font-family: var(--font-display); font-weight:700; font-size: 42px; color:#FFD166; text-shadow: 0 3px 0 #E89A1F, 0 6px 14px rgba(0,0,0,.3); transform: rotate(-8deg); }
.m-pk .vs-star { position:absolute; width: 90px; height:90px; background: #FFD166; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); top:50%; left:50%; transform: translate(-50%,-50%); z-index:2; opacity:.9; }
.m-pk .matching { position:absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.85); border-radius: 999px; padding: 5px 16px; font-family: var(--font-zh); font-size: 11px; font-weight:700; color: var(--blue, #2563EB); z-index: 5; }

/* ===== 10. 课文列表（课前预习/课后复习）===== */
.m-lessons { background: linear-gradient(160deg,#FFF8EC,#EAF6EE); }
.m-lessons .tabs { display:flex; gap:6px; margin-bottom: 10px; }
.m-lessons .tabs .t { flex:1; text-align:center; font-family: var(--font-zh); font-size: 10px; font-weight:700; padding: 6px 4px; border-radius: 8px; background: rgba(255,255,255,.7); color: var(--gray); }
.m-lessons .tabs .t.on { background: var(--green); color:#fff; box-shadow: 0 4px 10px rgba(47,125,87,.3); }
.m-lessons .lrow { display:grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-lessons .lcard { background: rgba(255,255,255,.85); border-radius: 10px; padding: 7px; box-shadow: 0 3px 8px rgba(0,0,0,.06); position:relative; }
.m-lessons .lcard .lno { font-family: var(--font-en); font-weight:800; font-size: 11px; color: var(--gray); }
.m-lessons .lcard .lthumb { aspect-ratio: 4/3; border-radius: 6px; margin: 4px 0; background: linear-gradient(180deg,#CDE7FF,#FFF); position:relative; overflow:hidden; }
.m-lessons .lcard .lthumb .ls { position:absolute; bottom:0; left:6px; width: 10px; height: 20px; background: var(--green); border-radius: 4px 4px 0 0; }
.m-lessons .lcard .lthumb .lb { position:absolute; bottom:0; right: 6px; width: 12px; height: 24px; background: var(--orange); border-radius: 4px 4px 0 0; }
.m-lessons .lcard .lthumb .lsun { position:absolute; top:4px; right:6px; width:10px; height:10px; border-radius:50%; background: var(--yellow); }
.m-lessons .lcard .lttl { font-family: var(--font-en); font-size: 10px; font-weight:800; color: var(--ink); line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.m-lessons .lcard .lttag { position:absolute; top: 4px; left: 4px; background: var(--green); color:#fff; font-family: var(--font-en); font-size: 8px; font-weight:700; padding: 1px 5px; border-radius: 4px; }
.m-lessons .lactions { display:flex; gap: 4px; margin-top: 6px; }
.m-lessons .lactions span { flex:1; text-align:center; font-family: var(--font-zh); font-size: 9px; color: var(--gray); padding: 3px 0; border-radius: 6px; background: rgba(47,125,87,.08); font-weight:600; }

/* ============================================================
   二维码弹窗
   ============================================================ */
.qr-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.qr-modal.show { display: flex; }
.qr-modal-mask {
  position: absolute; inset: 0;
  background: rgba(31,90,62,.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .25s var(--ease);
}
.qr-card {
  position: relative; z-index: 1; width: 100%; max-width: 380px;
  background: #fff; border-radius: 24px; padding: 30px 26px 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
  text-align: center;
  animation: popIn .35s var(--ease);
}
.qr-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(47,125,87,.08); color: var(--green-deep);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, transform .2s;
}
.qr-close:hover { background: rgba(47,125,87,.16); transform: rotate(90deg); }
.qr-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.qr-brand img { height: 44px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.qr-card h4 { font-size: 18px; font-weight: 800; color: var(--green-deep); line-height: 1.3; text-align: center; }
.qr-card .qr-sub { font-size: 13px; color: var(--gray); margin-top: 4px; text-align: center; }
.qr-img-wrap {
  width: 220px; height: 220px; margin: 6px auto 0; padding: 12px;
  background: #fff; border: 1px solid var(--gray-line); border-radius: 18px;
  box-shadow: 0 10px 24px rgba(47,125,87,.12);
}
.qr-img-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-tip { margin-top: 14px; font-size: 13px; color: var(--gray); line-height: 1.6; }
.qr-consult {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 18px; width: 100%;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px 20px; border-radius: 14px; text-decoration: none;
  box-shadow: 0 10px 22px rgba(255,138,61,.38);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.qr-consult:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255,138,61,.48); }
.qr-consult svg { transition: transform .2s; }
.qr-consult:hover svg { transform: translateX(3px); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   底部固定 banner
   ============================================================ */
.fixed-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  transform: translateY(120%); transition: transform .4s var(--ease);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 -8px 30px rgba(31,90,62,.28);
  padding: 0;
}
.fixed-banner.show { transform: translateY(0); }
.fixed-banner-inner {
  max-width: 1100px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.fb-text { display: flex; flex-direction: column; gap: 2px; color: #fff; min-width: 0; }
.fb-title { font-size: 17px; font-weight: 800; line-height: 1.3; }
.fb-sub { font-size: 13px; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-btn {
  flex-shrink: 0; background: var(--orange) !important; color: #fff !important;
  padding: 12px 26px !important; font-size: 16px !important;
  box-shadow: 0 8px 20px rgba(255,138,61,.4);
}
.fb-btn:hover { background: #ff7a26 !important; }
/* 给 body 留出底部空间，避免固定栏遮挡内容 */
body { padding-bottom: 0; transition: padding-bottom .3s var(--ease); }
body.has-fixed-banner { padding-bottom: 84px; }
@media (max-width: 560px) {
  .fixed-banner-inner { padding: 10px 16px; gap: 10px; }
  .fb-title { font-size: 15px; }
  .fb-sub { font-size: 12px; }
  .fb-btn { padding: 10px 18px !important; font-size: 14px !important; }
  body.has-fixed-banner { padding-bottom: 72px; }
}
