/* 全局样式 */
* {
    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;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand h1 {
    font-size: 24px;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #3498db;
    color: #fff;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: #667eea;
}

.btn-secondary:hover {
    background: #f0f0f0;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* 功能特性 */
.features {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* 优势区域 */
.advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

.advantages-list {
    max-width: 900px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.advantage-number {
    font-size: 48px;
    font-weight: 700;
    color: #3498db;
    min-width: 80px;
}

.advantage-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.advantage-content p {
    color: #666;
    line-height: 1.8;
}

/* 价格表区域 */
.pricing {
    padding: 80px 0;
    background: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    box-shadow: 0 5px 25px rgba(52, 152, 219, 0.2);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.pricing-name {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.pricing-price {
    margin-bottom: 10px;
}

.price-amount {
    font-size: 42px;
    font-weight: 700;
    color: #3498db;
    display: block;
}

.pricing-card.featured .price-amount {
    color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-desc {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

.pricing-features {
    margin-bottom: 30px;
    min-height: 300px;
}

.feature-list {
    list-style: none;
    text-align: left;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item.disabled {
    color: #ccc;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item:not(.disabled) .feature-icon {
    color: #27ae60;
    background: #e8f8f5;
    border-radius: 50%;
}

.feature-item.disabled .feature-icon {
    color: #e74c3c;
    background: #fadbd8;
    border-radius: 50%;
}

.feature-highlight {
    font-weight: 600;
    color: #3498db;
}

.pricing-card.featured .feature-highlight {
    color: #667eea;
}

.pricing-action {
    margin-top: auto;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
}

.pricing-card.featured .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.pricing-card.featured .btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 响应式设计 - 价格表 */
@media (max-width: 968px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* 下载区域 */
.download-section {
    padding: 80px 0;
    background: #2c3e50;
    color: #fff;
    text-align: center;
}

.download-section .section-title {
    color: #fff;
}

.section-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 内容区域 */
.content-section {
    padding: 40px 0;
    min-height: 60vh;
}

.page-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* 帮助中心 */
.help-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.help-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.faq-list,
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item,
.feature-item {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-item h4,
.feature-item h4 {
    color: #3498db;
    margin-bottom: 10px;
}

.support-info {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.support-info ul {
    margin: 15px 0;
    padding-left: 20px;
}

.support-info li {
    margin: 10px 0;
}

/* 教程列表 */
.tutorial-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

.tutorial-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.tutorial-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.tutorial-card:hover {
    transform: translateY(-5px);
}

.tutorial-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.tutorial-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutorial-content {
    padding: 20px;
}

.tutorial-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.tutorial-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tutorial-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #999;
}

.tutorial-category {
    background: #3498db;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.empty-state,
.loading-text {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

/* 教程详情 */
.tutorial-detail {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tutorial-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.tutorial-body {
    line-height: 1.8;
    color: #333;
}

.tutorial-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.tutorial-body iframe {
    width: 100%;
    height: 500px;
    margin: 20px 0;
    border: none;
    border-radius: 5px;
}

/* 下载页面 */
.download-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.download-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.download-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.version {
    font-size: 32px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
}

.release-date {
    color: #999;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.system-requirements,
.download-notes {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.system-requirements h3,
.download-notes h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.system-requirements ul,
.download-notes ul {
    list-style: none;
    padding-left: 0;
}

.system-requirements li,
.download-notes li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.system-requirements li:last-child,
.download-notes li:last-child {
    border-bottom: none;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bbb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        flex-direction: column;
    }

    .tutorial-list {
        grid-template-columns: 1fr;
    }
}



