/* 全局样式 */
* {
    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: #f8f9fa;
}

.container {
    width: 100%;
    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;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #3a86ff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo a i {
    margin-right: 10px;
}

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

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

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

.nav-links ul li a:hover {
    color: #3a86ff;
}

.mobile-menu {
    display: none;
}

#menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
    color: #fff;
    padding: 150px 0 100px;
    margin-top: 70px;
}

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

.hero-content {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

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

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #fff;
    color: #3a86ff;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid #fff;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
}

/* 统计数据 */
.stats {
    background-color: #fff;
    padding: 80px 0;
}

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

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item i {
    font-size: 48px;
    color: #3a86ff;
    margin-bottom: 20px;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-size: 16px;
}

/* 通用区块样式 */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #3a86ff;
    border-radius: 2px;
}

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

/* 产品特点 */
.features {
    background-color: #f8f9fa;
}

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

.feature-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #3a86ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

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

/* 核心优势 */
.benefits {
    background-color: #fff;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 50px;
    flex-wrap: wrap;
}

.benefit-item.reverse {
    flex-direction: row-reverse;
}

.benefit-image {
    flex: 1;
    min-width: 300px;
}

.benefit-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-image img:hover {
    transform: scale(1.05);
}

.benefit-text {
    flex: 1;
    min-width: 300px;
}

.benefit-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.benefit-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 下载区域 */
.download {
    background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
    color: #fff;
}

.download .section-header h2 {
    color: #fff;
}

.download .section-header h2::after {
    background-color: #fff;
}

.download .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.download-options {
    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: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.download-item i {
    font-size: 64px;
    margin-bottom: 20px;
}

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

.download-btn {
    background-color: #fff;
    color: #3a86ff;
    padding: 12px 30px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 用户评价 */
.testimonials {
    background-color: #f8f9fa;
}

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

.testimonial-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

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

.testimonial-rating i {
    color: #ffc107;
    font-size: 20px;
    margin-right: 5px;
}

.testimonial-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.testimonial-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-user span {
    font-weight: 600;
}

/* 常见问题 */
.faq {
    background-color: #fff;
}

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

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #3a86ff;
}

.faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    transition: transform 0.3s ease;
}

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

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

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

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: #3a86ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-right: 20px;
}

.contact-item p {
    font-size: 16px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3a86ff;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: #3a86ff;
    color: #fff;
    width: 100%;
}

.submit-btn:hover {
    background-color: #2979ff;
    transform: translateY(-2px);
}

/* 页脚 */
.footer {
    background-color: #2d3748;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo a i {
    margin-right: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #3a86ff;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social ul {
    display: flex;
    gap: 15px;
    list-style: none;
}

.footer-social ul li a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social ul li a:hover {
    background-color: #3a86ff;
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #3a86ff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .benefit-item {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links ul li {
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .benefit-text h3 {
        font-size: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links,
    .footer-social {
        text-align: center;
    }
    
    .footer-social ul {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .feature-item,
    .benefit-image,
    .benefit-text,
    .download-item,
    .testimonial-item {
        min-width: 100%;
    }
    
    .contact-content {
        gap: 30px;
    }
}