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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 容器样式 */
.container {
    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;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

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

.nav-links {
    display: flex;
    gap: 25px;
}

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

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

/* 英雄区域样式 */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-top: 70px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 48px;
    color: #333;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 24px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.4;
}

.description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.btn-primary, .btn-secondary, .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: #4A90E2;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-secondary:hover {
    background-color: #4A90E2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.version-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 功能特点样式 */
.features {
    padding: 100px 0;
    background-color: white;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s;
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

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

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

/* 软件截图样式 */
.screenshots {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-placeholder {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 15px;
}

.screenshot-item p {
    color: #666;
    font-size: 14px;
}

/* 使用说明样式 */
.usage {
    padding: 100px 0;
    background-color: white;
}

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

.usage-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4A90E2;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

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

/* 下载区域样式 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
}

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

.download-content {
    display: flex;
    gap: 50px;
    align-items: center;
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-info {
    flex: 1;
}

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

.download-info p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.download-details {
    list-style: none;
    margin-bottom: 30px;
}

.download-details li {
    margin-bottom: 10px;
    color: #666;
}

.btn-download {
    background-color: #4A90E2;
    color: white;
    border: none;
    font-size: 18px;
    padding: 15px 30px;
}

.download-note {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.btn-download:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.update-log {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
    height: fit-content;
    min-height: 300px;
    max-width: 600px;
}

.update-log h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #4A90E2;
    padding-bottom: 10px;
}

.update-log ul {
    list-style: none;
    padding-left: 0;
}

.update-log li {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.update-log li strong {
    color: #333;
    font-weight: 600;
}

.update-log ul ul {
    padding-left: 20px;
    margin-top: 10px;
}

.update-log ul ul li {
    margin-bottom: 8px;
    position: relative;
}

.update-log ul ul li:before {
    content: "•";
    color: #4A90E2;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}



/* 常见问题样式 */
.faq {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #4A90E2;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-info p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-grid,
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .feature-grid,
    .screenshot-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .features h2,
    .screenshots h2,
    .usage h2,
    .download h2,
    .faq h2 {
        font-size: 28px;
    }
    
    .download-content {
        padding: 20px;
    }
}