/* ===== banner区域 ===== */
.solutions-center-banner {
    height: 650px;
    background-image: url('https://langzhi-static-resource.oss-cn-shanghai.aliyuncs.com/official-website/images/products/banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 0;
    text-align: left; /* 改为左对齐 */
    position: relative;
}

.solutions-center-banner::before {  
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; 
    opacity: 0.7;
}

.solutions-center-banner .container {
    position: relative;
    z-index: 1;
    padding-left: 0; /* 去除容器左侧内边距 */
    max-width: 100%; /* 使容器宽度最大化 */
}

.solutions-center-banner .banner-content {
    margin: 0; /* 去除所有外边距 */
    padding-left: 298px; /* 可根据需要调整少量内边距，确保文字不会完全贴边 */
}

.solutions-center-banner h1 {
    font-size: 48px;
    color: white;
    margin: 0 0 10px;
    font-weight: 700;
    text-align: left; /* 标题左对齐 */
}

.solutions-center-banner .subtitle {
    font-size: 24px;
    color: white;
    margin: 0;
    font-weight: 300;
    text-align: left; /* 副标题左对齐 */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: white;
}

/* 解决方案 */
.solutions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(255, 255, 255);
}

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

.solutions-header {
    text-align: center;
    margin-bottom: 20px;
}

.solutions-header h1 {
    font-size: 46px;
    font-weight: 700;
    color: rgba(44, 55, 66, 1);
}

.solutions-header p {
    font-size: 20px;
    font-weight: 400;
    color: rgba(119, 126, 133, 1);
}

/* 衡算主要内容区域 - 四格布局 */
/* 整个四格区域只做两行垂直排列，不再用一个大 grid */
.solutions-main-content {
    display: flex;              /* 垂直方向两行 */
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
    padding: 0 0;
    margin-bottom: 50px;
}

/* 第 1 行：2 : 1 */
.solutions-row-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;   /* 这里改为 2:1 */
    /* gap: 20px; */
}

/* 第 2 行：1 : 1 */
.solutions-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.solutions-feature-item {
    background: #f8f9fa;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* 第一格：手持手机展示 */
.solutions-feature-item-1 {
    background: #ffffff;
    align-items: center;
    justify-content: center;
    padding: 0; /* 移除 padding */
    overflow: hidden; /* 防止溢出 */
}

/* 给图片容器添加相对定位 */
.solutions-feature-image {
    position: relative; /* 添加这一行 */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 确保文字在图片上方显示 */
.scene-overlay-text {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 10; /* 提高层级 */
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); /* 增强文字阴影 */
    /* background: rgba(0,0,0,0.3);  */
    padding: 15px;
    border-radius: 8px;
    /* backdrop-filter: blur(5px);  */
}

.solutions-phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* 移除图片默认的底部间距 */
}

/* 第二格：消防救援绳索技术数字化 */
.solutions-feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
}

.solutions-feature-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.solutions-feature-content .separator {
    width: 60px;
    height: 4px;
    background-color: #1E88E5;
    margin-bottom: 2rem;
}

.solutions-feature-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.solutions-feature-content p:last-child {
    margin-bottom: 0;
}

/* ===== 第三格：户外培训场景 ===== */
.solutions-feature-item-3 {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 图片上方文字叠加层 */
.solutions-scene-image {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.solutions-scene-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scene-overlay-text {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 2;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.scene-overlay-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px;
}

.scene-overlay-desc {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    max-width: 80%;
}

.solutions-feature-item-3 .solutions-scene-footer {
    padding: 20px 30px;
    background-color: #f8f9fa;
    text-align: center;
}

.solutions-feature-item-3 .solutions-scene-footer h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3742;
    margin: 0 0 8px;
}

.solutions-feature-item-3 .solutions-scene-footer p {
    color: #777e85;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .solutions-center-banner .banner-content {
        padding-left: 100px;
    }
    
    .solutions-row-1,
    .solutions-row-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .solutions-feature-item {
        min-height: 300px;
    }
    
    .solutions-value-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .solutions-center-banner {
        height: 300px;
        padding: 120px 0;
    }
    
    .solutions-center-banner .banner-content {
        padding-left: 50px;
        text-align: center;
    }
    
    .solutions-center-banner h1 {
        font-size: 36px;
    }
    
    .solutions-center-banner .subtitle {
        font-size: 20px;
    }
    
    .solutions-header h1 {
        font-size: 36px;
    }
    
    .solutions-header p {
        font-size: 18px;
    }
    
    .solutions-feature-content h3 {
        font-size: 1.5rem;
    }
    
    .solutions-feature-content p {
        font-size: 1rem;
    }
    
    .solutions-value-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .solutions-value-stat {
        margin-bottom: 20px;
    }
    
    .solutions-value-stat:last-child {
        margin-bottom: 0;
    }
    
    .solutions-value-number {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .solutions-center-banner {
        height: 250px;
        padding: 100px 0;
    }
    
    .solutions-center-banner .banner-content {
        padding-left: 20px;
    }
    
    .solutions-center-banner h1 {
        font-size: 28px;
    }
    
    .solutions-center-banner .subtitle {
        font-size: 18px;
    }
    
    .solutions-container {
        padding: 15px;
    }
    
    .solutions-header h1 {
        font-size: 30px;
    }
    
    .solutions-feature-item {
        padding: 20px;
    }
    
    .solutions-value-title {
        font-size: 20px;
    }
}

@media (max-width: 320px) {
    .solutions-center-banner h1 {
        font-size: 24px;
    }
    
    .solutions-header h1 {
        font-size: 26px;
    }
    
    .solutions-feature-content h3 {
        font-size: 1.2rem;
    }
    
    .solutions-value-number {
        font-size: 32px;
    }
}

/* 解决方案价值区域 - 修复底部空白 */
.solutions-value-section {
    background-color: #1E88E5;
    padding: 40px 0;
    text-align: center;
    color: white;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-bottom: 0;
}

/* 确保容器没有底部margin */
.solutions {
    margin-bottom: -20px;
}

.solutions-container {
    margin-bottom: 0;
}

/* 确保body没有margin导致空白 */
body {
    margin: 0;
    padding: 0;
}

.solutions-value-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.solutions-value-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.solutions-value-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.solutions-value-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.solutions-value-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.solutions-value-stat {
    flex: 1;
    min-width: 150px;
}

.solutions-value-text {
    font-size: 16px;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .solutions-value-stats {
        flex-direction: column;
    }
    
    .solutions-value-stat {
        margin-bottom: 20px;
    }
    
    .solutions-value-stat:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .scene-overlay-text {
        top: 10px;
        left: 15px;
        padding: 10px;
    }
    
    .scene-overlay-title {
        font-size: 18px;
    }
    
    .scene-overlay-desc {
        font-size: 12px;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .scene-overlay-text {
        top: 5px;
        left: 10px;
        padding: 8px;
    }
    
    .scene-overlay-title {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .scene-overlay-desc {
        font-size: 11px;
    }
}
