:root {
    --primary: #00b4db;
    --primary-dark: #0083b0;
    --accent: #00e5ff;
    --bg-dark: #0a1929;
    --bg-card: rgba(0, 180, 219, 0.08);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Microsoft YaHei', -apple-system, sans-serif; 
    min-height: 100vh; 
    color: var(--text);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* 背景效果 */
.bg-effects {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.orb-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: -100px; right: -100px;
    animation: float 8s ease-in-out infinite;
}
.orb-2 {
    width: 400px; height: 400px;
    background: var(--accent);
    bottom: -100px; left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}
.orb-3 {
    width: 300px; height: 300px;
    background: var(--primary-dark);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}
@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.2); }
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    background: rgba(10, 25, 41, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 180, 219, 0.2);
}
.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { font-size: 28px; animation: rotate 20s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 120px 20px 60px; position: relative; z-index: 1; }

/* 英雄区 */
.hero { text-align: center; padding: 40px 20px 80px; }
.hero h1 { 
    font-size: 56px; 
    font-weight: 800; 
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}
.subtitle { 
    font-size: 18px; 
    color: var(--text-muted); 
    margin-bottom: 40px; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 地球仪 */
.globe-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 50px;
}
.globe {
    width: 180px;
    height: 180px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--accent) 100%);
    box-shadow: 
        0 0 60px rgba(0, 180, 219, 0.5),
        inset -30px -30px 60px rgba(0, 0, 0, 0.3),
        inset 20px 20px 40px rgba(0, 229, 255, 0.2);
    animation: globeSpin 20s linear infinite, globeGlow 3s ease-in-out infinite;
}
.globe::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}
.globe::after {
    content: '';
    position: absolute;
    top: 10%; left: 10%;
    width: 80%; height: 80%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}
.globe-inner { position: relative; width: 100%; height: 100%; }
.globe-arc {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}
.arc-1 { width: 200px; height: 200px; top: -10px; left: -10px; }
.arc-2 { width: 240px; height: 240px; top: -30px; left: -30px; border-color: rgba(0, 229, 255, 0.3); }
.arc-3 { width: 280px; height: 280px; top: -50px; left: -50px; border-color: rgba(0, 180, 219, 0.2); }

@keyframes globeSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes globeGlow {
    0%, 100% { box-shadow: 0 0 60px rgba(0, 180, 219, 0.5), inset -30px -30px 60px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 80px rgba(0, 229, 255, 0.7), inset -30px -30px 60px rgba(0, 0, 0, 0.3); }
}

.lang-bubble {
    position: absolute;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg-dark);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: bubbleFloat 4s ease-in-out infinite;
}
.bubble-1 { top: 10%; left: 0; animation-delay: 0s; }
.bubble-2 { top: 30%; right: 0; animation-delay: 1s; }
.bubble-3 { bottom: 25%; left: 5%; animation-delay: 2s; }
.bubble-4 { bottom: 10%; right: 5%; animation-delay: 3s; }

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 下载按钮 */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--bg-dark);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 180, 219, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.download-btn svg { width: 20px; height: 20px; }
.download-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 180, 219, 0.5);
}
.download-btn:active { transform: translateY(0) scale(0.98); }

/* 统计区 */
.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.stat-icon { font-size: 36px; margin-bottom: 10px; animation: bounce 2s ease-in-out infinite; }
.stat-number { 
    font-size: 48px; 
    font-weight: 800; 
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-muted); margin-top: 8px; font-size: 14px; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 功能卡片 */
.features { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 25px; 
    margin-top: 80px; 
}
.feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid rgba(0, 180, 219, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}
.feature-card:nth-child(1) { animation-delay: 0.4s; }
.feature-card:nth-child(2) { animation-delay: 0.5s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }
.feature-card:nth-child(4) { animation-delay: 0.7s; }

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0, 180, 219, 0.2);
}
.feature-card:hover .feature-glow { opacity: 1; }
.feature-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(0, 180, 219, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.feature-icon { font-size: 42px; margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--text); }
.feature-card p { color: var(--text-muted); line-height: 1.7; font-size: 14px; }

/* ========== 下载页面 ========== */
.download-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 100px 20px 60px;
}
.download-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}
.download-visual {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.globe-small {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 0 50px rgba(0, 180, 219, 0.5);
    animation: globeSpin 15s linear infinite, globeGlow 3s ease-in-out infinite;
    position: relative;
}
.globe-small::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 50%;
    height: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
}
.globe-inner-small {
    position: relative;
    width: 100%;
    height: 100%;
}
.globe-arc-small {
    position: absolute;
    width: 200px;
    height: 200px;
    top: -20px;
    left: -20px;
    border: 2px solid rgba(0, 180, 219, 0.3);
    border-radius: 50%;
}
.download-info {
    flex: 1;
}
.download-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 180, 219, 0.2);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 20px;
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 180, 219, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(0, 180, 219, 0); }
}
.download-info h1 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.version-tag {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 25px;
}
.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}
.download-meta span {
    font-size: 14px;
    color: var(--text-muted);
}
.download-features {
    margin-bottom: 30px;
}
.df-item {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 15px;
}
.download-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.download-btn.primary {
    padding: 16px 40px;
    font-size: 16px;
}
.download-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--accent);
    padding: 14px 30px;
}
.download-btn.secondary:hover {
    background: rgba(0, 180, 219, 0.1);
}
.update-time {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ========== 404页面 ========== */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 100px 20px 60px;
}
.error-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}
.error-visual {
    margin-bottom: 40px;
}
.broken-globe {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 180, 219, 0.4);
    position: relative;
    animation: shake 2s ease-in-out infinite;
}
@keyframes shake {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}
.broken-globe::before, .broken-globe::after {
    content: '';
    position: absolute;
    background: var(--bg-dark);
}
.broken-globe::before {
    width: 3px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%) rotate(15deg);
}
.broken-globe::after {
    width: 100%;
    height: 3px;
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
}
.globe-crack {
    font-size: 50px;
    font-weight: 800;
    color: white;
    z-index: 1;
}
.error-code {
    font-size: 120px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 20px;
    animation: errorPulse 2s ease-in-out infinite;
}
@keyframes errorPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.error-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text);
}
.error-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 { font-size: 40px; }
    .subtitle { font-size: 16px; }
    .stats { gap: 40px; }
    .stat-number { font-size: 36px; }
    .globe-container { width: 220px; height: 220px; }
    .globe { width: 140px; height: 140px; }
    .arc-1 { width: 160px; height: 160px; }
    .arc-2 { width: 190px; height: 190px; }
    .arc-3 { width: 220px; height: 220px; }
    .lang-bubble { font-size: 12px; padding: 8px 14px; }
    .nav-links { gap: 20px; }
    .download-container { flex-direction: column; gap: 40px; text-align: center; }
    .download-visual { width: 200px; height: 200px; }
    .download-info h1 { font-size: 36px; }
    .download-actions { justify-content: center; }
    .error-code { font-size: 80px; }
}