/* 重置样式 */
* {
    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.7;
    color: #2d3748;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: #ffffff;
    color: white;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a202c;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav a {
    color: #718096;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 6px;
    background: transparent;
    border: none;
}

.nav a:hover {
    color: #1a202c;
    background: #f7fafc;
}

/* 按钮样式 */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary {
    background: #1a202c;
    color: white;
    font-weight: 500;
}

.btn-primary:hover {
    background: #2d3748;
    transform: translateY(-1px);
}

/* Hero区域 */
.hero {
    background: #ffffff;
    color: #1a202c;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -1px;
    color: #1a202c;
}

.hero p {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.7;
    position: relative;
    z-index: 1;
    font-weight: 400;
    color: #718096;
}

.btn-download {
    background: #1a202c;
    color: white;
    padding: 18px 48px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    position: relative;
    z-index: 1;
}

.btn-download:hover {
    background: #2d3748;
    transform: translateY(-2px);
}

/* 功能特点区域 */
.features {
    padding: 120px 0;
    background: #fafafa;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 80px;
    color: #1a202c;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-icon-img {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    opacity: 0.8;
}

.feature-card h3 {
    margin-bottom: 16px;
    color: #1a202c;
    font-weight: 600;
    font-size: 18px;
}

.feature-card p {
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
}

/* 详细介绍区域 */
.detail-section {
    padding: 120px 0;
    background: #ffffff;
}

.detail-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 80px;
    color: #1a202c;
    font-weight: 600;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.detail-item {
    padding: 32px;
    border-left: 3px solid #1a202c;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
    transition: all 0.2s ease;
}

.detail-item:hover {
    background: #f7fafc;
    transform: translateX(4px);
}

.detail-item h3 {
    margin-bottom: 16px;
    color: #1a202c;
    font-weight: 600;
    font-size: 20px;
}

.detail-item p {
    color: #718096;
    line-height: 1.6;
}

/* 多平台支持区域 */
.platforms {
    padding: 120px 0;
    background: #fafafa;
    text-align: center;
}

.platforms h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1a202c;
    font-weight: 600;
}

.platforms p {
    margin-bottom: 60px;
    color: #718096;
    font-size: 16px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease;
}

.platform-item:hover {
    transform: translateY(-4px);
}

.platform-icon {
    width: 96px;
    height: 96px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.platform-item:hover .platform-icon {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.platform-icon img {
    width: 56px;
    height: 56px;
    opacity: 0.8;
}

.platform-item span {
    color: #718096;
    font-weight: 400;
    font-size: 14px;
}

/* FAQ区域 */
.faq {
    padding: 120px 0;
    background: #ffffff;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 80px;
    color: #1a202c;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e0;
}

.faq-question {
    background: #fafafa;
    padding: 20px 24px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    color: #1a202c;
    font-size: 16px;
}

.faq-question:hover {
    background: #f7fafc;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: #718096;
    font-weight: 300;
    transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 20px 24px;
    display: none;
    color: #718096;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页脚 */
footer {
    background: #1a202c;
    color: white;
    padding: 60px 0;
    text-align: center;
}

footer p {
    color: #a0aec0;
    font-weight: 400;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        padding: 8px 16px;
        font-size: 14px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }

    .features h2,
    .detail-section h2,
    .platforms h2,
    .faq h2 {
        font-size: 32px;
    }

    .feature-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .platform-icons {
        gap: 30px;
    }

    .feature-card,
    .detail-item {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn-download {
        padding: 15px 40px;
        font-size: 15px;
    }

    .features h2,
    .detail-section h2,
    .platforms h2,
    .faq h2 {
        font-size: 24px;
    }

    .platform-icon {
        width: 80px;
        height: 80px;
    }

    .platform-icon img {
        width: 48px;
        height: 48px;
    }

    .feature-card {
        padding: 28px 20px;
    }
}
