/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.cta-btn {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* 导航样式 */
header {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: #fff;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e74c3c;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* 英雄区样式 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 60px;
}

.hero-content {
    max-width: 800px;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #e74c3c;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 服务区样式 */
.services {
    padding: 80px 5%;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #e74c3c;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: #fff;
    padding: 40px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #777;
}

/* 技术优势样式 */
.advantages {
    padding: 80px 5%;
    background-color: #111;
    color: #fff;
    text-align: center;
}

.advantages h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.advantages h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #e74c3c;
}

.advantage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.advantage-card {
    background-color: #222;
    padding: 40px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.advantage-card:hover {
    background-color: #333;
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #bbb;
}

/* 客户评价样式 */
.testimonials {
    padding: 80px 5%;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #e74c3c;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.client {
    font-weight: bold;
    color: #e74c3c;
}

/* 动画效果 */
.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* FAQ样式 */
.faq {
    padding: 80px 5%;
    background-color: #f5f5f5;
    text-align: center;
}

.faq h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.faq h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #e74c3c;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    text-align: left;
}

.faq-question i {
    color: #e74c3c;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 20px 20px;
    text-align: left;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* 联系我们样式 */
.contact {
    padding: 80px 5%;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/contact_bg.jpg') center/cover no-repeat;
    color: #fff;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

/* 页脚样式 */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #e74c3c;
}

.footer-section ul li {
    margin-bottom: 10px;
    color: #ccc;
}

.contact-link {
    display: inline-block;
    margin-top: 15px;
    color: #e74c3c;
    font-weight: bold;
    border-bottom: 1px solid #e74c3c;
    padding-bottom: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

.keywords-footer {
    font-size: 12px;
    margin-top: 10px;
    color: #666;
    letter-spacing: 0.5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .services h2, .advantages h2, .testimonials h2, .faq h2, .contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .service-card, .advantage-card, .testimonial {
        padding: 25px 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services h2, .advantages h2, .testimonials h2, .faq h2, .contact h2 {
        font-size: 1.8rem;
    }
    
    .keywords-footer {
        font-size: 10px;
        line-height: 1.4;
    }
} 