/* ===========================================================
   会员权益服务 · 全站样式
   =========================================================== */
:root {
  color-scheme: only light;
  --ink: #131628;
  --ink-2: #39405A;
  --sub: #6B7280;
  --faint: #9AA1B1;
  --bg: #F5F6FA;
  --card: #FFFFFF;
  --line: #E9EBF2;
  --line-soft: #F2F4F9;
  --brand-1: #4F46E5;
  --brand-2: #7C3AED;
  --brand-soft: #F0EEFE;
  --gold: #C9A227;
  --gold-soft: #FBF3DE;
  --ok: #0E9F6E;
  --shadow-s: 0 2px 8px -4px rgba(30, 38, 82, .10);
  --shadow: 0 12px 30px -18px rgba(30, 38, 82, .20), 0 2px 8px -5px rgba(30, 38, 82, .06);
  --shadow-l: 0 24px 50px -26px rgba(30, 38, 82, .28);
  --r-xl: 26px;
  --r-lg: 20px;
  --r: 16px;
  --r-sm: 12px;
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ================= 顶部导航 ================= */
.hd { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.hd-in { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; display: flex; align-items: center; gap: 18px; height: 58px; }
.hd-nav { display: flex; align-items: center; gap: 4px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.hd-nav::-webkit-scrollbar { display: none; }
.hd-nav a { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 7px 12px;
  border-radius: 999px; white-space: nowrap; transition: background .18s, color .18s; }
.hd-nav a:hover { background: var(--line-soft); }
.hd-nav a.on { color: var(--brand-1); background: var(--brand-soft); }
.hd-kf { margin-left: auto; flex: 0 0 auto; font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(96deg, var(--brand-1), var(--brand-2)); border-radius: 999px; padding: 8px 16px;
  box-shadow: 0 10px 20px -12px rgba(79,70,229,.65); }

/* ================= 通用标题 ================= */
.sec { padding: 46px 0 0; }
.sec-head { margin-bottom: 20px; }
.sec-head.center { text-align: center; }
.sec-head .eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .14em; color: var(--brand-1); background: var(--brand-soft); border-radius: 999px; padding: 5px 12px; }
.sec-head h2 { font-size: 24px; font-weight: 900; letter-spacing: -.4px; margin-top: 12px; }
.sec-head p { font-size: 14px; color: var(--sub); margin-top: 8px; max-width: 42em; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ================= Hero ================= */
.hero { position: relative; padding: 52px 0 8px; }
.hero::before { content: ""; position: absolute; inset: -60px 0 auto 0; height: 380px; pointer-events: none;
  background: radial-gradient(560px 260px at 82% -10%, rgba(124,58,237,.14), transparent 64%),
              radial-gradient(520px 240px at 4% 0%, rgba(79,70,229,.12), transparent 64%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 38px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.22; font-weight: 900; letter-spacing: -1px; margin: 16px 0 14px; }
.hero h1 em { font-style: normal; background: linear-gradient(96deg, var(--brand-1), var(--brand-2) 74%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 15.5px; color: var(--sub); max-width: 34em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.hero-tags span { font-size: 12.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 13px; box-shadow: var(--shadow-s); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* 会员卡视觉 */
.vip { position: relative; width: 100%; max-width: 400px; height: 208px; border-radius: 22px; padding: 22px 24px;
  background: linear-gradient(142deg, #2A2440 0%, #1B1830 48%, #131120 100%);
  border: 1px solid rgba(226,193,115,.34); overflow: hidden; margin-left: auto;
  box-shadow: 0 30px 50px -26px rgba(19,16,36,.62); display: flex; flex-direction: column; justify-content: space-between; }
.vip::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px 160px at 88% 6%, rgba(226,193,115,.20), transparent 62%); }
.vip-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.vip-badge { font-size: 10.5px; letter-spacing: .2em; color: var(--gold); border: 1px solid rgba(226,193,115,.42);
  border-radius: 999px; padding: 4px 10px; }
.vip-no { font-size: 11px; color: rgba(255,255,255,.42); letter-spacing: .06em; }
.vip-name { position: relative; z-index: 1; }
.vip-name b { display: block; font-size: 27px; font-weight: 900; letter-spacing: .5px;
  background: linear-gradient(96deg, #FFF4D6, var(--gold) 56%, #B98F14); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.vip-name small { font-size: 11.5px; color: rgba(255,255,255,.5); letter-spacing: .24em; }
.vip-wave { position: absolute; right: -20px; bottom: -8px; width: 200px; opacity: .5; z-index: 0; }

/* ================= 按钮 ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  border-radius: 999px; font-weight: 900; font-family: inherit; }
.btn-p { color: #fff; background: linear-gradient(96deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 14px 26px -14px rgba(79,70,229,.7); padding: 14px 26px; font-size: 15.5px; }
.btn-d { color: #fff; background: linear-gradient(96deg, #2C2636, #131120);
  box-shadow: 0 14px 26px -14px rgba(19,17,32,.6); padding: 14px 26px; font-size: 15.5px; }
.btn-g { color: var(--ink-2); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s);
  padding: 13px 24px; font-size: 15px; }
.btn:active { transform: translateY(1px); }

/* ================= 卡片 / 网格 ================= */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px 20px; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* 分类能力网格 */
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; box-shadow: var(--shadow-s);
  transition: transform .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat .ic { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(150deg, #F1EFFE, #E9E5FD);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.cat .ic svg { width: 21px; height: 21px; }
.cat b { display: block; font-size: 15px; font-weight: 800; }
.cat span { font-size: 12.5px; color: var(--sub); }

/* ================= 套餐 ================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 24px 20px 20px; box-shadow: var(--shadow); overflow: hidden; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2)); }
.plan.pro { border-color: rgba(226,193,115,.55); box-shadow: var(--shadow-l); transform: translateY(-6px); }
.plan.pro::before { height: 4px; background: linear-gradient(90deg, #B98F14, #F0DCA4, #B98F14); }
.plan-flag { position: absolute; top: 0; right: 0; font-size: 11px; font-weight: 800; color: #3A2C05;
  background: linear-gradient(135deg, #F4E3AE, #E2C173); padding: 5px 12px; border-bottom-left-radius: 12px; }
.plan h3 { font-size: 19px; font-weight: 900; }
.plan .ptag { font-size: 12.5px; color: var(--faint); margin-top: 3px; }
.plan .price { display: flex; align-items: baseline; gap: 3px; margin: 14px 0 4px; }
.plan .price b { font-size: 34px; font-weight: 950; letter-spacing: -.8px; }
.plan .price small { font-size: 16px; font-weight: 800; }
.plan .price i { font-size: 12px; font-style: normal; color: var(--faint); margin-left: 6px; }
.plan.pro .price b { background: linear-gradient(96deg, #C9A227, #8C6D12); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.plan ul { list-style: none; margin: 16px 0 18px; padding-top: 15px; border-top: 1px dashed var(--line); }
.plan li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); padding: 5px 0; }
.plan li svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 4px; }
.plan .btn { width: 100%; }

/* ================= 对比表 ================= */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff; box-shadow: var(--shadow-s); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.tbl th, .tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.tbl th { font-size: 12.5px; color: var(--sub); font-weight: 800; background: #FAFBFE; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 700; color: var(--ink); }
.tbl .yes { color: var(--ok); font-weight: 800; }
.tbl .no { color: var(--faint); }

/* ================= 步骤 ================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px;
  box-shadow: var(--shadow-s); position: relative; }
.step-n { counter-increment: s; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand-1); font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin-bottom: 11px; }
.step-n::before { content: counter(s); }
.step b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.step span { font-size: 12.5px; color: var(--sub); }

/* ================= 列表/要点 ================= */
.bullets { list-style: none; }
.bullets li { position: relative; padding: 7px 0 7px 22px; font-size: 14px; color: var(--ink-2); }
.bullets li::before { content: ""; position: absolute; left: 5px; top: 15px; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); }
.bullets li b { color: var(--ink); }

/* ================= FAQ ================= */
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-size: 14.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .22s; margin-top: -3px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .ans { padding: 0 20px 16px; font-size: 13.5px; color: var(--sub); }

/* ================= 页脚 ================= */
.ft { margin-top: 56px; background: #fff; border-top: 1px solid var(--line); }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding: 38px 0 26px; }
.ft h4 { font-size: 13.5px; font-weight: 900; margin-bottom: 12px; }
.ft .ft-links { display: flex; flex-direction: column; gap: 9px; }
.ft .ft-links a { font-size: 13px; color: var(--sub); }
.ft .ft-links a:hover { color: var(--brand-1); }
.ft .ft-about { font-size: 13px; color: var(--sub); max-width: 26em; }
.ft-kv { font-size: 13px; color: var(--sub); margin-top: 10px; }
.ft-kv b { color: var(--ink-2); font-weight: 700; }
.ft-bar { border-top: 1px solid var(--line-soft); padding: 16px 0 26px; display: flex; flex-wrap: wrap; gap: 10px 18px;
  align-items: center; font-size: 12px; color: var(--faint); }
.ft-bar a { color: var(--faint); }

/* ================= 页面头（子页） ================= */
.phead { padding: 34px 0 0; }
.crumb { font-size: 12.5px; color: var(--faint); margin-bottom: 12px; }
.crumb a { color: var(--faint); }
.crumb a:hover { color: var(--brand-1); }
.phead h1 { font-size: 30px; font-weight: 900; letter-spacing: -.6px; }
.phead .desc { font-size: 14.5px; color: var(--sub); margin-top: 10px; max-width: 44em; }

/* ================= 支付弹窗 ================= */
.mask { position: fixed; inset: 0; z-index: 900; background: rgba(18,20,32,.5); display: none;
  align-items: flex-end; justify-content: center; }
.mask.show { display: flex; }
.sheet { width: 100%; max-width: 560px; background: #fff; border-radius: 24px 24px 0 0;
  padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); animation: up .28s cubic-bezier(.22,1,.36,1); }
@keyframes up { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sheet-head h3 { font-size: 18px; font-weight: 900; }
.sheet-head p { font-size: 12.5px; color: var(--faint); margin-top: 3px; }
.sheet-close { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #F2F3F7;
  color: var(--sub); font-size: 18px; line-height: 1; cursor: pointer; font-family: inherit; }
.pay-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--line-soft);
  border: 1px solid var(--line); border-radius: var(--r); padding: 15px 16px; margin: 18px 0 16px; }
.pay-sum .l b { font-size: 15.5px; font-weight: 900; }
.pay-sum .l span { display: block; font-size: 11.5px; color: var(--faint); }
.pay-sum .r { font-size: 26px; font-weight: 950; color: var(--brand-1); }
.pay-sum .r small { font-size: 14px; }
.field-label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.phone-input { width: 100%; border: 1px solid var(--line); background: #FBFBFE; border-radius: var(--r-sm);
  padding: 15px 16px; font-size: 16px; letter-spacing: .06em; color: var(--ink); outline: none; font-family: inherit; }
.phone-input:focus { border-color: #C9C4F7; background: #fff; box-shadow: 0 0 0 3px rgba(124,58,237,.09); }
.phone-input.err { border-color: #F0A9A9; background: #FFF7F7; animation: shake .4s; }
@keyframes shake { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.field-hint { font-size: 11.5px; color: var(--faint); margin-top: 8px; }
.pay-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 18px;
  border: 0; border-radius: 999px; padding: 16px; font-size: 16px; font-weight: 900; color: #fff; font-family: inherit; cursor: pointer;
  background: linear-gradient(96deg, #1677FF, #0A5FE0); box-shadow: 0 14px 26px -14px rgba(22,119,255,.7); }
.pay-btn:disabled { opacity: .6; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--faint); margin-top: 13px; }
.pay-note svg { width: 14px; height: 14px; }

/* Toast */
.toast { position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.96); z-index: 3000;
  background: rgba(24,26,38,.94); color: #fff; font-size: 13.5px; font-weight: 600; padding: 12px 18px;
  border-radius: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: 78vw; text-align: center; line-height: 1.6; }
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 手机吸底 */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.mbar-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.mbar-in .mi { flex: 1; min-width: 0; }
.mbar-in .mi b { display: block; font-size: 14px; font-weight: 900; }
.mbar-in .mi span { font-size: 11.5px; color: var(--faint); }
.mbar-in .btn { flex: 0 0 auto; padding: 13px 24px; }

/* 提示条 */
.note { display: flex; gap: 10px; background: var(--brand-soft); border: 1px solid #E3E0FB; border-radius: var(--r-sm);
  padding: 13px 15px; font-size: 13px; color: #3F3A7A; }
.note svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; }

/* 占位值 */
.todo-v { color: #C0554A; font-weight: 700; }

/* ================= 响应式 ================= */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: 31px; }
  .vip { margin: 0 auto; height: 184px; max-width: 100%; }
  .plans { grid-template-columns: 1fr; }
  .plan.pro { transform: none; }
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hd-kf { display: none; }
  body { padding-bottom: 78px; }
  .mbar { display: block; }
}
@media (max-width: 520px) {
  .sec { padding-top: 38px; }
  .sec-head h2 { font-size: 21px; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: 28px; }
  .phead h1 { font-size: 25px; }
  .ft-grid { grid-template-columns: 1fr; gap: 20px; }
  .g2 { grid-template-columns: 1fr; }
}
