@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0b0f1f;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* 粒子背景 Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, #1e1e2f, #0b0f1f);
}

/* 导航栏 */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #00b4ff, #ae46ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover {
    color: #00b4ff;
}

/* Hero 区域 */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    background: linear-gradient(90deg, #00b4ff, #ae46ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn.primary {
    background: linear-gradient(90deg, #00b4ff, #ae46ff);
    color: white;
}

.btn.secondary {
    border: 2px solid #00b4ff;
    color: #00b4ff;
    margin-left: 1rem;
}

.btn:hover {
    transform: scale(1.05);
}

/* 功能区 */
.features {
    padding: 6rem 2rem;
    text-align: center;
    background: rgba(18, 20, 39, 0.7);
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #00b4ff, #ae46ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.feature {
    background: #1a1c35;
    padding: 2rem;
    border-radius: 20px;
    transition: 0.4s;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.2);
}

.feature img {
    width: 64px;
    margin-bottom: 1rem;
}

/* 下载区 */
.download {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0e1024, #1c1640);
}

.download h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #00b4ff, #ae46ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download p {
    color: #bbb;
    margin-bottom: 2rem;
}

.download-buttons .btn {
    margin: 0.5rem;
}

/* 页脚 */
.footer {
    background: #0b0f1f;
    padding: 2rem;
    text-align: center;
    color: #888;
}

.footer a {
    color: #00b4ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 滚动淡入动画 */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
