/* 上岸单词营销页 · 深色主题 — CSS Variables + BEM,区块前缀隔离 */
:root {
  --bg: #0d1421;
  --bg-soft: #131c2e;
  --card: #182338;
  --line: #233250;
  --text: #e8edf6;
  --muted: #93a3bd;
  --accent: #f5a623;
  --accent-soft: #f5a62322;
  --ok: #3ecf8e;
  --radius: 14px;
  --gap: 24px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── 区块骨架 ─────────────────────────────── */
.sec {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}

.sec__title {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.3;
  margin-bottom: 48px;
  text-align: center;
}

/* ── 入场动效(渐进增强,无 JS 直显) ────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── 截图放大 ─────────────────────────────── */
.zoomable { cursor: zoom-in; }

.img-zoom-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 9, 17, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}
.img-zoom-mask img { max-width: 100%; max-height: 100%; border-radius: var(--radius); }
.img-zoom-mask[hidden] { display: none; }

/* ── 导航 ─────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  background: rgba(13, 20, 33, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.nav__brand:hover { text-decoration: none; color: var(--accent); }

.nav__links { display: flex; gap: 24px; }
.nav__links a { color: var(--muted); font-size: .9375rem; }
.nav__links a:hover { color: var(--text); text-decoration: none; }

.nav__cta {
  background: var(--accent);
  color: #1a1205;
  font-weight: 600;
  font-size: .9375rem;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav__cta:hover { text-decoration: none; filter: brightness(1.08); }

/* ── 1 · Hero ─────────────────────────────── */
.sec--hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.sec--hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub { color: var(--muted); font-size: 1.125rem; margin-bottom: 24px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin-bottom: 32px; }

.tag {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-size: .875rem;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-cta { font-size: 1.0625rem; }

.cta-wechat { color: var(--accent); font-weight: 700; }

.hero-shot img {
  width: 80%; /* 首图缩小 20% 显示 */
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

/* ── 2 · 痛点 ─────────────────────────────── */
.sec--pain .pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.pain-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.pain-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.pain-card p { color: var(--muted); }

/* ── 3 · 三步流程 ─────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  list-style: none;
  counter-reset: step;
  margin-bottom: 48px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9375rem; }

.how-shot img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

/* ── 4 · Bento 功能矩阵 ───────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.bento__cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.bento__cell--wide { grid-column: span 2; }

.bento__cell h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.bento__cell p { color: var(--muted); font-size: .9375rem; }

/* ── 5 · 场景人群 ─────────────────────────── */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.scene-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.scene-card h3 { font-size: 1.125rem; margin-bottom: 8px; color: var(--accent); }
.scene-card p { color: var(--muted); font-size: .9375rem; }

/* ── 6 · 信任区 ───────────────────────────── */
.sec--trust .trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: var(--gap);
  list-style: none;
  margin-bottom: 48px;
}

.trust-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.trust-item h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.trust-item p { color: var(--muted); font-size: .9375rem; }

.trust-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: var(--gap);
  align-items: start;
  margin-bottom: 48px;
}

.trust-shots img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.trust-cta { text-align: center; font-size: 1.0625rem; }

/* ── 7 · 定价套餐 ─────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.price-card--top {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(245, 166, 35, .12);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #1a1205;
  font-size: .8125rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card__plan { font-size: 1.375rem; text-align: center; }

.price-card__tag {
  color: var(--muted);
  font-size: .875rem;
  text-align: center;
  margin-top: 4px;
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 24px 0;
}

.price-card__currency { font-size: 1.375rem; font-weight: 600; color: var(--accent); }

.price-card__value { font-size: 3.25rem; font-weight: 700; line-height: 1; }

.price-card__period { color: var(--muted); }

.price-card__yearly {
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
  margin-bottom: 24px;
}

.price-card__highlight { color: var(--accent); font-weight: 600; }

.price-card__features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.price-card__features li {
  padding: 6px 0;
  color: var(--muted);
  font-size: .9375rem;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-card__features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.price-card__features strong { color: var(--text); }

.price-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

.price-card__btn:hover {
  background: var(--accent);
  color: #1a1205;
  text-decoration: none;
}

.price-card__btn--primary {
  background: var(--accent);
  color: #1a1205;
}

.price-card__btn--primary:hover { filter: brightness(1.08); }

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: .9375rem;
  margin-top: 40px;
}

@media (max-width: 700px) {
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .price-card__badge { top: -11px; }
}

/* ── 8 · FAQ ──────────────────────────────── */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 28px;
  max-width: 760px;
  margin: 0 auto var(--gap);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style-position: inside;
}

.faq-item[open] summary { color: var(--accent); margin-bottom: 8px; }
.faq-item p { color: var(--muted); }

/* ── 9 · 尾 CTA ───────────────────────────── */
.sec--cta { text-align: center; }

.sec--cta h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); margin-bottom: 12px; }

.cta-sub { color: var(--muted); margin-bottom: 32px; }

.cta-qr {
  display: inline-block;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 24px;
}
.cta-qr img { width: 200px; height: 200px; }

.cta-wechat-big { font-size: 1.25rem; }

/* ── 页脚 ─────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
  padding: 28px 24px;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

/* ── 响应式 ───────────────────────────────── */
@media (max-width: 900px) {
  .sec { padding: 64px 24px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--wide { grid-column: span 2; }

  .scene-grid { grid-template-columns: repeat(2, 1fr); }

  .trust-shots { grid-template-columns: repeat(2, minmax(0, 300px)); }

  .sec--hero { grid-template-columns: 1fr; }
  .hero-shot { max-width: 340px; }
}

@media (max-width: 600px) {
  .sec { padding: 56px 16px; }

  .nav__links { display: none; }

  .sec--hero { padding-top: 40px; }
  .hero-shot { max-width: 260px; margin: 0 auto; }

  .sec--pain .pain-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }

  .bento { grid-template-columns: 1fr; }
  .bento__cell--wide { grid-column: span 1; }

  .scene-grid { grid-template-columns: 1fr; }

  .sec--trust .trust-grid { grid-template-columns: minmax(0, 400px); }

  .trust-shots { grid-template-columns: minmax(0, 300px); }
}

/* ── 动效敏感用户:全部禁用 ────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── 品牌logo(左上角,2026-09-10) ── */
.nav__brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-logo { width: 28px; height: 28px; flex: none; border-radius: 6px; }

/* ── 6.5 · 家长评价 ─────────────────────────── */
.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.voice-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.voice-card__quote {
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.85;
}

.voice-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.voice-card__stars { color: var(--accent); font-size: .85rem; letter-spacing: .18em; }
.voice-card__date { color: var(--muted); font-size: .8rem; }

.voice-card__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.voice-card__avatar {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid var(--accent);
}

.voice-card:nth-child(even) .voice-card__avatar {
  background: rgba(62, 207, 142, .14);
  color: var(--ok);
  border-color: var(--ok);
}

.voice-card__who strong { display: block; font-size: .9375rem; line-height: 1.5; }
.voice-card__who em { display: block; font-style: normal; color: var(--muted); font-size: .8125rem; }

.voice-card--invite {
  border: 1px dashed var(--accent);
  background: transparent;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.voice-card--invite h3 { font-size: 1.125rem; }
.voice-card--invite p { color: var(--muted); font-size: .9375rem; }

.voice-card__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #0d1421;
  font-weight: 600;
  text-decoration: none;
}

@media (min-width: 640px) {
  .voices-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .voices-grid { grid-template-columns: repeat(3, 1fr); }
}
