/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 基础颜色定义 */
:root {
    --primary-color: #8B4513; /* 大地棕 */
    --secondary-color: #1E90FF; /* 科技蓝 */
    --light-color: #f4f4f4;
    --dark-color: #333;
    --success-color: #28a745;
    --error-color: #dc3545;
}

/* 图片加载失败占位符 */
img {
    display: block;
    width: 100%;
    height: auto;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background-color: rgba(139, 69, 19, 0.9);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo .logo-img {
    max-height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}



/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: scale(1.05);
    background-color: #6b3b13;
}

.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #0c7bd4;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 解决方案模块 */
.solutions {
    padding: 3rem 0;
    background-color: var(--light-color);
    margin-top: 4rem; /* 为固定导航栏预留空间 */
}

.solution-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.solution-intro h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 1;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.solution-contact {
    text-align: center;
    background-color: #f8f8f8;
    padding: 3rem;
    border-radius: 10px;
}

.solution-contact h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.solution-contact .btn {
    margin-top: 1rem;
    background-color: var(--secondary-color);
}

/* 页脚样式 */
.footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 0 1rem;
    }
    
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        min-width: 100%;
        margin-bottom: 3rem;
    }
    
    .solution-contact {
        padding: 2rem 1rem;
    }
    
    .solutions {
        margin-top: 5rem;
    }
}

/* 小屏幕设备优化 */
@media (max-width: 480px) {
    .navbar .logo h1 {
        font-size: 1.2rem;
    }
    
    .solutions {
        margin-top: 5.5rem;
    }
    
    .solution-contact {
        padding: 1.5rem 0.5rem;
    }
    
    .footer {
        padding: 1rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
        height: auto;
        min-height: 300px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .solution-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-button {
        margin-bottom: 0.5rem;
        padding: 1rem;
    }
    
    .tab-content {
        padding: 1.5rem 1rem;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solution-card {
        flex-direction: column;
    }
    
    .solution-icon {
        margin-bottom: 1rem;
    }
    
    .solution-details {
        text-align: center;
    }
    
    
}