:root {
    --primary-color: #00c853;
    --secondary-color: #1a237e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

/* 导航栏 */
.navbar {
    background: white;
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* 下载页面 */
.download-main {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.platform-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    padding: 2rem;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    align-items: center;
}

.platform-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    text-align: center;
}

.download-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.download-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.3s;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.tutorial-link {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 2px dotted currentColor;
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 5%;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .platform-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }

    .platform-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .download-options {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}
