.section-cases {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.cases-header {
    text-align: center;
    margin-bottom: 50px;
}

.cases-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cases-header h2 {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.cases-desc {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

.cases-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.case-card {
    width: calc((100% - 40px) / 3);
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
    outline-offset: 4px;
}

.case-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.case-card.flipped .case-inner {
    transform: rotateY(180deg);
}

.case-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 30px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.case-front {
    background: #FFF;
    border: 1px solid #F2F2F2;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
}

.case-back {
    background: #3b5998;
    color: #FFF;
    transform: rotateY(180deg);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
}

.case-num {
    font-size: 14px;
    font-weight: 700;
    color: #3b5998;
    opacity: 0.6;
    margin-bottom: 6px;
}

.case-front h4 {
    font-size: 26px;
    font-weight: 700;
    color: #3b5998;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e9ecef;
}

.case-front p {
    font-size: 16px;
    font-weight: 600;
    color: #4E5968;
    line-height: 1.6;
}

.case-flip {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: #3b5998;
}

.case-back .case-flip {
    color: #FFF;
    opacity: 0.8;
}

.case-tag {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 14px;
}

.case-back h5 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
}

.case-back ul {
    list-style: none;
}

.case-back li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.case-back li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF8282;
    font-weight: 700;
}

.cases-note {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* 모바일 반응형 */
@media (max-width: 1024px) {
    .case-card {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {
    .section-cases {
        padding: 60px 0;
    }

    .cases-header {
        margin-bottom: 40px;
    }

    .cases-header h2 {
        font-size: 28px;
    }

    .cases-desc {
        font-size: 16px;
    }

    .cases-grid {
        gap: 15px;
    }

    .case-card {
        width: 100%;
        height: 290px;
    }

    .case-front h4 {
        font-size: 22px;
    }

    .case-front p {
        font-size: 15px;
    }

    .case-back h5 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .cases-header h2 {
        font-size: 24px;
    }

    .case-face {
        padding: 22px;
    }
}
