/* ============================================================
   票管大师官网 · 样式表
   ============================================================ */

:root {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-light: #60a5fa;
    --accent: #4f46e5;
    --ink: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --ink-4: #94a3b8;
    --line: #e6eaf2;
    --bg: #ffffff;
    --bg-soft: #f6f8fc;
    --bg-dark: #0a1020;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .15), 0 2px 8px rgba(15, 23, 42, .05);
    --shadow-lg: 0 40px 80px -40px rgba(15, 23, 42, .35), 0 12px 32px -16px rgba(15, 23, 42, .18);
    --container: 1200px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

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

section[id] { scroll-margin-top: 88px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s var(--ease), background-color .18s, border-color .18s,
        color .18s, box-shadow .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7);
}
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(37, 99, 235, .8); filter: brightness(1.05); }

.btn-outline {
    background: #fff;
    border-color: #d9e0ec;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-ghost { color: var(--ink-2); padding: 10px 14px; }
.btn-ghost:hover { color: var(--brand); }

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-invert {
    background: #fff;
    color: var(--brand-dark);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
}
.btn-invert:hover { background: #f1f5ff; }
.btn-outline-invert {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}
.btn-outline-invert:hover { background: rgba(255, 255, 255, .18); }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background-color .25s, box-shadow .25s, border-color .25s;
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--line);
    box-shadow: 0 2px 16px -10px rgba(15, 23, 42, .25);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
    width: 40px;
    height: 40px;
    display: block;
    flex: none;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand .brand-mark img { filter: brightness(1.18) saturate(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: .01em; }
.brand-text em {
    font-style: normal;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-4);
}
.brand-text em.brand-domain { text-transform: none; letter-spacing: .18em; }

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-nav > a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--ink-2);
    font-weight: 500;
    transition: color .18s, background-color .18s;
}
.site-nav > a:hover { color: var(--brand); background: rgba(37, 99, 235, .07); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 14px; }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .22s var(--ease), opacity .18s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 148px 0 76px;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 78% -10%, rgba(96, 165, 250, .18), transparent 60%),
        radial-gradient(900px 500px at 8% 8%, rgba(79, 70, 229, .12), transparent 55%),
        #fff;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(15, 23, 42, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(900px 480px at 60% 0%, #000 20%, transparent 78%);
    mask-image: radial-gradient(900px 480px at 60% 0%, #000 20%, transparent 78%);
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    pointer-events: none;
}
.hero-glow-a { width: 380px; height: 380px; background: #bfdbfe; top: -80px; right: 12%; }
.hero-glow-b { width: 320px; height: 320px; background: #ddd6fe; bottom: -120px; left: 4%; opacity: .4; }

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e0e8f7;
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
}
.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}

.hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 1.12;
    letter-spacing: -.03em;
}
.grad-text {
    background: linear-gradient(100deg, var(--brand) 10%, var(--accent) 55%, #7c3aed 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    max-width: 520px;
    font-size: 17px;
    color: var(--ink-3);
    line-height: 1.75;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-points li {
    position: relative;
    padding-left: 20px;
    font-size: 13.5px;
    color: var(--ink-3);
}
.hero-points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-light);
}

/* ---------- Hero 产品界面模拟 ---------- */
.hero-visual { position: relative; perspective: 1400px; }
.mock {
    position: relative;
    background: #fff;
    border: 1px solid #e3e9f5;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: visible;
    transform: rotateY(-6deg) rotateX(2deg);
    transition: transform .6s var(--ease);
}
.hero-visual:hover .mock { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }

.mock-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: #fbfcfe;
    border-radius: 18px 18px 0 0;
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f2; display: block; }
.dots i:nth-child(1) { background: #fca5a5; }
.dots i:nth-child(2) { background: #fcd34d; }
.dots i:nth-child(3) { background: #86efac; }
.mock-title { font-size: 12.5px; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }

.mock-body { display: grid; grid-template-columns: 118px minmax(0, 1fr); min-height: 300px; }
.mock-side {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 10px;
    border-right: 1px solid var(--line);
    background: #fbfcfe;
    font-size: 12px;
    color: var(--ink-3);
    border-radius: 0 0 0 18px;
}
.side-item { padding: 7px 10px; border-radius: 7px; white-space: nowrap; }
.side-item.active {
    background: rgba(37, 99, 235, .1);
    color: var(--brand-dark);
    font-weight: 600;
}
.mock-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mock-toolbar { display: flex; align-items: center; gap: 8px; }
.chip {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--brand);
    color: #fff;
    white-space: nowrap;
}
.chip.ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.mock-search {
    margin-left: auto;
    flex: 1;
    max-width: 160px;
    font-size: 11px;
    color: var(--ink-4);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 5px 8px;
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-table { display: flex; flex-direction: column; }
.mock-row {
    display: grid;
    grid-template-columns: 1.05fr 1.5fr .95fr .68fr;
    gap: 8px;
    align-items: center;
    font-size: 11.5px;
    padding: 9px 8px;
    border-bottom: 1px solid #f1f4fa;
    color: var(--ink-2);
    animation: rowIn .5s var(--ease) backwards;
}
.mock-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row > span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
.mock-row.head {
    color: var(--ink-4);
    font-size: 11px;
    font-weight: 600;
    background: #f8fafd;
    border-radius: 6px;
    border-bottom: 0;
    animation: none;
}
.mock-row:nth-child(2) { animation-delay: .1s; }
.mock-row:nth-child(3) { animation-delay: .22s; }
.mock-row:nth-child(4) { animation-delay: .34s; }
.mock-row:nth-child(5) { animation-delay: .46s; }
.mock-row:nth-child(6) { animation-delay: .58s; }

@keyframes rowIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: none; }
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}
.tag.ok { background: #e8f8ee; color: #137a3f; }
.tag.run { background: #fff5e5; color: #a86a05; }

.mock-float {
    position: absolute;
    right: -34px;
    bottom: -42px;
    width: 236px;
    background: #fff;
    border: 1px solid #e3e9f5;
    border-radius: 14px;
    box-shadow: 0 26px 50px -24px rgba(15, 23, 42, .4);
    padding: 14px;
    animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}
.float-head {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #137a3f;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e6ecf5;
}
.float-head svg { width: 16px; height: 16px; }
.float-list { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; }
.float-list > div { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; }
.float-list dt { color: var(--ink-4); white-space: nowrap; }
.float-list dd { color: var(--ink-2); font-variant-numeric: tabular-nums; font-weight: 500; }
.float-list dd.strong { color: var(--brand-dark); font-weight: 700; }
.float-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed #e6ecf5;
}
.float-src {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--ink-4);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1px 5px;
}

/* ---------- 数据条 ---------- */
.metrics { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.metric {
    padding: 30px 24px;
    text-align: center;
    border-left: 1px solid var(--line);
}
.metric:first-child { border-left: 0; }
.metric strong {
    display: block;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}
.metric strong i { font-style: normal; font-size: .48em; font-weight: 700; color: var(--ink-3); margin-left: 2px; }
.metric > span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
    background: var(--bg-dark);
    color: #e6ecf7;
    position: relative;
    overflow: hidden;
}
.section-dark::before {
    content: "";
    position: absolute;
    width: 780px;
    height: 780px;
    top: -420px;
    right: -180px;
    background: radial-gradient(circle, rgba(37, 99, 235, .38), transparent 68%);
    pointer-events: none;
}
.section-dark::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    bottom: -380px;
    left: -160px;
    background: radial-gradient(circle, rgba(124, 58, 237, .3), transparent 68%);
    pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 {
    font-size: clamp(27px, 3.2vw, 40px);
    margin-bottom: 14px;
    letter-spacing: -.025em;
}
.section-head p { font-size: 16px; color: var(--ink-3); line-height: 1.75; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #9aa8c0; }

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 2px;
    background: currentColor;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 2px;
    opacity: .6;
}
.section-head.light .eyebrow { color: var(--brand-light); }

/* ---------- 功能卡片 ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.card {
    position: relative;
    padding: 28px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9e3f5; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--brand);
    background: linear-gradient(140deg, #eff5ff, #e8eefc);
    margin-bottom: 18px;
}
.card-icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-3); line-height: 1.7; }
.card-list { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.card-list li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    color: var(--ink-2);
}
.card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--brand-light);
    transform: rotate(45deg);
}

/* ---------- 识别链路 ---------- */
.pipeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.pipe {
    position: relative;
    padding: 24px 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.pipe:hover {
    background: rgba(255, 255, 255, .085);
    border-color: rgba(96, 165, 250, .5);
    transform: translateY(-3px);
}
.pipe-step {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--brand-light);
    margin-bottom: 12px;
}
.pipe-body h3 { font-size: 16.5px; color: #fff; margin-bottom: 8px; }
.pipe-body p { font-size: 13.5px; color: #93a3bd; line-height: 1.7; min-height: 46px; }
.pipe-time {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 700;
    color: #bfe0ff;
    background: rgba(37, 99, 235, .22);
    border: 1px solid rgba(96, 165, 250, .3);
    border-radius: 999px;
    padding: 3px 11px;
    font-variant-numeric: tabular-nums;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.tech-item {
    padding: 28px 30px 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.tech-item:nth-child(even) {
    padding-left: 30px;
    padding-right: 0;
    border-left: 1px solid rgba(255, 255, 255, .1);
}
.tech-item:nth-child(odd) { padding-right: 44px; }
.tech-item h4 { font-size: 15.5px; color: #fff; margin-bottom: 8px; }
.tech-item p { font-size: 13.5px; color: #93a3bd; line-height: 1.75; }

/* ---------- 场景 ---------- */
.scenes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.scene {
    position: relative;
    padding: 32px 30px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, #fff, #fbfcff);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
    overflow: hidden;
}
.scene:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d7e2f5; }
.scene-index {
    position: absolute;
    top: 18px;
    right: 26px;
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: #eef3fd;
    letter-spacing: -.04em;
    pointer-events: none;
    transition: color .3s;
}
.scene:hover .scene-index { color: #e3ecfd; }
.scene h3 { font-size: 20px; margin-bottom: 10px; }
.scene p { font-size: 14.5px; color: var(--ink-3); line-height: 1.75; max-width: 34em; }
.scene-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.scene-tags i {
    font-style: normal;
    font-size: 12px;
    color: var(--ink-2);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px 11px;
}

/* ---------- 方案 ---------- */
.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-featured {
    border-color: transparent;
    box-shadow: 0 26px 60px -28px rgba(37, 99, 235, .5);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(160deg, var(--brand), var(--accent)) border-box;
    border: 1.5px solid transparent;
}
.plan-badge {
    position: absolute;
    top: -12px;
    left: 28px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 18px -10px rgba(37, 99, 235, .9);
}
.plan header { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan h3 { font-size: 21px; }
.plan-desc { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.plan ul { flex: 1; display: flex; flex-direction: column; gap: 11px; padding: 22px 0 26px; }
.plan li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    color: var(--ink-2);
}
.plan li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 6px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg);
    border-radius: 1px;
}
.plan li.muted { color: var(--ink-4); }
.plan li.muted::before {
    border-color: #cbd5e1;
    width: 9px;
    height: 1px;
    border-left: 0;
    border-bottom: 1.5px solid #cbd5e1;
    transform: none;
    top: 11px;
}
.plans-note { margin-top: 26px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 56px;
    align-items: start;
}
.faq-intro h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.faq-intro p { font-size: 15px; color: var(--ink-3); line-height: 1.75; max-width: 22em; }
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--brand);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::after {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--ink-4);
    border-bottom: 2px solid var(--ink-4);
    transform: rotate(45deg) translateY(-2px);
    transition: transform .25s var(--ease), border-color .2s;
}
.faq-item[open] summary { color: var(--brand); }
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); border-color: var(--brand); }
.faq-answer { padding: 0 32px 20px 4px; }
.faq-answer p { font-size: 14.5px; color: var(--ink-3); line-height: 1.8; }

/* ---------- 在线工具入口 ---------- */
.tool-teaser { padding: 0 0 80px; }
.tool-teaser-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 34px;
    border-radius: var(--radius-lg);
    border: 1px solid #e2eaf8;
    background: linear-gradient(118deg, #eff5ff 0%, #f6f3ff 100%);
}
.tool-teaser-copy { max-width: 560px; }
.tool-teaser-copy .eyebrow { margin-bottom: 10px; }
.tool-teaser-copy h2 { font-size: 22px; letter-spacing: -.02em; }
.tool-teaser-copy p { margin-top: 8px; font-size: 14px; color: var(--ink-3); line-height: 1.7; }
.tool-teaser-links { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-teaser-links a {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe4f5;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    transition: color .18s, border-color .18s, transform .18s var(--ease), box-shadow .18s;
}
.tool-teaser-links a:hover {
    color: var(--brand);
    border-color: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -12px rgba(37, 99, 235, .8);
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding: 78px 0;
    background:
        radial-gradient(700px 340px at 85% 0%, rgba(124, 58, 237, .55), transparent 65%),
        radial-gradient(600px 300px at 10% 100%, rgba(37, 99, 235, .6), transparent 60%),
        linear-gradient(120deg, #1e3a8a 0%, #2563eb 45%, #4f46e5 100%);
    color: #fff;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .45;
    pointer-events: none;
}
.cta-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta h2 { font-size: clamp(25px, 3vw, 36px); margin-bottom: 10px; }
.cta p { font-size: 15.5px; color: rgba(255, 255, 255, .82); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta-contact { display: flex; align-items: center; gap: 14px; }
/* 二维码是白底图，外面留一圈白边当静区，扫码识别更稳 */
.cta-qr {
    display: block;
    flex: none;
    padding: 7px;
    border-radius: 12px;
    background: #fff;
    line-height: 0;
    box-shadow: 0 10px 24px rgba(4, 14, 34, .28);
}
.cta-qr img { display: block; width: 84px; height: 84px; }
.cta-contact-text { display: flex; flex-direction: column; gap: 5px; }
.cta-contact-text strong { font-size: 15px; color: #fff; font-weight: 600; letter-spacing: .01em; }
.cta-contact-text span { font-size: 12.5px; color: rgba(255, 255, 255, .72); line-height: 1.6; }

/* ---------- 页脚 ---------- */
.site-footer {
    background: #070c18;
    color: #8e9cb5;
    padding: 64px 0 28px;
    font-size: 14px;
}
.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 48px;
    padding-bottom: 40px;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text em { color: #5b6b85; }
.footer-brand p { margin-top: 16px; max-width: 26em; line-height: 1.75; font-size: 13.5px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #dbe3f0;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.footer-col a { font-size: 13.5px; color: #8e9cb5; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: 12.5px;
    color: #6d7c95;
}
.footer-sep { margin: 0 7px; opacity: .6; }
.footer-legal {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-legal a {
    color: #a9b6cc;
    transition: color .18s;
    text-underline-offset: 3px;
}
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #46536b;
}

/* ---------- 滚动进入动画 ----------
   默认可见；仅当脚本成功启用动画（html.js-motion）时才先隐藏，
   这样脚本加载失败或禁用 JS 时页面内容不会消失。 */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js-motion .reveal {
    opacity: 0;
    transform: translateY(18px);
    will-change: opacity, transform;
}
html.js-motion .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js-motion .reveal { opacity: 1; transform: none; transition: none; }
    .mock, .mock-float, .mock-row { animation: none !important; transform: none !important; }
    .hero-visual:hover .mock { transform: none; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; gap: 64px; }
    .hero-sub { max-width: none; }
    .hero-visual { max-width: 620px; }
    .mock { transform: none; }
    .mock-float { right: -12px; bottom: -34px; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
    .faq-intro p { max-width: none; }
}

@media (max-width: 900px) {
    .site-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 14px 20px 24px;
        background: rgba(255, 255, 255, .98);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -28px rgba(15, 23, 42, .4);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
    .site-nav > a { padding: 13px 10px; font-size: 16px; border-radius: 10px; }
    .nav-actions { margin: 12px 0 0; flex-direction: column; }
    .nav-actions .btn { width: 100%; padding: 13px 20px; }
    .nav-toggle { display: flex; }

    .section { padding: 72px 0; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .metric { border-left: 1px solid var(--line); padding: 24px 16px; }
    .metric:nth-child(odd) { border-left: 0; }
    .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .scenes { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
    .plan-featured { order: -1; }
    .tech-grid { grid-template-columns: 1fr; }
    .tech-item, .tech-item:nth-child(even) { padding: 24px 0; border-left: 0; }
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .header-inner { height: 64px; }
    .site-nav { top: 64px; max-height: calc(100vh - 64px); }
    .hero { padding: 116px 0 56px; }
    .hero::after { background-size: 44px 44px; }
    .hero-cta .btn { width: 100%; }
    .hero-points { gap: 6px 16px; }
    .hero-points li { font-size: 13px; }
    .mock-body { grid-template-columns: 1fr; min-height: 0; }
    .mock-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; border-radius: 0; gap: 4px; }
    .side-item { border-radius: 6px; }
    .mock-row { grid-template-columns: 1fr .9fr .8fr; }
    .mock-row span:nth-child(4) { display: none; }
    .mock-row.head span:nth-child(4) { display: none; }
    .mock-float { position: static; width: auto; margin: 14px; animation: none; }
    .mock-search { display: none; }
    .mock { padding-bottom: 0; }
    .cards { grid-template-columns: 1fr; }
    .pipeline { grid-template-columns: 1fr; }
    .pipe-body p { min-height: 0; }
    .section-head { margin-bottom: 36px; }
    .tool-teaser { padding: 0 0 56px; }
    .tool-teaser-inner { padding: 24px 20px; }
    .cta { padding: 60px 0; }
    .cta-side { width: 100%; }
    .cta-actions .btn { flex: 1; }
    .cta-contact { gap: 12px; }
    .cta-qr img { width: 72px; height: 72px; }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .scene { padding: 26px 22px; }
    .scene-index { font-size: 44px; }
    .faq-answer { padding-right: 8px; }
}
