/* ==========================================================================
   RenameX 产品官网样式
   --------------------------------------------------------------------------
   设计语言：中国现代 SaaS —— 克制留白 + 蓝色品牌渐变 + 大圆角卡片 + 轻投影
   约束：
     ① 组件不写死颜色，一律引用 :root 变量；
     ② 不引外部字体 / CDN（官网在离线内网、无外网环境下也要能正常显示）；
     ③ 内联 SVG 的宽高由元素属性给出，本表只用 CSS 微调，避免 flex 下被撑变形。
   ========================================================================== */

/* ── 设计令牌 ───────────────────────────────────────────────────────────── */
:root {
    --brand: #3B82F6;
    --brand-600: #2563EB;
    --brand-700: #1D4ED8;
    --brand-50: #EFF6FF;
    --brand-100: #DBEAFE;
    --brand-200: #BFDBFE;

    --ink: #0B1220;
    --ink-2: #1E293B;
    --ink-3: #475569;
    --ink-4: #64748B;
    --ink-5: #94A3B8;

    --line: #E2E8F0;
    --line-soft: #EDF2F7;

    --bg: #FFFFFF;
    --bg-soft: #F7F9FC;
    --bg-soft-2: #EFF3F9;
    --bg-ink: #0B1220;

    --ok: #16A34A;
    --ok-50: #ECFDF5;
    --warn: #D97706;
    --warn-50: #FFFBEB;
    --danger: #DC2626;
    --danger-50: #FEF2F2;

    --radius-s: 8px;
    --radius: 12px;
    --radius-l: 18px;
    --radius-xl: 26px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(11, 18, 32, .05);
    --shadow-s: 0 2px 8px -2px rgba(11, 18, 32, .08);
    --shadow: 0 10px 30px -12px rgba(11, 18, 32, .16);
    --shadow-l: 0 28px 70px -28px rgba(11, 18, 32, .28);
    --shadow-brand: 0 14px 34px -14px rgba(37, 99, 235, .55);

    --maxw: 1180px;
    --gutter: 24px;

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", Roboto, Helvetica, Arial, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Courier New", monospace;
}

/* ── 基础 ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.site {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-700); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-soft-2); padding: .12em .45em; border-radius: 6px; color: var(--ink-2); }
strong { color: var(--ink); font-weight: 600; }

.ico { flex: none; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--brand-600); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; border-radius: 4px; }

/* ── 提示条 ────────────────────────────────────────────────────────────── */
.notice { font-size: 13.5px; line-height: 1.6; }
.notice-info { background: var(--brand-50); color: var(--brand-700); border-bottom: 1px solid var(--brand-100); }
.notice-warn { background: var(--warn-50); color: #92400E; border-bottom: 1px solid #FDE68A; }
.notice-in { display: flex; align-items: center; gap: 10px; padding: 9px 0; flex-wrap: wrap; }
.notice-tag {
    flex: none; font-size: 12px; font-weight: 700; letter-spacing: .02em;
    padding: 2px 9px; border-radius: var(--radius-pill);
    background: currentColor; color: #fff;
}
.notice-info .notice-tag { background: var(--brand-600); }
.notice-warn .notice-tag { background: var(--warn); }
.notice code { background: rgba(255, 255, 255, .7); }

/* ── 页头 ──────────────────────────────────────────────────────────────── */
.hd {
    position: sticky; top: 0; z-index: 90;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.hd-in { display: flex; align-items: center; gap: 26px; height: 68px; }
.hd.scrolled { box-shadow: 0 8px 26px -18px rgba(11, 18, 32, .32); }

.brand { display: flex; align-items: center; gap: 11px; flex: none; color: inherit; }
.brand-mark { display: block; flex: none; width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand-text i { font-size: 11.5px; font-style: normal; color: var(--ink-5); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-a {
    padding: 8px 13px; border-radius: var(--radius-s); font-size: 15px; color: var(--ink-3);
    font-weight: 500; transition: background .18s ease, color .18s ease;
}
.nav-a:hover { background: var(--bg-soft-2); color: var(--ink); }
.nav-a.on { color: var(--brand-600); background: var(--brand-50); font-weight: 600; }

.hd-act { display: flex; align-items: center; gap: 10px; flex: none; }
.hd-burger {
    display: none; align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--ink-2); cursor: pointer;
}

/* ── 按钮 ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border: 1px solid transparent; border-radius: var(--radius-pill);
    font-size: 15.5px; font-weight: 600; font-family: inherit; line-height: 1.2;
    cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(37, 99, 235, .65); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-5); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .34); }
.btn-light:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-sm { padding: 9px 17px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ── 区块节奏 ──────────────────────────────────────────────────────────── */
.sec { padding: 88px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-ink { background: var(--bg-ink); color: rgba(255, 255, 255, .74); }
.sec-tight { padding: 56px 0; }

.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.sec-head p { font-size: 16.5px; color: var(--ink-4); margin: 0; }
.sec-ink .sec-head h2 { color: #fff; }
.sec-ink .sec-head p { color: rgba(255, 255, 255, .68); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100);
    padding: 5px 13px; border-radius: var(--radius-pill); margin-bottom: 18px;
}

/* ── 首屏 ──────────────────────────────────────────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    padding: 92px 0 84px;
    background:
        radial-gradient(1000px 460px at 12% -8%, var(--brand-100) 0%, rgba(219, 234, 254, 0) 62%),
        radial-gradient(820px 420px at 96% 4%, #E0E7FF 0%, rgba(224, 231, 255, 0) 58%),
        var(--bg);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(11, 18, 32, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 18, 32, .045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(760px 400px at 50% 0%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(760px 400px at 50% 0%, #000 0%, transparent 78%);
}
.hero-in {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 60px; align-items: center;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
    padding: 6px 15px 6px 7px; font-size: 13.5px; color: var(--ink-3); font-weight: 500;
    box-shadow: var(--shadow-xs); margin-bottom: 22px;
}
.hero-badge b {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--brand-50); color: var(--brand-700);
    font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill);
}

.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.16; letter-spacing: -.025em; margin-bottom: 22px; }
.hero h1 .hl {
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-700) 60%, #6366F1 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 18px; color: var(--ink-3); line-height: 1.78; margin-bottom: 26px; max-width: 34em; }

.hero-points { display: grid; gap: 11px; margin-bottom: 32px; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.hero-points .ico { color: var(--brand-600); margin-top: 4px; }

.hero-note { font-size: 13.5px; color: var(--ink-5); margin-top: 20px; }

/* 首屏右侧：应用界面示意 */
.hero-visual { position: relative; }
.mock {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
    box-shadow: var(--shadow-l); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.mock-dot.r { background: #FCA5A5; } .mock-dot.y { background: #FCD34D; } .mock-dot.g { background: #86EFAC; }
.mock-title { margin-left: 8px; font-size: 12.5px; color: var(--ink-5); }
.mock-body { padding: 18px; }
.mock-row {
    display: grid; grid-template-columns: 1fr 20px 1fr; gap: 10px; align-items: center;
    padding: 10px 12px; border-radius: var(--radius-s); font-size: 13.5px;
}
.mock-row + .mock-row { margin-top: 6px; }
.mock-row.head { color: var(--ink-5); font-size: 12px; font-weight: 600; background: transparent; padding-bottom: 4px; }
.mock-row.chg { background: var(--bg-soft); }
.mock-row.chg .to { color: var(--brand-700); font-weight: 600; }
.mock-row .from, .mock-row .to { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12.8px; }
.mock-row .from { color: var(--ink-4); }
.mock-row .to { color: var(--ink-2); }
.mock-row .arrow { display: flex; justify-content: center; color: var(--ink-5); }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line-soft); background: var(--bg-soft); }
.mock-foot span { font-size: 12.5px; color: var(--ink-4); }
.mock-pill { font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-50); border-radius: var(--radius-pill); padding: 3px 10px; }

/* ── 信任数字 ──────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.stat { background: #fff; padding: 28px 22px; text-align: center; }
.stat-v { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.stat-v em { font-style: normal; font-size: 16px; font-weight: 600; color: var(--brand-600); margin-left: 3px; }
.stat-l { font-size: 14px; color: var(--ink-4); margin-top: 6px; }

/* ── 通用卡片网格 ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
    padding: 28px; box-shadow: var(--shadow-xs);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-4); line-height: 1.72; margin: 0; }

.card-ico {
    display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border-radius: var(--radius); background: var(--brand-50); color: var(--brand-600); margin-bottom: 18px;
}
.card-ico.warn { background: var(--warn-50); color: var(--warn); }
.card-ico.danger { background: var(--danger-50); color: var(--danger); }
.card-ico.ok { background: var(--ok-50); color: var(--ok); }
.card-ico.ink { background: var(--bg-soft-2); color: var(--ink-3); }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag {
    font-size: 12.5px; font-family: var(--mono); color: var(--ink-3);
    background: var(--bg-soft); border: 1px solid var(--line-soft);
    padding: 3px 9px; border-radius: 6px;
}

/* ── 使用流程 ──────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px 28px 28px; }
.step-no {
    position: absolute; top: -18px; left: 28px;
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius); background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
    color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .02em;
    box-shadow: var(--shadow-brand);
}
.step h3 { margin-top: 16px; font-size: 18px; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--ink-4); margin: 0; }

/* ── 场景 / 模板清单 ───────────────────────────────────────────────────── */
.chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.chip {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.chip:hover { transform: translateY(-3px); border-color: var(--brand-200); box-shadow: var(--shadow-s); }
.chip-h { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 8px; }
.chip-h .ico { color: var(--brand-600); }
.chip p { font-size: 13.8px; color: var(--ink-4); margin: 0; line-height: 1.68; }

/* ── 对比表 ────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.8px; }
table.cmp th, table.cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.cmp thead th { background: var(--bg-soft); font-size: 14.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
table.cmp thead th:nth-child(2) { color: var(--brand-700); background: var(--brand-50); }
table.cmp tbody td { color: var(--ink-3); }
table.cmp tbody td:first-child { color: var(--ink-2); font-weight: 600; }
table.cmp tbody td:nth-child(2) { color: var(--ink-2); font-weight: 600; background: rgba(239, 246, 255, .5); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover td { background: var(--bg-soft); }
table.cmp tbody tr:hover td:nth-child(2) { background: var(--brand-50); }

/* ── 常见问题（details，无需 JS） ──────────────────────────────────────── */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-s); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink);
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
    border-right: 2px solid var(--ink-5); border-bottom: 2px solid var(--ink-5);
    transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--brand-600); }
.faq details[open] summary { color: var(--brand-700); }
.faq .faq-a { padding: 0 22px 20px; font-size: 15.2px; color: var(--ink-3); line-height: 1.82; }

/* ── 号召条 ────────────────────────────────────────────────────────────── */
.cta {
    position: relative; overflow: hidden; border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #1E3A8A 0%, var(--brand-700) 48%, var(--brand) 100%);
    padding: 62px 48px; text-align: center; color: #fff;
    box-shadow: var(--shadow-l);
}
.cta::after {
    content: ""; position: absolute; inset: 0; opacity: .22;
    background-image: radial-gradient(circle at 18% 22%, #fff 0%, transparent 26%),
        radial-gradient(circle at 84% 76%, #fff 0%, transparent 22%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .84); font-size: 16.5px; max-width: 620px; margin: 0 auto 30px; }

/* ── 安全 / 隐私分区 ──────────────────────────────────────────────────── */
.sec-ink .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.sec-ink .card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.sec-ink .card h3 { color: #fff; }
.sec-ink .card p { color: rgba(255, 255, 255, .68); }
.sec-ink .card-ico { background: rgba(96, 165, 250, .18); color: #93C5FD; }

/* ── 下载页 ────────────────────────────────────────────────────────────── */
.dl-hero { padding: 62px 0 46px; text-align: center; background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }
.dl-hero h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.dl-hero p { color: var(--ink-4); font-size: 16.5px; max-width: 660px; margin: 0 auto; }

/* 下载卡片：桌面端一行放得下 4 个平台（272px 时 4 张会溢出成 3+1，视觉不平衡） */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 20px; }
.dl-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.dl-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dl-ico {
    display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none;
    border-radius: var(--radius); background: var(--bg-soft-2); color: var(--ink-2);
}
.dl-name { font-size: 17.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.dl-ver { font-size: 13px; color: var(--ink-4); font-family: var(--mono); }
.dl-meta { display: grid; gap: 7px; margin-bottom: 20px; font-size: 14px; }
.dl-meta div { display: flex; gap: 10px; }
.dl-meta dt { flex: none; width: 66px; color: var(--ink-5); margin: 0; }
.dl-meta dd { margin: 0; color: var(--ink-3); }
.dl-card .btn { margin-top: auto; width: 100%; }
.dl-notes { margin-top: 14px; font-size: 13.4px; color: var(--ink-4); line-height: 1.7; border-top: 1px dashed var(--line); padding-top: 13px; }
.dl-count { font-size: 12.8px; color: var(--ink-5); margin-top: 10px; text-align: center; }

.req-list { display: grid; gap: 10px; max-width: 780px; margin: 0 auto; }
.req-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-3); }
.req-list .ico { color: var(--ok); margin-top: 4px; }

/* ── 价格页 ────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 22px; align-items: stretch; }
.plan {
    display: flex; flex-direction: column; position: relative;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px 26px;
}
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow-brand); }
.plan-badge {
    position: absolute; top: -13px; left: 26px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
    color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 14px; border-radius: var(--radius-pill);
}
.plan-type { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-5); text-transform: uppercase; margin-bottom: 8px; }
.plan h3 { font-size: 21px; margin-bottom: 16px; }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 6px; }
.plan-price .cur { font-size: 18px; font-weight: 700; color: var(--ink); }
.plan-price .num { font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.plan-price .unit { font-size: 15px; color: var(--ink-4); }
.plan-was { font-size: 14px; color: var(--ink-5); margin-bottom: 8px; }
.plan-was s { text-decoration: line-through; }
.plan-was b { color: var(--danger); font-weight: 600; margin-left: 8px; }
.plan-level { font-size: 13.5px; color: var(--ink-4); margin-bottom: 22px; }
.plan-feats { display: grid; gap: 11px; margin-bottom: 26px; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.8px; color: var(--ink-3); }
.plan-feats .ico { color: var(--brand-600); margin-top: 4px; }
.plan .btn { margin-top: auto; width: 100%; }

.plan-note { margin-top: 30px; padding: 20px 24px; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); font-size: 14.5px; color: var(--ink-4); }
.plan-note strong { color: var(--ink-2); }

/* ── 通用提示框 / 居中面包屑（功能页·价格页·帮助中心复用） ─────────────── */
.note-box {
    padding: 20px 24px; background: var(--bg-soft); border: 1px solid var(--line-soft);
    border-radius: var(--radius); font-size: 14.5px; color: var(--ink-4); line-height: 1.8;
}
.note-box strong { color: var(--ink-2); }
.note-box code { background: #fff; }
.note-box + .note-box { margin-top: 14px; }
.grid + .note-box, .table-wrap + .note-box { margin-top: 22px; }
.crumb.center { justify-content: center; }

/* 客服二维码 */
.qr-img {
    width: 132px; height: 132px; margin-top: 16px;
    border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff;
}

/* 卡片内的键值列表（下载卡片 / 关于页复用） */
.card .dl-meta { margin-top: 18px; margin-bottom: 0; }

/* ── 帮助中心 ──────────────────────────────────────────────────────────── */
.doc-group { margin-bottom: 46px; }
.doc-group > h2 { font-size: 22px; margin-bottom: 22px; display: flex; align-items: center; gap: 11px; }
.doc-group > h2 .ico { color: var(--brand-600); }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px 28px; }
.doc + .doc { margin-top: 16px; }
.doc h3 { font-size: 17.5px; margin-bottom: 9px; }
.doc > p { font-size: 15px; color: var(--ink-4); margin-bottom: 18px; }
.doc-steps { display: grid; gap: 12px; counter-reset: d; }
.doc-steps li { position: relative; padding-left: 34px; font-size: 15px; color: var(--ink-3); line-height: 1.75; }
.doc-steps li::before {
    counter-increment: d; content: counter(d);
    position: absolute; left: 0; top: 3px;
    width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
    background: var(--brand-50); color: var(--brand-700); border-radius: 50%;
    font-size: 12px; font-weight: 700;
}

/* ── 文章列表与正文 ───────────────────────────────────────────────────── */
.posts { display: grid; gap: 16px; }
.post {
    display: flex; align-items: flex-start; gap: 22px; justify-content: space-between;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px 28px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.post-main { min-width: 0; }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.8px; color: var(--ink-5); margin-bottom: 10px; }
.post-cat { font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 2px 10px; border-radius: var(--radius-pill); }
.post h3 { font-size: 18.5px; margin-bottom: 8px; }
.post h3 a { color: inherit; }
.post h3 a:hover { color: var(--brand-600); }
.post p { font-size: 14.8px; color: var(--ink-4); margin: 0; }
.post-go { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); color: var(--ink-4); }
.post:hover .post-go { background: var(--brand-50); color: var(--brand-600); }

.prose { max-width: 780px; }
.prose h2 { font-size: 23px; margin: 40px 0 14px; }
.prose h3 { font-size: 19px; margin: 30px 0 12px; }
.prose p, .prose li { font-size: 16px; color: var(--ink-3); line-height: 1.86; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 7px; }
.prose code { font-size: .9em; }
.prose blockquote { margin: 22px 0; padding: 14px 20px; border-left: 3px solid var(--brand-200); background: var(--bg-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--ink-3); }

.page-head { padding: 54px 0 40px; background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.page-head p { color: var(--ink-4); font-size: 16.5px; max-width: 720px; margin: 0; }
.page-head.center { text-align: center; }
.page-head.center p { margin: 0 auto; }

.crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-5); margin-bottom: 16px; }
.crumb a { color: var(--ink-4); }
.crumb a:hover { color: var(--brand-600); }

.article-head { padding: 54px 0 34px; border-bottom: 1px solid var(--line-soft); }
.article-head h1 { font-size: clamp(26px, 3.2vw, 38px); margin: 12px 0 14px; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.8px; color: var(--ink-4); }

.empty { text-align: center; padding: 70px 24px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-l); }
.empty .ico { color: var(--ink-5); margin: 0 auto 14px; }
.empty h3 { font-size: 18px; margin-bottom: 8px; }
.empty p { color: var(--ink-4); font-size: 15px; margin: 0; }

/* ── 门户页（未绑定域名） ─────────────────────────────────────────────── */
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.portal-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.portal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.portal-card h3 { font-size: 20px; margin-bottom: 10px; }
.portal-card p { font-size: 15px; color: var(--ink-4); margin-bottom: 22px; }
.portal-card .btn { margin-top: auto; align-self: flex-start; }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.nf { text-align: center; padding: 96px 0 110px; }
.nf-code { font-size: 96px; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: 26px; margin: 18px 0 12px; }
.nf p { color: var(--ink-4); font-size: 16px; margin-bottom: 30px; }

/* ── 页脚 ──────────────────────────────────────────────────────────────── */
.ft { background: var(--bg-ink); color: rgba(255, 255, 255, .6); padding: 66px 0 30px; margin-top: 0; }
.ft-in { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ft-logo { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.ft-desc { font-size: 14.5px; line-height: 1.78; color: rgba(255, 255, 255, .58); margin-bottom: 12px; }
.ft-org { font-size: 13.5px; color: rgba(255, 255, 255, .42); margin: 0; }
.ft-col h4 { font-size: 14.5px; color: #fff; margin-bottom: 16px; font-weight: 600; }
.ft-col li { margin-bottom: 10px; font-size: 14.2px; }
.ft-col a { color: rgba(255, 255, 255, .6); }
.ft-col a:hover { color: #fff; }
.ft-svc { display: block; color: rgba(255, 255, 255, .5); font-size: 13.2px; }
.ft-svc-v { display: block; color: rgba(255, 255, 255, .82); font-size: 14px; word-break: break-all; }
.ft-bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
.ft-bot p { margin: 0; font-size: 13.4px; color: rgba(255, 255, 255, .45); }
.ft-note { text-align: right; }

/* ── 响应式 ────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ft-in { grid-template-columns: 1.6fr 1fr 1fr; }
    .ft-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .sec { padding: 62px 0; }
    .hero { padding: 62px 0 56px; }
    .hero-in { grid-template-columns: minmax(0, 1fr); gap: 46px; }
    .hero-visual { order: 2; }
    .g3, .steps { grid-template-columns: minmax(0, 1fr); }
    .steps { gap: 30px; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .nav {
        position: fixed; inset: 68px 0 auto 0; z-index: 80;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 12px var(--gutter) 20px;
        box-shadow: var(--shadow);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-a { padding: 12px 14px; font-size: 16px; }
    .hd-burger { display: inline-flex; }
}

@media (max-width: 640px) {
    :root { --gutter: 18px; --radius-l: 15px; }
    body.site { font-size: 15.5px; }
    .sec { padding: 52px 0; }
    .sec-head { margin-bottom: 36px; }
    .g2, .g4, .chips { grid-template-columns: minmax(0, 1fr); }
    .card { padding: 22px; }
    .cta { padding: 44px 24px; border-radius: var(--radius-l); }
    .hero h1 { letter-spacing: -.02em; }
    .btn { padding: 12px 22px; font-size: 15px; }
    .btn-lg { padding: 14px 26px; font-size: 16px; }
    .btn-row .btn { flex: 1 1 100%; }
    .ft-in { grid-template-columns: 1fr; gap: 30px; }
    .ft-note { text-align: left; }
    .dl-hero, .page-head { padding: 40px 0 30px; }
    .post { flex-direction: column; gap: 14px; }
    .post-go { display: none; }
    .nf { padding: 70px 0 80px; }
    .nf-code { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
