:root {
    --primary-color: #0366d6;
    --secondary-color: #2ea44f;
    --dark-color: #24292e;
    --light-color: #f6f8fa;
    --success-color: #2ecc71;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--light-color);
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航样式 */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* 导航菜单 */
.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-item a {
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-text {
    font-weight: 500;
}

.nav-item a:hover {
    color: var(--primary-color);
    background: rgba(6, 102, 214, 0.05);
}

/* Hero区域 */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    padding: 140px 0 100px;
    text-align: center;
    color: white;
}

.hero-section h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 500;
    opacity: 0.9;
}

/* 按钮样式 */
.action-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

/* 修改按钮样式部分 */
.primary-btn, .github-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background: var(--success-color);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    background: #27ae60; /* 稍微深一点的绿色 */
}

.github-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
}

.github-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* 添加按钮点击效果 */
.primary-btn:active, .github-btn:active {
    transform: translateY(-1px);
}
/* 特性标签 */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* 核心特性区域 */
.features-section {
    padding: 100px 20px;
    background: white;
}

.features-section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
    color: var(--dark-color);
}

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

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* 技术栈区域 */
.tech-section {
    padding: 80px 20px;
    background: var(--light-color);
}

.tech-section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 贡献部分 */
.contribute-section {
    padding: 100px 20px;
    background: white;
}

.contribute-section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 30px;
}

.contribute-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contribute-content p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #666;
}

.contribute-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    margin-bottom: 15px;
}

/* 页脚样式 */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 20px 60px;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .hero-section h2 {
        font-size: 1.4rem;
    }

    .action-btns {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-list {
        display: none;
    }

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

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

    .contribute-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .tech-item, .step {
    animation: fadeInUp 0.6s ease-out forwards;
}