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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.logo h1 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: #2c5aa0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2c5aa0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 汉堡菜单样式 */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #333;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px 10px 10px 0;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #2c5aa0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    background-color: #22467a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 90, 160, 0.4);
}

.btn-secondary {
    background-color: #fff;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #2c5aa0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

/* 英雄区块样式 */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bb7 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

/* 核心功能样式 */
.features {
    background-color: #fff;
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 50px;
}

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

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

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

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

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

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 服务数据样式 */
.stats {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

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

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 50px;
}

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

.testimonial-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.author-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.author-title {
    font-size: 0.9rem;
    color: #999;
}

/* 下载部分样式 */
.download {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bb7 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.download h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.download p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.download-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.download-item h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.download-item .btn {
    margin: 0;
    width: 100%;
}

/* 使用教程样式 */
.guide {
    background-color: #fff;
    padding: 80px 0;
}

.guide h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 40px;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.guide-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.guide-content h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.guide-content h4 {
    color: #2c5aa0;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.guide-content ul, .guide-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
    color: #666;
}

.guide-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

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

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

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.footer-info p {
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2c5aa0;
}

.footer-contact p {
    color: #bdc3c7;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .features h2,
    .testimonials h2,
    .download h2,
    .guide h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* 导航响应式 */
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 16px 0;
    }
    
    /* 英雄区块响应式 */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* 按钮响应式 */
    .btn {
        display: block;
        margin: 10px auto;
    }
    
    /* 区块内边距响应式 */
    .features,
    .devices,
    .usage,
    .testimonials,
    .download,
    .guide {
        padding: 60px 0;
    }
    
    /* 教程内容响应式 */
    .guide-content {
        padding: 20px;
    }
    
    /* 测试imonials网格响应式 */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .features h2,
    .testimonials h2,
    .download h2,
    .guide h2 {
        font-size: 1.8rem;
    }
    
    .feature-item,
    .testimonial-item,
    .download-item {
        padding: 20px;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}