/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* 页头样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo h1 {
    font-size: 24px;
    color: #e63946;
    font-weight: 700;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.nav a:hover {
    color: #e63946;
}

/* 横幅样式 */
.hero {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e63946;
    color: #fff;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

/* 通用区块标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

/* 功能介绍区块 */
.features {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
}

.feature-item i {
    font-size: 40px;
    color: #e63946;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* 下载区域样式 */
.download {
    padding: 80px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.download-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.download-text h4 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.download-text p {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.ios {
    border-top: 4px solid #007aff;
}

.android {
    border-top: 4px solid #34a853;
}

.register {
    border-top: 4px solid #e63946;
}

/* 产品优势区块 */
.advantages {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.advantage-item i {
    font-size: 40px;
    color: #e63946;
    margin-bottom: 20px;
}

.advantage-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* 页尾样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-top {
    margin-bottom: 30px;
    text-align: center;
}

.friend-link {
    color: #e63946;
    font-size: 16px;
}

.friend-link:hover {
    text-decoration: underline;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e63946;
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    font-size: 14px;
}

.footer-col a:hover {
    color: #e63946;
}

.qrcode img {
    width: 120px;
    height: 120px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #999;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .features-grid,
    .advantages-grid,
    .download-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .advantages-grid,
    .download-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
}