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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

/* 头部样式 */
.header {
    background-color: #FF6B6B;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* 主要内容样式 */
.main {
    padding: 0;
}

/* 英雄区域 */
.hero {
    text-align: center;
    padding: 80px 0;
    background: 
        /* linear-gradient(rgba(255, 107, 107, 0.8), rgba(255, 142, 83, 0.8)), */
        url('static/bannel_1.png');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    letter-spacing: 1px;
}

/* 下载区域 */
.download-section {
    padding: 60px 0;
    background-color: white;
}

.download-content {
    text-align: center;
}

.download-tip {
    margin-top: 40px;
    font-size: 1rem;
    color: #666;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: inline-block;
}

/* 二维码容器 */
.qrcode-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

/* 二维码卡片 */
.qrcode-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 280px;
}

.qrcode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* 二维码占位符 */
.qrcode-placeholder {
    width: 200px;
    height: 200px;
    background-color: #fafafa;
    border: 2px solid #eee;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5rem;
    padding: 10px;
    box-sizing: border-box;
}

.qrcode-placeholder p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* 二维码信息 */
.qrcode-info {
    text-align: center;
}

.qrcode-info h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

/* 下载按钮 */
.download-btn {
    background-color: #FF6B6B;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    min-width: 120px;
}

.download-btn:hover {
    background-color: #FF5252;
    transform: scale(1.05);
}

.download-btn:active {
    transform: scale(0.98);
}

/* 功能特性 */
.features {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

/* 功能卡片 */
.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* 功能图标 */
.feature-icon {
    font-size: 2.5rem;
    min-width: 50px;
}

/* 功能内容 */
.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.feature-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* 页脚样式 */
.footer {
    background-color: white;
    padding: 30px 0;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

.copyright {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 英雄区域 */
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* 下载区域 */
    .download-section {
        padding: 40px 0;
    }
    
    /* 二维码容器 */
    .qrcode-container {
        gap: 40px;
    }
    
    .qrcode-card {
        width: 260px;
    }
    
    /* 二维码占位符 */
    .qrcode-placeholder {
        width: 180px;
        height: 180px;
    }
    
    /* 功能特性 */
    .features {
        padding: 40px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    /* 头部 */
    .logo {
        font-size: 1.8rem;
    }
    
    .nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    /* 英雄区域 */
    .hero {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* 下载区域 */
    .download-section {
        padding: 30px 0;
    }
    
    /* 二维码容器 */
    .qrcode-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    /* 二维码卡片 */
    .qrcode-card {
        width: 100%;
        max-width: 300px;
    }
    
    /* 二维码占位符 */
    .qrcode-placeholder {
        width: 160px;
        height: 160px;
        font-size: 3rem;
    }
    
    /* 下载按钮 */
    .download-btn {
        width: 100%;
        max-width: 160px;
    }
    
    /* 功能特性 */
    .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    /* 页脚 */
    .footer {
        padding: 25px 0;
    }
}