/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e74c3c;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* 移动导航菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-nav a:hover {
    background-color: #f8f9fa;
    color: #e74c3c;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 100px 0 50px;
    margin-top: 70px;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-primary {
    background-color: #fff;
    color: #e74c3c;
}

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #e74c3c;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* 通用区域样式 */
section {
    padding: 50px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

/* 介绍区域 */
.intro {
    background-color: #fff;
}

.intro p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* 功能特点 */
.features {
    background-color: #f8f9fa;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 15px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 软件截图 */
.screenshots {
    background-color: #fff;
}

.screenshots-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.screenshot-item {
    margin: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    max-width: 350px;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-item p {
    padding: 15px;
    text-align: center;
    background-color: #f8f9fa;
    margin: 0;
}

/* 下载区域 */
.download {
    background-color: #f8f9fa;
}

.download-info {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.software-details {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: #343a40;
    color: #fff;
}

.software-details h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.software-details ul {
    list-style: none;
}

.software-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.software-details strong {
    min-width: 100px;
    display: inline-block;
}

.download-options {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.download-options h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.download-method {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    border-radius: 5px;
    background-color: #f8f9fa;
    margin-bottom: 15px;
}

.method-icon {
    font-size: 2rem;
    color: #e74c3c;
    margin-right: 20px;
    min-width: 50px;
    text-align: center;
}

.method-info {
    flex: 1;
    min-width: 200px;
}

.method-info h4 {
    margin-bottom: 5px;
}

.method-action {
    display: flex;
    flex-wrap: wrap;
}

.btn-download, .btn-link {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    margin-right: 10px;
    margin-bottom: 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-download {
    background-color: #e74c3c;
    color: #fff;
}

.btn-download:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn-link {
    background-color: #343a40;
    color: #fff;
}

.btn-link:hover {
    background-color: #212529;
    transform: translateY(-2px);
}

/* 网盘下载弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

.qr-code-container {
    margin-top: 20px;
}

.qr-code {
    max-width: 150px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

/* 网盘优势 */
.advantages {
    background-color: #fff;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.advantage-item {
    text-align: center;
    margin: 15px;
    flex: 1;
    min-width: 200px;
    padding: 20px;
}

.advantage-item i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* 常见问题 */
.faq {
    background-color: #f8f9fa;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: #fff;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer {
    background-color: #fff;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-answer.active {
    max-height: 200px;
    padding: 15px 20px;
}

/* 底部区域 */
footer {
    background-color: #343a40;
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-info, .footer-links, .footer-contact {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-info h3, .footer-links h3, .footer-contact h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    font-size: 0.9rem;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .download-info {
        flex-direction: column;
    }
    
    .software-details, .download-options {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .feature-item, .advantage-item {
        min-width: 100%;
    }
}