/* 全局样式 */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-radius: 8px;
}

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

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

/* 导航栏 */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

/* 主要内容 */
main {
    margin-top: 70px;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* 英雄区域补充 */
.hero-features {
    margin: 1rem 0 2rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features span {
    display: inline-block;
}

/* 功能特点 */
.features {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 功能卡片补充 */
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* 优势部分 */
.advantages {
    background-color: var(--light-gray);
    padding: 4rem 1rem;
    margin-top: 4rem;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.advantages-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 页脚 */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 1rem;
}

.contact-info h4,
.friend-links h4 {
    color: white;
    margin-bottom: 1rem;
}

.contact-info p,
.friend-links p {
    color: rgba(255, 255, 255, 0.9);
}

.friend-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.friend-links a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.copyright a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: white;
    text-decoration: underline;
}

/* 下载区域 */
.download-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
    text-align: center;
}

.download-section h2 {
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.download-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    width: 300px;
}

.download-card:hover {
    transform: translateY(-5px);
}

.platform-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.download-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.download-card p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #357abd;
}

.download-button .icon {
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info,
    .friend-links,
    .copyright {
        width: 100%;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .download-card {
        width: 100%;
        max-width: 300px;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-features span:nth-child(even) {
        display: none;
    }

    .advantages {
        padding: 2rem 1rem;
    }

    .friend-links p {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .friend-links a {
        padding: 0.5rem 1rem;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        width: 200px;
    }
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* 功能详情页面 */
.feature-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-item {
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-item h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-text ul {
    list-style: none;
    padding: 0;
}

.feature-text li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-text li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 下载页面 */
.installation-guide {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.guide-steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 关于页面 */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-details {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-details p {
    margin-bottom: 1rem;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-content {
        grid-template-columns: 1fr;
    }

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

/* 愿景部分 */
.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-content > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.vision-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.highlight-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 价值观图标 */
.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* 技术优势 */
.tech-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    text-align: center;
}

.tech-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 联系方式补充 */
.contact-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .vision-highlights,
    .tech-advantages,
    .contact-highlights {
        grid-template-columns: 1fr;
    }

    .vision-content > p {
        font-size: 1rem;
        text-align: left;
    }
}

/* 下载按钮组 */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: all 0.3s;
}

.download-button:hover {
    transform: translateY(-2px);
    background-color: white;
}

.button-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
} 