* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* 头部导航 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6b6b;
}

.login-btn a {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.login-btn a:hover {
    background-color: #ff5252;
}

/* 英雄区域 */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 5%;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
}

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

.cta-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.primary-btn:hover {
    background-color: #ff5252;
}

.secondary-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background-color: #ff6b6b;
    color: white;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 功能区域 */
.features {
    padding: 60px 5%;
    background-color: #f9f9f9;
    max-width: 1200px;
    margin: 0 auto;
}

.features h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

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

.feature-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

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

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

.feature-card p {
    color: #666;
}

/* 展示区域 */
.showcase {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.showcase-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-item {
    flex: 0 0 100%;
    text-align: center;
    padding: 20px;
}

.slider-item img {
    max-width: 100%;
    border-radius: 8px;
}

.slider-item span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #e0e0e0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
}

.dot.active {
    background-color: #ff6b6b;
}

/* 模板区域 */
.templates {
    padding: 60px 5%;
    background-color: #f9f9f9;
    max-width: 1200px;
    margin: 0 auto;
}

.templates h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.template-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.template-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.template-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.template-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.template-info p {
    font-size: 14px;
    opacity: 0.8;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

.view-all a {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid #333;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.view-all a:hover {
    background-color: #333;
    color: white;
}

/* 下载区域 */
.download {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.download h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.download p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.app-store-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.app-store-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
}

.qr-code {
    margin: 0 auto;
    max-width: 150px;
}

.qr-code img {
    width: 100%;
    border-radius: 8px;
}

.qr-code p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b6b;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s;
}

.social-media a:hover {
    background-color: #ff6b6b;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-stores {
        flex-direction: column;
        gap: 10px;
    }
    
    .qr-code {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
/* 功能展示区域 */
.showcase {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.showcase-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.showcase-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.showcase-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.showcase-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.showcase-info p {
    font-size: 14px;
    opacity: 0.8;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

.view-all a {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid #333;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.view-all a:hover {
    background-color: #333;
    color: white;
}