/* 柠檬婴语官网 · 统一样式
   设计基调：简约 / 高级 / 轻量。零依赖、零图片（图标全部内联 SVG）。 */

:root {
  --bg: #FBFAF8;
  --bg-soft: #F4F2ED;
  --card: #FFFFFF;
  --ink: #16181A;
  --ink-2: #54585B;
  --ink-3: #8B8F8D;
  --line: #E7E3DB;
  --gold: #C08A2E;
  --gold-deep: #9A6C1D;
  --gold-soft: #F7F0E1;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(22, 24, 26, .04), 0 10px 30px rgba(22, 24, 26, .05);
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: .01em; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.on { color: var(--ink); font-weight: 500; }
.nav-links a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--gold);
}
.nav-toggle { display: none; margin-left: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(22, 24, 26, .14); }
.btn-primary:hover { background: #000; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(192, 138, 46, .26); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); background: #fff; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-deep);
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
}
.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.22;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  max-width: 620px; margin: 22px auto 0;
  font-size: clamp(15px, 2.4vw, 18px); color: var(--ink-2); line-height: 1.8;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

/* 手机演示框（纯 CSS） */
.phone {
  width: 268px; margin: 60px auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: 30px;
  box-shadow: var(--shadow); padding: 12px;
}
.phone-screen {
  background: linear-gradient(180deg, #FBF9F4 0%, #FFFFFF 46%);
  border-radius: 21px; padding: 20px 16px 18px; text-align: left;
}
.phone-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.phone-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .5; }
.phone-dot:nth-child(2) { opacity: .3; }
.phone-dot:nth-child(3) { opacity: .2; }
.phone-title { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.phone-line { height: 9px; border-radius: 5px; background: var(--bg-soft); margin-bottom: 10px; }
.phone-line.w80 { width: 80%; }
.phone-line.w60 { width: 60%; }
.phone-line.w45 { width: 45%; }
.phone-card {
  margin-top: 14px; padding: 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
}
.phone-en { font-size: 14px; font-weight: 500; }
.phone-cn { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.phone-play { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--gold-deep); }

/* ---------- 数据条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin: 8px 0 0;
}
.stat { background: var(--bg); padding: 28px 16px; text-align: center; }
.stat-num { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.stat-num span { font-size: 17px; font-weight: 500; color: var(--ink-2); margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-tag { font-size: 13px; font-weight: 500; color: var(--gold-deep); letter-spacing: .04em; }
.section-head h2 { margin-top: 12px; font-size: clamp(26px, 4.2vw, 36px); letter-spacing: -.02em; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #DBD6CC; }
.card h3 { font-size: 17px; font-weight: 600; }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.72; }
.card-icon {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px;
  background: var(--gold-soft); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.card-meta { margin-top: 14px; font-size: 13px; color: var(--gold-deep); font-weight: 500; }

/* 模块小卡 */
.mod { padding: 20px 18px; }
.mod h3 { font-size: 15.5px; }
.mod p { margin-top: 8px; font-size: 13.5px; }
.mod .card-icon { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 13px; }

/* ---------- 试听 ---------- */
.player {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.player-head { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.player-head .grow { flex: 1 1 320px; min-width: 260px; }
.player h3 { font-size: 20px; }
.player .desc { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.voices { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.voice {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13.5px; color: var(--ink-2); cursor: pointer;
  transition: all .18s;
}
.voice:hover { border-color: var(--ink-3); }
.voice.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; cursor: pointer; transition: all .18s;
}
.chip:hover { border-color: var(--gold); background: var(--gold-soft); }
.chip.playing { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-deep); }
.chip .ic { width: 15px; height: 15px; flex: none; opacity: .65; }
.chip.playing .ic { opacity: 1; }
.chip small { color: var(--ink-3); font-size: 12.5px; }
.chip.playing small { color: var(--gold-deep); }

.ipa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; margin-top: 20px; }
.ipa-item {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 14px 12px; cursor: pointer; transition: all .18s; text-align: center;
}
.ipa-item:hover, .ipa-item.playing { border-color: var(--gold); background: var(--gold-soft); }
.ipa-sym { font-size: 24px; font-weight: 500; line-height: 1.2; }
.ipa-eg { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

/* ---------- 价格 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan {
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.plan.hot { border-color: var(--gold); box-shadow: 0 10px 34px rgba(192, 138, 46, .14); }
.plan.sel { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft), 0 10px 34px rgba(192, 138, 46, .12); }
.plan-badge {
  position: absolute; top: -11px; left: 26px;
  background: var(--gold); color: #fff; font-size: 12px; font-weight: 500;
  padding: 3px 11px; border-radius: 999px;
}
.plan-name { font-size: 16px; font-weight: 600; }
.plan-days { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.plan-price { display: flex; align-items: baseline; gap: 3px; margin-top: 18px; }
.plan-price .cur { font-size: 19px; font-weight: 500; }
.plan-price .num { font-size: 42px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.plan-price .unit { font-size: 14px; color: var(--ink-3); margin-left: 3px; }
.plan-avg { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.plan .btn { width: 100%; margin-top: 22px; }
.plan-list { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); margin-bottom: 9px; }
.plan-list li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 9px; height: 5px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0;
  font-size: 16px; font-weight: 500; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .22s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 40px 22px 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- 表格 ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--bg-soft); font-weight: 500; font-size: 13.5px; color: var(--ink-2); }
tr:last-child td { border-bottom: none; }
td .sub { color: var(--ink-3); font-size: 13px; }

/* ---------- 提示条 ---------- */
.note-bar {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--gold-soft); border: 1px solid #EDE0C4;
  border-radius: 12px; padding: 16px 18px; font-size: 14px; color: #6F5518;
}
.note-bar b { font-weight: 600; }

/* ---------- 正文页（协议/隐私） ---------- */
.doc { padding: 72px 0 96px; }
.doc-head { padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.doc-head h1 { font-size: clamp(26px, 4vw, 34px); }
.doc-head .meta { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.doc h2 { font-size: 19px; margin: 36px 0 12px; }
.doc h3 { font-size: 16px; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 15px; color: var(--ink-2); line-height: 1.85; }
.doc p { margin-bottom: 12px; }
.doc ol { padding-left: 22px; margin: 0 0 12px; }
.doc ol li { margin-bottom: 6px; list-style: decimal; }
.doc ul.body { padding-left: 0; }
.doc ul.body li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.doc ul.body li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- 页脚 ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; font-size: 14px; color: var(--ink-2); }
.footer li a:hover { color: var(--gold-deep); }
.footer .about { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.7; max-width: 280px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--ink-2); }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .plan:hover { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 880px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; gap: 0; padding: 8px 18px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav-toggle {
    display: flex; margin-left: auto; width: 40px; height: 40px;
    align-items: center; justify-content: center; cursor: pointer;
    border: 1px solid var(--line); border-radius: 9px; background: #fff;
  }
  .hero { padding: 60px 0 48px; }
  .section { padding: 64px 0; }
  .phone { margin-top: 40px; }
  .player { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* 价格区补充说明 */
.price-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.price-note b { color: var(--gold-deep); font-weight: 600; }

/* ========== 订单区：账号登录 / 其他开通方式 / 多端使用 ========== */

/* 微信内置浏览器引导条（H5 支付不支持微信内完成） */
.wxmask {
  position: sticky; top: 0; z-index: 60; padding: 14px 18px; text-align: center;
  background: var(--gold-soft); border-bottom: 1px solid #EBDCBB;
}
.wxmask[hidden] { display: none; }
.wxmask-in { max-width: var(--maxw); margin: 0 auto; }
.wxmask-in > b { display: block; font-size: 14px; font-weight: 600; color: var(--gold-deep); }
.wxmask-in p { margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* 开通账号（会员权益绑定手机号，跨端通用） */
.acct {
  margin-top: 22px; padding: 18px 20px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acct-head .k { font-size: 14px; color: var(--ink-2); }
.acct-head .v { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.acct-head .v.on { color: #2F7D51; }
.acct-form { display: grid; gap: 10px; margin-top: 14px; }
.acct.done .acct-form { display: none; }
.acct-field { display: flex; gap: 10px; }
.acct-field input {
  flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  outline: none; transition: border-color .18s;
}
.acct-field input:focus { border-color: var(--gold); }
.acct-field .btn { flex: 0 0 auto; white-space: nowrap; }
.acct-tip { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.acct-tip.err { color: #B4462F; }
.acct-tip.ok { color: #2F7D51; }

/* 其他开通方式（兑换码 / 客服，非支付入口） */
.altopen { padding: 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.altopen-t { font-size: 15px; font-weight: 600; }
.altopen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 16px; }
.altopen-item b { font-size: 14px; font-weight: 600; }
.altopen-item p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

/* 多端使用 */
.useway { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.useway-item { padding: 24px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.useway-i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-bottom: 12px;
  font-size: 13px; font-weight: 600; color: var(--gold-deep);
  background: var(--gold-soft); border-radius: 50%;
}
.useway-item b { font-size: 15px; font-weight: 600; }
.useway-item p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* 按钮禁用态 */
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[disabled]:hover { transform: none; }

/* ========== 限时优惠（原价划线 / 优惠标签 / 活动说明） ========== */
.strike {
  font-size: 17px; font-weight: 500; color: var(--ink-3);
  text-decoration: line-through; margin-right: 6px;
}
.plan-promo {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  font-size: 11px; font-weight: 600; color: #fff;
  background: var(--gold); border-radius: 4px;
  vertical-align: 2px; letter-spacing: 0;
}
/* 优惠活动横幅（商品页顶部） */
.promo-banner {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  margin-top: 26px; padding: 14px 18px;
  background: rgba(192, 138, 46, .07); border: 1px solid rgba(192, 138, 46, .22);
  border-radius: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.75;
}
.promo-banner b { color: var(--gold-deep); }
/* 优惠活动说明（首页价格区底部，明码标价要求） */
.promo-note {
  max-width: 740px; margin: 30px auto 0; padding: 14px 20px;
  background: rgba(192, 138, 46, .06); border-radius: 10px;
  font-size: 13px; line-height: 1.85; color: var(--ink-2); text-align: center;
}
.promo-note b { color: var(--gold-deep); }
.order-row .strike { font-size: 15px; }

@media (max-width: 860px) {
  .useway { grid-template-columns: 1fr; }
  .altopen-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .acct { padding: 16px; }
  .acct-field { flex-direction: column; }
  .acct-field .btn { width: 100%; }
  .altopen { padding: 20px 18px; }
}
