/* ============ Case Page ============ */
body {
    background: linear-gradient(180deg, #eef3fc 0%, #fafafa 100%);
}

/* ============ Main ============ */
.case-page {
    max-width: 1440px;
    margin: -100px auto 0;
    padding: 0 24px 100px;
    position: relative;
    z-index: 2;
}

.case-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 16px 48px -16px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.05);
    padding: 50px 52px 54px;
}

/* ============ Intro Head ============ */
.case-intro-head {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eef1f6;
}

.case-intro-head .case-intro-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.case-intro-head .deco-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.55));
}

.case-intro-head .deco-line:last-child {
    background: linear-gradient(270deg, transparent, rgba(26, 86, 219, 0.55));
}

.case-intro-head .deco-diamond {
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    border: 2px solid var(--color1);
    border-radius: 2px;
}

.case-intro-head .case-intro-label {
    display: block;
    font-size: 12px;
    letter-spacing: 5px;
    color: var(--color1);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.case-intro-head h2 {
    font-size: 30px;
    font-weight: 700;
    color: #17233e;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.case-intro-head p {
    font-size: 14px;
    color: #8a94a8;
    letter-spacing: 1px;
}

/* ============ Case List ============ */
.case-list {
    display: flex;
    flex-direction: column;
    gap: 46px;
}

.case-item {
    display: flex;
    align-items: center;
    gap: 46px;
}

.case-item.rev {
    flex-direction: row-reverse;
}

.case-item .case-img {
    flex: 0 0 46%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 34px 68px -30px rgba(15, 23, 42, 0.42);
    position: relative;
}

.case-item .case-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 18, 40, 0) 60%, rgba(6, 18, 40, 0.2) 100%);
    pointer-events: none;
}

.case-item .case-img img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.case-item:hover .case-img img {
    transform: scale(1.07);
}

.case-item.rev .case-img {
    box-shadow: 0 34px 68px -30px rgba(26, 86, 219, 0.35);
}

.case-item .case-content {
    flex: 1;
    min-width: 0;
    position: relative;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fd 100%);
    border: 1px solid rgba(26, 86, 219, 0.07);
    border-radius: 22px;
    padding: 50px 48px;
    overflow: hidden;
    transition: all 0.4s;
}

.case-item:hover .case-content {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -24px rgba(26, 86, 219, 0.35);
}

.case-item .case-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14%;
    bottom: 14%;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--color1), #5b9cff);
}

/* 光带扫过效果 */
.case-item .case-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    transition: left 0.9s ease;
    pointer-events: none;
}

.case-item:hover .case-content::after {
    left: 135%;
}

.case-item .case-content .case-num {
    position: absolute;
    right: 26px;
    top: 6px;
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    color: rgba(26, 86, 219, 0.07);
    pointer-events: none;
    letter-spacing: 2px;
    font-family: Georgia, 'Times New Roman', serif;
    transition: color 0.4s;
}

.case-item:hover .case-content .case-num {
    color: rgba(26, 86, 219, 0.18);
}

.case-item .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.case-item .case-tags span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color1);
    background: #fff;
    border: 1px solid rgba(26, 86, 219, 0.16);
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(26, 86, 219, 0.06);
}

.case-item h3 {
    font-size: 25px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 1px;
    margin-bottom: 16px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.case-item .case-content p {
    font-size: 14px;
    line-height: 2;
    color: #6b7a92;
    text-align: justify;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.case-item .case-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.case-item .btn,
.case-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.case-item .btn-primary,
.case-cta .btn-primary {
    background: linear-gradient(135deg, var(--color1), #3d7bfd);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(26, 86, 219, 0.55);
}

.case-item .btn-primary:hover,
.case-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(26, 86, 219, 0.65);
}

.case-item .btn-outline,
.case-cta .btn-outline {
    border: 1px solid rgba(26, 86, 219, 0.3);
    color: var(--color1);
    background: #fff;
}

.case-item .btn-outline:hover,
.case-cta .btn-outline:hover {
    background: var(--color1);
    color: #fff;
    transform: translateY(-2px);
}

/* ============ Case CTA ============ */
.case-cta {
    position: relative;
    margin-top: 54px;
    padding: 52px 56px;
    text-align: center;
    background: linear-gradient(135deg, #f0f6ff 0%, #e7eefd 100%);
    border: 1px solid rgba(26, 86, 219, 0.12);
    border-radius: 22px;
    overflow: hidden;
}

.case-cta::before,
.case-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.case-cta::before {
    width: 360px;
    height: 360px;
    right: -130px;
    top: -160px;
    border: 2px solid rgba(26, 86, 219, 0.1);
}

.case-cta::after {
    width: 280px;
    height: 280px;
    left: -110px;
    bottom: -150px;
    border: 2px solid rgba(26, 86, 219, 0.08);
}

.case-cta-inner {
    position: relative;
    z-index: 1;
}

.case-cta-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 5px;
    color: var(--color1);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.case-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: #17233e;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.case-cta p {
    font-size: 15px;
    line-height: 2;
    color: #5f6f8a;
    margin-bottom: 30px;
}

.case-cta .case-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .case-page {
        margin-top: -76px;
        padding: 0 16px 60px;
    }

    .case-card {
        padding: 30px 20px;
    }

    .case-intro-head {
        margin-bottom: 28px;
        padding-bottom: 24px;
    }

    .case-intro-head h2 {
        font-size: 24px;
    }

    .case-intro-head p {
        font-size: 13px;
    }

    .case-list {
        gap: 24px;
    }

    .case-item,
    .case-item.rev {
        flex-direction: column;
        gap: 18px;
    }

    .case-item .case-img {
        flex: none;
        width: 100%;
    }

    .case-item .case-img img {
        height: 240px;
    }

    .case-item .case-content {
        padding: 30px 24px;
    }

    .case-item .case-content .case-num {
        font-size: 72px;
        right: 14px;
    }

    .case-item h3 {
        font-size: 20px;
    }

    .case-item .case-btns {
        flex-wrap: wrap;
    }

    .case-item .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .case-cta {
        margin-top: 32px;
        padding: 34px 22px;
    }

    .case-cta h3 {
        font-size: 22px;
    }

    .case-cta p {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .case-cta .case-cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .case-cta .btn {
        width: 200px;
        justify-content: center;
    }
}
