/* --- style.css --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-gradient: radial-gradient(circle at 50% 0%, #1a2332, #050505 80%);
    --neon-green: #39ff14;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed; /* 背景固定，更有质感 */
    color: var(--text-main);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; }

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }
.logo span { color: var(--neon-green); }

.nav-links a {
    margin-left: 30px;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

/* --- Layout & Components --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-neon { color: var(--neon-green); }
.text-center { text-align: center; }

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 40px; }
p { color: var(--text-muted); }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    font-weight: 600;
    margin-top: 20px;
    border-radius: 4px;
}
.btn:hover {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    padding: 40px;
    border-radius: 12px;
    height: 100%;
    transition: transform 0.3s;
}
.glass-card:hover { transform: translateY(-5px); border-color: rgba(57, 255, 20, 0.3); }

/* --- Grid Systems --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* --- Footer (Updated) --- */
footer {
    background: #020202;
    border-top: 1px solid #111;
    padding: 60px 0 20px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* 左侧信息宽，右侧链接窄 */
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col a { display: block; margin-bottom: 10px; color: #666; font-size: 0.9rem; }
.footer-col a:hover { color: var(--neon-green); padding-left: 5px; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #111;
    padding-top: 20px;
    color: #444;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2, .footer-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
}