/* 特好装 · Codex 一键安装 — 深色科技风（与 THZ 主站 v35 / price v10 统一） */
:root {
    --bg: #070B12;
    --card: #101722;
    --card-2: #0B1220;
    --border: #1E293B;
    --border-hi: #334155;
    --green: #22C55E;
    --green-dim: rgba(34,197,94,.12);
    --blue: #38BDF8;
    --text: #F8FAFC;
    --muted: #CBD5E1;
    --gray: #64748B;
    --gray-soft: #94A3B8;
    --error: #F87171;
    --error-dim: rgba(248,113,113,.07);
    --amber: #D4AF37;
    --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
::selection { background: var(--green); color: #000; }
body {
    background:
        radial-gradient(circle at 15% 0%, rgba(34,197,94,.10), transparent 30%),
        radial-gradient(circle at 85% 8%, rgba(56,189,248,.08), transparent 30%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}
#app-container { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.view { display: none; animation: fadeIn 0.4s ease; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
h1 { font-size: 2.5rem; letter-spacing: -0.02em; margin-bottom: 1.5rem; line-height: 1.18; color: var(--text); text-wrap: balance; }
h2 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--text); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text); }
.brand { font-size: 0.8rem; letter-spacing: 2px; color: var(--green); margin-bottom: 1rem; font-weight: 600; }
.desc, .subtitle { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; }
.small { font-size: 0.85rem; color: var(--gray); }
.support-line { max-width: 620px; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }

/* 顶部步骤条 + 进度 */
#stepper { display: none; justify-content: center; gap: 2rem; padding: 20px; border-bottom: 1px solid var(--border); background: rgba(7,11,18,.85); position: sticky; top: 2px; z-index: 8; backdrop-filter: blur(12px); }
.step { color: var(--gray); font-size: 0.9rem; opacity: 0.6; transition: color .24s, opacity .24s; }
.step.active { color: var(--text); font-weight: 600; opacity: 1; border-bottom: 2px solid var(--green); }
.step.completed { color: var(--green); opacity: .9; }
.step.completed::after { content: ' ·'; color: var(--green); }
.progress-bar { height: 2px; background: var(--border); width: 100%; position: fixed; top: 0; left: 0; z-index: 10; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); width: 0%; transition: width 0.3s ease-out; }
.mobile-stepper { display: none; }

/* 卡片 */
.card { background: var(--card); border: 1px solid var(--border); padding: 24px; border-radius: var(--radius); margin-bottom: 16px; color: var(--muted); }
.card h3 { color: var(--text); }
.card.success { border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.05); }
.card.error { border-color: rgba(248,113,113,.45); background: var(--error-dim); }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1rem; }
.card.selectable { cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.card.selectable:hover { border-color: var(--green); background: rgba(34,197,94,.04); transform: translateY(-2px); }
.card.selectable.active { border-color: var(--green); border-width: 2px; box-shadow: 0 8px 24px rgba(34,197,94,.12); }
.card.disabled { opacity: 0.45; cursor: not-allowed; background: var(--card-2); }

/* 按钮 */
.actions { display: flex; gap: 1rem; align-items: center; }
.btn-primary { background: var(--green); color: #000; border: none; padding: 12px 24px; border-radius: 12px; cursor: pointer; font-size: 1rem; font-weight: 600; transition: filter 0.2s, transform 0.2s; min-height: 48px; }
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { background: var(--gray); color: #0b1220; cursor: not-allowed; filter: none; transform: none; }
.btn-primary.large { padding: 16px 32px; width: 100%; font-size: 1.1rem; }
.btn-secondary { background: transparent; border: 1px solid var(--border-hi); color: var(--text); padding: 12px 24px; border-radius: 12px; cursor: pointer; font-size: 1rem; transition: all 0.2s; min-height: 48px; }
.btn-secondary:hover { background: var(--border); border-color: var(--border-hi); }
.btn-text { background: none; border: none; color: var(--green); cursor: pointer; text-decoration: underline; font-size: 0.9rem; min-height: 40px; }
.btn-outline { display: block; width: 100%; text-align: left; background: transparent; border: 1px solid var(--border); color: var(--text); padding: 16px; margin-bottom: 8px; border-radius: 12px; cursor: pointer; transition: border-color 0.2s; min-height: 52px; }
.btn-outline:hover { border-color: var(--green); }
button:focus-visible, input:focus-visible, [role="button"]:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* 输入 */
.input-group { display: flex; gap: 12px; }
input[type="text"] { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; outline: none; font-size: 1rem; background: var(--card-2); color: var(--text); }
input[type="text"]::placeholder { color: var(--gray); }
input[type="text"]:focus { border-color: var(--green); }
.error-msg { color: var(--error); font-size: 0.9rem; margin-top: 8px; }
.hidden { display: none !important; }

/* 徽标 / 提示 */
.badge { padding: 4px 10px; font-size: 0.75rem; border-radius: 999px; display: inline-block; margin-top: 12px; font-weight: 600; }
.badge.green { background: var(--green-dim); color: var(--green); }
.badge.gray { background: rgba(100,116,139,.18); color: var(--gray-soft); }
.notice { padding: 16px; border-radius: 12px; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.notice.amber { background: rgba(212,175,55,.08); border-left: 3px solid var(--amber); }
.notice.error { background: var(--error-dim); border-left: 3px solid var(--error); }
.summary-card { background: var(--card); border: 1px solid var(--border); padding: 24px; border-radius: var(--radius); color: var(--muted); }
.summary-card strong { color: var(--text); }
ol { margin-left: 24px; line-height: 1.8; font-size: 1rem; color: var(--muted); }
.spinner { width: 30px; height: 30px; border: 3px solid var(--border); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 抽屉 / 弹窗 */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.62); z-index: 99; backdrop-filter: blur(2px); }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(450px, 100vw); background: var(--card); border-left: 1px solid var(--border); z-index: 100; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; color: var(--muted); }
.drawer.open { transform: translateX(0); }
.drawer-header { padding: 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.drawer-header h3 { margin: 0; }
.btn-close { background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--gray); line-height: 1; transition: color .2s; }
.btn-close:hover { color: var(--text); }
.drawer-body { padding: 24px; overflow-y: auto; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 16px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--text); font-weight: 600; } td { color: var(--muted); }

/* 选择器 / 对比抽屉 */
#drawer .drawer-header { flex-shrink: 0; padding: 20px 24px; }
#drawer .comparison-body { min-height: 0; overflow-x: hidden; overflow-wrap: anywhere; }
.comparison-core { color: var(--muted); margin-bottom: 18px; }
.comparison-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comparison-choice { appearance: none; font: inherit; color: var(--text); text-align: left; min-width: 0; padding: 16px; background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.comparison-choice strong, .comparison-choice span { display: block; }
.comparison-choice strong { font-size: 1.05rem; color: var(--text); }
.comparison-choice .choice-model { color: var(--green); margin: 4px 0 10px; font-size: .9rem; }
.comparison-choice span:last-child { color: var(--muted); font-size: .9rem; }
.comparison-choice:hover { border-color: var(--green); background: rgba(34,197,94,.05); transform: translateY(-2px); }
.comparison-choice[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green), 0 5px 16px rgba(34,197,94,.10); background: rgba(34,197,94,.07); }
#comparison-confirm { margin-top: 14px; width: 100%; }
.comparison-help { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.choice-question { margin: 12px 0; padding: 16px; background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted); }
.help-actions { display: flex; gap: 8px; margin-top: 12px; }
.help-actions .btn-secondary { flex: 1; padding: 10px; font-size: .9rem; }
#choice-recommendation { color: var(--green); margin-top: 10px; }
#choice-missing { margin-top: 12px; }
.comparison-technical { margin-top: 14px; border-top: 1px solid var(--border); }
.comparison-technical summary { padding: 14px 0; cursor: pointer; color: var(--green); list-style: none; min-height: 48px; }
.comparison-technical summary::-webkit-details-marker { display: none; }
.comparison-technical summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.comparison-technical .technical-hide, .comparison-technical[open] .technical-show { display: none; }
.comparison-technical[open] .technical-hide { display: inline; }
.comparison-technical .table-wrap { width: 100%; max-width: 100%; }
.comparison-technical th[scope="row"] { font-weight: 500; }
.comparison-key-note { margin-bottom: 12px; color: var(--muted); font-size: .9rem; }

/* 落地页 / AI 选择 */
.landing-actions { margin-top: 24px; }
.ai-intro { margin-bottom: 20px; }
.choice-section-title { margin: 24px 0 10px; color: var(--text); }
.provider-title { margin-top: 30px; }
.client-choices .comparison-choice { display: flex; flex-direction: column; align-items: flex-start; }
.client-card { cursor: pointer; }
.client-card.entitlement-disabled { cursor: not-allowed; opacity: .55; background: var(--card-2); }
.client-card.entitlement-disabled:hover { transform: none; border-color: var(--border); background: var(--card-2); }
.client-entitlement { margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(100,116,139,.18); color: var(--gray-soft) !important; font-size: .76rem !important; }
.client-lock-choice { margin: 20px 0 12px; color: var(--text) !important; font-weight: 650; font-size: 1.08rem; }
.client-card:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.client-preview-trigger { position: relative; display: grid; width: 100%; margin: 4px 0 14px; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--card-2); color: var(--green); cursor: zoom-in; text-align: center; }
.client-preview-trigger img { display: block; width: 100%; height: 176px; object-fit: contain; background: #0A0F1A; }
.client-preview-trigger span { position: absolute; right: 8px; bottom: 8px; padding: 5px 9px; border: 1px solid rgba(34,197,94,.25); border-radius: 999px; background: rgba(7,11,18,.92); color: var(--green); font-size: .78rem; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.client-preview-trigger:hover, .client-preview-trigger:focus-visible { border-color: var(--green); }
.client-preview-trigger:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.client-preview-note { margin-top: 10px; color: var(--gray); font-size: .82rem; }
.client-preview-modal { width: min(1120px, 96vw); max-height: calc(100vh - 36px); overflow: auto; padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
.client-preview-modal .contact-heading { margin-bottom: 16px; }
#client-preview-large-image { display: block; width: 100%; max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border: 1px solid var(--border); border-radius: 8px; background: #0A0F1A; }
.ai-choices .comparison-choice { display: flex; flex-direction: column; align-items: flex-start; }
.comparison-trigger { display: block; margin-top: 12px; }
.ai-confirm { margin-top: 20px; }
#route-message.visible { max-width: 760px; margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--green); background: rgba(34,197,94,.07); color: var(--text); border-radius: 0 12px 12px 0; }
#route-message:focus { outline: none; }
#route-message.feedback-pulse { animation: routeFeedback .28s ease-out; }
@keyframes routeFeedback { from { opacity: .45; transform: translateY(4px); } to { opacity: 1; transform: none; } }
#flow-drawer .drawer-header { padding: 18px 20px; flex-shrink: 0; }
#flow-drawer .flow-body { min-height: 0; padding: 18px 20px; overflow-x: hidden; }
.flow-subtitle { font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.flow-list { list-style: none; margin: 0 0 16px; }
.flow-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; line-height: 1.5; }
.flow-list li > span { color: var(--green); font-size: .8rem; padding-top: 2px; }
.flow-list h4 { font-size: .95rem; margin-bottom: 3px; color: var(--text); }
.flow-list p { color: var(--muted); }
.flow-body > .btn-primary { width: 100%; }

/* 品牌与产品标识 */
.brand { font-size: 1rem; font-weight: 600; letter-spacing: .08em; color: var(--green); margin-bottom: 2px; }
.product-label { font-size: .75rem; line-height: 1.5; color: var(--gray); margin-bottom: 14px; }
.product-title { display: flex; align-items: center; gap: 14px; color: var(--text); font-size: 1.25rem; font-weight: 650; line-height: 1.2; }
.product-icon { display: block; width: 52px; height: 52px; flex: 0 0 52px; object-fit: contain; background: #F8FAFC; border-radius: 14px; padding: 7px; box-shadow: 0 4px 16px rgba(0,0,0,.35); }

/* 网络 / 下载 / 边界说明 */
.network-state { max-width: 680px; }
.network-state > p { color: var(--muted); }
.network-checkmark { color: var(--green); }
.network-boundaries { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--gray); font-size: .78rem; }
.network-boundaries p + p { margin-top: 6px; }
.net-actions { flex-wrap: wrap; }
#net-checking { border-left: 3px solid var(--green); }
#net-checking .spinner { box-shadow: 0 0 0 5px rgba(34,197,94,.06); }
.installer-name { overflow-wrap: anywhere; }
#account-guidance { margin-top: 20px; padding: 20px; border-left: 3px solid var(--green); background: rgba(34,197,94,.05); border-radius: 0 12px 12px 0; }
#account-guidance .btn-secondary { margin: 12px 10px 0 0; max-width: 100%; }
.platform-link { display: inline-block; text-decoration: none; color: var(--green); }
.service-note, .boundary-note { max-width: 840px; color: var(--muted); }
.service-note { margin-top: 18px; font-size: .95rem; }
.boundary-note { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--green); background: rgba(34,197,94,.06); border-radius: 0 var(--radius) var(--radius) 0; }
.boundary-note strong, .boundary-note span { display: block; color: var(--muted); }
.boundary-note strong { color: var(--text); }
.boundary-note span + span { margin-top: 4px; }
.purchase-boundary { margin: 20px 0 24px; }
.provider-boundary { margin-bottom: 18px; }
.device-note { max-width: 760px; }
#download-button[disabled] { cursor: wait; opacity: .65; }
#download-unavailable { max-width: 760px; }
#download-unavailable .actions { flex-wrap: wrap; }
#download-message.visible { display: block; }

/* 落地页氛围 */
.landing-flow-preview { display: none; }
#step-landing { position: relative; isolation: isolate; }
#step-landing::before { content: ''; position: absolute; inset: -24px -8px; z-index: -1; pointer-events: none; opacity: .5; background: radial-gradient(circle at 20% 20%, rgba(34,197,94,.10), transparent 40%), radial-gradient(circle at 85% 30%, rgba(56,189,248,.08), transparent 40%); }
#step-landing::after { content: ''; position: absolute; top: 10%; right: 4%; width: 5px; height: 5px; border-radius: 50%; background: var(--green); opacity: .25; box-shadow: -64px 64px 0 rgba(34,197,94,.5), 0 192px 0 rgba(34,197,94,.5); pointer-events: none; animation: systemSignal 5s ease-in-out 4; }
#step-landing h1 .hero-phrase:last-child { background: linear-gradient(90deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.landing-copy > * { animation: heroEnter .55s ease-out both; }
.landing-copy > h1 { animation-delay: .05s; }
.landing-copy > .subtitle { animation-delay: .1s; }
.landing-copy > .landing-actions { animation-delay: .15s; }
@keyframes heroEnter { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes systemSignal { 0%,100% { opacity: .12; } 50% { opacity: .35; } }

/* 返回 / 页脚 / 联系弹窗 */
#journey-back { margin-bottom: 18px; }
.support-footer { padding: 12px 24px 28px; text-align: center; }
.contact-overlay { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.62); }
.contact-modal { width: min(420px,100%); max-height: calc(100vh - 36px); overflow: auto; padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; color: var(--muted); }
.contact-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.contact-heading h2 { font-size: 1.4rem; margin: 0; }
.contact-number { margin: 20px 0 12px; font-size: 1.1rem; color: var(--text); }
.contact-modal > p { color: var(--muted); }

/* 响应式 */
@media (min-width: 769px) { #drawer { width: min(640px, 100vw); } }
@media (min-width: 768px) and (max-width: 1023px) {
    #app-container { max-width: 900px; padding: 64px 40px; }
    #stepper { display: flex !important; }
    body:has(#step-landing.active) #stepper { display: none !important; }
    .mobile-stepper { display: none; }
    #step-landing .landing-actions { flex-direction: row; align-items: center; }
    #step-landing .btn-primary { width: 200px; }
    #step-3 .card-grid, #step-4 .ai-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #step-2 .input-group { flex-direction: row; }
    #step-2 .input-group .btn-primary { width: auto; }
}
@media (min-width: 1024px) {
    #app-container { max-width: 1280px; padding: 64px 40px; }
    body:has(#step-landing.active) #app-container { min-height: 100vh; display: grid; align-items: center; padding-top: 72px; padding-bottom: 96px; }
    #step-landing.active { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
    .landing-copy { min-width: 0; }
    #step-landing h1 { font-size: clamp(2.25rem, 3.1vw, 2.8rem); line-height: 1.25; margin-top: 26px; margin-bottom: 24px; text-wrap: balance; }
    #step-landing h1 br { display: none; }
    #step-landing .subtitle { font-size: 1.1rem; line-height: 1.8; margin-bottom: 0; }
    #step-landing .landing-actions { margin-top: 32px; gap: 24px; flex-direction: row; }
    #step-landing .landing-actions .btn-primary { width: 200px; min-height: 50px; flex: 0 0 auto; }
    #step-landing .support-line { margin-top: 26px; }
    .landing-flow-preview { display: block; padding: 30px 32px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
    .landing-flow-preview h2 { font-size: 1.1rem; margin-bottom: 20px; }
    .landing-flow-preview ol { list-style: none; margin: 0; }
    .landing-flow-preview li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--border); }
    .landing-flow-preview li span { font-size: .8rem; color: var(--green); font-variant-numeric: tabular-nums; }
    #app-container > .view:not(#step-landing) { max-width: 1040px; margin: 16px auto 0; }
    #step-1 .desc { max-width: 800px; }
    #step-1 .card { padding: 30px; }
    #step-2 .input-group { max-width: 720px; margin-top: 32px; }
    #step-3 .card-grid, #step-4 .ai-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
    #step-3 .card { padding: 32px; min-height: 150px; }
    #step-4 .ai-choices .comparison-choice { padding: 28px; min-height: 168px; }
    #step-4 .comparison-choice strong { font-size: 1.2rem; }
    #step-4 .comparison-help { margin-top: 24px; max-width: 720px; }
    #step-4 .ai-confirm .btn-primary { min-width: 200px; }
    #step-5.active { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 48px; align-items: start; }
    #step-5 > h2 { grid-column: 1 / -1; margin-bottom: 30px; }
    #step-5 > .summary-card { grid-column: 1; grid-row: 2 / 4; margin-top: 0; padding: 32px; min-height: 200px; }
    #step-5 > .summary-card p + p { margin-top: 18px; }
    #step-5 > .btn-primary { grid-column: 2; grid-row: 2; margin-top: 0; width: 220px; justify-self: start; }
    #step-5 > div:last-child { grid-column: 2; grid-row: 3; margin-top: 28px; }
    #step-landing .hero-phrase { display: inline-block; }
    body:has(#step-landing.active) #app-container { max-width: 1200px; min-height: calc(100vh - 90px); }
    #step-landing.active { display: block; }
    #step-landing .landing-copy { max-width: 900px; }
    #step-landing h1 { font-size: clamp(2.8rem,4vw,3.8rem); line-height: 1.2; max-width: 880px; }
    #step-landing .subtitle { max-width: 720px; font-size: 1.2rem; }
    #step-landing .landing-actions { margin-top: 36px; }
    #step-5 > div:last-child { max-width: 100%; }
}
@media (min-width: 1200px) {
    body { font-size: 20px; }
    #app-container { max-width: 1200px; padding: 64px 40px 56px; }
    #app-container > .view:not(#step-landing) { max-width: 1100px; }
    h2 { font-size: 2.25rem; line-height: 1.3; margin-bottom: 16px; }
    h3 { font-size: 1.375rem; }
    .desc, .subtitle { font-size: 1.375rem; line-height: 1.7; max-width: 900px; }
    .small { font-size: 1.0625rem; line-height: 1.7; }
    .btn-primary, .btn-secondary { min-height: 58px; padding: 15px 30px; font-size: 1.25rem; }
    .btn-text { font-size: 1.125rem; min-height: 48px; }
    input[type="text"] { min-height: 60px; font-size: 1.25rem; padding: 15px 18px; }
    #step-2 .input-group { max-width: 900px; gap: 16px; }
    #stepper { gap: 48px; padding: 24px; }
    .step { font-size: 1.125rem; }
    .brand { font-size: 1.875rem; font-weight: 650; letter-spacing: .07em; }
    .product-label { font-size: .9375rem; margin-top: 6px; }
    #step-landing .landing-copy { max-width: 1080px; }
    #step-landing h1 { font-size: clamp(4rem,5vw,4.5rem); line-height: 1.22; letter-spacing: -.025em; max-width: 1060px; margin: 28px 0; text-wrap: initial; }
    #step-landing .subtitle { font-size: 1.5rem; max-width: 900px; line-height: 1.65; }
    #step-landing .landing-actions { margin-top: 32px; gap: 32px; }
    #step-landing .landing-actions .btn-primary { width: 240px; min-height: 60px; }
    #step-landing::before { animation: systemSignal 7s ease-in-out 3; }
    #step-1 .card, #step-3 .card { padding: 36px; }
    .badge { font-size: .9375rem; }
    #step-4 .ai-choices .comparison-choice { padding: 34px; min-height: 200px; }
    #step-4 .client-choices .comparison-choice { padding: 28px; }
    #step-4 .client-preview-trigger img { height: 220px; }
    #step-4 .comparison-choice strong { font-size: 1.5rem; }
    .comparison-choice .choice-model, .comparison-choice span:last-child { font-size: 1.125rem; }
    #step-4 .comparison-help { max-width: 900px; }
    .drawer { width: min(720px,100vw); }
    .drawer-header, #drawer .drawer-header, #flow-drawer .drawer-header { padding: 28px 32px; }
    .drawer-body, #flow-drawer .flow-body { padding: 28px 32px; }
    .flow-subtitle, .flow-list li, .flow-list h4 { font-size: 1.1875rem; }
    .flow-list li { padding: 15px 0; gap: 20px; }
    .flow-list li > span { font-size: 1rem; }
    table { font-size: 1.125rem; }
    .contact-modal { width: min(520px,100%); padding: 32px; }
    .contact-heading h2 { font-size: 1.75rem; }
    .contact-number { font-size: 1.375rem; }
    #step-5 > .btn-primary { width: 300px; font-size: 1.25rem; }
    #step-5 > .summary-card { padding: 36px; }
    ol { font-size: 1.25rem; }
}
@media (max-width: 768px) {
    #app-container { padding: 32px 16px 48px; }
    h1 { font-size: clamp(1.9rem, 9vw, 2.25rem); }
    h2 { font-size: 1.55rem; }
    .desc, .subtitle { font-size: 1rem; }
    .card-grid { grid-template-columns: 1fr; }
    .actions { flex-direction: column; width: 100%; align-items: stretch; }
    #stepper { display: none !important; }
    .mobile-stepper { display: block; position: sticky; top: 2px; z-index: 8; padding: 12px 16px; background: rgba(7,11,18,.92); border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); font-size: .88rem; color: var(--gray); }
    .drawer { width: 100%; top: auto; height: 85vh; border-radius: 20px 20px 0 0; transform: translateY(100%); border-left: none; border-top: 1px solid var(--border); }
    .drawer.open { transform: translateY(0); }
    .input-group { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; }
    table { min-width: 520px; }
    #drawer .drawer-header { padding: 16px; }
    #drawer .comparison-body { padding: 16px; }
    .comparison-core { font-size: .95rem; margin-bottom: 14px; }
    .comparison-choices { grid-template-columns: 1fr; gap: 10px; }
    .comparison-choice { padding: 12px 14px; }
    .comparison-choice .choice-model { margin-bottom: 6px; }
    #step-4 .ai-intro { margin-bottom: 16px; }
    #step-4 .comparison-help { margin-top: 10px; }
    #step-4 .ai-confirm { margin-top: 12px; }
    #flow-drawer .flow-body { padding: 14px 16px; }
    #flow-drawer .drawer-header { padding: 14px 16px; }
    .flow-list li { padding: 8px 0; }
    .flow-list { margin-bottom: 12px; }
    .client-preview-trigger img { height: clamp(145px, 46vw, 190px); }
    .client-preview-modal { width: 100%; padding: 14px; }
    #client-preview-large-image { max-height: calc(100vh - 132px); }
    .net-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 767px) {
    .product-title { gap: 12px; }
    .product-icon { width: 44px; height: 44px; flex-basis: 44px; }
    #account-guidance { padding: 16px; }
    #account-guidance .btn-secondary { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .view, .landing-copy > *, #step-landing::before, #step-landing::after, .spinner { animation: none !important; }
    .drawer, .step, .progress-fill { transition: none !important; }
    .comparison-choice:hover, .card.selectable:hover { transform: none; }
}

/* ===== 浅色主题（与主站 v94 / 代充站统一：data-theme + thz-theme） ===== */
[data-theme="light"] {
    color-scheme: light;
    --bg: #F4F7FB;
    --card: #FFFFFF;
    --card-2: #EDF2F7;
    --border: #E2E8F0;
    --border-hi: #CBD5E1;
    --green: #16A34A;
    --green-dim: rgba(22,163,74,.08);
    --blue: #0284C7;
    --text: #0F172A;
    --muted: #334155;
    --gray: #64748B;
    --gray-soft: #94A3B8;
    --error: #DC2626;
    --error-dim: rgba(220,38,38,.06);
    --amber: #B45309;
}
[data-theme="light"] body {
    background:
        radial-gradient(circle at 15% 0%, rgba(22,163,74,.07), transparent 30%),
        radial-gradient(circle at 85% 8%, rgba(2,132,199,.06), transparent 30%),
        var(--bg);
}
[data-theme="light"] #stepper { background: rgba(244,247,251,.88); }
[data-theme="light"] .mobile-stepper { background: rgba(244,247,251,.94); padding-right: 64px; }
[data-theme="light"] .client-preview-trigger span { background: rgba(244,247,251,.94); box-shadow: 0 2px 8px rgba(15,23,42,.12); }
[data-theme="light"] .btn-primary { color: #fff; }
[data-theme="light"] .btn-primary:disabled { color: #F8FAFC; }
[data-theme="light"] ::selection { background: var(--green); color: #fff; }
/* 右上固定深浅切换 */
.theme-btn-fixed { position: fixed; top: 14px; right: 14px; z-index: 60; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s; overflow: hidden; }
.theme-btn-fixed:hover { color: var(--text); border-color: var(--border-hi); }
.theme-btn-fixed svg { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; transition: opacity .35s ease, transform .35s ease; }
.theme-btn-fixed .sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-btn-fixed .moon { opacity: 0; transform: rotate(-90deg) scale(.4); pointer-events: none; }
[data-theme="light"] .theme-btn-fixed .sun { opacity: 0; transform: rotate(90deg) scale(.4); pointer-events: none; }
[data-theme="light"] .theme-btn-fixed .moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* 返回主站（左上固定，与右上主题按钮对称） */
.back-home-fixed { position: fixed; top: 14px; left: 14px; z-index: 60; display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; white-space: nowrap; }
.back-home-fixed:hover { color: var(--text); border-color: var(--border-hi); }
.back-home-fixed .bh-short { display: none; }
@media (max-width: 768px) {
    .back-home-fixed { padding: 0 12px; }
    .back-home-fixed .bh-full { display: none; }
    .back-home-fixed .bh-short { display: inline; }
    .mobile-stepper { padding-left: 100px; }
}

/* 跳转链接：平时隐藏，键盘聚焦时出现 */
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 16px; background: var(--green); color: #000; font-weight: 700; font-size: .9rem; border-radius: 8px; text-decoration: none; transition: top .2s ease; }
.skip-link:focus-visible { top: 12px; }
[data-theme="light"] .skip-link { color: #fff; }
