* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 20px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 8px;
    padding: 5px;
    object-fit: contain;
}

.company-info h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.slogan {
    font-size: 16px;
    opacity: 0.9;
}

.phone {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 导航栏 */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    padding: 18px 30px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    color: #1a237e;
    border-bottom-color: #1a237e;
}

/* 主要内容区 */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* 页面头部 */
.page-header {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    margin-bottom: 40px;
}

.page-header h2 {
    font-size: 36px;
    color: #1a237e;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: #555;
}

/* 首页横幅 */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 80px 60px;
    margin-bottom: 60px;
    color: white;
}

.banner h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: white;
    color: #1a237e;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #1a237e;
    color: white;
}

/* 章节标题 */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1a237e;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1a237e;
}

/* 特色卡片网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a237e;
}

.feature-card p {
    color: #666;
}

/* 公司简介卡片 */
.intro-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.intro-card h3 {
    color: #1a237e;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.intro-card h3:first-child {
    margin-top: 0;
}

.intro-card p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* 产品/服务列表 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: #1a237e;
    margin-bottom: 15px;
    font-size: 22px;
}

.info-desc {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.info-content {
    line-height: 1.8;
    color: #555;
}

.info-content ul {
    padding-left: 20px;
}

.info-content li {
    margin-bottom: 8px;
}

/* 联系我们页面 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card,
.contact-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-info-card h3,
.contact-form h3 {
    color: #1a237e;
    margin-bottom: 25px;
    font-size: 22px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #555;
}

.info-item .icon {
    font-size: 20px;
    min-width: 24px;
}

.qrcode-group {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.qrcode-box {
    text-align: center;
}

.qrcode-box img {
    width: 120px;
    height: 120px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qrcode-box p {
    color: #666;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a237e;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.address-info h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.address-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-qrcode {
    display: flex;
    gap: 40px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qrcode-item p {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logo-section {
        flex-direction: column;
    }

    .nav-item {
        padding: 12px 15px;
        font-size: 14px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        flex-direction: column;
        text-align: center;
    }

    .address-info p {
        justify-content: center;
    }

    .footer-qrcode {
        justify-content: center;
    }

    .banner {
        padding: 50px 30px;
    }

    .banner h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .qrcode-group {
        flex-direction: column;
        align-items: center;
    }
}