/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
nav {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.logo i {
    color: #4CAF50;
    margin-right: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4CAF50;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #f5f5f5;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #fff;
    color: #4CAF50;
    border: 2px solid #fff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #4CAF50;
}

/* 功能特点 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 下载区域 */
.download {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.download h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.download-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.download-icon {
    width: 80px;
    height: 80px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.download-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.download-card p {
    color: #666;
    margin-bottom: 25px;
}

/* 教程区域 */
.tutorial {
    padding: 80px 0;
    background-color: #fff;
}

.tutorial h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.tutorial-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.tutorial-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #4CAF50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: bold;
}

.tutorial-step h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.tutorial-step p {
    color: #666;
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.about h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    color: #666;
    line-height: 1.8;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 24px;
    color: #4CAF50;
}

.contact-item p {
    color: #666;
    font-size: 16px;
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.footer-logo i {
    color: #4CAF50;
    margin-right: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4CAF50;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #4CAF50;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features h2,
    .download h2,
    .tutorial h2,
    .about h2,
    .contact h2 {
        font-size: 28px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .features h2,
    .download h2,
    .tutorial h2,
    .about h2,
    .contact h2 {
        font-size: 24px;
    }
    
    .feature-item,
    .download-card {
        padding: 20px;
    }
}
/* 页脚底部链接样式 - 继承父元素颜色20260320 */
.footer-bottom a {
    color: inherit;           /* 继承父元素颜色，即 var(--gray-400) */
    text-decoration: none;    /* 去掉下划线 */
}

.footer-bottom a:hover {
    color: var(--white);       /* 悬停时变白色 */
    text-decoration: underline; /* 悬停时显示下划线 */
}
/* 页脚底部链接样式 - 继承父元素颜色20260320 */
