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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    font-size: 16px;
}

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

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    border-radius: 5px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
    padding: 5px 10px;
}

.nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 主内容区 */
.main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* 首页英雄区 */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-image {
    margin-top: 30px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* 功能卡片 */
.features {
    margin-bottom: 60px;
}

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

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #667eea;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* 视频卡片 */
.video-section {
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.video-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.video-card {
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.video-wrapper video[poster] {
    object-fit: contain;
    background: #f0f0f0;
}

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

.video-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.video-meta {
    color: #999;
    font-size: 14px;
}

/* 内容区 */
.content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #555;
}

.content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

.content ul, .content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content li {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.8;
}

.content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.content-image {
    text-align: center;
    margin: 30px 0;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 优势列表 */
.advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.advantage-item {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.advantage-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #667eea;
}

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

/* 术语列表 */
.term-list {
    margin: 30px 0;
}

.term-list dt {
    font-weight: bold;
    color: #667eea;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 18px;
}

.term-list dd {
    margin-left: 20px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 下载区域 */
.download-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.download-platform {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s;
}

.download-platform:hover {
    border-color: #667eea;
}

.download-platform img {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 10px;
}

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

.download-platform p {
    margin-bottom: 10px;
    color: #666;
}

.version-info, .file-size {
    font-size: 14px;
    color: #999;
}

.download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 安装步骤 */
.install-steps {
    margin: 30px 0;
}

.install-steps li {
    margin-bottom: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.install-steps li strong {
    display: block;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.install-steps li p {
    margin-bottom: 15px;
    color: #666;
}

.install-steps li img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
}

/* 系统要求 */
.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.req-item {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 10px;
}

.req-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #667eea;
}

.req-item ul {
    list-style: none;
    padding-left: 0;
}

.req-item li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
}

.req-item li:last-child {
    border-bottom: none;
}

/* 指南区域 */
.guide-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.guide-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s;
}

.guide-item:hover {
    transform: translateY(-5px);
}

.guide-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.guide-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #667eea;
}

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

/* 模式列表 */
.mode-list {
    margin: 30px 0;
}

.mode-list dt {
    font-weight: bold;
    color: #667eea;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 18px;
}

.mode-list dd {
    margin-left: 20px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 高级功能 */
.advanced-features {
    margin: 30px 0;
}

.advanced-features h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #555;
}

.advanced-features img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

/* 设置列表 */
.settings-list {
    margin: 30px 0;
    padding-left: 30px;
}

.settings-list li {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

/* FAQ列表 */
.faq-list {
    margin: 30px 0;
}

.faq-list dt {
    font-weight: bold;
    color: #667eea;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
    cursor: pointer;
}

.faq-list dd {
    margin-left: 20px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #667eea;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #667eea;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #999;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav ul {
        gap: 15px;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .features h2,
    .video-section h2 {
        font-size: 24px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .content {
        padding: 20px;
    }
    
    .content h2 {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .download-section {
        grid-template-columns: 1fr;
    }
    
    .advantage-list {
        grid-template-columns: 1fr;
    }
    
    .guide-section {
        grid-template-columns: 1fr;
    }
    
    .requirements {
        grid-template-columns: 1fr;
    }
    
    .video-wrapper video {
        width: 100%;
        height: auto;
    }
    
    body {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .nav ul {
        gap: 10px;
        font-size: 14px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .content h2 {
        font-size: 20px;
    }
    
    .content h3 {
        font-size: 18px;
    }
}

