/* 客户案例页面专属样式 (case.css) 
   完全独立，不使用基础 css.css 中的页面排版通用类
*/

body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
}

/* ====================================================
   外层容器
   ==================================================== */
.case-page-container {
    width: 100%;
}

/* ====================================================
   顶部 Banner 区域
   ==================================================== */
.case-hero-banner {
    width: 100%;
    height: 720px;
    background-color: #e6edf2;
    /* 当图片未加载时的占位色 */
    background-image: url('../imgs/os8c.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.case-hero-content {
    position: relative;
    z-index: 2;
    width: 1200px;
    margin: 0 auto;
    padding-left: 50px;
    /* 左侧留白 */
}

.case-hero-title {
    font-size: 84px;
    color: rgb(51, 51, 51);
    font-weight: bold;
    letter-spacing: 2px;
}

.case-hero-subtitle {
    font-size: 72px;
    color: rgb(51, 51, 51);
    font-weight: bold;
    margin: 0 0 30px 0;
    letter-spacing: 2px;
}

.case-hero-desc {
    font-size: 30px;
    color: rgb(102, 102, 102);
    margin: 0;
    letter-spacing: 1px;
}


/* ====================================================
   案例列表区域
   ==================================================== */
.case-list-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

.case-grid-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    /* 居中对齐 */
    gap: 40px;
    /* 卡片之间的间距 */
}

/* 单个案例卡片 */
.case-card-item {
    width: 364px;
    height: 439px;
    background-color: #f6f8fa;
    background-size: 100% 100%;
    /* 宽高百分百 */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* 让内容靠底部对齐，以免挡住上面的二维码 */
    align-items: center;
    padding-bottom: 30px;
    /* 距离底部的间距 */
}

.case-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.case-card-text-main {
    font-size: 30px;
    color: rgb(51, 51, 51);
    font-weight: bold;
    text-align: center;
}

.case-card-text-sub {
    font-size: 24px;
    color: rgb(102, 102, 102);
    margin: 0;
    text-align: center;
    font-weight: normal;
}

/* 二维码占位色块 */
.case-qrcode-box {
    width: 220px;
    height: 220px;
    margin: 0 auto 25px;
    background-color: #333333;
    /* 用深灰色块代替二维码 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* 模拟二维码中间的空白或线条感 */
    background-image:
        linear-gradient(45deg, #ffffff 25%, transparent 25%, transparent 75%, #ffffff 75%, #ffffff),
        linear-gradient(45deg, #ffffff 25%, transparent 25%, transparent 75%, #ffffff 75%, #ffffff);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* 如果不想用图案，可以简单用纯色覆盖 */
.case-qrcode-placeholder {
    background-color: #444;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
}

/* 卡片文本信息 */
.case-card-info {
    margin-top: 10px;
}

.case-card-title {
    font-size: 20px;
    color: #333333;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.case-card-desc {
    font-size: 14px;
    color: #888888;
    margin: 0;
}