/* ==========================================================================
   采集器数据处理 · lxgzj237.top
   深色单页样式，无第三方依赖。
   ========================================================================== */

:root {
    --bg: #070a0f;
    --bg-soft: #0b1018;
    --surface: rgba(255, 255, 255, 0.028);
    --surface-2: rgba(255, 255, 255, 0.055);
    --line: rgba(148, 163, 184, 0.14);
    --line-strong: rgba(148, 163, 184, 0.26);
    --text: #e9eef6;
    --text-soft: #c3cfdd;
    --muted: #98a7ba;
    --faint: #6b7b90;
    --gold: #f0c060;
    --gold-deep: #d99a2b;
    --blue: #60a5fa;
    --cyan: #22d3ee;
    --green: #34d399;
    --red: #f87171;
    --radius: 18px;
    --radius-sm: 12px;
    --max: 1160px;
    --shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
    --font: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
    --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
    scrollbar-color: #334155 var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg);
    background-image:
        radial-gradient(900px 620px at 82% -12%, rgba(37, 99, 235, 0.2), transparent 62%),
        radial-gradient(720px 520px at 6% -4%, rgba(13, 148, 136, 0.09), transparent 60%),
        radial-gradient(1000px 720px at 50% 118%, rgba(217, 154, 43, 0.065), transparent 64%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
    font-family: var(--font);
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

::selection {
    background: rgba(240, 192, 96, 0.32);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

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

.container {
    width: min(100% - 40px, var(--max));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--gold);
    color: #1a1204;
    font-size: 13px;
    font-weight: 700;
    transition: top 0.18s ease;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- 页头 ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 10, 15, 0.72);
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(7, 10, 15, 0.9);
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--text);
}

.brand-logo {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 9px;
    filter: drop-shadow(0 6px 16px rgba(59, 130, 246, 0.28));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.brand-text strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.brand-text small {
    margin-top: 2px;
    color: var(--faint);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.18s ease, background 0.18s ease;
}

.site-nav a:hover {
    color: var(--text);
    background: var(--surface-2);
}

.site-nav a[aria-current="page"] {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.version-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.version-chip:hover {
    color: var(--text);
    border-color: var(--line-strong);
}

.version-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease;
}

.site-header.is-open .nav-toggle span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

/* ---------- 首屏 ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 104px) 0 clamp(46px, 6.5vw, 82px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 72% 60% at 50% 0%, #000 8%, transparent 76%);
    mask-image: radial-gradient(ellipse 72% 60% at 50% 0%, #000 8%, transparent 76%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: clamp(36px, 5.5vw, 76px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #b9c7d8;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: dot-pulse 2.6s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
    }
}

.hero h1 {
    margin: 20px 0 10px;
    font-size: clamp(2.7rem, 5.6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.hero-sub {
    width: fit-content;
    margin-bottom: 20px;
    background: linear-gradient(100deg, #7dd3fc 4%, #5eead4 48%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.005em;
}

.lede {
    max-width: 36em;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.78;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 28px;
    color: #b6c3d4;
    font-size: 13px;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-points li::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: none;
    border: 1px solid rgba(52, 211, 153, 0.38);
    border-radius: 50%;
    background-color: rgba(52, 211, 153, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 9px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f5cd72, #dfa53a);
    color: #1a1204;
    box-shadow: 0 14px 34px -14px rgba(240, 192, 96, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px -16px rgba(240, 192, 96, 0.66), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary.is-disabled,
.btn-primary:disabled {
    border-color: rgba(240, 192, 96, 0.24);
    background: linear-gradient(135deg, rgba(240, 192, 96, 0.24), rgba(217, 154, 43, 0.16));
    color: #b7a071;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.07);
}

.btn-lg {
    width: 100%;
    height: 54px;
    padding: 0 26px;
    font-size: 15px;
}

.hero-meta {
    margin-top: 16px;
    color: var(--faint);
    font-size: 12px;
    letter-spacing: 0.01em;
}

/* ---------- 首屏应用示意 ---------- */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    animation: fade-up 0.8s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.visual-glow {
    position: absolute;
    inset: -10% -14%;
    z-index: 0;
    background:
        radial-gradient(closest-side at 56% 42%, rgba(59, 130, 246, 0.3), transparent 72%),
        radial-gradient(closest-side at 72% 76%, rgba(34, 211, 238, 0.16), transparent 72%),
        radial-gradient(closest-side at 30% 82%, rgba(240, 192, 96, 0.1), transparent 70%);
    filter: blur(26px);
    pointer-events: none;
}

.app-preview {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: linear-gradient(180deg, #0e1520, #0a1018 70%);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: perspective(1600px) rotateY(-4.5deg) rotateX(1.5deg);
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 981px) {
    .hero-visual:hover .app-preview {
        transform: perspective(1600px) rotateY(0deg) rotateX(0deg);
    }
}

.app-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.018);
    color: #8fa0b5;
    font-size: 11px;
}

.app-dots {
    display: flex;
    gap: 5px;
}

.app-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #334155;
}

.app-dots i:nth-child(1) {
    background: #f87171;
}

.app-dots i:nth-child(2) {
    background: #fbbf24;
}

.app-dots i:nth-child(3) {
    background: #34d399;
}

.app-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c8d3e1;
    font-weight: 500;
}

.app-title img {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.app-build {
    margin-left: auto;
    padding: 2px 7px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    color: #7d8da3;
    font-family: var(--mono);
    font-size: 9.5px;
}

.app-tabs {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 39px;
    padding: 0 10px;
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    color: #76879c;
    font-size: 11px;
    white-space: nowrap;
}

.app-tabs span {
    padding: 6px 10px;
    border-radius: 6px 6px 0 0;
}

.app-tabs .is-active {
    margin-bottom: -1px;
    border-bottom: 2px solid #d9a73f;
    background: rgba(240, 192, 96, 0.08);
    color: #f0d49a;
}

.app-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: #93a4b8;
    font-family: var(--mono);
    font-size: 10px;
}

.app-path em {
    padding: 1px 6px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.1);
    color: #93c5fd;
    font-family: var(--font);
    font-size: 9px;
    font-style: normal;
}

.app-path em:nth-of-type(2) {
    border-color: rgba(52, 211, 153, 0.2);
    background: rgba(52, 211, 153, 0.08);
    color: #6ee7b7;
}

.app-path em:nth-of-type(3) {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(148, 163, 184, 0.08);
    color: #a9b7c8;
}

.app-content {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 10px;
    padding: 12px;
}

.app-table {
    overflow: hidden;
    align-self: start;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    font-size: 10px;
}

.app-table .tr {
    display: grid;
    grid-template-columns: 1fr 0.9fr 0.8fr;
    gap: 4px;
    padding: 5px 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.07);
    color: #a9b7c8;
}

.app-table .tr:last-child {
    border-bottom: 0;
}

.app-table .th {
    background: rgba(255, 255, 255, 0.025);
    color: #6f8096;
    font-size: 9px;
    letter-spacing: 0.04em;
}

.app-table .tr span:nth-child(2),
.app-table .tr span:nth-child(3) {
    text-align: right;
    font-family: var(--mono);
    font-size: 9.5px;
}

.app-table .hl {
    background: rgba(240, 192, 96, 0.07);
    color: #f4d79b;
}

.app-chart {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
}

.chart-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
    color: #6f8096;
    font-size: 9px;
}

.app-chart svg {
    width: 100%;
    height: auto;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
    color: #8b9bb0;
    font-size: 8.5px;
}

.chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chart-legend i {
    display: inline-block;
    width: 10px;
    height: 2px;
    border-radius: 2px;
}

.app-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px 9px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    color: #71839a;
    font-size: 9.5px;
}

.ok-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}

.status-sep {
    margin: 0 2px;
    opacity: 0.4;
}

.visual-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.app-float {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 999px;
    background: rgba(11, 18, 28, 0.85);
    color: #86efac;
    font-size: 10px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.app-float svg {
    width: 13px;
    height: 13px;
}

.visual-caption {
    color: #5f6f84;
    font-size: 10.5px;
    letter-spacing: 0.03em;
    text-align: right;
}

/* ---------- 数据条 ---------- */

.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.014);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
    padding: 24px 22px;
    border-left: 1px solid var(--line);
}

.stat:first-child {
    border-left: 0;
}

.stat strong {
    display: block;
    margin-bottom: 2px;
    color: #f1f5fb;
    font-size: clamp(1.55rem, 2.8vw, 2.05rem);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.stat strong em {
    color: var(--gold);
    font-size: 0.56em;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
}

.stat span {
    color: var(--muted);
    font-size: 12px;
}

/* ---------- 通用区块 ---------- */

.section {
    padding: clamp(64px, 8vw, 104px) 0;
}

.section-alt {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.004));
}

.section-head {
    max-width: 720px;
    margin-bottom: 42px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: 0.65;
}

.section-head h2 {
    margin: 12px 0 14px;
    font-size: clamp(1.8rem, 3.4vw, 2.55rem);
    font-weight: 750;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

.section-head p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.75;
}

/* ---------- 功能卡片 ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.01));
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 192, 96, 0.55), transparent);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.feature:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
    box-shadow: 0 24px 54px -34px rgba(0, 0, 0, 0.95);
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 11px;
    background: rgba(96, 165, 250, 0.08);
    color: #93c5fd;
}

.feature:nth-child(2) .feature-icon {
    border-color: rgba(45, 212, 191, 0.18);
    background: rgba(45, 212, 191, 0.07);
    color: #5eead4;
}

.feature:nth-child(3) .feature-icon {
    border-color: rgba(240, 192, 96, 0.2);
    background: rgba(240, 192, 96, 0.07);
    color: #f4d79b;
}

.feature:nth-child(4) .feature-icon {
    border-color: rgba(34, 211, 238, 0.18);
    background: rgba(34, 211, 238, 0.07);
    color: #67e8f9;
}

.feature:nth-child(5) .feature-icon {
    border-color: rgba(167, 139, 250, 0.2);
    background: rgba(167, 139, 250, 0.07);
    color: #c4b5fd;
}

.feature:nth-child(6) .feature-icon {
    border-color: rgba(52, 211, 153, 0.18);
    background: rgba(52, 211, 153, 0.07);
    color: #6ee7b7;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature h3 {
    margin-bottom: 7px;
    font-size: 15.5px;
    font-weight: 650;
    letter-spacing: 0.005em;
}

.feature p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

/* ---------- 流程 ---------- */

.workflow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
}

.step-num {
    display: block;
    margin-bottom: 18px;
    color: rgba(240, 192, 96, 0.6);
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.step h3 {
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 650;
}

.step p {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.7;
}

.step::after {
    content: "";
    position: absolute;
    top: 34px;
    right: -15px;
    width: 15px;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), transparent);
}

.step:last-child::after {
    display: none;
}

/* ---------- 下载 ---------- */

#download {
    position: relative;
}

#download::before {
    content: "";
    position: absolute;
    inset: 12% 0 8%;
    z-index: 0;
    background: radial-gradient(640px 320px at 22% 45%, rgba(240, 192, 96, 0.055), transparent 70%);
    pointer-events: none;
}

#download .container {
    position: relative;
    z-index: 1;
}

.download-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    overflow: hidden;
    border: 1px solid rgba(240, 192, 96, 0.2);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(240, 192, 96, 0.05), rgba(96, 165, 250, 0.035) 45%, rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow);
}

.download-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 192, 96, 0.7), rgba(96, 165, 250, 0.45), transparent);
}

.download-main {
    min-width: 0;
    padding: clamp(24px, 4vw, 38px);
    border-right: 1px solid var(--line);
}

.download-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.download-head img {
    width: 54px;
    height: 54px;
    flex: none;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.download-head h3 {
    margin-bottom: 3px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.download-head p {
    color: var(--muted);
    font-size: 12px;
}

.status-pill {
    margin-left: auto;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.status-pill.soon {
    border-color: rgba(240, 192, 96, 0.28);
    background: rgba(240, 192, 96, 0.08);
    color: #f4cf86;
}

.status-pill.open {
    border-color: rgba(52, 211, 153, 0.32);
    background: rgba(52, 211, 153, 0.08);
    color: #86efac;
}

.download-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    margin-bottom: 22px;
}

.download-facts dt {
    margin-bottom: 4px;
    color: var(--faint);
    font-size: 10.5px;
    letter-spacing: 0.07em;
}

.download-facts dd {
    color: var(--text);
    font-size: 14.5px;
    font-weight: 650;
}

.download-facts dd span {
    margin-left: 6px;
    color: var(--faint);
    font-size: 10.5px;
    font-weight: 400;
}

.release-notes {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 11px 14px;
    border-left: 2px solid rgba(240, 192, 96, 0.5);
    border-radius: 0 10px 10px 0;
    background: rgba(240, 192, 96, 0.045);
}

.release-notes > span {
    padding-top: 2px;
    color: var(--gold);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.release-notes p {
    color: var(--text-soft);
    font-size: 12.5px;
    line-height: 1.65;
}

.sha-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.sha-row > span {
    color: var(--faint);
    font-size: 10px;
    letter-spacing: 0.07em;
}

.sha-row code {
    flex: 1;
    min-width: 220px;
    padding: 6px 9px;
    overflow-wrap: anywhere;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.26);
    color: #9fb3c9;
    font-family: var(--mono);
    font-size: 10px;
    line-height: 1.55;
}

.copy-btn {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 10.5px;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.copy-btn:hover {
    border-color: var(--line-strong);
    background: var(--surface-2);
    color: var(--text);
}

.copy-btn.is-copied {
    border-color: rgba(52, 211, 153, 0.4);
    color: var(--green);
}

.download-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: clamp(24px, 4vw, 38px);
    background: rgba(7, 10, 15, 0.38);
}

.download-notice {
    padding: 10px 12px;
    border: 1px solid rgba(240, 192, 96, 0.18);
    border-radius: 10px;
    background: rgba(240, 192, 96, 0.05);
    color: #d8bd85;
    font-size: 12px;
    line-height: 1.65;
}

.download-points {
    display: grid;
    gap: 7px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11.5px;
}

.download-points li {
    display: flex;
    gap: 7px;
    align-items: flex-start;
}

.download-points li::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: none;
    margin-top: 7px;
    border-radius: 50%;
    background: rgba(240, 192, 96, 0.55);
}

.download-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    color: var(--faint);
    font-size: 11.5px;
    line-height: 1.65;
}

.download-note svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 1px;
}

/* ---------- FAQ ---------- */

.faq-list {
    display: grid;
    gap: 10px;
    max-width: 860px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex: none;
    color: var(--gold);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-body {
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.78;
}

/* ---------- 页脚 ---------- */

.site-footer {
    margin-top: 12px;
    border-top: 1px solid var(--line);
    background: rgba(4, 7, 11, 0.55);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
    padding: 44px 0 30px;
}

.footer-brand {
    max-width: 380px;
}

.footer-brand .brand {
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--faint);
    font-size: 12px;
    line-height: 1.75;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px 26px;
    padding-top: 8px;
}

.footer-links a {
    color: var(--muted);
    font-size: 12.5px;
    transition: color 0.18s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 14px;
    padding: 18px 0 24px;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 11px;
}

.legal-divider {
    width: 1px;
    height: 12px;
    background: var(--line);
}

.icp-slot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border: 1px dashed rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.018);
}

.icp-slot.is-filled {
    border-style: solid;
    border-color: rgba(148, 163, 184, 0.18);
}

.icp-label {
    color: var(--faint);
    font-size: 9.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.icp-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px dotted rgba(148, 163, 184, 0.4);
    color: #b8c6d8;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.icp-link:hover {
    border-bottom-color: var(--gold);
    color: var(--gold);
}

.icp-link svg {
    width: 10px;
    height: 10px;
    opacity: 0.65;
}

.footer-note {
    margin-left: auto;
    color: var(--faint);
}

/* ---------- 下载提示页 ---------- */

.notice-page {
    padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 120px);
}

.notice-card {
    max-width: 620px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 48px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(500px 260px at 50% -10%, rgba(240, 192, 96, 0.09), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    box-shadow: var(--shadow);
    text-align: center;
}

.notice-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    border: 1px solid rgba(240, 192, 96, 0.26);
    border-radius: 16px;
    background: rgba(240, 192, 96, 0.08);
    color: var(--gold);
}

.notice-icon svg {
    width: 26px;
    height: 26px;
}

.notice-card h1 {
    margin: 12px 0 14px;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 750;
    letter-spacing: -0.02em;
}

.notice-text {
    max-width: 30em;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.notice-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 26px 0;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--faint);
    font-size: 11.5px;
}

.notice-meta strong {
    margin-left: 4px;
    color: var(--text-soft);
    font-weight: 600;
}

.notice-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.notice-hint {
    margin-top: 20px;
    color: var(--faint);
    font-size: 11px;
}

/* ---------- 入场动画 ---------- */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy > * {
    animation: fade-up 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > :nth-child(2) {
    animation-delay: 0.04s;
}

.hero-copy > :nth-child(3) {
    animation-delay: 0.08s;
}

.hero-copy > :nth-child(4) {
    animation-delay: 0.12s;
}

.hero-copy > :nth-child(5) {
    animation-delay: 0.16s;
}

.hero-copy > :nth-child(6) {
    animation-delay: 0.2s;
}

.hero-copy > :nth-child(7) {
    animation-delay: 0.24s;
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .hero-copy {
        max-width: 680px;
    }

    .hero-visual {
        max-width: 640px;
        margin: 0 auto;
    }

    .app-preview {
        transform: none;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step:nth-child(2)::after {
        display: none;
    }

    .download-card {
        grid-template-columns: 1fr;
    }

    .download-main {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .download-side {
        align-items: stretch;
    }
}

@media (max-width: 820px) {
    .header-inner {
        height: 64px;
    }

    .js .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        max-height: calc(100vh - 96px);
        padding: 8px;
        overflow: auto;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #0d1420;
        box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
    }

    .js .site-header.is-open .site-nav {
        display: flex;
    }

    .js .site-nav a {
        padding: 11px 12px;
        font-size: 14px;
    }

    .js .nav-toggle {
        display: inline-flex;
    }

    .no-js .header-inner {
        height: auto;
        padding: 12px 0;
        flex-wrap: wrap;
    }

    .no-js .site-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 2px 4px;
    }

    .no-js .nav-toggle {
        display: none;
    }

    .version-chip {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 32px);
    }

    .hero {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 12vw, 3rem);
    }

    .lede {
        font-size: 14.5px;
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-actions .btn {
        flex: 1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat {
        padding: 20px 16px;
        border-top: 1px solid var(--line);
    }

    .stat:nth-child(-n + 2) {
        border-top: 0;
    }

    .stat:nth-child(3) {
        border-left: 0;
    }

    .feature-grid,
    .workflow {
        grid-template-columns: 1fr;
    }

    .step::after {
        display: none;
    }

    .download-facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .download-head {
        flex-wrap: wrap;
    }

    .status-pill {
        margin-left: 0;
    }

    .sha-row code {
        min-width: 0;
    }

    .app-tabs span:nth-child(n + 4) {
        display: none;
    }

    .app-content {
        grid-template-columns: 1fr;
    }

    .app-table {
        display: none;
    }

    .app-path {
        font-size: 9px;
    }

    .visual-foot {
        align-items: flex-start;
    }

    .visual-caption {
        text-align: left;
    }

    .footer-top {
        padding-top: 34px;
    }

    .footer-links {
        gap: 10px 20px;
    }

    .footer-note {
        width: 100%;
        margin-left: 0;
    }

    .legal-divider {
        display: none;
    }

    .notice-meta {
        flex-direction: column;
        gap: 6px;
    }

    .notice-actions .btn {
        flex: 1;
    }
}

@media (max-width: 420px) {
    .hero-points {
        display: grid;
        gap: 7px;
    }

    .download-head img {
        width: 46px;
        height: 46px;
    }

    .icp-slot {
        width: 100%;
        justify-content: space-between;
    }
}

/* ---------- 减少动态效果 ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .app-preview {
        transform: none;
    }
}
