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

:root {
    --bg: #0a0e27;
    --panel: rgba(20, 25, 45, 0.7);
    --border: rgba(0, 240, 255, 0.15);
    --border-hover: rgba(0, 240, 255, 0.4);
    --text: #e0e6f1;
    --text-dim: #8892a6;
    --text-dim-2: #5a6478;
    --cyan: #00f0ff;
    --purple: #a855f7;
    --blue: #3b82f6;
    --green: #10b981;
    --red: #ef4444;
    --yellow: #f59e0b;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at top left, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .mark {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.logo .mark::after {
    content: '⚡';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
}

.logo-text {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.2s;
    position: relative;
}

nav a:hover { color: var(--cyan); }

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: width 0.3s;
}

nav a:hover::after { width: 100%; }

.hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 50%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 80px rgba(0, 240, 255, 0.3);
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-dim);
    letter-spacing: 6px;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 300;
}

.hero .desc {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero .meta {
    display: inline-flex;
    gap: 20px;
    padding: 10px 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.hero .meta strong { color: var(--cyan); font-weight: 600; }

.hero .cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.6);
}

.btn-ghost {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
    color: var(--text);
}

.section-title .label {
    display: inline-block;
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 4px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 16px;
    background: rgba(0, 240, 255, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1);
}

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

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
}

.download-main {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.download-version {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.download-info {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-info strong { color: var(--cyan); }

.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan), var(--purple));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px; left: -37px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.timeline-item .version {
    font-size: 20px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 2px;
    display: inline-block;
    margin-right: 12px;
}

.timeline-item .date {
    font-size: 13px;
    color: var(--text-dim-2);
}

.timeline-item .title {
    font-size: 15px;
    color: var(--text);
    margin: 8px 0;
}

.timeline-item .content {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.warning-box {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-left: 4px solid var(--blue);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.warning-box.level-warning {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
    border-left-color: var(--yellow);
}

.warning-box.level-danger {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    border-left-color: var(--red);
}

.warning-box h4 {
    color: var(--text);
    font-size: 15px;
    margin-bottom: 6px;
}

.warning-box p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
}

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-dim-2);
    font-size: 13px;
}

footer a { color: var(--cyan); text-decoration: none; }

.empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim-2);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 40px; letter-spacing: 2px; }
    .hero { padding: 60px 0 40px; }
    nav ul { gap: 16px; }
    nav a { font-size: 13px; }
    .download-main { padding: 32px 20px; }
    .download-version { font-size: 36px; }
    section { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
}

/* 导航 + 用户区组合 */
header .nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
header .user-nav {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 13px;
}
header .user-nav a {
    color: #1cc0a5;
    text-decoration: none;
    transition: opacity .2s;
}
header .user-nav a:hover {
    opacity: .75;
}
header .user-nav span {
    color: #888;
}
