/* ============================================================
   购买页样式 = 方案C-明快工作台.html 原样搬运
   （页面区块样式与静态官网完全一致，改样式请两边同步改）
   末尾「弹窗」一段是插件结算框（store.js 依赖），不属于方案C。
   ============================================================ */
:root{
  --ink:#1a2130;--body:#5a6474;--mute:#98a1b0;
  --bg:#f4f6fa;--card:#ffffff;
  --accent:#3b6cf6;--accent-soft:#e8efff;
  --green:#18a058;--line:#e5e9f0;--line-strong:#dfe5ee;--max:1120px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max);margin:0 auto;padding:0 30px}

/* 导航 */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.85);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;height:62px}
.brand{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:700;letter-spacing:-.01em}
.brand img{width:26px;height:26px;border-radius:7px}
.nav-links{display:flex;gap:26px;margin-left:44px;font-size:13.5px;color:var(--body)}
.nav-links a:hover{color:var(--ink)}
.nav-links a.nav-my{color:var(--accent);font-weight:600}
.nav-actions{margin-left:auto;display:flex;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 20px;border-radius:11px;font-size:13.5px;font-weight:600;cursor:pointer;border:0;transition:all .18s}
.btn-accent{background:var(--accent);color:#fff}
.btn-accent:hover{background:#2f5ce0;transform:translateY(-1px)}
.btn-ghost{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn-sm{height:36px;padding:0 16px;font-size:12.5px}

/* 状态面板高亮框 */
.win .hl{position:absolute;border:2.5px solid var(--accent);border-radius:16px;box-shadow:0 0 0 6px rgba(59,108,246,.14),0 18px 44px -14px rgba(59,108,246,.45);pointer-events:none}

/* Hero：左文右图，图上浮小卡片 */
.hero{padding:84px 0 72px}
.hero-grid{display:grid;grid-template-columns:1fr 1.06fr;gap:56px;align-items:center}
.tag-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 14px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:12.5px;font-weight:600}
.hero h1{margin-top:18px;font-size:44px;font-weight:700;letter-spacing:-.02em;line-height:1.14}
.hero h1 em{font-style:normal;color:var(--accent)}
.lede{margin-top:20px;font-size:15.5px;color:var(--body);max-width:30em}
.hero-actions{margin-top:30px;display:flex;gap:12px}
.hero-note{margin-top:14px;font-size:12.5px;color:var(--mute)}
.hero-shot{position:relative}
.win{background:var(--card);border-radius:16px;overflow:hidden;box-shadow:0 30px 70px -26px rgba(26,33,48,.35);border:1px solid var(--line)}
.float-card{
  position:absolute;bottom:-18px;left:-26px;
  background:#fff;border-radius:14px;padding:12px 16px;
  box-shadow:0 16px 40px -12px rgba(26,33,48,.3);border:1px solid var(--line);
  display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:600;
}
.float-card .dot{width:8px;height:8px;border-radius:999px;background:var(--green);box-shadow:0 0 0 4px rgba(24,160,88,.15)}
.float-card small{display:block;font-weight:400;color:var(--mute);font-size:11px}

/* 适用人群 */
.who{padding:30px 0 70px}
.who-in{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.who-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px}
.who-card b{font-size:14px;display:block}
.who-card span{margin-top:5px;display:block;font-size:12.5px;color:var(--body)}

/* 功能：左图右文交替 */
.sec{padding:80px 0}
.kicker{font-size:12.5px;color:var(--accent);font-weight:700;letter-spacing:.05em}
.sec-head{max-width:520px}
.sec-head h2{margin-top:10px;font-size:32px;font-weight:700;letter-spacing:-.015em}
.sec-head .sub{margin-top:12px;font-size:14.5px;color:var(--body)}
.feat{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:56px 0;border-bottom:1px solid var(--line)}
.feat:last-of-type{border-bottom:0}
.feat .txt h3{margin-top:12px;font-size:23px;font-weight:700;letter-spacing:-.01em}
.feat .txt p{margin-top:12px;font-size:14px;color:var(--body);line-height:1.8}
.feat .txt ul{margin-top:16px;display:grid;gap:8px;list-style:none}
.feat .txt li{font-size:13.5px;color:var(--ink);padding-left:24px;position:relative}
.feat .txt li::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:700}
.feat.flip .shot{order:2}

/* 待截图占位框 */
.shot-hold{
  min-height:320px;background:#fff;border:2px dashed #c9d4e8;border-radius:16px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  text-align:center;padding:28px;color:var(--mute);
}
.shot-hold .cam{font-size:26px}
.shot-hold b{color:var(--ink);font-size:15px}
.shot-hold span{font-size:12.5px;max-width:24em;line-height:1.8}

/* 信任带 */
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:var(--bg);border:1px solid var(--line);border-radius:16px;margin-top:56px;overflow:hidden}
.trust div{padding:22px 20px;border-left:1px solid var(--line);text-align:center}
.trust div:first-child{border-left:0}
.trust b{display:block;font-size:20px;font-weight:700;letter-spacing:-.01em}
.trust b em{font-style:normal;color:var(--accent)}
.trust span{display:block;margin-top:3px;font-size:12px;color:var(--mute)}

/* 下载带（价格区上方）：主色浅蓝底，跟上下白色区隔开 */
.dl{background:linear-gradient(180deg,#e9f0ff 0%,#f3f7ff 100%);border-top:1px solid #dce6fb;border-bottom:1px solid #dce6fb}
.dl-in{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:52px 30px}
.dl-in h3{font-size:24px;font-weight:700;letter-spacing:-.01em}
.dl-in p{margin-top:8px;font-size:13.5px;color:var(--body);max-width:32em}
.btn-dark{background:var(--ink);color:#fff;padding:0 30px;height:48px;font-size:14.5px}
.btn-dark:hover{background:#000;transform:translateY(-1px)}
.dl-meta{margin-top:10px;font-size:12px;color:var(--mute)}

/* 更新日志（沿用第一版样式） */
.log{border-top:1px solid var(--line);margin-top:44px}
.log-item{display:grid;grid-template-columns:120px 1fr;gap:24px;padding:22px 0;border-bottom:1px solid var(--line)}
.log-item .v{font-size:13px;font-weight:600}
.log-item .v i{display:block;font-style:normal;font-size:11.5px;color:var(--mute);font-weight:400;margin-top:3px}
.log-item p{font-size:13.5px;color:var(--body);line-height:1.75}
.log-item b{color:var(--ink);font-weight:500}

/* 价格（参考微信管家门店页：深色左右分栏）；上边线由下载带的 border-bottom 提供，不再叠加 */
.price-wrap{background:#fff;padding:80px 0}
.price-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.price-kicker{font-size:12px;color:var(--accent);font-weight:600;letter-spacing:1.2px}
.price-wrap h2{margin-top:9px;font-size:29px;line-height:1.3;letter-spacing:-.02em;font-weight:700;color:var(--ink)}
.price-desc{margin-top:12px;font-size:14px;line-height:1.75;color:var(--body);max-width:380px}
.price-amount{display:flex;align-items:baseline;gap:4px;margin-top:22px;font-variant-numeric:tabular-nums}
.price-amount i{font-style:normal;font-size:20px;font-weight:500;align-self:flex-start;margin-top:8px;color:var(--body)}
.price-amount b{font-size:54px;font-weight:700;letter-spacing:-.04em;line-height:1;color:var(--ink)}
.price-amount small{font-size:13px;color:var(--mute);margin-left:6px}
.price-box{border:1px solid var(--line);border-radius:13px;padding:26px 26px 24px;background:var(--bg);box-shadow:0 1px 2px rgba(26,33,48,.04)}
.price-box ul{list-style:none;display:flex;flex-direction:column;gap:12px}
.price-box li{display:flex;gap:10px;font-size:14px;color:var(--ink);align-items:flex-start;line-height:1.55}
.price-box li svg{flex:none;margin-top:3px}
.buy-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:22px}
.buy-btn{display:flex;align-items:center;justify-content:center;height:48px;border-radius:9px;font-size:15px;font-weight:600;transition:.15s;cursor:pointer;border:0;font-family:inherit;padding:0 10px}
.buy-btn.hot{background:var(--accent);color:#fff}
.buy-btn.hot:hover{background:#2f5ce0}
.buy-btn.alt{border:1px solid var(--line-strong);color:var(--ink);background:#fff}
.buy-btn.alt:hover{border-color:var(--accent);color:var(--accent)}
.buy-btn:disabled{opacity:.4;cursor:not-allowed}
.price-note{margin-top:12px;font-size:12px;color:var(--mute);text-align:center}

/* FAQ（参考微信管家门店页：原生 details 两栏细线） */
.faq{padding:80px 0}
.faq h2{text-align:center;font-size:30px;font-weight:700;letter-spacing:-.015em}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 48px;align-items:start;margin-top:20px}
.qa details{border-bottom:1px solid var(--line)}
.qa details:first-child{border-top:1px solid var(--line)}
.qa summary{list-style:none;cursor:pointer;padding:15px 0;font-size:14px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:14px}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"+";color:var(--mute);font-size:16px;font-weight:400;line-height:1}
.qa details[open] summary::after{content:"–"}
.qa p{font-size:13px;line-height:1.8;color:var(--body);padding:0 24px 15px 0}

/* 页脚（参考 clip.liangqi.cc 首页） */
footer{background:#fbfcfe;border-top:1px solid var(--line);padding:50px 0 26px;font-size:12.5px;color:var(--mute)}
.foot{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:32px}
.foot .col h4{font-size:13px;margin-bottom:13px;font-weight:700;letter-spacing:.02em;color:var(--ink)}
.foot .col a{display:block;color:var(--body);font-size:13.5px;margin-bottom:9px;transition:color .2s}
.foot .col a:hover{color:var(--accent)}
.foot .col a.logo{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:700;letter-spacing:-.01em;color:var(--ink);margin-bottom:7px}
.foot .col a.logo img{width:26px;height:26px;border-radius:7px}
.foot .desc{color:var(--body);font-size:13.5px;max-width:300px;margin-top:12px;line-height:1.7}
.socials{display:flex;gap:10px;margin-top:18px}
.socials a,.socials .social-wx{position:relative;width:38px;height:38px;border-radius:11px;cursor:pointer;padding:0;line-height:0;transition:transform .22s cubic-bezier(.16,1,.3,1),box-shadow .22s}
.socials a.s-brand svg,.socials .social-wx.s-brand svg{width:38px;height:38px;display:block}
.socials a:hover,.socials .social-wx:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(12,26,58,.18)}
.wx-pop{position:absolute;left:-12px;bottom:calc(100% + 12px);width:172px;background:#fff;border:1px solid var(--line-strong);border-radius:16px;box-shadow:0 28px 70px -18px rgba(12,58,170,.3),0 8px 24px rgba(12,58,170,.1);padding:12px 12px 11px;display:flex;flex-direction:column;align-items:center;gap:9px;opacity:0;visibility:hidden;pointer-events:none;z-index:80;transform:translateY(6px);transition:.22s}
.social-wx:hover .wx-pop,.social-wx:focus-visible .wx-pop{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.wx-pop img{width:148px;height:148px;flex:0 0 auto;object-fit:contain;border-radius:10px;display:block;background:#fff}
.wx-pop b{font-size:12.5px;color:var(--body);font-weight:650;white-space:nowrap}
.foot-bot{border-top:1px solid var(--line);margin-top:30px;padding-top:18px;display:flex;justify-content:space-between;align-items:center;color:var(--mute);font-size:12.5px;flex-wrap:wrap;gap:12px}
.foot-legal{display:flex;gap:16px;flex-wrap:wrap}
.foot-legal a:hover{color:var(--accent)}

/* 锚点定位：吸顶导航 62px，留 70px 余量 */
.who,.sec,.dl,.price-wrap,.faq{scroll-margin-top:70px}

@media(max-width:880px){
  .foot{grid-template-columns:1fr 1fr;gap:22px}
  .foot .col:first-child{grid-column:1/-1}
}
@media(max-width:880px){
  .nav-links{display:none}
  .hero-grid,.feat,.who-in{grid-template-columns:1fr}
  .feat.flip .shot{order:0}
  .hero{padding:56px 0 48px}
  .hero h1{font-size:32px}
  .price-in,.faq-grid{grid-template-columns:1fr}
  .price-wrap h2{font-size:23px}
  .price-amount b{font-size:42px;letter-spacing:-.02em}
  .trust{grid-template-columns:1fr 1fr}
  .trust div:nth-child(3){border-left:0}
  .dl-in{flex-direction:column;align-items:flex-start}
  .float-card{left:10px}
}

/* ============================================================
   弹窗（结算框）：插件专属，store.js 依赖这些类名，别删
   ============================================================ */

body.ac-lock { overflow: hidden; }

.ac-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ac-modal[hidden] { display: none; }

.ac-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(17, 16, 27, .55);
    backdrop-filter: blur(3px);
}

.ac-modal__panel {
    position: relative;
    /* 720 是给「左右分栏」用的：左 280 放订单和二维码，右边放资料和支付方式 */
    width: 720px;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 26px 28px 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(17, 16, 27, .3);
}

.ac-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9a97a4;
    font-size: 21px;
    line-height: 28px;
    cursor: pointer;
}

.ac-modal__head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 18px;
    padding-right: 26px;
}

.ac-modal__label {
    font-size: 12.5px;
    color: #8b8896;
}

.ac-modal__label b {
    color: #1a2130;
    font-size: 14.5px;
}

.ac-step-pane[hidden] { display: none; }

/* ---------- 左右分栏 ---------- */

.ac-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: stretch;
}

/* 右栏（视觉上）：订单 + 二维码。用 order 排到表单右侧；
   DOM 仍在表单之前，手机端单列时订单/二维码自然落到底部 */
.ac-co__side {
    order: 2;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 16px;
    border-radius: 14px;
    background: #f7f6fe;
}

/* 左栏（视觉上）：填资料 + 支付方式 */
.ac-co__main {
    order: 1;
    padding-top: 2px;
}

.ac-co__tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(59, 108, 246, .12);
    color: #2f5ce0;
    font-size: 11.5px;
    font-weight: 600;
}

.ac-co__price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-top: 9px;
    color: #3b6cf6;
}

.ac-co__price i {
    font-style: normal;
    font-size: 15px;
    font-weight: 600;
}

.ac-co__price b {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.8px;
    line-height: 1.1;
}

.ac-co__price small {
    margin-left: 3px;
    font-size: 12px;
    color: #8b8896;
}

/* 这一单给什么：✓ + 一行，四条刚好填满左栏 */
.ac-co__list {
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(59, 108, 246, .14);
    list-style: none;
}

.ac-co__list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 7px;
    font-size: 12px;
    line-height: 1.55;
    color: #55525f;
}

.ac-co__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #3b6cf6;
    font-size: 11px;
    font-weight: 700;
}

/* 二维码：出码时顶掉上面那条权益列表，高度不变，弹窗不会跳一下 */
.ac-co__qr {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(59, 108, 246, .14);
    text-align: center;
}

.ac-co__qr[hidden] { display: none; }

.ac-co__qrimg {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    overflow: hidden;
}

.ac-co__qrimg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ac-co__qrload {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: #fff;
    font-size: 11.5px;
    color: #8b8896;
}

.ac-co__qrload[hidden] { display: none; }

.ac-co__qrtip {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #1a2130;
}

.ac-co__qrtime {
    margin: 4px 0 0;
    font-size: 11.5px;
    color: #8b8896;
}

.ac-co__qrtime b {
    color: #3b6cf6;
    font-variant-numeric: tabular-nums;
}

/* 应付金额压在左栏底部 */
.ac-co__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    font-size: 12.5px;
    color: #6c6a78;
}

.ac-co__total b {
    font-size: 18px;
    color: #3b6cf6;
    letter-spacing: -.2px;
}

.ac-co__title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1a2130;
}

.ac-co__main .ac-co__title:nth-of-type(2) { margin-top: 20px; }

.ac-co__note {
    margin: 12px 0 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: #8b8896;
}

/* 字段一列排下来 */
.ac-co__fields {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ac-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ac-field span {
    font-size: 12.5px;
    color: #55525f;
}

/* 字段提示：邮箱 / 手机是「以后找回授权的凭证」这句必须写得见 */
.ac-field__hint {
    margin-top: -1px;
    font-size: 11.5px;
    line-height: 1.5;
    color: #8b8896;
}

.ac-field em {
    font-style: normal;
    color: #3b6cf6;
}

.ac-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fafafc;
    outline: none;
    transition: border-color .15s ease, background .15s ease;
}

.ac-field input:focus {
    border-color: rgba(59, 108, 246, .6);
    background: #fff;
}

.ac-tip {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.65;
    color: #8b8896;
}

.ac-pane-title {
    margin: 0 0 14px;
    font-size: 14.5px;
    font-weight: 600;
}

/* 支付方式左右并排 */
.ac-methods {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.ac-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #2a2933;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.ac-method:hover:not(:disabled) {
    border-color: rgba(59, 108, 246, .5);
    background: rgba(59, 108, 246, .04);
}

/* 当前这一笔订单用的就是它（二维码已经出来了） */
.ac-method.is-active {
    border-color: rgba(59, 108, 246, .6);
    background: rgba(59, 108, 246, .06);
    color: #274ab8;
}

.ac-method:disabled { opacity: .5; cursor: default; }

.ac-done { text-align: center; }

.ac-done__tick {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(29, 122, 72, .1);
    color: #1d7a48;
    font-size: 24px;
    line-height: 46px;
}

.ac-key {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 4px;
    padding: 12px 14px;
    border: 1px dashed rgba(59, 108, 246, .45);
    border-radius: 11px;
    background: rgba(59, 108, 246, .05);
}

.ac-key code {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .8px;
    color: #274ab8;
    word-break: break-all;
}

.ac-copy {
    flex: none;
    padding: 6px 12px;
    border: 0;
    border-radius: 8px;
    background: #3b6cf6;
    color: #fff;
    font-size: 12.5px;
    cursor: pointer;
}

.ac-again { margin-top: 18px; }

.ac-status {
    margin: 14px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: #8b8896;
    text-align: center;
}

.ac-status[hidden] { display: none; }
