/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 全局变量 */
:root {
    --primary-color: #165DFF;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --text-color: #333333;
    --text-gray: #666666;
    --hover-color: #0E48E5;
    --border-color: #E5E9F2;
}

/* 基础样式 */
body {
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-logo a {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 移动端汉堡按钮 */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 导航菜单 */
.navbar-menu {
    display: flex;
    gap: 30px;
}

.navbar-link {
    font-size: 16px;
    position: relative;
}

.navbar-link.active {
    color: var(--primary-color);
}

.navbar-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

/* 首屏Banner */
.banner {
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, var(--white), var(--light-gray));
    margin-top: 70px;
    text-align: center;
    animation: fadeIn 1s ease;
}

.banner-content {
    margin-bottom: 40px;
}

.banner-title {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 16px;
}

.banner-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.banner-icon {
    margin: 0 auto;
}

/* 核心优势 */
.advantages {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.advantage-item {
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(22, 93, 255, 0.1);
}

.advantage-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.advantage-item p {
    color: var(--text-gray);
}

/* 工具分类 */
.tools {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tool-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.tool-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.tool-item p {
    color: var(--text-gray);
}

/* 关于我们页面 */
.about {
    padding: 100px 0 80px;
    background-color: var(--white);
    margin-top: 70px;
}

.page-title {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 16px;
}

.about-content h3 {
    font-size: 20px;
    margin: 25px 0 10px;
    color: var(--primary-color);
}

/* 下载中心页面 */
.download {
    padding: 100px 0 80px;
    background-color: var(--white);
    margin-top: 70px;
}

.download-list {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.download-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.download-item:hover {
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.1);
}

.file-info {
    flex: 1;
    min-width: 280px;
    margin-right: 20px;
}

.file-name {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.file-desc {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 4px;
}

.file-size {
    color: var(--text-gray);
    font-size: 12px;
}

.download-btn {
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.download-btn:hover {
    background-color: var(--hover-color);
    transform: scale(1.05);
}

.download-btn:active {
    transform: scale(0.98);
}

.download-tips {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 4px;
}

/* 底部样式 */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    /* 移动端导航 */
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-item {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    /* 移动端Banner */
    .banner-title {
        font-size: 28px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    /* 移动端标题 */
    .section-title {
        font-size: 24px;
    }

    .page-title {
        font-size: 28px;
    }

    /* 移动端下载项 */
    .download-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-info {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .download-btn {
        width: 100%;
    }
}

@media (max-width: 375px) {
    .banner-title {
        font-size: 24px;
    }

    .advantage-item, .tool-item {
        padding: 20px;
    }
}