/* 基础样式重置与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #1a73e8; /* 科技蓝主色调 */
    --secondary-color: #ff9800; /* 橙色辅助色 */
    --dark-color: #333333;
    --light-color: #f5f5f5;
    --gray-color: #757575;
    --white-color: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

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

/* 链接样式 */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0d5bcd;
    transform: translateY(-2px);
    color: var(--white-color);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* 头部导航样式 */
header {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

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

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

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero区域样式 */
.hero {
    background: linear-gradient(rgba(26, 115, 232, 0.8), rgba(26, 115, 232, 0.9)), url('/images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

section h2 {
    font-size: 32px;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* 公司概述样式 */
.company-overview {
    background-color: var(--white-color);
}

.overview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overview-content p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 40px;
    text-align: center;
}

.core-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

.value-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

/* 产品亮点样式 */
.product-highlights {
    background-color: var(--light-color);
}

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

.product-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.product-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.product-card p {
    margin-bottom: 25px;
}

/* 服务承诺样式 */
.service-commitment {
    background-color: var(--white-color);
}

.commitment-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.commitment-list li {
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.commitment-list li::before {
    content: '✓';
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section ul {
    font-size: 14px;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white-color);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

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

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    section {
        padding: 60px 0;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}