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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
    max-height: 50px;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #0066ff;
}

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

.nav ul li {
    margin: 0 20px;
}

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

.nav ul li a:hover {
    color: #0066ff;
}

.login-register {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: transparent;
    color: #0066ff;
    border: 1px solid #0066ff;
}

.btn-login:hover {
    background-color: #0066ff;
    color: white;
}

.btn-register {
    background-color: #0066ff;
    color: white;
    border: 1px solid #0066ff;
}

.btn-register:hover {
    background-color: #0052cc;
}

/* 首屏样式 */
.hero {
    background: linear-gradient(135deg, #0066ff 0%, #00c6ff 100%);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://picsum.photos/id/10/1200/800');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 32px;
    margin-bottom: 25px;
    font-weight: 600;
    opacity: 0.9;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0.9;
}

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

.btn-download {
    background-color: white;
    color: #0066ff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-download:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-learn-more {
    background-color: transparent;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background-color: white;
    color: #0066ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.download-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    transition: all 0.3s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0) translateY(0);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* 通用部分样式 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, #00c6ff);
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 功能特点样式 */
.features {
    padding: 100px 0;
    background-color: white;
}

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

.feature-item {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.1);
    border-color: #0066ff;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066ff, #00c6ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

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

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

/* 其它应用下载板块样式 */
.other-apps {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.app-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.app-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.app-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #0066ff;
}

.app-item h3 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: #333;
}

.app-item p {
    font-size: 16px;
    color: #666;
    margin: 0 30px 25px;
    line-height: 1.6;
}

.btn-app-download {
    display: inline-block;
    background-color: #0066ff;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.btn-app-download:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

/* 下载部分样式 */
.download {
    padding: 100px 0;
    background-color: white;
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    background-color: #f8f9fa;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.platform-item:hover {
    background-color: #0066ff;
    color: white;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.2);
    border-color: #0066ff;
}

.platform-item i {
    font-size: 48px;
    margin-bottom: 15px;
}

/* 用户评价样式 */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066ff 0%, #00c6ff 100%);
    color: white;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials .section-title h2::after {
    background: white;
}

.testimonials .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: transparent;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.testimonial-item {
    min-width: 350px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    margin-bottom: 20px;
}

.user-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.rating i {
    color: #ffd700;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 20px;
    font-style: italic;
}

/* 常见问题样式 */
.faq {
    padding: 100px 0;
    background-color: white;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.faq-question i {
    font-size: 16px;
    color: #666;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-active {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    color: #666;
    line-height: 1.6;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-item i {
    font-size: 36px;
    color: #0066ff;
    margin-bottom: 15px;
}

.contact-item span {
    font-size: 16px;
    color: #666;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066ff;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    background-color: #0066ff;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.2);
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

/* 友情链接样式 */
.friend-links {
    margin-bottom: 40px;
    text-align: center;
}

.friend-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

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

.friend-links ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
    font-size: 14px;
}

.friend-links ul li a:hover {
    color: #0066ff;
}

/* 版权信息样式 */
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.copyright p {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .download-stats {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .login-register {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .testimonial-item {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-download,
    .btn-learn-more {
        width: 250px;
        text-align: center;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .features,
    .other-apps,
    .download,
    .testimonials,
    .faq,
    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-image img {
        max-height: 300px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-item {
        width: 120px;
        height: 120px;
        font-size: 16px;
    }
    
    .platform-item i {
        font-size: 36px;
    }
    
    .testimonial-item {
        min-width: 280px;
    }
    
    .contact-info {
        gap: 30px;
    }
    
    .friend-links ul {
        gap: 15px;
    }
}