* {
    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.6;
    color: #333;
    background: #f8f9fa;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.03)" width="50" height="50"/><rect fill="rgba(255,255,255,0.03)" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.5;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.05rem;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    background: white;
    padding: 50px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.hero-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.download-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 16px 45px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.25);
    font-weight: 500;
    letter-spacing: 1px;
}

.download-btn:hover {
    background: #229954;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
    transform: translateY(-2px);
}

.download-btn:active {
    transform: translateY(0);
}

.version {
    margin-top: 15px;
    color: #999;
    font-size: 0.85rem;
}

/* Projects Section */
.projects {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #27ae60;
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.15rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-info p {
    color: #666;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    background: white;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
}

/* Footer */
.footer {
    background: #34495e;
    color: white;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 35px 0;
    }
    
    .title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 35px 0;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .download-btn {
        padding: 12px 35px;
        font-size: 1rem;
    }
    
    .projects {
        padding: 35px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-image {
        height: 220px;
    }
    
    .project-info {
        padding: 15px;
    }
    
    .project-info h3 {
        font-size: 1.05rem;
    }
    
    .project-info p {
        font-size: 0.85rem;
    }
    
    .stats {
        padding: 35px 0;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .footer {
        padding: 20px 0;
        font-size: 0.8rem;
    }
}

/* 悬浮二维码 */
.qr-float {
    position: fixed;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    transition: right 0.4s ease;
}

.qr-float.expanded {
    right: 0;
}

.qr-container {
    display: flex;
    align-items: center;
}

.qr-tab {
    width: 40px;
    height: 120px;
    background: white;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    writing-mode: vertical-rl;
    color: #27ae60;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.qr-tab:hover {
    background: #f0f8f4;
}

.qr-tab:active {
    background: #e8f5ed;
}

.qr-content {
    background: white;
    padding: 20px;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
}

.qr-title {
    text-align: center;
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.qr-code {
    background: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.qr-code img {
    width: 160px;
    height: 160px;
    display: block;
    margin: 0 auto;
}

.qr-hint {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .qr-float {
        right: -200px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: auto;
        transition: right 0.4s ease;
    }
    
    .qr-float.expanded {
        right: 0;
    }
    
    .qr-container {
        flex-direction: row;
    }
    
    .qr-content {
        padding: 15px;
        border-radius: 0;
        box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
    }
    
    .qr-code img {
        width: 140px;
        height: 140px;
    }
    
    .qr-tab {
        width: 35px;
        height: 100px;
        border-radius: 8px 0 0 8px;
        writing-mode: vertical-rl;
        font-size: 0.75rem;
    }
}
