/* ===========================================================
   一叶渡心 官网门户 · 样式表
   设计基调：墨绿 + 暖金，克制的东方感，强调信任与陪伴
   =========================================================== */

:root {
  --ink: #1E2420;
  --ink-2: #55605A;
  --ink-3: #8A938C;
  --bg: #FBFAF7;
  --bg-2: #F4F2EC;
  --surface: #FFFFFF;
  --line: #E7E3DA;
  --line-2: #D8D3C7;

  --brand: #2E594C;
  --brand-2: #1F3F36;
  --brand-soft: #EAF1EE;

  --accent: #B9722F;
  --accent-2: #96581E;
  --accent-soft: #FBF0E2;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(30, 36, 32, .04);
  --shadow: 0 4px 20px rgba(30, 36, 32, .06);
  --shadow-lg: 0 12px 40px rgba(30, 36, 32, .09);
  --wrap: 1140px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: .01em; }
h1 { font-size: 42px; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 17px; color: var(--ink); letter-spacing: .06em; font-weight: 700; }
.logo-text span { font-size: 10px; color: var(--ink-3); letter-spacing: .22em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu a {
  display: block; padding: 8px 14px; border-radius: 8px;
  font-size: 15px; color: var(--ink-2); white-space: nowrap;
}
.nav-menu a:hover { background: var(--bg-2); color: var(--brand); }
.nav-menu a.on { color: var(--brand); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line-2);
  border-radius: 9px; background: var(--surface); cursor: pointer; padding: 0;
  place-items: center;
}
.nav-toggle span { display: block; width: 17px; height: 1.5px; background: var(--ink-2); margin: 3px auto; transition: .2s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: all .2s; white-space: nowrap; line-height: 1.4;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.32); }
.btn-light:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #26483F 0%, #1C3A32 55%, #17302A 100%);
  color: #fff; padding: 96px 0 88px;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -180px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(185,114,47,.22), transparent 68%);
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; left: -140px; bottom: -200px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.86); margin-bottom: 26px;
}
.hero-eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: #D9A05B; display: block; }
.hero h1 { font-size: 46px; line-height: 1.28; margin-bottom: 20px; font-weight: 700; }
.hero h1 em { font-style: normal; color: #E3B478; }
.hero p.lead { font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.78); max-width: 640px; margin: 0 0 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 40px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-facts div b { display: block; font-size: 20px; font-weight: 700; margin-bottom: 2px; color: #fff; }
.hero-facts div span { font-size: 13px; color: rgba(255,255,255,.62); }

/* ---------- 区块 ---------- */
.sec { padding: 84px 0; }
.sec-alt { background: var(--bg-2); }
.sec-white { background: var(--surface); }
.sec-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.sec-tag {
  display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--ink-2); margin: 0; font-size: 16px; }
.sec-head.left { text-align: left; margin-left: 0; }

/* ---------- 四阶段服务矩阵 ---------- */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stage {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; position: relative; transition: .25s; overflow: hidden;
}
.stage::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--brand); opacity: 0; transition: .25s;
}
.stage:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.stage:hover::before { opacity: 1; }
.stage-no {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center;
  font-size: 14px; font-weight: 700; margin-bottom: 16px;
}
.stage h3 { margin-bottom: 6px; font-size: 18px; }
.stage .stage-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.stage ul { display: flex; flex-direction: column; gap: 9px; }
.stage li { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 9px; align-items: flex-start; line-height: 1.65; }
.stage li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 9px;
}

/* ---------- 两栏内容 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--ink-2); margin: 0 0 16px; }
.split p:last-child { margin-bottom: 0; }

.checklist { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.checklist svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; color: var(--brand); }

/* ---------- 服务形式卡片 ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: .25s;
}
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tile-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.tile-icon svg { width: 22px; height: 22px; color: var(--accent); }
.tile h3 { font-size: 17px; margin-bottom: 10px; }
.tile p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.8; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.flow-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; position: relative;
}
.flow-item .n {
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 700; display: grid; place-items: center; margin: 0 auto 12px;
}
.flow-item h3 { font-size: 15px; margin-bottom: 6px; }
.flow-item p { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.65; }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: #C0392B; margin-left: 2px; }
.field .hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.field input[type=text], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--surface);
  transition: .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.7; }
.field select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A938C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46,89,76,.1);
}
.field input::placeholder, .field textarea::placeholder { color: #AFB6B0; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: block; padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 100px;
  font-size: 14px; color: var(--ink-2); cursor: pointer; transition: .18s; user-select: none;
}
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip span:hover { border-color: var(--brand); color: var(--brand); }
.chip input:checked + span:hover { color: #fff; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 22px; }
.consent input { width: 18px; height: 18px; margin-top: 5px; flex-shrink: 0; accent-color: var(--brand); cursor: pointer; }
.consent label { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; cursor: pointer; font-weight: 400; }

.form-foot { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot .note { font-size: 13px; color: var(--ink-3); }

.alert { padding: 13px 16px; border-radius: 10px; font-size: 14.5px; margin-bottom: 20px; display: none; line-height: 1.7; }
.alert.show { display: block; }
.alert-err { background: #FDF0EE; color: #A63A28; border: 1px solid #F3D4CE; }
.alert-ok { background: #EDF5F0; color: #1F5A43; border: 1px solid #CBE4D8; }

/* ---------- 隐私说明 ---------- */
.privacy-box {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9;
}
.privacy-box h4 { font-size: 14px; margin-bottom: 10px; color: var(--ink); }
.privacy-box ol { margin: 0; padding-left: 20px; }
.privacy-box li { margin-bottom: 6px; }

/* ---------- 页脚 ---------- */
.footer { background: #16302A; color: rgba(255,255,255,.66); padding: 62px 0 28px; font-size: 14px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #E3B478; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.11); }
.footer .logo-text b { color: #fff; }
.footer .logo-text span { color: rgba(255,255,255,.42); }
.footer-about { margin-top: 16px; line-height: 1.9; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .04em; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.42); }

/* ---------- 页面头（内页） ---------- */
.page-head { background: linear-gradient(160deg, #26483F, #1C3A32); color: #fff; padding: 64px 0 58px; }
.page-head .sec-tag { color: #E3B478; }
.page-head h1 { font-size: 34px; margin-bottom: 14px; }
.page-head p { color: rgba(255,255,255,.74); max-width: 660px; margin: 0; font-size: 16px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.crumb a { color: rgba(255,255,255,.66); }

/* ---------- 提示条 ---------- */
.ribbon {
  background: var(--accent-soft); border: 1px solid #EFDCC4; border-radius: var(--radius);
  padding: 16px 20px; font-size: 14px; color: #7A4A16; display: flex; gap: 12px; align-items: flex-start; line-height: 1.75;
}
.ribbon svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; }

/* ---------- 链接卡片 ---------- */
.linkcards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.linkcard {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; transition: .25s;
}
.linkcard:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.linkcard .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.linkcard h3 { font-size: 17px; }
.linkcard .arrow { color: var(--brand); transition: transform .25s; }
.linkcard:hover .arrow { transform: translateX(4px); }
.linkcard p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.linkcard .url { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; letter-spacing: .02em; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .stages { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .linkcards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 31px; }
  .hero p.lead { font-size: 15.5px; }
  .hero-facts { gap: 26px; }
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  .nav-inner { height: 60px; gap: 12px; }
  .nav-toggle { display: grid; margin-left: auto; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    margin-left: 0; display: none; box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 10px; border-radius: 8px; }
  .nav-actions .btn-ghost { display: none; }
  .stages { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-head { padding: 44px 0 40px; }
  .page-head h1 { font-size: 26px; }
}

/* ===========================================================
   P1 追加：导航下拉 / 认证 / 定价 / 测评 / 课堂 / 会员中心
   =========================================================== */

/* ---------- 导航下拉（心理服务） ---------- */
.nav-drop { position: relative; }
.nav-drop > a { display: block; padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.nav-drop > a:hover { background: var(--bg-2); color: var(--brand); }
.nav-drop.on > a { color: var(--brand); font-weight: 600; }
.nav-drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 148px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 60;
}
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14.5px; color: var(--ink-2); }
.nav-drop-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-drop .caret { font-size: 10px; margin-left: 2px; }
@media (max-width: 760px) {
  .nav-drop-menu { position: static; display: block; box-shadow: none; border: none; padding: 0 0 0 14px; background: transparent; min-width: 0; }
  .nav-drop-menu a { padding: 10px 12px; }
}

/* ---------- 导航右侧登录态 ---------- */
.nav-user { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-user .hello { font-size: 13.5px; color: var(--ink-2); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 表单补充（密码框） ---------- */
.field input[type=password], .field input[type=email] {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: var(--surface); color: var(--ink); transition: .2s;
}
.field input[type=password]:focus, .field input[type=email]:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}

/* ---------- 登录/注册页 ---------- */
.auth-sec { padding: 56px 0 88px; }
.auth-card {
  max-width: 440px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 36px 34px 32px;
}
.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-card .sub { font-size: 14px; color: var(--ink-3); margin: 0 0 26px; }
.auth-tabs { display: flex; background: var(--bg-2); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button {
  flex: 1; padding: 9px 0; border: none; background: transparent; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; font-family: inherit; transition: .2s;
}
.auth-tabs button.on { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row input { flex: 1; }
.captcha-row .cap-img {
  flex-shrink: 0; width: 132px; border: 1px solid var(--line-2); border-radius: 10px;
  overflow: hidden; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--bg-2);
}
.captcha-row .cap-img svg { width: 100%; height: 100%; display: block; }
.captcha-row .cap-tip { flex-shrink: 0; align-self: center; font-size: 12.5px; color: var(--ink-3); cursor: pointer; }
.auth-foot { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.auth-foot a { color: var(--brand); }

/* ---------- 会员定价 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px 30px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan.featured { border-color: var(--accent); box-shadow: 0 10px 36px rgba(185, 114, 47, .13); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 4px 14px; border-radius: 99px; white-space: nowrap;
}
.plan h3 { font-size: 20px; }
.plan .tagline { font-size: 13.5px; color: var(--ink-3); margin: 6px 0 18px; }
.plan .price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan .price .num { font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.plan .price .unit { font-size: 14px; color: var(--ink-3); }
.plan .desc { font-size: 13.5px; color: var(--ink-2); margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--line-2); }
.plan ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan li { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 9px; align-items: flex-start; line-height: 1.65; }
.plan li::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 5px;
  background: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232E594C" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>'); }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ---------- 测评 ---------- */
.tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.test-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.test-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.test-card h3 { font-size: 18px; margin-bottom: 10px; }
.test-card p { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; flex: 1; line-height: 1.8; }
.test-card .meta { font-size: 12.5px; color: var(--ink-3); margin-bottom: 18px; }
@media (max-width: 980px) { .tests { grid-template-columns: 1fr; } }

.q-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 16px; }
.q-item .q-no { font-size: 12.5px; font-weight: 700; color: var(--accent); margin-bottom: 6px; letter-spacing: .05em; }
.q-item .q-t { font-size: 16px; font-weight: 600; margin-bottom: 16px; line-height: 1.7; }
.q-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.q-opts label {
  padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 99px;
  font-size: 14px; color: var(--ink-2); cursor: pointer; transition: .18s; user-select: none;
}
.q-opts label:hover { border-color: var(--brand); color: var(--brand); }
.q-opts input { position: absolute; opacity: 0; pointer-events: none; }
.q-opts label.picked { background: var(--brand); border-color: var(--brand); color: #fff; }
.q-progress { height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin-bottom: 28px; }
.q-progress i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .3s; width: 0; }

.result-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 40px 38px; text-align: center;
}
.result-panel .score { font-size: 52px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.result-panel .score small { font-size: 16px; color: var(--ink-3); font-weight: 400; }
.result-panel h3 { font-size: 21px; margin: 14px 0 12px; }
.result-panel .r-text { color: var(--ink-2); margin: 0 auto 14px; max-width: 560px; }
.result-panel .r-advice {
  background: var(--brand-soft); border-radius: 12px; padding: 16px 20px; text-align: left;
  font-size: 14.5px; color: var(--brand-2); line-height: 1.85; max-width: 560px; margin: 0 auto 22px;
}
.result-panel .r-advice b { display: block; margin-bottom: 4px; }

/* ---------- 课堂文章 ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; cursor: pointer;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card .cat { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.article-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.55; }
.article-card p { font-size: 14px; color: var(--ink-2); margin: 0 0 16px; flex: 1; line-height: 1.8; }
.article-card .date { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 980px) { .articles { grid-template-columns: 1fr; } }

.prose { max-width: 760px; margin: 0 auto; font-size: 16px; color: var(--ink); }
.prose p { line-height: 2; margin: 0 0 18px; color: var(--ink-2); }
.prose h1 { font-size: 28px; margin-bottom: 14px; color: var(--ink); }
.prose .meta { font-size: 13.5px; color: var(--ink-3); margin-bottom: 30px; }

.note-box {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; font-size: 13px; color: var(--ink-3); line-height: 1.8;
}

/* ---------- 会员中心 ---------- */
.member-grid { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.member-side {
  background: linear-gradient(160deg, #26483F, #1C3A32); color: #fff;
  border-radius: var(--radius-lg); padding: 32px 30px;
}
.member-side .who { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.member-side .phone { font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.member-tier {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 22px;
}
.member-tier .t-name { font-size: 17px; font-weight: 700; color: #E3B478; }
.member-tier .t-exp { font-size: 12.5px; color: rgba(255,255,255,.62); margin-top: 4px; }
.member-side .links { display: flex; flex-direction: column; gap: 8px; }
.member-side .links a, .member-side .links button {
  display: block; width: 100%; text-align: left; padding: 10px 14px; border-radius: 9px;
  background: transparent; border: none; color: rgba(255,255,255,.8); font-size: 14.5px;
  cursor: pointer; font-family: inherit; transition: .2s; text-decoration: none;
}
.member-side .links a:hover, .member-side .links button:hover { background: rgba(255,255,255,.1); color: #fff; }
.member-main { display: flex; flex-direction: column; gap: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; }
.panel h3 { font-size: 17px; margin-bottom: 18px; }
.record-list { display: flex; flex-direction: column; gap: 14px; }
.record-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.record-item .r-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.record-item .r-head b { font-size: 15px; }
.record-item .r-head span { font-size: 12.5px; color: var(--ink-3); }
.record-item .r-score { font-size: 13.5px; color: var(--brand); font-weight: 600; }
.record-item p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.75; }
.empty-tip { color: var(--ink-3); font-size: 14px; text-align: center; padding: 30px 0; }
@media (max-width: 900px) { .member-grid { grid-template-columns: 1fr; } }

/* ---------- 心理板块 hero 卡片入口 ---------- */
.serv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .serv-tiles { grid-template-columns: 1fr; } }
