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

:root {
    --primary-color: #28a698;
    --primary-light: #82c8bf;
    --background-light: #e9f9f7;
    --background-lighter: #e9faf7;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --white: #ffffff;
    --shadow: rgba(40, 166, 152, 0.1);
    --shadow-hover: rgba(40, 166, 152, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-lighter);
}

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

/* 导航栏 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

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

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

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 英雄区 */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-lighter) 100%);
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(40, 166, 152, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-icon {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-icon img {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    box-shadow: 0 10px 40px var(--shadow-hover);
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    font-size: 16px;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.hero-features .separator {
    color: var(--primary-light);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 8px 25px var(--shadow-hover);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #229085;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-hover);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 通用章节样式 */
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 60px;
}

/* 功能特色区 */
.features-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--background-lighter);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--primary-light);
}

.feature-icon {
    margin-bottom: 25px;
}

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

.feature-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 使用指南区 */
.guide-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-lighter) 100%);
}

.guide-content {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.guide-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.guide-number {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.guide-card h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 20px;
    margin-top: 20px;
}

.guide-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

.guide-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

.notice-box {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.notice-box h4 {
    font-size: 22px;
    color: #856404;
    margin-bottom: 15px;
}

.notice-box p {
    color: #856404;
    margin-bottom: 15px;
    line-height: 1.8;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box ul li {
    color: #856404;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.notice-box ul li::before {
    content: '•';
    position: absolute;
    left: 10px;
    font-weight: bold;
}

/* 下载区 */
.download-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.download-card {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-lighter) 100%);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px var(--shadow-hover);
}

.download-icon {
    margin-bottom: 30px;
}

.download-icon img {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    box-shadow: 0 10px 30px var(--shadow-hover);
}

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

.version-info {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.download-desc {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 16px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow);
}

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

.btn-primary:hover {
    background-color: #229085;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

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

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

.download-tips {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 15px;
    text-align: left;
}

.download-tips p {
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.8;
}

.download-tips strong {
    color: var(--text-dark);
}

/* 常见问题区 */
.faq-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-lighter) 100%);
}

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

.faq-item {
    background-color: var(--white);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 0;
}

.faq-toggle {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 10px;
    color: var(--text-dark);
    line-height: 1.8;
}

.faq-answer ul {
    list-style: none;
    padding: 0 30px 25px 50px;
}

.faq-answer ul li {
    color: var(--text-gray);
    margin-bottom: 10px;
    position: relative;
    line-height: 1.8;
}

.faq-answer ul li::before {
    content: '✓';
    position: absolute;
    left: -25px;
    color: var(--primary-color);
    font-weight: bold;
}

/* 页脚 */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.footer-logo p {
    color: var(--primary-light);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999999;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-warning {
    color: #666666;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-icon img {
        width: 120px;
        height: 120px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-features {
        font-size: 14px;
    }
    
    .download-btn {
        font-size: 16px;
        padding: 15px 30px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-card {
        padding: 30px 20px;
    }
    
    .guide-card:hover {
        transform: translateY(-5px);
    }
    
    .download-card {
        padding: 40px 30px;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 80px 15px 60px;
    }
    
    .hero-icon img {
        width: 100px;
        height: 100px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .download-card {
        padding: 30px 20px;
    }
    
    .download-icon img {
        width: 100px;
        height: 100px;
    }
}

