/* LinguaAxis 官网 v2
   方向来自参考图：深色大色块当"照片位"、大字号衬线英文与中文粗体混排、
   白色圆角卡片浮在色块上做层次、细分隔线 + 小号大写字标签、留白拉满。
   配色仍是莫兰迪绿 / 粉 / 蓝（logo 三色降饱和），深绿为主场，粉蓝只做分类。
   形状规则：卡片 20px，插画面板 24px，输入框 12px，按钮与标签 pill。 */
:root {
  --forest: #2E4238; --forest-2: #24352C;
  --cream: #F3F4EF; --paper: #FDFDFB; --card: #FFFFFF;
  --ink: #212A25; --ink-2: #4F5B54; --ink-3: #636E67;
  --line: #DDE2DA; --line-2: #E9ECE5;
  --sage: #7E9C88; --sage-deep: #4C6A57;
  --pink: #D8B7B1; --pink-deep: #8A5951; --pink-tint: #F6EBE9;
  --blue: #93AEC4; --blue-deep: #4F6B80; --blue-tint: #EBF1F5;
  --on-forest: #EDF1E9; --on-forest-2: #B9C7BC;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Segoe UI", sans-serif;
  --r: 20px; --r-lg: 24px; --r-in: 12px; --pill: 999px;
  --maxw: 1180px; --navh: 68px;
  --shadow: 0 2px 4px rgba(33,42,37,.04), 0 18px 40px rgba(33,42,37,.07);
  --shadow-lg: 0 4px 10px rgba(20,28,23,.1), 0 30px 70px rgba(20,28,23,.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --forest: #1D2A23; --forest-2: #162019;
    --cream: #151A16; --paper: #1C221D; --card: #1F2621;
    --ink: #E8EDE7; --ink-2: #B5C0B7; --ink-3: #8E9A92;
    --line: #2F3831; --line-2: #262E28;
    --sage: #8FAF9B; --sage-deep: #B6D2BF;
    --pink-deep: #E6C6C0; --pink-tint: #2E2422;
    --blue-deep: #C0D4E2; --blue-tint: #222C33;
    --on-forest: #E8EEE6; --on-forest-2: #9DAEA1;
    --shadow: 0 2px 4px rgba(0,0,0,.4), 0 18px 40px rgba(0,0,0,.35);
    --shadow-lg: 0 4px 10px rgba(0,0,0,.5), 0 30px 70px rgba(0,0,0,.5);
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16.5px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 20px; top: 14px; z-index: 90; background: var(--card); color: var(--ink);
  padding: 10px 18px; border-radius: var(--pill); box-shadow: var(--shadow); }
:where(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--sage-deep);
  outline-offset: 3px; border-radius: 8px; }

/* 英文与数字统一走衬线，中文走黑体：参考图里最显眼的那个动作 */
.en, .price, .stat-num, .step-no, .ladder-num { font-family: var(--serif); }
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.on-forest .eyebrow, .eyebrow.light { color: var(--on-forest-2); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--pill); padding: 14px 26px; font-size: 15px;
  font-weight: 600; white-space: nowrap; cursor: pointer; font-family: inherit;
  transition: transform .18s cubic-bezier(.16,1,.3,1), background-color .18s, border-color .18s, color .18s; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--forest); color: var(--on-forest); }
.btn-dark:hover { background: var(--forest-2); }
.btn-light { background: var(--paper); color: var(--forest); }
.btn-light:hover { background: #fff; }
.btn-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--sage-deep); color: var(--sage-deep); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.on-forest .btn-outline { border-color: rgba(237,241,233,.3); color: var(--on-forest); }
.on-forest .btn-outline:hover { border-color: var(--on-forest); }
.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; font-weight: 600; }
.link-quiet { color: var(--ink-2); font-weight: 500; }
.link-quiet:hover { color: var(--ink); }

/* ---------- 导航 ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--cream); }
.nav.stuck { border-bottom: 1px solid var(--line); }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; height: var(--navh);
  display: flex; align-items: center; gap: 40px; }
.nav .brand img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: var(--pill); background: transparent; cursor: pointer; padding: 0; }
.burger span, .burger span::before, .burger span::after { display: block; width: 16px; height: 1.5px;
  background: var(--ink); margin: 0 auto; content: ""; position: relative; }
.burger span::before { position: absolute; top: -5px; }
.burger span::after { position: absolute; top: 5px; }

/* ---------- Hero：深色大色块当照片位 ---------- */
.hero { position: relative; background: var(--forest); color: var(--on-forest);
  border-radius: 0 0 40px 40px; overflow: hidden; }
.hero::after {            /* 顶部一束柔光 + 细颗粒，替掉"AI 渐变" */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(255,255,255,.13), transparent 58%),
    radial-gradient(80% 70% at 12% 100%, rgba(126,156,136,.22), transparent 60%);
}
.hero-grid { position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; padding: 84px 28px 96px; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.02; letter-spacing: -.03em;
  margin: 20px 0 0; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; display: inline-block; }
.hero .lede { margin-top: 22px; font-size: 17px; color: var(--on-forest-2); max-width: 30em; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 26px; font-size: 13px; color: var(--on-forest-2); }
.hero-note b { color: var(--on-forest); font-weight: 600; }

/* 插画面板 */
.hero-visual { position: relative; min-height: 380px; }
.panel { background: var(--paper); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 26px 26px 0; overflow: hidden; }
.panel img { width: 100%; height: 100%; object-fit: contain; display: block; }
.panel-mascot { display: flex; align-items: flex-end; justify-content: center; }
.panel-mascot img { width: 78%; }

/* ---------- 数据条 ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 28px; }
.stat-num { font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-3); }

/* ---------- 区块通用 ---------- */
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; margin: 16px 0 0; }
.sec-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.sec-head .body { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; }

/* ---------- 课程 ---------- */
.filters { display: none; gap: 10px; flex-wrap: wrap; margin: 36px 0 26px; }
.flow-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-top: 28px; padding: 16px 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; color: var(--ink-2); }
.flow-strip b { color: var(--ink); margin-right: 6px; }
.flow-strip i { font-style: normal; color: var(--ink-3); }
.js .filters { display: flex; }
.chip-btn { border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  border-radius: var(--pill); padding: 9px 18px; font-size: 13.5px; cursor: pointer;
  font-family: inherit; transition: color .18s, border-color .18s, background-color .18s; }
.chip-btn:hover { border-color: var(--sage); color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest);
  color: var(--on-forest); font-weight: 600; }
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.book { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; position: relative;
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s, border-color .22s; }
.book:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.book-top { display: flex; align-items: center; justify-content: space-between; }
.cat { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cat i { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.book[data-cat="sales"] .cat i { background: var(--blue); }
.book[data-cat="finance"] .cat i, .book[data-cat="hr"] .cat i, .book[data-cat="career"] .cat i { background: var(--pink); }
.code { font-family: var(--serif); font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.book h3 { font-size: 19px; letter-spacing: -.01em; }
.book .desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.book-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.book-foot .link { color: var(--sage-deep); border-color: transparent; }
.book-foot .link:hover { border-color: currentColor; }
.wip { color: var(--pink-deep); font-style: normal; }

/* ---------- 单词 ---------- */
.words-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; margin-top: 46px; }
.words-grid > * { min-width: 0; }
.themes { display: flex; flex-wrap: wrap; gap: 10px; }
.words-grid .themes { width: 100%; max-width: 100%; }
.theme { border: 1px solid var(--line); border-radius: var(--pill); padding: 9px 16px;
  font-size: 13.5px; color: var(--ink-2); background: var(--card); }
.ladder { margin-top: 34px; border-top: 1px solid var(--line); }
.ladder-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ladder-num { font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.ladder-row b { font-size: 15px; font-weight: 600; }
.ladder-row span { color: var(--ink-3); font-size: 13.5px; }
.ladder-row.warn b, .ladder-row.warn .ladder-num { color: var(--pink-deep); }
.words-side { display: flex; flex-direction: column; gap: 22px; }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; }
.quote-card p { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink); }
.quote-card .who { margin-top: 14px; font-size: 13px; color: var(--ink-3); font-family: var(--sans); }
.mini-panel { background: var(--paper); border-radius: var(--r); padding: 22px; }

/* ---------- 会员 ---------- */
.switch { display: none; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 5px; gap: 4px; margin: 34px 0 30px; width: fit-content; }
.js .switch { display: inline-flex; }
.switch button { border: none; background: transparent; color: var(--ink-2); border-radius: var(--pill);
  padding: 10px 22px; font-size: 14px; cursor: pointer; font-family: inherit; }
.switch button[aria-pressed="true"] { background: var(--forest); color: var(--on-forest); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; display: flex; flex-direction: column; }
.plan.feature { background: var(--forest); border-color: var(--forest); color: var(--on-forest);
  box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 20px; }
.plan .price { margin: 20px 0 4px; font-size: 46px; line-height: 1; letter-spacing: -.03em; }
.plan .price small { font-family: var(--sans); font-size: 15px; font-weight: 500;
  color: var(--ink-3); margin-left: 6px; }
.plan.feature .price small { color: var(--on-forest-2); }
.plan .per { font-size: 13.5px; color: var(--ink-3); min-height: 24px; }
.plan.feature .per { color: var(--on-forest-2); }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.plan.feature ul { color: var(--on-forest-2); }
.plan li { padding: 10px 0; border-top: 1px solid var(--line-2); }
.plan.feature li { border-top-color: rgba(237,241,233,.16); }
.plan .cta { margin-top: auto; padding-top: 26px; }
.plan .cta .btn { width: 100%; }
.plan .badge-top { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-forest-2); margin-bottom: 7px; }
.plans-note { margin-top: 24px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.steps { margin-top: 36px; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid var(--line); }
.step-no { font-size: 15px; color: var(--ink-3); letter-spacing: .06em; }
.step b { display: block; font-size: 16px; margin-bottom: 5px; }
.step span { font-size: 14.5px; color: var(--ink-2); }
.qr-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; text-align: center; position: sticky; top: calc(var(--navh) + 24px); }
.qr-card img { border-radius: var(--r-in); margin: 0 auto; }
.qr-card .who { margin-top: 16px; font-size: 15px; font-weight: 600; }
.qr-card .hint { margin-top: 6px; font-size: 13px; color: var(--ink-3); }

/* ---------- 页脚 ---------- */
.foot { background: var(--forest); color: var(--on-forest-2); padding: 54px 0 40px;
  border-radius: 40px 40px 0 0; }
.foot-in { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: flex;
  flex-wrap: wrap; gap: 20px 40px; align-items: center; font-size: 14px; }
.foot img { height: 24px; width: auto; }
.foot nav { display: flex; gap: 26px; margin-left: auto; }
.foot a:hover { color: var(--on-forest); }
.foot-note { max-width: var(--maxw); margin: 34px auto 0; padding: 22px 28px 0;
  border-top: 1px solid rgba(237,241,233,.14); font-size: 12.5px; display: flex;
  flex-wrap: wrap; gap: 12px 28px; }

/* ---------- 进场 ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .book:hover { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .books, .plans { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 36px; padding: 64px 28px 76px; }
  .words-grid, .contact { grid-template-columns: 1fr; gap: 40px; }
  .qr-card { position: static; max-width: 340px; }
}
@media (max-width: 768px) {
  .wrap, .nav-in, .foot-in, .foot-note, .stats-row { padding-left: 20px; padding-right: 20px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .burger { display: block; margin-left: auto; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: calc(var(--navh) - 4px);
    display: none; flex-direction: column; gap: 2px; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: var(--r-in); border-bottom: none; }
  .nav-links a:hover { background: var(--cream); }
  .hero { border-radius: 0 0 28px 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 44px 20px 64px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-visual { min-height: 0; }
  .section { padding: 64px 0; }
  .books, .plans { grid-template-columns: 1fr; }
  .themes { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .theme { flex: 0 0 auto; scroll-snap-align: start; }
  .ladder-row { grid-template-columns: 78px 1fr; }
  .ladder-row span { grid-column: 2; }
  .foot, .foot-in nav { border-radius: 28px 28px 0 0; }
  .foot nav { margin-left: 0; width: 100%; }
  .plan .price { font-size: 40px; }
}
