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

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 8px 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: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo .company-logo {
    height: 40px;
    width: auto;
    display: block;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1a73e8;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #5f6368;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover {
    color: #1a73e8;
}

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

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

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

.menu-icon {
    font-size: 24px;
    color: #5f6368;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

.btn-primary {
    display: inline-block;
    background-color: #fff;
    color: #1a73e8;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 48px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #1a73e8;
}

/* 关于我们区块 */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 16px;
    color: #5f6368;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.placeholder-image {
    width: 100%;
    height: 300px;
    /* background-color: #e8f0fe; */
    /* border-radius: 8px; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 业务范围区块 */
.business-section {
    background-color: #f8f9fa;
}

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

.business-card {
    background-color: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.business-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
}

.business-card p {
    font-size: 15px;
    color: #5f6368;
    line-height: 1.6;
}

/* 产品中心区块 */
.products-section {
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.product-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
    font-size: 18px;
    font-weight: 500;
}

.product-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    padding: 20px 20px 0;
}

.product-item p {
    font-size: 15px;
    color: #5f6368;
    padding: 10px 20px 20px;
    line-height: 1.6;
}

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

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    background-color: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 15px;
    color: #5f6368;
    margin-bottom: 16px;
    line-height: 1.6;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 24px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚样式 */
.footer {
    background-color: #202124;
    color: #fff;
    padding: 48px 0 24px;
}

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

.footer-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-info p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

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

.footer-copyright p {
    font-size: 14px;
    opacity: 0.7;
}

.beian-container {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.beian-container-no-margin {
    /* display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap; */
    margin-top: 0;
}

.beian-info {
    margin: 0;
}

.beian-info a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.beian-info a:hover {
    opacity: 1;
}

.beian-police-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.beian-police-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        padding: 12px 20px;
    }
    
    .logo .company-logo {
        height: 32px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .placeholder-image {
        height: 250px;
    }
    
    .placeholder-image img {
        object-fit: cover;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 60px 0;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .business-cards,
    .product-grid {
        grid-template-columns: 1fr;
    }
}