/* ============================================================
   QQBot · 公开首页
   QQ 蓝白体系 / 编辑式排版 / 轻动效
   ============================================================ */

.landing-body {
    background: #fff;
    overflow-x: clip;
}

.landing-body .wrap {
    width: min(1200px, 100% - 56px);
    margin: 0 auto;
}

/* ---------- 顶部导航 ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}
.nav-brand:hover { color: var(--ink); }
.nav-brand .brand-mark { width: 34px; height: 34px; border-radius: 9px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-links a {
    position: relative;
    font-size: 13.5px;
    color: var(--ink-2);
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-login { font-size: 13.5px; color: var(--ink-2); }
.nav-login:hover { color: var(--primary); }
.nav-user {
    font-size: 13px;
    color: var(--ink-2);
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 按钮 ---------- */
.lbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, border-color .18s ease,
                transform .18s ease, box-shadow .18s ease;
}
.lbtn .arrow { font-weight: 400; transition: transform .18s ease; }
.lbtn:hover .arrow { transform: translateX(3px); }

.lbtn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(0, 102, 255, .65);
}
.lbtn-primary:hover {
    background: var(--primary-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px -10px rgba(0, 82, 217, .7);
}
.lbtn-ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}
.lbtn-ghost:hover {
    color: var(--primary);
    border-color: rgba(0, 102, 255, .35);
    transform: translateY(-1px);
}
.lbtn-lg { height: 48px; padding: 0 26px; font-size: 14.5px; border-radius: 11px; }
.lbtn-white { background: #fff; color: var(--primary-deep); }
.lbtn-white:hover { background: #eef4ff; color: var(--primary-deep); transform: translateY(-1px); }
.lbtn-outline {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .38);
}
.lbtn-outline:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- 通用标签 ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: .22em;
    color: var(--primary);
    text-transform: uppercase;
}
.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, .12);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 78px 0 86px;
    overflow: hidden;
    background: #fff;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(0, 60, 180, .045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 60, 180, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(720px 460px at 72% 18%, #000 0%, transparent 78%);
    mask-image: radial-gradient(720px 460px at 72% 18%, #000 0%, transparent 78%);
}
.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(620px 420px at 80% 8%, rgba(0, 102, 255, .12), transparent 68%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 56px;
}
.hero-copy h1 {
    margin: 20px 0 22px;
    font-size: clamp(38px, 4.6vw, 60px);
    line-height: 1.13;
    letter-spacing: -.02em;
    font-weight: 700;
    color: var(--ink);
}
.grad {
    background: linear-gradient(96deg, #0066ff 0%, #3d8bff 55%, #6aa9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lead {
    max-width: 540px;
    margin: 0;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--ink-2);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}
.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--ink-2);
}
.hero-points .ico { width: 15px; height: 15px; color: var(--primary); opacity: .85; }

/* ---------- 控制台预览 ---------- */
.hero-visual { position: relative; }
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 12% -6% -12% 6%;
    background: radial-gradient(60% 60% at 50% 50%, rgba(0, 102, 255, .16), transparent 70%);
    filter: blur(8px);
    z-index: 0;
}
.mock {
    position: relative;
    z-index: 1;
    padding: 18px 18px 30px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow:
        0 30px 70px -34px rgba(12, 44, 110, .35),
        0 2px 6px rgba(16, 24, 40, .04);
}
.mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
}
.mock-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}
.mock-title .ico { width: 16px; height: 16px; color: var(--primary); }
.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 99px;
    background: var(--success-soft);
    color: var(--success);
    font-size: 11px;
    font-weight: 600;
}
.live-pill i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 1.8s ease-in-out infinite;
}
.mock-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 16px 0;
}
.mock-kpi {
    padding: 11px 12px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: var(--surface-2);
}
.mock-kpi small { display: block; font-size: 11px; color: var(--ink-3); }
.mock-kpi strong {
    display: block;
    margin-top: 2px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.01em;
}
.mock-kpi em {
    display: block;
    margin-top: 1px;
    font-style: normal;
    font-size: 10.5px;
    color: var(--ink-3);
}
.mock-kpi em.up { color: var(--success); }

.mock-chart { padding: 4px 2px 0; }
.bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 96px;
    padding: 0 2px;
}
.bars span {
    flex: 1;
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, #66a3ff, #0066ff);
    opacity: .88;
    transform-origin: bottom;
    animation: barIn .8s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: calc(var(--i) * 45ms + .45s);
}
.bars span:nth-child(3n) { background: linear-gradient(180deg, #b9d7ff, #6aa9ff); }
.chart-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 11px;
    color: var(--ink-3);
}
.legend { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.lg-a { background: #0066ff; }
.lg-b { background: #9cc4ff; margin-left: 6px; }

.mock-rows { margin-top: 14px; border-top: 1px solid var(--line-soft); }
.mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 2px;
    font-size: 12px;
    border-bottom: 1px solid var(--line-soft);
}
.mock-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.row-key { color: var(--ink-3); flex: 0 0 auto; }
.row-val { color: var(--ink-2); text-align: right; }
.row-val.ok { color: var(--success); }

/* 悬浮小卡 */
.float-card {
    position: absolute;
    z-index: 2;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    box-shadow: 0 16px 34px -20px rgba(12, 44, 110, .45);
    animation: bob 6s ease-in-out infinite;
}
.float-a {
    top: -50px;
    left: -24px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    animation-delay: -.6s;
}
.float-a code {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 11.5px;
    color: var(--primary-deep);
}
.float-a .ok { font-size: 11px; color: var(--success); }
.float-b {
    right: -18px;
    bottom: -30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation-delay: -2.4s;
}
.fc-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    letter-spacing: .06em;
    color: var(--ink-3);
}
.fc-label .ico { width: 13px; height: 13px; color: var(--primary); }
.fc-body { font-size: 12px; color: var(--ink-2); }
.fc-body b { color: var(--ink); font-weight: 600; }

/* ---------- 数据条 ---------- */
.metrics {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.metrics-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 26px 0;
}
.metric {
    position: relative;
    padding: 2px 30px;
}
.metric:first-child { padding-left: 0; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 2.8vw, 36px);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--ink);
}
.metric span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--ink-3);
}

/* ---------- 能力标签滚动 ---------- */
.marquee-wrap {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
    background: #fff;
}
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 38px;
    width: max-content;
    animation: scrollX 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    font-size: 12.5px;
    letter-spacing: .04em;
    color: var(--ink-2);
}
.tag i { width: 4px; height: 4px; border-radius: 50%; background: #9cc4ff; }

/* ---------- 区块 ---------- */
.section { padding: 96px 0; }
.section-alt {
    background: var(--surface-2);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.sec-head { max-width: 660px; margin-bottom: 44px; }
.sec-head h2,
.stack-copy h2 {
    margin: 16px 0 12px;
    font-size: clamp(28px, 3.1vw, 38px);
    line-height: 1.24;
    letter-spacing: -.02em;
    font-weight: 700;
    color: var(--ink);
}
.sec-head p,
.stack-copy > p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--ink-2);
}

/* ---------- Bento ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 102, 255, .3);
    box-shadow: 0 20px 44px -30px rgba(12, 44, 110, .5);
}
.card-lg { grid-column: span 3; }
.card-sm { grid-column: span 2; padding: 22px; }
.card-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 10px;
}
.card-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
}
.card-icon .ico { width: 18px; height: 18px; }
.card-sm .card-icon { width: 34px; height: 34px; border-radius: 9px; }
.card h3 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink);
}
.card-sm h3 { margin: 12px 0 0; font-size: 15px; }
.card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.78;
    color: var(--ink-2);
}

/* 代码块 */
.code {
    margin-top: 18px;
    border-radius: 12px;
    overflow: hidden;
    background: #0b1220;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.code-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 11px;
    color: #7c8aa0;
    font-family: ui-monospace, Consolas, monospace;
}
.code-bar .dots { display: inline-flex; gap: 5px; }
.code-bar .dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}
.code pre {
    margin: 0;
    padding: 16px 18px;
    overflow-x: auto;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.75;
    color: #cfd8e6;
}
.c-method { color: #67a7ff; font-weight: 600; }
.c-path { color: #e6edf7; }
.c-key { color: #7cb8ff; }
.c-str { color: #86e0b0; }
.c-num { color: #f0b45f; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.chips span {
    padding: 4px 10px;
    border-radius: 99px;
    border: 1px solid var(--line-soft);
    background: #f6f8fb;
    font-size: 11.5px;
    color: var(--ink-2);
}

/* 事件卡 */
.event {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
}
.event-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.event-type {
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-family: ui-monospace, Consolas, monospace;
    font-size: 11px;
    letter-spacing: .02em;
}
.verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--success);
}
.verified .ico { width: 13px; height: 13px; }
.event-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    margin-top: 12px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 11.5px;
}
.event-body .ek { color: var(--ink-3); }
.event-body .ev { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-ack {
    margin-top: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--success-soft);
    color: var(--success);
    font-family: ui-monospace, Consolas, monospace;
    font-size: 11.5px;
}

/* ---------- 技术底座 ---------- */
.stack {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 64px;
}
.stack-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}
.stack-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}
.stack-list li:last-child { padding-bottom: 0; }
.li-idx {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
}
.stack-list strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.stack-list p { margin: 4px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.stack-list code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 5px;
    background: #eef2f7;
    color: var(--primary-deep);
}

.stack-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
}
.panel-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
}
.panel-title .ico { width: 16px; height: 16px; color: var(--primary); }
.panel-list { margin-top: 6px; }
.panel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px;
    color: var(--ink-2);
}
.panel-item b { font-weight: 600; color: var(--ink); }
.panel-item b.ok { color: var(--success); }
.panel-note {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line-soft);
    font-size: 12px;
    color: var(--ink-3);
}

/* ---------- 三步流程 ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.step {
    padding-top: 22px;
    border-top: 2px solid var(--line);
    transition: border-color .2s ease;
}
.step:hover { border-top-color: var(--primary); }
.step-idx {
    display: block;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: rgba(0, 102, 255, .16);
}
.step h3 {
    margin: 14px 0 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}
.step p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--ink-2);
}
.step-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 5px 11px;
    border-radius: 99px;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-size: 11.5px;
}

/* ---------- 底部 CTA ---------- */
.cta-section { padding: 8px 0 96px; }
.cta {
    position: relative;
    overflow: hidden;
    padding: 68px 56px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0052d9 0%, #0066ff 58%, #2b7fff 100%);
    box-shadow: 0 34px 70px -34px rgba(0, 82, 217, .65);
    color: #fff;
}
.cta-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(70% 120% at 80% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(70% 120% at 80% 0%, #000 0%, transparent 75%);
}
.cta > * { position: relative; }
.eyebrow.light { color: rgba(255, 255, 255, .72); }
.eyebrow.light .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
.cta h2 {
    margin: 18px 0 14px;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.22;
    letter-spacing: -.02em;
    font-weight: 700;
    color: #fff;
}
.cta p {
    max-width: 520px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .8);
}
.cta > .cta-mark {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 320px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 0 0 44px rgba(255, 255, 255, .045), 0 0 0 92px rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .13);
    pointer-events: none;
}
.cta-mark .ico { width: 140px; height: 140px; stroke-width: .9; }

/* ---------- 页脚 ---------- */
.site-foot {
    border-top: 1px solid var(--line);
    background: #fff;
    padding-top: 56px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 32px;
}
.foot-brand p {
    margin: 16px 0 0;
    font-size: 12.5px;
    line-height: 1.95;
    color: var(--ink-3);
}
.foot-col h4 {
    margin: 2px 0 14px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink);
}
.foot-col a {
    display: block;
    margin: 9px 0;
    font-size: 12.5px;
    color: var(--ink-3);
}
.foot-col a:hover { color: var(--primary); }
.foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 44px;
    padding: 18px 0 26px;
    border-top: 1px solid var(--line-soft);
    font-size: 12px;
    color: var(--ink-3);
}
.foot-meta { color: var(--ink-3); }

/* ---------- 动效 ---------- */
.rise {
    opacity: 0;
    transform: translateY(14px);
    animation: rise .8s cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes rise {
    to { opacity: 1; transform: none; }
}
@keyframes barIn {
    from { transform: scaleY(.1); opacity: 0; }
    to { transform: scaleY(1); opacity: .88; }
}
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 168, 112, .35); }
    50% { opacity: .55; box-shadow: 0 0 0 4px rgba(0, 168, 112, 0); }
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes scrollX {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; gap: 52px; }
    .hero-copy { max-width: 660px; }
    .hero-visual { max-width: 620px; }
    .stack { grid-template-columns: 1fr; gap: 40px; }
    .card-lg { grid-column: span 6; }
    .card-sm { grid-column: span 3; }
}
@media (max-width: 900px) {
    .nav-links { display: none; }
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 76px 0; }
    .cta { padding: 56px 40px; }
    .cta > .cta-mark { display: none; }
}
@media (max-width: 720px) {
    .landing-body .wrap { width: calc(100% - 40px); }
    .hero { padding: 54px 0 64px; }
    .hero-inner { gap: 44px; }
    .float-a { left: -8px; top: -16px; }
    .float-b { right: -6px; bottom: -18px; }
    .metrics-inner { grid-template-columns: repeat(2, 1fr); row-gap: 24px; padding: 24px 0; }
    .metric { padding: 2px 20px; }
    .metric:nth-child(odd) { padding-left: 0; border-left: 0; }
    .metric:nth-child(even) { border-left: 1px solid var(--line); }
    .metrics-inner .metric:nth-child(3) { border-top: 1px solid var(--line-soft); padding-top: 22px; }
    .metrics-inner .metric:nth-child(4) { border-top: 1px solid var(--line-soft); padding-top: 22px; }
    .card-sm { grid-column: span 6; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .foot-brand { grid-column: span 2; }
    .foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 560px) {
    .nav-inner { height: 58px; }
    .nav-actions .nav-user { display: none; }
    .nav-actions { gap: 12px; }
    .hero-copy h1 { font-size: clamp(32px, 9vw, 40px); }
    .lead { font-size: 14.5px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .lbtn { width: 100%; }
    .hero-points { gap: 8px 18px; }
    .float-card { display: none; }
    .hero-visual::before { display: none; }
    .mock-kpis { grid-template-columns: 1fr; }
    .mock-kpi { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
    .mock-kpi strong { margin: 0; }
    .mock-kpi em { margin: 0; }
    .cta { padding: 40px 24px; border-radius: 20px; }
    .cta-section { padding-bottom: 72px; }
    .foot-col h4 { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .rise, .bars span, .float-card, .marquee-track, .live-pill i {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
