/* 水印黑洞 · 主页样式
   浅色工具站风格：白底 + 蓝色主色 + 卡片化区块
   装饰元素保留「黑洞」意象（logo 光环、Hero 光晕、二维码深色横幅） */

:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --border: #e2e8f0;
    --border-soft: #eef2f6;
    --text: #0f172a;
    --text-soft: #64748b;
    --text-dim: #94a3b8;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: #eff6ff;
    --accent: #7c3aed;
    --success: #10b981;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --radius: 16px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 点阵背景 */
.bg-grid {
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ---------- 顶部导航 ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.2px;
}

.logo-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #0b0b12;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .25);
}

.logo-badge i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #000 0 42%, #ffb020 52%, rgba(255, 122, 24, .55) 64%, transparent 74%);
}

.logo-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid #dbeafe;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
}

.nav-links a:hover { color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

@media (max-width: 900px) {
    .nav-links { display: none; }
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    border-radius: 12px;
    padding: 11px 18px;
    transition: all .18s ease;
    white-space: nowrap;
}

.btn:active { transform: scale(.98); }

.btn-primary {
    color: #fff;
    background: var(--brand);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
}

.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 8px 22px rgba(37, 99, 235, .32); }

.btn-primary:disabled { opacity: .65; cursor: not-allowed; box-shadow: none; }

.btn-outline {
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.btn-outline:hover { background: var(--surface-soft); border-color: #cbd5e1; }

.btn-soft {
    color: var(--text-soft);
    background: var(--surface-soft);
}

.btn-soft:hover { background: #e2e8f0; }

.btn-lg { padding: 15px 26px; font-size: 14px; border-radius: 14px; }

.btn-sm { padding: 8px 14px; font-size: 12.5px; border-radius: 10px; }

/* ---------- Hero ---------- */
.hero {
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .12), transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.hero-glow.g1 { top: -140px; right: 8%; }
.hero-glow.g2 { bottom: -220px; left: -120px; background: radial-gradient(circle, rgba(124, 58, 237, .10), transparent 65%); }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: center;
    position: relative;
}

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

h1 {
    margin: 22px 0 16px;
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.8px;
}

.grad {
    background: linear-gradient(100deg, var(--brand) 0%, #4f46e5 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 0;
    color: var(--text-soft);
    font-size: 16px;
    max-width: 620px;
}

/* ---------- 解析框 ---------- */
.parser {
    margin-top: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow-md);
}

.parser-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.parser-box > svg { flex: none; margin-left: 12px; color: var(--text-dim); }

.parser-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    padding: 13px 4px;
}

.parser-box input::placeholder { color: var(--text-dim); }

.icon-btn {
    flex: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: .18s;
}

.icon-btn:hover { color: var(--brand); border-color: #bfdbfe; background: var(--brand-soft); }

.parser-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px 2px;
    flex-wrap: wrap;
}

.parser-tips { font-size: 12px; color: var(--text-dim); }

.parser-error {
    padding: 0 12px 6px;
    font-size: 13px;
    color: #dc2626;
    min-height: 0;
}

/* ---------- 指标 ---------- */
.metrics {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 520px;
}

.metric-label { font-size: 12px; color: var(--text-dim); font-weight: 500; }

.metric-value {
    font-size: 21px;
    font-weight: 800;
    margin-top: 2px;
    letter-spacing: -.3px;
    font-variant-numeric: tabular-nums;
}

.metric-value.brand { color: var(--brand); }

/* ---------- 历史 ---------- */
.history {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.history-tag {
    font-size: 12px;
    color: var(--text-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: .18s;
    font-family: inherit;
}

.history-tag:hover { color: var(--brand); border-color: #bfdbfe; background: var(--brand-soft); }

/* ---------- 手机模型 ---------- */
.phone {
    width: 300px;
    background: var(--dark-soft);
    border: 6px solid var(--dark-soft);
    border-radius: 44px;
    padding: 5px;
    box-shadow: var(--shadow-lg);
    position: relative;
    margin: 0 auto;
}

.phone-screen {
    background: #fff;
    border-radius: 38px;
    padding: 26px 20px;
    text-align: center;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.phone-logo {
    width: 52px;
    height: 52px;
    margin: 4px auto 10px;
    border-radius: 14px;
    background: #0b0b12;
    display: grid;
    place-items: center;
}

.phone-logo i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #000 0 40%, #ffb020 50%, rgba(255, 122, 24, .5) 64%, transparent 74%);
}

.phone-screen h3 { margin: 0; font-size: 17px; font-weight: 800; }

.phone-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

.phone-qr {
    background: var(--surface-soft);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    margin: 12px 0;
}

.phone-qr img { width: 140px; height: 140px; margin: 0 auto; object-fit: contain; }

.phone-foot { font-size: 12px; font-weight: 700; color: var(--brand); }

.phone-foot small { display: block; font-size: 10px; color: var(--text-dim); font-weight: 500; margin-top: 3px; }

/* ---------- 结果区 ---------- */
.result-wrap {
    margin: 0 auto 8px;
    max-width: 1200px;
    padding: 0 24px;
    animation: rise .35s ease;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow-md);
}

.result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.result-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.5;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid #dbeafe;
    margin-right: 6px;
}

.link-close {
    flex: none;
    background: none;
    border: 0;
    color: var(--text-dim);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.link-close:hover { color: var(--text); }

.result-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 22px;
}

@media (max-width: 720px) {
    .result-body { grid-template-columns: 1fr; }
}

.preview {
    border-radius: 14px;
    overflow: hidden;
    background: #0b0b12;
    aspect-ratio: 3 / 4;
}

.preview video, .preview img { width: 100%; height: 100%; object-fit: cover; }

.result-meta { font-size: 14px; color: var(--text-soft); }

.result-meta p { margin: 0 0 8px; word-break: break-all; }

.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.shots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.shot {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    aspect-ratio: 1 / 1;
}

.shot img { width: 100%; height: 100%; object-fit: cover; }

.shot-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
    opacity: 0;
    background: linear-gradient(transparent 45%, rgba(15, 23, 42, .78));
    transition: opacity .2s ease;
}

.shot:hover .shot-mask { opacity: 1; }

/* ---------- 动图 / 实况 / 多视频合集列表 ---------- */
.vlist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.v-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0b0b12;
    border: 1px solid var(--border);
    aspect-ratio: 3 / 4;
}

.v-item img, .v-item video { width: 100%; height: 100%; object-fit: cover; display: block; }

.v-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: rgba(15, 23, 42, .7);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
}

.v-play {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.v-play i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
    transition: transform .18s;
}

.v-play:hover i { transform: scale(1.06); }

.v-play i::after {
    content: '';
    margin-left: 4px;
    border-left: 14px solid #0f172a;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
}

.v-act {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    opacity: 0;
    transition: opacity .2s ease;
    background: linear-gradient(transparent, rgba(15, 23, 42, .72));
}

.v-item:hover .v-act { opacity: 1; }

.result-tip { margin: 14px 0 0; font-size: 13px; color: var(--text-dim); }

/* 触屏设备没有 hover：操作按钮常显，否则点不到 */
@media (hover: none) {
    .v-act, .shot-mask { opacity: 1; }
}

/* ---------- 区块通用 ---------- */
section.block { padding: 84px 0; }

.block-head { margin-bottom: 44px; }

.block-head.center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }

.block-tag {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--brand-soft);
    color: var(--brand);
    margin-bottom: 14px;
}

.block-head h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 800;
    letter-spacing: -.5px;
}

.block-head p { margin: 0; color: var(--text-soft); font-size: 14px; }

.block-head.row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 7px 13px;
    border-radius: 12px;
}

/* ---------- 特性 ---------- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.feature {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    transition: .2s;
}

.feature:hover {
    background: var(--surface);
    border-color: #bfdbfe;
    box-shadow: var(--shadow-sm);
}

.feature-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: var(--surface);
    color: var(--brand);
    box-shadow: var(--shadow-xs);
    transition: .2s;
}

.feature:hover .feature-ico { background: var(--brand); color: #fff; }

.feature h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }

.feature p { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.7; }

/* ---------- 平台 ---------- */
.plat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.plat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: .18s;
}

.plat:hover { border-color: #cbd5e1; box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.plat-ico {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    padding: 5px;
}

.plat-ico img { width: 100%; height: 100%; object-fit: contain; }

.plat-name { font-size: 13.5px; font-weight: 700; }

.plat-desc { font-size: 11px; color: var(--text-dim); margin-top: 1px; }

/* ---------- 步骤 ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.step {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.step-no {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    background: var(--dark);
}

.step-no.n2 { background: var(--brand); }
.step-no.n3 { background: #059669; }

.step h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }

.step p { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.7; }

/* ---------- 二维码横幅 ---------- */
.banner {
    position: relative;
    background: var(--dark);
    border-radius: 28px;
    padding: 60px 32px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.banner-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
}

.banner-glow.b1 { top: -110px; right: -70px; background: rgba(37, 99, 235, .35); }
.banner-glow.b2 { bottom: -120px; left: -80px; background: rgba(124, 58, 237, .3); }

.banner-inner { position: relative; z-index: 1; }

.banner .block-tag { background: rgba(37, 99, 235, .2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, .3); }

.banner h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.5px; }

.banner p { margin: 0 auto; color: #94a3b8; font-size: 14px; max-width: 520px; }

.banner-qr {
    display: inline-block;
    background: #fff;
    padding: 16px;
    border-radius: 18px;
    margin: 26px 0 14px;
    transition: transform .2s ease;
}

.banner-qr:hover { transform: scale(1.04); }

.banner-qr img { width: 170px; height: 170px; object-fit: contain; }

.banner-foot { font-size: 13px; color: #94a3b8; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }

.faq details {
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.faq summary {
    padding: 16px 20px;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    color: var(--brand);
    font-size: 20px;
    font-weight: 400;
    flex: none;
}

.faq details[open] summary::after { content: "−"; }

.faq .answer {
    padding: 0 20px 18px;
    color: var(--text-soft);
    font-size: 13.5px;
    white-space: pre-line;
    line-height: 1.8;
}

/* ---------- 页脚 ---------- */
footer {
    padding: 30px 0 40px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-dim);
    font-size: 12.5px;
}

.foot-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.foot-brand { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.foot-brand b { color: var(--text); font-size: 13px; }

.foot-links { display: flex; gap: 18px; }

.foot-links a:hover { color: var(--brand); }

.disclaimer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
    line-height: 1.85;
    max-width: 900px;
    color: var(--text-dim);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 36px;
    transform: translate(-50%, 20px);
    padding: 11px 20px;
    border-radius: 12px;
    background: var(--dark);
    color: #fff;
    font-size: 13.5px;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 200;
    box-shadow: var(--shadow-lg);
    max-width: 88vw;
    text-align: center;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 加载 ---------- */
.spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 返回顶部 ---------- */
.totop {
    position: fixed;
    right: 22px;
    bottom: 26px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-soft);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.totop.show { opacity: 1; pointer-events: auto; }

.totop:hover { color: var(--brand); border-color: #bfdbfe; }

/* ---------- 移动端适配（≤640px） ---------- */
@media (max-width: 640px) {
    body { -webkit-tap-highlight-color: transparent; }

    .container { padding: 0 16px; }

    /* 导航：窄屏只留 logo + 主按钮 */
    .nav-inner { height: 56px; }
    .nav-actions .btn-soft { display: none; }

    /* Hero 收紧 */
    .hero { padding: 40px 0 36px; }
    .hero-grid { gap: 28px; }

    /* 解析框：输入一行、按钮一行；输入 ≥16px 避免 iOS 聚焦自动放大 */
    .parser { padding: 8px; }
    .parser-box { flex-wrap: wrap; gap: 8px; }
    .parser-box > svg { display: none; }
    .parser-box input {
        flex: 1 1 100%;
        font-size: 16px;
        padding: 12px 10px;
        background: var(--surface-soft);
        border-radius: 10px;
    }
    .parser-box .icon-btn { flex: 1; }
    .parser-box .btn-primary { flex: 1.4; }

    .parser-meta { padding: 6px 8px 0; }
    .parser-tips { font-size: 11px; }
    .parser-error { padding: 0 8px 4px; }

    .metrics { gap: 10px; }
    .metric-value { font-size: 18px; }

    /* 手机模型：窄屏缩小 */
    .phone { width: 260px; border-width: 5px; border-radius: 38px; }
    .phone-screen { min-height: 420px; padding: 22px 16px; border-radius: 33px; }
    .phone-qr img { width: 120px; height: 120px; }

    /* 结果卡片 */
    .result-wrap { padding: 0 16px; }
    .result-card { padding: 16px; border-radius: 16px; }
    .preview { aspect-ratio: 4 / 3; }
    .result-actions .btn { flex: 1 1 auto; }

    /* 区块间距收紧 */
    section.block { padding: 52px 0; }
    .block-head { margin-bottom: 28px; }

    /* 平台：两列 + 描述防溢出 */
    .plat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .plat { padding: 10px 12px; gap: 10px; }
    .plat > div { min-width: 0; }
    .plat-ico { width: 32px; height: 32px; border-radius: 9px; padding: 4px; }
    .plat-name { font-size: 12.5px; }
    .plat-desc {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* 二维码横幅 */
    .banner { padding: 40px 18px; border-radius: 20px; }
    .banner-qr img { width: 150px; height: 150px; }

    /* FAQ */
    .faq summary { padding: 14px; font-size: 13.5px; }
    .faq .answer { padding: 0 14px 14px; }

    /* 页脚竖排 */
    .foot-inner { flex-direction: column; align-items: flex-start; }
    .disclaimer { line-height: 1.7; }

    /* 浮动元素 */
    .totop { right: 14px; bottom: 18px; width: 38px; height: 38px; }
    .toast { bottom: 20px; font-size: 12.5px; }
}

/* 超窄屏（≤360px）：平台退回单列 */
@media (max-width: 360px) {
    .plat-grid { grid-template-columns: 1fr; }
}

/* ---------- 配色可切换：深色主题 ---------- */
/* 想换回深色黑洞风格，把 body 加上 class="theme-dark"，并取消下面注释即可
body.theme-dark {
    --bg: #07070c; --surface: #101018; --surface-soft: #16161f;
    --border: rgba(255,255,255,.09); --border-soft: rgba(255,255,255,.06);
    --text: #f3f3f8; --text-soft: #a0a0b4; --text-dim: #6b6b80;
    --brand: #ffb020; --brand-dark: #ff7a18; --brand-soft: rgba(255,176,32,.1);
}
*/
