* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --text-color: #333;
    --light-bg: #f7f9fc;
    --card-bg: #fff;
    --border-radius: 8px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 50px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 10px;
}

.slogan {
    font-size: 1.2rem;
    color: #555;
}

/* 主要内容 */
.intro {
    text-align: center;
    margin-bottom: 20px;
}

.intro h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.intro .warning {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 20px;
    background-color: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #f1aeb5;
}

/* 下载选项 */
.download-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.download-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

.platform-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.version {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: var(--secondary-color);
}

.download-btn.highlight {
    background-color: #27ae60;
}

.download-btn.highlight:hover {
    background-color: #219653;
}

/* 系统检测 */
.system-detect {
    text-align: center;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin: 0 auto 50px;
    max-width: 500px;
}

.system-detect p {
    margin-bottom: 15px;
}

#detected-os {
    font-weight: bold;
    color: var(--primary-color);
}

/* 用户评价部分 */
.testimonial-section {
    margin-bottom: 70px;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    width: 320px;
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(52, 152, 219, 0.1);
    font-family: serif;
    line-height: 1;
}

.quote {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
    position: relative;
    z-index: 1;
}

.author {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

/* 版本历史部分 */
.version-history-section {
    margin-bottom: 50px;
}

.version-container {
    max-width: 600px;
    margin: 0 auto;
}

.version-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 15px 20px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.version-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.version-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 60px;
}

.version-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
}

.version-tag.current {
    background: var(--primary-color);
    color: white;
}

.version-description {
    flex: 1;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

/* FAQ部分 */
.faq-section {
    margin-bottom: 70px;
}

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

.faq-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
}

.faq-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* 页脚部分 */
footer {
    /* margin-top: 50px; */
    padding: 50px 20px 0px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--footer-text);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #3498db, var(--primary-color));
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    text-align: left;
}

.footer-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ecf0f1;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.contact-email {
    font-size: 1rem;
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 0;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    color: #3498db;
    border-bottom-color: #3498db;
}

.community-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 25px;
}

.qr-code-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.qr-code-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.qr-tip {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: 500;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 30px 0;
}

.footer-bottom {
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: #95a5a6;
    margin: 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    margin-top: 15px;
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 新增部分 - 功能特性 */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.features-section {
    margin-bottom: 70px;
}


.subsection-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.modes-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.mode-card {
    border: 2px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

.mode-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}


.other-features-section .subsection-title {
    margin-bottom: 30px;
}

.features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px 25px;
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card.mode-card {
    width: 450px;
    padding: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.mode-image {
    width: 100%;
    margin: 0 auto 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-image:hover {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.mode-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mode-image:hover .image-overlay {
    opacity: 1;
}

.preview-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

.modal-caption {
    text-align: center;
    margin-top: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* 工作流程部分 */
.workflow-section {
    margin-bottom: 70px;
}

.workflow-container {
    max-width: 800px;
    margin: 0 auto;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    transition: transform 0.3s ease;
}

.workflow-step:hover {
    transform: translateX(10px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.step-content p {
    color: #666;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-options, 
    .features-container, 
    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }
    
    .download-card, 
    .feature-card, 
    .testimonial-card {
        width: 100%;
        max-width: 320px;
    }
    
    .feature-card.mode-card {
        max-width: 100%;
        width: 100%;
    }
    
    .mode-image img {
        height: 220px;
    }
    
    /* 移动端模态框适配 */
    .modal-content {
        width: 95%;
        padding: 10px;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }
    
    #modalImage {
        max-height: 70vh;
    }
    
    .modal-caption {
        font-size: 1rem;
        margin-top: 15px;
    }
    
    .workflow-step,
    .faq-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }

    .version-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 8px;
    }

    .version-number {
        font-size: 0.9rem;
        min-width: auto;
    }

    .version-description {
        font-size: 0.85rem;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 30px;
    }
    
    .subsection-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .modes-section {
        margin-bottom: 40px;
        padding: 20px 15px;
    }
    
    .modes-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .other-features-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .features-container {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .feature-card {
        padding: 25px 20px;
        margin-bottom: 15px;
    }
    
    .mode-card {
        margin-bottom: 20px;
    }
    
    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav a {
        margin: 5px 0;
    }
    
    /* Footer 移动端适配 */
    .footer-main {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .qr-code-container {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
} 