/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.menu-toggle:hover {
    background-color: #f5f5f5;
}

.menu-toggle.active {
    background-color: #e6f0fa;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #333;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0066cc;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 10px;
    font-weight: bold;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.95;
}

.hero p {
    font-size: 20px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-phone {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #0066cc;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* 核心优势 */
.core-advantages {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.core-advantages h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

/* 研发生产 */
.research-production {
    padding: 70px 0;
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: #fff;
}

.research-production h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.feature-item p {
    font-size: 14px;
    opacity: 0.9;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0066cc;
}

/* 产品展示 */
.products-showcase {
    padding: 70px 0;
}

.products-showcase h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.product-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.product-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.products-showcase .btn {
    display: block;
    width: 200px;
    margin: 0 auto;
    text-align: center;
}

/* 数据概览 */
.data-overview {
    padding: 70px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.data-overview h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.data-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.data-item h3 {
    font-size: 32px;
    color: #0066cc;
    margin-bottom: 10px;
}

/* 资质认证 */
.certifications {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.certifications h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.cert-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.cert-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-item {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
}

.stat-item h3 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: bold;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.95;
}

.cert-details {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cert-details ul {
    list-style: none;
    padding: 0;
}

.cert-details li {
    padding: 15px 0 15px 30px;
    border-bottom: 1px solid #eee;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.cert-details li:last-child {
    border-bottom: none;
}

.cert-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
    font-size: 18px;
}

/* 联系我们 */
.contact-section {
    padding: 70px 0;
    background-color: #f8f9fc;
    text-align: center;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #0066cc;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.contact-section .btn {
    background-color: #fff;
    color: #0066cc;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .navbar .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        max-height: 300px;
        padding: 15px 0;
    }

    .nav-links li {
        margin: 8px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-phone {
        font-size: 20px;
    }

    .advantages-grid,
    .products-grid,
    .data-grid,
    .footer-content,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-content {
        grid-template-columns: 1fr;
    }

    .advantage-item,
    .product-item,
    .data-item,
    .feature-item {
        padding: 20px;
    }

    .product-item img {
        height: 160px;
        object-fit: cover;
    }

    h2 {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }

    h3 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }

    h4 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .footer-content {
        text-align: center;
    }

    .footer-info,
    .footer-links {
        margin-bottom: 20px;
    }

    .products-section,
    .about-section,
    .solutions-section,
    .data-section,
    .partners-section,
    .contact-section {
        padding: 50px 0 !important;
    }

    .core-advantages,
    .products-showcase,
    .data-overview,
    .contact-section,
    .research-production,
    .certifications {
        padding: 50px 0 !important;
    }
}