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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3491fa;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3491fa;
}

/* 英雄区域样式 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecfb 100%);
}

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

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

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

.hero-image img {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d2129;
}

.hero p {
    font-size: 1.1rem;
    color: #4e5969;
    margin-bottom: 30px;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #3491fa;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2a7ad2;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #fff;
    color: #3491fa;
    border: 1px solid #3491fa;
}

.btn-secondary:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

/* 通用部分标题样式 */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1d2129;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3491fa;
    margin: 15px auto 0;
}

/* 功能特点部分 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

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

.feature-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

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

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1d2129;
}

.feature-item p {
    color: #4e5969;
}

/* 应用截图部分 */
.screenshots {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.swiper {
    padding: 20px 0 60px;
}

.screenshot-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.screenshot-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.screenshot-desc {
    padding: 20px;
}

.screenshot-desc h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d2129;
}

.screenshot-desc p {
    color: #4e5969;
}

.swiper-button-next,
.swiper-button-prev {
    color: #3491fa;
}

.swiper-pagination-bullet-active {
    background-color: #3491fa;
}

/* 用户评价部分 */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

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

.testimonial-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #4e5969;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    font-size: 2rem;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 5px;
}

.author-info p {
    color: #86909c;
    font-size: 0.9rem;
}

/* 下载部分 */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #e4ecfb 0%, #f5f7fa 100%);
    text-align: center;
}

.download-desc {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #4e5969;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.download-btn img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.download-btn span {
    font-weight: 500;
    color: #1d2129;
}

.qr-code {
    margin-top: 30px;
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.qr-code p {
    color: #4e5969;
}

/* 页脚样式 */
footer {
    background-color: #1d2129;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo-img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.footer-logo h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-links ul li a {
    color: #c9cdd4;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #3491fa;
}

.footer-contact p {
    color: #c9cdd4;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    color: #c9cdd4;
    transition: color 0.3s;
}

.social-link:hover {
    color: #3491fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #86909c;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav {
        margin-top: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .testimonial-item {
        padding: 20px;
    }
}