/* 闪电助手 · 官网下载页 */
:root {
    --bg: #060a12;
    --panel: #0c1423;
    --line: #1a3050;
    --text: #e8f4ff;
    --muted: #6b8aab;
    --accent: #00d4ff;
    --accent2: #0099cc;
    --success: #00ff9d;
    --font: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif;
    --mono: "Consolas", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 50% at 15% 10%, rgba(0, 212, 255, 0.1), transparent),
        radial-gradient(ellipse 50% 40% at 85% 90%, rgba(123, 97, 255, 0.07), transparent),
        linear-gradient(160deg, #040810, #0a1422 50%, #060a12);
}

.site-topline {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), #7b61ff, transparent);
    opacity: 0.75;
    z-index: 10;
}

.site-wrap {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 72px;
}

.site-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 16px rgba(0, 212, 255, 0.35);
}

.site-logo span {
    color: var(--muted);
    font-weight: 400;
    font-size: 13px;
    margin-left: 10px;
    font-family: var(--mono);
}

.site-nav a {
    color: var(--muted);
    font-size: 13px;
    margin-left: 20px;
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    text-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}

.hero-desc {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 440px;
}

.hero-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.tag {
    font-family: var(--mono);
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: rgba(12, 20, 35, 0.6);
}

.tag-accent {
    color: var(--accent);
    border-color: rgba(0, 212, 255, 0.35);
    background: rgba(0, 212, 255, 0.08);
}

.download-box {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #00c4ef, #0099cc);
    color: #001018;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 212, 255, 0.45);
    text-decoration: none;
    color: #001018;
}

.btn-download.disabled {
    background: #1a3050;
    color: var(--muted);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-download.disabled:hover { transform: none; }

.version-note {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
}

.hero-visual {
    background: rgba(12, 20, 35, 0.85);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.hero-visual pre {
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.7;
    color: #7ec8e8;
    white-space: pre-wrap;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px;
}

.feature-card .icon { font-size: 24px; margin-bottom: 12px; }

.feature-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

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

.notice-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 48px;
}

.notice-panel h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--accent);
}

.notice-panel p {
    font-size: 13px;
    color: var(--muted);
    white-space: pre-wrap;
}

.steps {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 28px 32px;
}

.steps h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.steps ol {
    padding-left: 20px;
    color: var(--muted);
    font-size: 14px;
}

.steps li { margin-bottom: 10px; }
.steps li strong { color: var(--text); }

.site-footer {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 12px;
    color: #3d5a78;
    font-family: var(--mono);
}

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .features { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
}
