/* ============================================================
 * 数说简历 · Shushuo Resume
 * 上海数说科技有限公司
 * ============================================================ */

:root{
  --ink:#0d1526;
  --ink-2:#334155;
  --muted:#6b7a90;
  --line:#e5e9f0;
  --line-2:#eef1f6;
  --surface:#ffffff;
  --bg:#f6f7fb;
  --bg-2:#fbfcfe;

  --primary:#2b5cff;
  --primary-d:#1d47d6;
  --primary-l:#eaefff;
  --violet:#6d4aff;
  --teal:#0fa79b;
  --amber:#e8a33d;
  --danger:#e5484d;

  --grad: linear-gradient(120deg,#2b5cff 0%,#6d4aff 55%,#a855f7 100%);
  --grad-soft: linear-gradient(120deg,#eef3ff 0%,#f3efff 100%);

  --r-s:8px;
  --r-m:14px;
  --r-l:20px;
  --r-xl:28px;

  --sh-s:0 1px 2px rgba(13,21,38,.05);
  --sh-m:0 6px 20px -8px rgba(13,21,38,.14);
  --sh-l:0 24px 60px -20px rgba(13,21,38,.22);
  --sh-glow:0 18px 46px -18px rgba(43,92,255,.55);

  --maxw:1180px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.65;
  font-size:15px;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
::selection{background:#d9e2ff}

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

/* ---------------- 顶部导航 ---------------- */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.82);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;align-items:center;gap:28px;height:64px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;letter-spacing:-.2px}
.logo .mark{
  width:30px;height:30px;border-radius:9px;background:var(--grad);
  display:grid;place-items:center;color:#fff;font-size:15px;font-weight:800;
  box-shadow:var(--sh-glow);
}
.logo small{display:block;font-size:10px;font-weight:500;color:var(--muted);letter-spacing:1.4px;line-height:1}
.nav-links{display:flex;gap:4px;margin-left:8px}
.nav-links a{
  padding:8px 14px;border-radius:99px;font-size:14px;color:var(--ink-2);
  transition:.18s;
}
.nav-links a:hover{background:var(--line-2);color:var(--ink)}
.nav-links a.on{background:var(--primary-l);color:var(--primary-d);font-weight:600}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:10px}

/* ---------------- 按钮 ---------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:11px 20px;border-radius:11px;border:1px solid transparent;
  font-size:14px;font-weight:600;cursor:pointer;transition:.18s;
  white-space:nowrap;background:none;
}
.btn:disabled{opacity:.5;cursor:not-allowed}
.btn-primary{background:var(--grad);color:#fff;box-shadow:var(--sh-glow)}
.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 22px 50px -18px rgba(43,92,255,.7)}
.btn-ghost{border-color:var(--line);background:#fff;color:var(--ink)}
.btn-ghost:hover{border-color:#cfd8e6;background:var(--bg-2)}
.btn-soft{background:var(--primary-l);color:var(--primary-d)}
.btn-soft:hover{background:#dfe7ff}
.btn-lg{padding:14px 28px;font-size:15px;border-radius:13px}
.btn-sm{padding:8px 14px;font-size:13px;border-radius:9px}
.btn-block{width:100%}

/* ---------------- Hero ---------------- */
.hero{position:relative;overflow:hidden;padding:78px 0 60px}
.hero::before{
  content:'';position:absolute;inset:-30% -10% auto -10%;height:640px;
  background:radial-gradient(48% 60% at 22% 30%,rgba(43,92,255,.16),transparent 62%),
             radial-gradient(42% 55% at 78% 18%,rgba(109,74,255,.16),transparent 60%);
  pointer-events:none;
}
.hero-grid{position:relative;display:grid;grid-template-columns:1.08fr .92fr;gap:56px;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:99px;
  background:#fff;border:1px solid var(--line);font-size:12.5px;color:var(--ink-2);
  box-shadow:var(--sh-s);margin-bottom:22px;font-weight:500;
}
.eyebrow .dot{width:6px;height:6px;border-radius:99px;background:var(--teal);box-shadow:0 0 0 4px rgba(15,167,155,.16)}
h1.title{
  font-size:47px;line-height:1.16;letter-spacing:-1.4px;margin:0 0 20px;font-weight:800;
}
h1.title em{font-style:normal;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.lede{font-size:16.5px;color:var(--muted);margin:0 0 30px;max-width:520px;line-height:1.75}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.hero-note{margin-top:16px;font-size:12.5px;color:var(--muted);display:flex;gap:16px;flex-wrap:wrap}
.hero-note span{display:flex;align-items:center;gap:6px}
.tick{width:14px;height:14px;border-radius:99px;background:var(--primary-l);color:var(--primary-d);display:grid;place-items:center;font-size:9px;font-weight:800}

/* Hero 右侧：简历缩略卡 */
.hero-art{position:relative}
.paper-mini{
  background:#fff;border-radius:var(--r-l);box-shadow:var(--sh-l);
  border:1px solid var(--line);padding:26px 26px 22px;transform:rotate(-1.2deg);
}
.paper-mini::after{
  content:'';position:absolute;inset:auto 18px -14px 18px;height:34px;border-radius:0 0 24px 24px;
  background:#fff;box-shadow:var(--sh-m);z-index:-1;border:1px solid var(--line);border-top:0;
}
.pm-name{font-size:20px;font-weight:800;letter-spacing:-.4px}
.pm-role{font-size:12.5px;color:var(--primary-d);font-weight:600;margin-bottom:14px}
.pm-line{height:7px;border-radius:99px;background:var(--line-2);margin:8px 0}
.pm-line.w90{width:90%}.pm-line.w75{width:75%}.pm-line.w60{width:60%}.pm-line.w45{width:45%}
.pm-sec{font-size:10.5px;font-weight:700;letter-spacing:1.6px;color:var(--muted);margin:16px 0 8px;text-transform:uppercase}
.pm-badge{
  position:absolute;right:-14px;top:-14px;background:var(--grad);color:#fff;
  padding:9px 15px;border-radius:12px;font-size:12px;font-weight:700;box-shadow:var(--sh-glow);
  display:flex;align-items:center;gap:6px;
}
.float-chip{
  position:absolute;background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:9px 13px;font-size:12px;font-weight:600;box-shadow:var(--sh-m);
  display:flex;align-items:center;gap:7px;
}
.float-chip.a{left:-26px;bottom:64px}
.float-chip.b{right:-18px;bottom:-6px}
.float-chip i{font-style:normal;font-size:13px}

/* ---------------- 通用区块 ---------------- */
.sec{padding:76px 0}
.sec.tight{padding:56px 0}
.sec-head{text-align:center;max-width:660px;margin:0 auto 46px}
.sec-head .kicker{
  font-size:12px;font-weight:700;letter-spacing:2.2px;color:var(--primary-d);
  text-transform:uppercase;margin-bottom:12px;
}
.sec-head h2{font-size:32px;letter-spacing:-.9px;margin:0 0 14px;font-weight:800;line-height:1.28}
.sec-head p{color:var(--muted);margin:0;font-size:15.5px}

/* ---------------- 工作台（生成器） ---------------- */
.workbench{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-xl);
  box-shadow:var(--sh-l);overflow:hidden;
}
.wb-bar{
  display:flex;align-items:center;gap:12px;padding:14px 20px;
  border-bottom:1px solid var(--line);background:var(--bg-2);
}
.wb-dots{display:flex;gap:6px}
.wb-dots i{width:10px;height:10px;border-radius:99px;background:#dfe4ec;display:block}
.wb-dots i:nth-child(1){background:#ff5f57}.wb-dots i:nth-child(2){background:#febc2e}.wb-dots i:nth-child(3){background:#28c840}
.wb-title{font-size:13px;font-weight:600;color:var(--ink-2)}
.wb-status{margin-left:auto;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}
.pulse{width:7px;height:7px;border-radius:99px;background:var(--teal);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(15,167,155,.5)}50%{opacity:.7;box-shadow:0 0 0 6px rgba(15,167,155,0)}}

.wb-body{display:grid;grid-template-columns:minmax(340px,44%) 1fr;min-height:640px}
.wb-form{padding:26px 24px;border-right:1px solid var(--line);overflow-y:auto;max-height:820px}
.wb-preview{padding:26px 24px;background:#eef1f7;overflow-y:auto;max-height:820px}

.step-label{
  display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;
  color:var(--ink);margin:0 0 14px;
}
.step-label .n{
  width:22px;height:22px;border-radius:7px;background:var(--primary-l);color:var(--primary-d);
  display:grid;place-items:center;font-size:11.5px;font-weight:800;flex:none;
}
.field{margin-bottom:14px}
.field label{display:block;font-size:12.5px;font-weight:600;color:var(--ink-2);margin-bottom:6px}
.field label .opt{font-weight:400;color:var(--muted);font-size:11.5px}
.inp,.ta,.sel{
  width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;
  font-size:13.5px;font-family:inherit;color:var(--ink);background:#fff;transition:.16s;
}
.inp:focus,.ta:focus,.sel:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3.5px rgba(43,92,255,.12)}
.ta{resize:vertical;min-height:96px;line-height:1.6}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{
  padding:7px 13px;border:1px solid var(--line);border-radius:99px;font-size:12.5px;
  cursor:pointer;background:#fff;color:var(--ink-2);transition:.16s;user-select:none;
}
.chip:hover{border-color:#cfd8e6}
.chip.on{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}

.repeater{border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:10px;background:var(--bg-2)}
.repeater-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.repeater-head b{font-size:12.5px;color:var(--ink-2)}
.icon-btn{
  width:26px;height:26px;border-radius:8px;border:1px solid var(--line);background:#fff;
  cursor:pointer;color:var(--muted);font-size:15px;line-height:1;display:grid;place-items:center;transition:.16s;
}
.icon-btn:hover{color:var(--danger);border-color:#f3c9cb;background:#fff6f6}

.divider{height:1px;background:var(--line);margin:22px 0}
.hint{font-size:12px;color:var(--muted);line-height:1.7;margin-top:8px}
.ai-box{
  background:var(--grad-soft);border:1px solid #e2e8ff;border-radius:12px;
  padding:14px 15px;margin-bottom:16px;
}
.ai-box b{font-size:12.5px;display:flex;align-items:center;gap:7px;color:var(--primary-d)}
.ai-box p{margin:6px 0 0;font-size:12.5px;color:var(--ink-2);line-height:1.7}

/* 预览区工具栏 */
.pv-bar{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.pv-bar .spacer{margin-left:auto}
.seg{display:flex;background:#fff;border:1px solid var(--line);border-radius:10px;padding:3px;gap:2px}
.seg button{
  padding:6px 12px;border:0;background:none;border-radius:7px;font-size:12.5px;
  cursor:pointer;color:var(--ink-2);font-weight:500;transition:.16s;
}
.seg button.on{background:var(--primary-l);color:var(--primary-d);font-weight:700}

/* ---------------- 简历纸 ---------------- */
.sheet-wrap{display:flex;justify-content:center}
.sheet{
  width:100%;max-width:760px;background:#fff;border-radius:6px;
  box-shadow:0 10px 40px -12px rgba(13,21,38,.28);min-height:980px;
  padding:52px 56px;font-size:13px;color:var(--ink);position:relative;
}
.sheet.empty{display:grid;place-items:center;color:var(--muted);text-align:center;padding:60px}
.sheet.empty .big{font-size:40px;margin-bottom:14px;opacity:.35}

/* 模板 A · 经典 */
.tpl-classic .r-name{font-size:27px;font-weight:800;letter-spacing:-.6px;margin:0}
.tpl-classic .r-title{font-size:13.5px;color:var(--primary-d);font-weight:600;margin:2px 0 10px}
.tpl-classic .r-contact{font-size:11.5px;color:var(--muted);display:flex;gap:14px;flex-wrap:wrap;padding-bottom:16px;border-bottom:2px solid var(--ink)}
.tpl-classic .r-sec{margin-top:22px}
.tpl-classic .r-sec-h{
  font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase;
  padding-bottom:6px;border-bottom:1px solid var(--line);margin-bottom:12px;color:var(--ink);
}
.tpl-classic .r-item{margin-bottom:14px}
.tpl-classic .r-item-top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.tpl-classic .r-item-title{font-weight:700;font-size:13.5px}
.tpl-classic .r-item-sub{font-size:12px;color:var(--ink-2)}
.tpl-classic .r-period{font-size:11.5px;color:var(--muted);white-space:nowrap}
.tpl-classic ul.r-body{margin:7px 0 0;padding-left:17px}
.tpl-classic ul.r-body li{margin-bottom:4px;font-size:12.5px;line-height:1.7;color:var(--ink-2)}

/* 模板 B · 商务（左深色栏） */
.tpl-business{padding:0;display:grid;grid-template-columns:216px 1fr;overflow:hidden}
.tpl-business .b-side{background:#132038;color:#e8edf7;padding:40px 22px}
.tpl-business .b-main{padding:40px 34px}
.tpl-business .r-name{font-size:22px;font-weight:800;color:#fff;margin:0}
.tpl-business .r-title{font-size:11.5px;color:#8fb0ff;margin:3px 0 0;font-weight:600}
.tpl-business .b-side .r-sec-h{
  font-size:10.5px;letter-spacing:1.8px;text-transform:uppercase;color:#8fa2c2;
  border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:5px;margin:22px 0 9px;font-weight:700;
}
.tpl-business .b-side .kv{font-size:11.5px;color:#c7d3e8;margin-bottom:6px;line-height:1.6;word-break:break-all}
.tpl-business .b-side .skill{font-size:11.5px;color:#dbe4f5;margin-bottom:5px}
.tpl-business .b-main .r-sec-h{
  font-size:11.5px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase;color:var(--primary-d);
  margin:0 0 11px;
}
.tpl-business .b-main .r-sec{margin-bottom:20px}
.tpl-business .r-item-title{font-weight:700;font-size:13px}
.tpl-business .r-item-sub{font-size:11.5px;color:var(--muted)}
.tpl-business ul.r-body{margin:6px 0 0;padding-left:16px}
.tpl-business ul.r-body li{font-size:12px;line-height:1.7;color:var(--ink-2);margin-bottom:3px}
.tpl-business .r-period{font-size:11px;color:var(--muted)}

/* 模板 C · 创意 */
.tpl-creative .r-head{
  background:var(--grad);color:#fff;margin:-52px -56px 26px;padding:44px 56px 30px;border-radius:6px 6px 0 0;
}
.tpl-creative .r-name{font-size:29px;font-weight:800;margin:0;color:#fff}
.tpl-creative .r-title{font-size:13.5px;opacity:.92;margin:4px 0 12px;font-weight:600}
.tpl-creative .r-contact{font-size:11.5px;display:flex;gap:16px;flex-wrap:wrap;opacity:.95}
.tpl-creative .r-sec{margin-bottom:20px}
.tpl-creative .r-sec-h{
  font-size:12px;font-weight:800;color:var(--primary-d);margin:0 0 10px;
  display:flex;align-items:center;gap:8px;
}
.tpl-creative .r-sec-h::after{content:'';flex:1;height:1px;background:linear-gradient(90deg,#cfd9ff,transparent)}
.tpl-creative .r-item-title{font-weight:700;font-size:13px}
.tpl-creative .r-item-sub{font-size:12px;color:var(--ink-2)}
.tpl-creative ul.r-body{margin:6px 0 0;padding-left:16px}
.tpl-creative ul.r-body li{font-size:12.5px;line-height:1.75;color:var(--ink-2);margin-bottom:4px}
.tpl-creative ul.r-body li::marker{color:var(--primary)}

.r-tags{display:flex;gap:6px;flex-wrap:wrap}
.r-tag{background:var(--primary-l);color:var(--primary-d);font-size:11px;font-weight:600;padding:3px 9px;border-radius:6px}
.tpl-business .r-tag{background:rgba(143,176,255,.18);color:#b9cdff}

.watermark{
  position:absolute;right:22px;bottom:16px;font-size:10.5px;color:#c8cfdb;
  letter-spacing:1px;font-weight:600;
}
[contenteditable="true"]:focus{outline:2px dashed rgba(43,92,255,.4);outline-offset:3px;border-radius:4px}

/* ---------------- 特性网格 ---------------- */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feat{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:26px 24px;
  transition:.2s;
}
.feat:hover{transform:translateY(-3px);box-shadow:var(--sh-m);border-color:#dbe2ee}
.feat .ic{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:19px;
  background:var(--grad-soft);margin-bottom:16px;
}
.feat h3{margin:0 0 8px;font-size:15.5px;font-weight:700;letter-spacing:-.2px}
.feat p{margin:0;font-size:13.5px;color:var(--muted);line-height:1.75}

/* ---------------- 定价 ---------------- */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:start}
.plan{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:30px 26px;
  position:relative;transition:.2s;
}
.plan:hover{box-shadow:var(--sh-m)}
.plan.hot{border-color:#c9d6ff;box-shadow:0 20px 46px -22px rgba(43,92,255,.5);transform:translateY(-4px)}
.plan .flag{
  position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  background:var(--grad);color:#fff;font-size:11.5px;font-weight:700;
  padding:5px 15px;border-radius:99px;box-shadow:var(--sh-glow);white-space:nowrap;
}
.plan h3{margin:0 0 6px;font-size:16px;font-weight:700}
.plan .desc{font-size:12.5px;color:var(--muted);margin:0 0 18px;min-height:36px}
.price{display:flex;align-items:baseline;gap:6px;margin-bottom:4px}
.price .cur{font-size:16px;font-weight:700;color:var(--ink-2)}
.price .num{font-size:40px;font-weight:800;letter-spacing:-1.6px;line-height:1}
.price .unit{font-size:13px;color:var(--muted)}
.price-alt{display:flex;align-items:baseline;gap:5px;margin:-2px 0 8px;font-size:12.5px;color:var(--muted)}
.price-alt b{font-size:18px;font-weight:800;letter-spacing:-.5px;color:var(--ink)}
.price-alt .cur{font-size:12px;font-weight:700;color:var(--ink-2)}
.price-sub{font-size:12px;color:var(--muted);margin-bottom:20px;min-height:18px}
.plan .tag{
  display:inline-block;font-size:11px;font-weight:700;letter-spacing:.3px;
  color:var(--primary-d);background:var(--primary-l);padding:3px 9px;border-radius:99px;margin-bottom:10px;
}
.plan.hot .tag{background:rgba(43,92,255,.12)}
.plan ul{list-style:none;margin:0 0 24px;padding:0}
.plan li{display:flex;gap:9px;font-size:13px;color:var(--ink-2);padding:6px 0;align-items:flex-start}
.plan li .tick{margin-top:3px;flex:none;width:15px;height:15px;font-size:9px}
.plan li.off{color:#a9b3c2}
.plan li.off .tick{background:#f0f2f6;color:#a9b3c2}

/* ---------------- FAQ ---------------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:18px 0}
.faq summary{
  cursor:pointer;font-weight:600;font-size:15px;list-style:none;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';font-size:20px;color:var(--muted);font-weight:400;transition:.2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq p{margin:12px 0 0;font-size:13.5px;color:var(--muted);line-height:1.85}

/* ---------------- 页脚 ---------------- */
.foot{background:#0d1526;color:#93a1b8;padding:52px 0 30px;font-size:13px;margin-top:20px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:36px;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.09)}
.foot .logo{color:#fff;margin-bottom:14px}
.foot .logo small{color:#7d8ba3}
.foot p{margin:0;line-height:1.85;max-width:320px}
.foot h4{color:#fff;font-size:13px;margin:0 0 14px;font-weight:700}
.foot ul{list-style:none;margin:0;padding:0}
.foot li{margin-bottom:9px}
.foot a:hover{color:#fff}
.foot-bottom{padding-top:22px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px;color:#6f7d94}
.foot-bottom a:hover{color:#fff}

/* ---------------- 提示条 / Toast ---------------- */
.toast-host{position:fixed;top:80px;left:50%;transform:translateX(-50%);z-index:200;display:flex;flex-direction:column;gap:10px;align-items:center}
.toast{
  background:#0d1526;color:#fff;padding:11px 20px;border-radius:11px;font-size:13px;
  box-shadow:var(--sh-l);display:flex;align-items:center;gap:9px;animation:toastIn .28s ease;
  max-width:90vw;
}
.toast.err{background:#b3282d}
.toast.ok{background:#0b7a6f}
@keyframes toastIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

.loader{
  width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;
  border-radius:99px;animation:spin .7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.loader.dark{border-color:rgba(43,92,255,.25);border-top-color:var(--primary)}

/* 骨架屏 */
.sk{background:linear-gradient(90deg,#eef1f6 25%,#e2e7f0 37%,#eef1f6 63%);background-size:400% 100%;animation:sk 1.3s infinite;border-radius:5px}
@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}

/* ---------------- 配置弹窗 ---------------- */
.modal-host{position:fixed;inset:0;background:rgba(13,21,38,.5);z-index:300;display:none;place-items:center;padding:20px;backdrop-filter:blur(3px)}
.modal-host.on{display:grid}
.modal{
  background:#fff;border-radius:var(--r-l);max-width:520px;width:100%;padding:28px;
  box-shadow:var(--sh-l);max-height:88vh;overflow-y:auto;
}
.modal h3{margin:0 0 6px;font-size:18px;font-weight:800}
.modal .sub{font-size:13px;color:var(--muted);margin:0 0 20px}
.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}
.notice{
  background:#fff8e8;border:1px solid #f5e0b0;border-radius:11px;padding:12px 14px;
  font-size:12.5px;color:#8a6415;line-height:1.7;margin-bottom:16px;
}
.notice.blue{background:#eef3ff;border-color:#d5e0ff;color:#2a4bbd}

/* ---------------- 支付页 ---------------- */
.pay-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:26px;align-items:start}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:26px}
.card h3{margin:0 0 18px;font-size:16px;font-weight:700}
.kv-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;font-size:13.5px;border-bottom:1px dashed var(--line-2)}
.kv-row:last-child{border-bottom:0}
.kv-row .k{color:var(--muted)}
.kv-row .v{font-weight:600;text-align:right}
.kv-row.total .v{font-size:21px;font-weight:800;color:var(--danger)}
.pay-methods{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}
.pm{
  display:flex;align-items:center;gap:12px;padding:14px;border:1.5px solid var(--line);
  border-radius:12px;cursor:pointer;transition:.16s;
}
.pm:hover{border-color:#cfd8e6}
.pm.on{border-color:var(--primary);background:#f7f9ff;box-shadow:0 0 0 3px rgba(43,92,255,.09)}
.pm .lg{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:16px;background:#eef2fb}
.pm b{font-size:13.5px;display:block}
.pm span{font-size:11.5px;color:var(--muted)}
.pm .rd{margin-left:auto;width:18px;height:18px;border-radius:99px;border:2px solid var(--line);display:grid;place-items:center}
.pm.on .rd{border-color:var(--primary)}
.pm.on .rd::after{content:'';width:9px;height:9px;border-radius:99px;background:var(--primary)}
.cycle-row{display:flex;gap:10px;margin-top:10px}
.cycle-row .cy{
  flex:1;border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;
  cursor:pointer;transition:.16s;
}
.cycle-row .cy:hover{border-color:#cfd8e6}
.cycle-row .cy.on{border-color:var(--primary);background:#f7f9ff;box-shadow:0 0 0 3px rgba(43,92,255,.09)}
.cycle-row .cy b{display:block;font-size:13.5px;margin-bottom:3px}
.cycle-row .cy span{font-size:11.5px;color:var(--muted)}
.qr-box{text-align:center;padding:22px;border:1px dashed var(--line);border-radius:12px;background:var(--bg-2)}
.qr-ph{width:170px;height:170px;margin:0 auto 14px;background:#fff;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;font-size:44px;color:#c2cad8}

/* ---------------- 响应式 ---------------- */
@media (max-width:1080px){
  .wb-body{grid-template-columns:1fr}
  .wb-form{border-right:0;border-bottom:1px solid var(--line);max-height:none}
  .wb-preview{max-height:none}
}
@media (max-width:940px){
  .hero-grid{grid-template-columns:1fr;gap:44px}
  .hero-art{order:-1;max-width:440px;margin:0 auto}
  h1.title{font-size:38px}
  .feat-grid,.plans{grid-template-columns:1fr}
  .pay-grid{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
}
@media (max-width:640px){
  .wrap{padding:0 16px}
  h1.title{font-size:31px;letter-spacing:-.8px}
  .sec{padding:54px 0}
  .sec-head h2{font-size:25px}
  .sheet{padding:32px 24px}
  .tpl-business{grid-template-columns:1fr}
  .tpl-creative .r-head{margin:-32px -24px 22px;padding:32px 24px 24px}
  .row-2{grid-template-columns:1fr}
  .float-chip{display:none}
  .member-card{flex-direction:column;align-items:flex-start}
  .mc-right{text-align:left;width:100%}
  .oi-foot{align-items:flex-start}
}

/* ============================================================
 * 「我的」页面：会员状态 / 订单记录 / 签约管理
 * ============================================================ */
.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.member-card{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:var(--grad-soft);border-color:#dfe6ff}
.mc-left{display:flex;align-items:center;gap:16px}
.mc-avatar{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:20px;font-weight:800;color:#fff;background:var(--grad);box-shadow:var(--sh-glow)}
.mc-name{font-size:18px;font-weight:800;letter-spacing:-.3px}
.mc-sub{font-size:12.5px;color:var(--muted);margin-top:2px}
.mc-right{text-align:right}
.mc-expire{font-size:12.5px;color:var(--ink-2);margin-bottom:10px;line-height:1.85}

.tel-link{font-family:var(--mono);font-weight:700;color:var(--primary-d);letter-spacing:.5px}
.tel-link:hover{text-decoration:underline}

.order-list{margin-top:2px}
.list-loading{padding:26px 0;text-align:center;font-size:13px;color:var(--muted)}
.order-item{border:1px solid var(--line);border-radius:var(--r-m);padding:14px 16px;margin-bottom:10px;background:var(--bg-2);transition:.18s}
.order-item:hover{border-color:#cfd8e6;background:#fff}
.oi-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.oi-name{font-size:13.5px;font-weight:700}
.oi-badge{font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:99px;white-space:nowrap}
.oi-badge.ok{background:#e7f6f3;color:#0b7a6f}
.oi-badge.warn{background:#fdf3e3;color:#b07817}
.oi-badge.off{background:#f1f4f8;color:#7b8798}
.oi-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:7px}
.oi-no{font-family:var(--mono);color:var(--ink-2);cursor:pointer;border-bottom:1px dashed var(--line)}
.oi-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:11px;padding-top:11px;border-top:1px dashed var(--line-2);flex-wrap:wrap}
.oi-amount{font-size:16px;font-weight:800;color:var(--ink)}
.oi-amount.ok{color:#0b7a6f}
.oi-actions{display:flex;gap:14px}
.oi-link{font-size:12.5px;color:var(--primary-d);font-weight:600}
.oi-link:hover{text-decoration:underline}
.list-foot{font-size:12px;color:var(--muted);text-align:center;padding-top:8px}

.empty-box{text-align:center;padding:30px 10px 22px}
.eb-ico{font-size:30px;margin-bottom:10px}
.eb-t{font-size:14.5px;font-weight:700;margin-bottom:6px}
.eb-s{font-size:12.5px;color:var(--muted);line-height:1.8;max-width:330px;margin:0 auto 16px}
.eb-tel{font-size:12px;color:var(--muted);margin-top:16px}
.eb-tel a{color:var(--primary-d);font-weight:700;font-family:var(--mono)}

.dot-ok,.dot-off{display:inline-block;width:7px;height:7px;border-radius:99px;margin-right:6px;vertical-align:middle}
.dot-ok{background:#18b3a0}
.dot-off{background:#b9c3d1}

/* ---------------- 协议 / 法律文本页 ---------------- */
.doc-head{margin-bottom:20px}
.doc-head h1{font-size:26px;font-weight:800;letter-spacing:-.7px;margin:0 0 8px}
.doc-meta{font-size:12.5px;color:var(--muted);margin:0}
.doc{line-height:1.85;font-size:14.5px;color:var(--ink-2);padding:30px 34px}
.doc h2{font-size:15.5px;font-weight:800;color:var(--ink);margin:26px 0 8px;letter-spacing:-.2px}
.doc h2:first-child{margin-top:0}
.doc h3{font-size:14px;font-weight:700;color:var(--ink);margin:18px 0 6px}
.doc p{margin:0 0 10px}
.doc ul,.doc ol{margin:0 0 12px;padding-left:21px}
.doc li{margin-bottom:5px}
.doc b,.doc strong{color:var(--ink);font-weight:700}
.doc a{color:var(--primary-d);font-weight:600}
.doc-note{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r-s);padding:12px 14px;font-size:13px;color:var(--muted);margin:0 0 16px}
.doc-foot{margin-top:22px;font-size:12.5px;color:var(--muted);line-height:1.95}
.doc-foot b{color:var(--ink-2)}
.doc-toc{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:13px;margin:0 0 20px}
.doc-toc a{color:var(--primary-d);font-weight:600}

@media (max-width:640px){
  .doc{padding:22px 18px}
  .doc-head h1{font-size:22px}
}

/* ---------------- 打印（导出 PDF） ---------------- */
@media print{
  @page{size:A4;margin:12mm}
  body{background:#fff}
  .nav,.foot,.wb-form,.wb-bar,.pv-bar,.hero,.sec-head,.no-print,.toast-host,.modal-host{display:none !important}
  .workbench{box-shadow:none;border:0;border-radius:0}
  .wb-body{display:block;min-height:auto}
  .wb-preview{background:#fff;padding:0;background-image:none;max-height:none;overflow:visible}
  .sheet{box-shadow:none;max-width:none;width:100%;min-height:auto;border-radius:0;padding:0}
  .tpl-creative .r-head{margin:-0px 0 26px;padding:30px 0 26px;border-radius:0}
  .tpl-business{padding:0}
  .watermark{display:none}
  a{text-decoration:none}
}
