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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    height: 24px;
    margin-right: 8px;
}

.logo a {
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.logo a:hover {
    color: #333;
}

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

.nav-links li {
    margin-left: 30px;
}

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

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

/* 首页横幅样式 */
.hero {
    background: linear-gradient(135deg, #6366F1 0%, #2563EB 100%);
    color: white;
    padding: 120px 0;
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
}

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

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

.download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.download-btn {
    padding: 12px 30px;
    border-radius: 25px;
    background: white;
    color: #2563EB;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.download-btn:hover {
    transform: translateY(-3px);
}

/* 各部分通用样式 */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* 服务卡片样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

/* 联系我们样式 */
.contact-section {
    background-color: #f8f9fa;
}

.contact-info {
    text-align: center;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    section {
        padding: 40px 0;
    }

    .download-options {
        flex-direction: column;
    }

    .hero-image {
        margin-top: 40px;
    }

    .platform-card {
        width: auto;
        margin-bottom: 0;
    }

    .platform-card .bg-gradient-to-br {
        padding: 0.5rem;
    }

    .platform-card img {
        width: 2rem;
        height: 2rem;
        margin-bottom: 0.25rem;
    }

    .platform-card span {
        white-space: nowrap;
        font-size: 0.75rem;
    }

    .flex.justify-center.space-x-8 {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    /* 隐藏滚动条但保持可滚动 */
    .flex.justify-center.space-x-8::-webkit-scrollbar {
        display: none;
    }
    
    .flex.justify-center.space-x-8 {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .grid.grid-cols-1.md\:grid-cols-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .grid.grid-cols-1.md\:grid-cols-3 > div {
        width: 100%;
        padding: 0.5rem;
    }

    .grid.grid-cols-1.md\:grid-cols-3 > div .flex-shrink-0 {
        width: 1.5rem;
        height: 1.5rem;
    }

    .grid.grid-cols-1.md\:grid-cols-3 > div .text-gray-700 {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 隐藏滚动条但保持可滚动 */
    .grid.grid-cols-1.md\:grid-cols-3::-webkit-scrollbar {
        display: none;
    }
    
    .grid.grid-cols-1.md\:grid-cols-3 {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 功能特点样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 40px;
    color: #2563EB;
    margin-bottom: 20px;
}

/* 下载部分样式 */
.download-section {
    background-color: #f8f9fa;
    text-align: center;
}

.download-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.qr-code img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
} 