/* 落地页样式：1:1 复刻 vip3 视觉规范（#07c160 主色 / #f4f6f5 底色 / 480px 移动端容器） */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body, html { width: 100%; background: #f4f6f5; color: #222;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.page { max-width: 480px; margin: 0 auto; padding: 12px 14px 150px; }

/* 顶部须知条 */
.notice-bar { display: flex; align-items: center; gap: 8px; background: #e6f7ee; border-radius: 10px;
    padding: 10px 12px; margin-bottom: 16px; }
.notice-box { width: 16px; height: 16px; flex-shrink: 0; position: relative;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.6 8.6l3.4 3.4 7.4-8.2' fill='none' stroke='%2307c160' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.notice-bar span { font-size: 13px; color: #1f2d26; }
.notice-bar b { color: #07c160; }

/* 套餐区 */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 2px 2px 12px; }
.sec-head h2 { font-size: 18px; font-weight: 700; color: #1c1c1c; }
.sec-head em { font-style: normal; font-size: 12px; color: #9aa0a3; }
.plans { display: flex; flex-direction: column; gap: 14px; }
.plan { position: relative; background: #fff; border: 1px solid #ececec; border-radius: 14px; padding: 15px 15px 13px;
    display: flex; gap: 11px; cursor: pointer; transition: border-color .15s; }
.plan.selected { border: 1.6px solid #07c160; }
.radio { width: 20px; height: 20px; border: 1.8px solid #cfd6d3; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
    position: relative; background: #fff; }
.plan.selected .radio { border-color: #07c160; }
.plan.selected .radio:after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 11px; height: 11px; background: #07c160; border-radius: 50%; }
.p-info { flex: 1; min-width: 0; }
.p-title-row { display: flex; align-items: center; gap: 8px; }
.p-title { font-size: 18px; font-weight: 700; color: #1c1c1c; }
.p-tag { font-size: 11px; color: #8b9194; background: #f4f5f5; border-radius: 4px; padding: 2px 6px; }
.p-tag.hot { color: #fa5151; background: #fdecec; }
.p-sub { font-size: 13px; color: #9aa0a3; margin-top: 6px; }
.p-price { font-size: 15px; font-weight: 700; color: #07c160; white-space: nowrap; margin-top: 2px; }
.p-price small { font-size: 12px; font-weight: 600; }
.p-feats { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.p-feats span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #8b9194; }
.p-feats i { width: 13px; height: 13px; font-style: normal; flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.6 8.6l3.4 3.4 7.4-8.2' fill='none' stroke='%2307c160' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.rec-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #07c160; color: #fff;
    font-size: 12px; font-weight: 600; padding: 3px 13px; border-radius: 20px; white-space: nowrap; z-index: 2; }

/* 退款条 */
.refund-bar { margin-top: 16px; background: #fdeeee; border-radius: 10px; padding: 12px; text-align: center;
    font-size: 14.5px; font-weight: 700; color: #e64340; }
/* 灰色备注 */
.notes { margin: 14px 4px 0; }
.notes p { font-size: 12px; color: #9aa0a3; line-height: 1.9; }
.notes a { color: #07c160; text-decoration: underline; }

/* 底部固定栏 */
.foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: #fff;
    border-top: 1px solid #ececec; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.foot-inner { max-width: 480px; margin: 0 auto; }
.agree-row { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; padding-left: 2px; }
.cbox { width: 17px; height: 17px; border: 1.6px solid #c4cac7; border-radius: 50%; flex-shrink: 0; position: relative; cursor: default; }
.cbox.on { border-color: #07c160; }
.cbox.on:after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 9px; height: 9px; background: #07c160; border-radius: 50%; }
.agree-row p { font-size: 12.5px; color: #666; }
.agree-row a { color: #07c160; text-decoration: underline; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn { height: 48px; border: 0; border-radius: 12px; font-size: 17px; font-weight: 700; color: #fff; cursor: pointer; width: 100%; }
.btn-main { background: #07c160; }
.btn-main:disabled { background: #9eddbc; }
.btn-side { background: #ff8f1f; }
.ver { text-align: center; font-size: 12px; color: #b3b8ba; margin-top: 9px; }

/* 查单中浮层 */
.check-overlay { position: fixed; inset: 0; z-index: 900; display: none; align-items: center; justify-content: center; background: rgba(255,255,255,.86); }
.check-overlay.show { display: flex; }
.check-box { background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.12); padding: 26px 30px; text-align: center; font-size: 15px; color: #333; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #07c160; border-top-color: transparent;
    border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 协议 / 须知 / 客服 弹层 */
.sheet { position: fixed; inset: 0; z-index: 1000; display: none; background: rgba(0,0,0,.45); }
.sheet.show { display: block; }
.sheet-panel { position: absolute; left: 50%; top: 5%; transform: translateX(-50%); width: min(92vw, 440px);
    height: 88%; background: #fff; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; }
.sheet-head { position: relative; padding: 16px 46px 12px; text-align: center; border-bottom: 1px solid #f0f0f0; }
.sheet-head h3 { font-size: 17px; font-weight: 700; color: #1c1c1c; }
.sheet-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: 0; border-radius: 50%;
    background: #f4f5f5; color: #9aa0a3; font-size: 18px; cursor: pointer; }
.sheet-body { flex: 1; overflow-y: auto; padding: 14px 18px 20px; }
.sheet-body h4 { font-size: 15px; margin: 14px 0 6px; color: #1c1c1c; }
.sheet-body p { font-size: 13.5px; color: #444; line-height: 1.8; margin-bottom: 4px; }
.sheet-foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #f0f0f0; }
.sheet-ok { width: 100%; height: 46px; border: 0; border-radius: 12px; background: #07c160; color: #fff;
    font-size: 16px; font-weight: 700; cursor: pointer; }
/* 客服弹层 */
.coop-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(84vw, 340px);
    background: #fff; border-radius: 14px; padding: 22px 18px 18px; text-align: center; }
.coop-panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.coop-panel p { font-size: 13px; color: #9aa0a3; margin-bottom: 14px; }
.coop-qr { display: block; width: 100%; max-height: 56vh; object-fit: contain; border-radius: 8px; margin: 0 auto; }
.coop-close { margin-top: 14px; width: 100%; height: 42px; border: 0; border-radius: 10px; background: #f4f5f5; color: #666; font-size: 15px; cursor: pointer; }

/* ===== 开机动画：正在开启 ===== */
.boot { position: fixed; inset: 0; z-index: 2000; background: #f4f6f5;
    display: flex; align-items: center; justify-content: center; padding: 24px;
    transition: opacity .15s ease, visibility .15s ease; }
.boot.hide { opacity: 0; visibility: hidden; }
.boot-card { width: 100%; max-width: 340px; text-align: center; }
.boot-ring { position: relative; width: 104px; height: 104px; margin: 0 auto 26px; }
.boot-ring:before, .boot-ring:after { content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid rgba(7,193,96,.42); animation: bootPulse 2s ease-out infinite; }
.boot-ring:after { animation-delay: .95s; }
.boot-check { position: absolute; inset: 8px; border-radius: 50%; background: #07c160;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(7,193,96,.34); animation: bootBreath 1.7s ease-in-out infinite alternate; }
.boot-check svg { width: 46px; height: 46px; display: block; }
@keyframes bootPulse { 0% { transform: scale(.86); opacity: .85; } 70% { transform: scale(1.3); opacity: 0; } 100% { opacity: 0; } }
@keyframes bootBreath { from { transform: scale(1); } to { transform: scale(1.045); } }
.boot-title { font-size: 18px; font-weight: 700; color: #1c1c1c; letter-spacing: .3px; }
.boot-desc { font-size: 13px; color: #9aa0a3; margin-top: 8px; }
.boot-track { height: 6px; border-radius: 99px; background: #e6eae8; overflow: hidden; margin: 22px 0 12px; }
.boot-bar { height: 100%; width: 0; border-radius: 99px;
    background: linear-gradient(90deg, #07c160, #3edb90); box-shadow: 0 0 10px rgba(7,193,96,.45); }
.boot-meta { display: flex; align-items: center; justify-content: space-between;
    font-size: 12.5px; color: #8b9194; gap: 10px; }
.boot-meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boot-pct { font-weight: 700; color: #07c160; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.boot-steps { display: flex; gap: 7px; justify-content: center; margin-top: 26px; }
.boot-steps i { width: 5px; height: 5px; border-radius: 50%; background: #dfe4e1;
    transition: background .25s, transform .25s; }
.boot-steps i.on { background: #07c160; transform: scale(1.4); }
