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

:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --secondary-color: #FF9800;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --gradient-start: #2196F3;
    --gradient-end: #FF9800;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.4);
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-tag {
    background: rgba(33, 150, 243, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(33, 150, 243, 0.3);
}

.hero-icon {
    font-size: 100px;
    margin-bottom: 20px;
}

.hero-img-placeholder p {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

/* 通用标题样式 */
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-color);
}

/* 功能特性 */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(33, 150, 243, 0.15);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.download-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(33, 150, 243, 0.15);
}

.download-icon {
    font-size: 70px;
    margin-bottom: 20px;
}

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

.download-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 14px;
}

.download-card .btn {
    width: 100%;
    justify-content: center;
}

.download-grid.single-download {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background: var(--white);
    padding: 40px 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 40px;
    transition: all 0.3s;
    width: 100%;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(33, 150, 243, 0.2);
}

.download-icon {
    font-size: 120px;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.download-info-container {
    flex: 1;
}

.download-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.download-card p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 14px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
}

.download-netdisk {
    color: #FF9800;
    font-weight: 700;
    font-size: 16px;
}

.download-card .btn {
    justify-content: center;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 25px;
    font-weight: 700;
    width: auto;
}

.download-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.4);
}

.download-donation-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.download-grid.single-download {
    display: flex;
    align-items: center;
    flex: 2;
}

.donation-section-inline {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s;
}

.donation-section-inline:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(33, 150, 243, 0.2);
}

.donation-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.donation-subtitle {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.donation-qr-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donation-qr-inline img {
    width: 140px;
    height: 140px;
    background: var(--white);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: all 0.3s;
}

.donation-qr-inline img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.donation-text-inline {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
}

/* 教程区域 */
.tutorials {
    padding: 100px 0;
    background: var(--white);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tutorial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(33, 150, 243, 0.12);
}

.tutorial-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(33, 150, 243, 0.1);
    margin-bottom: 10px;
}

.tutorial-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.tutorial-card p {
    color: var(--text-light);
    flex: 1;
    margin-bottom: 20px;
}

.tutorial-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.tutorial-link:hover {
    color: var(--primary-dark);
}

/* 常见问题 */
.faq {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

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

.faq-item {
    background: var(--white);
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-info p {
    color: #999;
    margin-bottom: 10px;
}

.footer-copyright {
    margin-top: 20px;
    font-size: 14px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

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

.footer-links a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-img-placeholder {
        width: 300px;
        height: 300px;
    }

    .features-grid,
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-donation-wrapper {
        flex-direction: column;
    }

    .tutorials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }
}
