/* 全局样式 */
* {
    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: #f4f7f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

/* 导航样式 */
nav {
    background-color: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 1.2rem;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #3498db;
    background-color: rgba(255, 255, 255, 0.1);
}

nav a.active {
    color: #3498db;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 主要内容样式 */
main {
    padding: 2.5rem 0;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.9)), url('images/hero-bg.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(to right, #2980b9, #3498db);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* 功能特性区域 */
.features {
    padding: 4rem 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
    position: relative;
}

.features h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    margin: 15px auto 0;
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.feature-item h3::before {
    content: '✓';
    color: #3498db;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
}

.feature-item p {
    color: #7f8c8d;
    font-size: 1.05rem;
}

/* 下载区域 */
.download {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.download h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
    position: relative;
}

.download h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    margin: 15px auto 0;
    border-radius: 2px;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.download-item {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 5px solid #3498db;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.download-item h3 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}

.download-item ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.download-item ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #7f8c8d;
}

.download-item ul li:last-child {
    border-bottom: none;
}

.download-button {
    display: inline-block;
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.download-button:hover {
    background: linear-gradient(to right, #2980b9, #3498db);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.system-requirements {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.system-requirements h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    position: relative;
    padding-left: 2rem;
}

.system-requirements h3::before {
    content: 'ℹ';
    color: #3498db;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
}

.system-requirements ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    color: #7f8c8d;
}

/* 使用方法区域 */
.usage {
    padding: 4rem 0;
    background-color: white;
}

.usage h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
    position: relative;
}

.usage h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    margin: 15px auto 0;
    border-radius: 2px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.step {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid #3498db;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    margin-right: 12px;
    font-weight: bold;
}

.step ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    color: #7f8c8d;
}

/* 截图区域 */
.screenshots {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.screenshots h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
    position: relative;
}

.screenshots h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    margin: 15px auto 0;
    border-radius: 2px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.screenshot-item {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.screenshot-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-item img:hover {
    transform: scale(1.02);
}

.screenshot-item p {
    margin-top: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* 联系我们区域 */
.contact {
    padding: 4rem 0;
    background-color: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
    position: relative;
}

.contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    margin: 15px auto 0;
    border-radius: 2px;
}

.contact-info {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-info p {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.8;
}

.contact-info a {
    color: #f1c40f;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: #ecf0f1;
    text-align: center;
    padding: 3rem 0;
}

footer p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 关于页面样式 */
.about-content h2, .documentation-content h2, .download-content h2, .contact-content h2 {
    color: #2c3e50;
    margin: 2rem 0 1.5rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.about-content h2::after, .documentation-content h2::after, .download-content h2::after, .contact-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #3498db;
    margin: 10px 0 0;
    border-radius: 2px;
}

.about-content h3, .documentation-content h3, .download-content h3, .contact-content h3 {
    color: #34495e;
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.about-content p, .documentation-content p, .download-content p, .contact-content p {
    margin-bottom: 1rem;
    color: #7f8c8d;
    line-height: 1.8;
}

.about-content ul, .documentation-content ul, .download-content ul, .contact-content ul {
    margin: 1rem 0 1.5rem 2rem;
    color: #7f8c8d;
}

.about-content ul li, .documentation-content ul li, .download-content ul li, .contact-content ul li {
    margin-bottom: 0.5rem;
}

.about-content ol, .documentation-content ol, .download-content ol, .contact-content ol {
    margin: 1rem 0 1.5rem 2rem;
    color: #7f8c8d;
}

.about-content ol li, .documentation-content ol li, .download-content ol li, .contact-content ol li {
    margin-bottom: 0.5rem;
}

/* 文档页面特殊样式 */
.documentation-content pre {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.documentation-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.documentation-content th, .documentation-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.documentation-content th {
    background-color: #3498db;
    color: white;
    font-weight: bold;
}

.documentation-content tr:nth-child(even) {
    background-color: #f8f9fa;
}

.documentation-content tr:hover {
    background-color: #e3f2fd;
}

/* 下载页面特殊样式 */
.download-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.download-content th, .download-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.download-content th {
    background-color: #3498db;
    color: white;
    font-weight: bold;
}

.download-content tr:nth-child(even) {
    background-color: #f8f9fa;
}

.download-content tr:hover {
    background-color: #e3f2fd;
}

/* 联系页面特殊样式 */
.faq h4 {
    color: #2c3e50;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq p {
    margin-bottom: 1rem;
    color: #7f8c8d;
}

/* 404页面特殊样式 */
.not-found h2 {
    color: #e74c3c;
    text-align: center;
    margin: 2rem 0;
    font-size: 2rem;
}

.not-found p {
    text-align: center;
    margin-bottom: 1rem;
    color: #7f8c8d;
    font-size: 1.1rem;
}

.not-found ul {
    max-width: 500px;
    margin: 2rem auto;
    text-align: left;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.not-found ul li {
    margin-bottom: 1rem;
    color: #7f8c8d;
}

.not-found ul li a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.not-found ul li a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .features h2,
    .download h2,
    .usage h2,
    .screenshots h2,
    .contact h2 {
        font-size: 1.8rem;
    }
    
    .download-options,
    .feature-grid,
    .steps,
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 2rem 1rem;
    }
    
    .documentation-content pre {
        font-size: 0.8rem;
        padding: 1rem;
    }
}