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

body {
    font-family: 'Arial', 'Helvetica', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 英文内容特定样式 */
html[lang="en"] body {
    line-height: 1.7;
}

html[lang="en"] .section-title h2 {
    letter-spacing: -0.5px;
}

html[lang="en"] .service-item h3,
html[lang="en"] .advantage-item h3 {
    letter-spacing: -0.3px;
}

.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;
    left: 0;
    right: 0;
    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: #2c3e50;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo p {
    color: #7f8c8d;
    font-size: 12px;
}

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

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

.nav-menu a {
    color: #34495e;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

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

.language-switcher {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.lang-btn {
    padding: 8px 15px;
    border: 2px solid #3498db;
    background-color: transparent;
    color: #3498db;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.lang-btn.active {
    background-color: #3498db;
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content .subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.banner-content .description {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

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

.btn-primary {
    background-color: #fff;
    color: #3498db;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

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

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

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

.section-title h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-title .divider {
    width: 80px;
    height: 3px;
    background-color: #3498db;
    margin: 0 auto;
}

.section-title p {
    color: #7f8c8d;
    font-size: 18px;
    margin-top: 20px;
}

/* 关于我们样式 */
.about {
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    margin-bottom: 15px;
    color: #555;
    padding-left: 25px;
    position: relative;
}

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 产品服务样式 */
.services {
    background-color: #f8f9fa;
}

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

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

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
}

.service-item h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-item p {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-item ul {
    list-style: none;
    text-align: left;
}

.service-item li {
    margin-bottom: 10px;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.service-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 20px;
}

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

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

.advantage-item {
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #3498db;
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    background-color: #3498db;
    color: #fff;
    transform: scale(1.1);
}

.advantage-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #7f8c8d;
    line-height: 1.7;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    color: #555;
}

.contact-details li svg {
    margin-right: 15px;
    color: #3498db;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-form h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

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

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

.footer-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-info p {
    color: #bdc3c7;
    margin-bottom: 10px;
    line-height: 1.7;
}

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

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

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

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

.footer-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 30px;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .banner-content h2 {
        font-size: 36px;
    }

    .banner-content .subtitle {
        font-size: 20px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }

    .banner {
        padding: 120px 0 80px;
    }
}

@media (max-width: 480px) {
    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content .subtitle {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}