/* 项目应用页面专属样式 - 横向图片卡片版 */
.page-banner {
    position: relative;
    margin-top: 80px;
    padding: 120px 0;
    text-align: center;
    color: white;
    background-image: url('img/banner 1.jpg'); /* 可替换为实际图片路径 */
    background-size: cover;
    background-position: 0 60%;
    /*background-attachment: fixed;*/ /* 视差效果，可选 */
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* 深色蒙版，透明度可调 */
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* 横向卡片容器 */
.horizontal-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

/* 单个卡片：背景图片 + 半透明遮罩，内容左对齐 */
.horizontal-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 320px;
    display: flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 深色遮罩层，保证文字可读性 */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* 卡片内容区域，相对于遮罩层浮动 */
.card-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
    padding: 48px 40px;
    color: white;
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

.learn-more {
    display: inline-block;
    padding: 10px 28px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.learn-more:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* 底部圆角按钮 */
.solution-cta {
    padding: 40px 0 80px;
    text-align: center;
}

.solution-btn {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    font-size: 1.2rem;
    font-weight: 300;
    text-decoration: none;
    border-radius: 60px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.solution-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.4);
}

/* 响应式：平板和手机适当缩小内边距，文字占比调整 */
@media (max-width: 992px) {
    .card-content {
        max-width: 75%;
        padding: 40px 32px;
    }
    .card-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .horizontal-card {
        min-height: 280px;
    }
    .card-content {
        max-width: 85%;
        padding: 32px 24px;
    }
    .card-content h3 {
        font-size: 1.5rem;
    }
    .card-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .solution-btn {
        padding: 12px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .card-content {
        max-width: 100%;
        padding: 24px 20px;
        text-align: center;
    }
    .card-content p {
        text-align: left;
    }
    .learn-more {
        display: block;
        text-align: center;
    }
}