/* =========================
   cases.css
   고객사례 페이지
========================= */

/* ── 공통 컨테이너 ── */
.cs-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}
.cs-container--narrow {
    max-width: 680px;
}

/* ── 섹션 공통 ── */
.cs-section {
    padding: 0 0 56px;
    background: #18191d;
}
.cs-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.cs-section__title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}
.cs-section__header .cs-section__title {
    margin-bottom: 0;
}
.cs-section__more {
    font-size: 14px;
    font-weight: 600;
    color: #ea541a;
    text-decoration: none;
    transition: opacity 0.15s;
}
.cs-section__more:hover {
    opacity: 0.7;
}

/* ── 배지 ── */
.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(234, 84, 26, 0.08);
    border: 1px solid rgba(234, 84, 26, 0.2);
    color: #ea541a;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
}

/* ── 카테고리 태그 ── */
.cs-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}
.cs-tag--sales    { background: rgba(59, 130, 246, 0.1);  color: #3b82f6; }
.cs-tag--market   { background: rgba(16, 185, 129, 0.1);  color: #10b981; }
.cs-tag--kano     { background: rgba(234, 84, 26, 0.1);  color: #ea541a; }
.cs-tag--customer { background: rgba(234, 84, 26, 0.1);   color: #ea541a; }

.cs-meta-dot {
    color: rgba(255,255,255,0.2);
    font-size: 12px;
}
.cs-meta-sample {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ── 버튼 ── */
.cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}
.cs-btn--primary {
    background: #ea541a;
    color: #fff;
}
.cs-btn--primary:hover {
    background: #d44817;
}

/* ══ 1. 히어로 ══ */
.cs-hero {
    padding: 80px 32px 40px;
    text-align: center;
    background:
        radial-gradient(ellipse at 20% 60%, rgba(234,84,26,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(234,84,26,0.07) 0%, transparent 50%),
        #18191d;
}
.cs-hero__inner {
    max-width: 680px;
    margin: 0 auto;
}
.cs-hero__title {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin: 20px 0 16px;
}
.cs-hero__title em {
    font-style: normal;
    color: #ea541a;
}
.cs-hero__desc {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* ══ 2. 카테고리 필터 ══ */
.cs-filter {
    padding: 0 0 40px;
    background: #18191d;
}
.cs-filter__tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cs-filter__tab {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.15s;
}
.cs-filter__tab:hover {
    border-color: #ea541a;
    color: #ea541a;
}
.cs-filter__tab--active {
    background: #ea541a;
    color: #fff;
    border-color: #ea541a;
}

/* ══ 3. 대표 고객사례 ══ */
.cs-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cs-featured-card {
    background: #26272b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.2s;
}
.cs-featured-card:hover {
    border-color: rgba(255,255,255,0.16);
}

/* 썸네일 */
.cs-featured-card__thumb {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
.cs-featured-card__thumb--sales    { background: rgba(59,130,246,0.08);  color: #60a5fa; }
.cs-featured-card__thumb--market   { background: rgba(16,185,129,0.08);  color: #34d399; }
.cs-featured-card__thumb--kano     { background: rgba(234,84,26,0.08);   color: #ea541a; }
.cs-featured-card__thumb--customer { background: rgba(234,179,8,0.08);   color: #facc15; }

.cs-featured-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.cs-featured-card__title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
}
.cs-featured-card__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
    margin-bottom: 16px;
}
.cs-featured-card__link {
    font-size: 14px;
    font-weight: 600;
    color: #ea541a;
    text-decoration: none;
    transition: opacity 0.15s;
}
.cs-featured-card__link:hover {
    opacity: 0.7;
}

/* ══ 4. 전체 고객사례 그리드 ══ */
.cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cs-card {
    background: #26272b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px 20px;
    transition: border-color 0.2s;
}
.cs-card:hover {
    border-color: rgba(255,255,255,0.16);
}

.cs-card__thumb {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
.cs-card__thumb--sales    { background: rgba(59,130,246,0.08);  color: #60a5fa; }
.cs-card__thumb--market   { background: rgba(16,185,129,0.08);  color: #34d399; }
.cs-card__thumb--kano     { background: rgba(234,84,26,0.08);   color: #ea541a; }
.cs-card__thumb--customer { background: rgba(234,179,8,0.08);   color: #facc15; }

.cs-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.cs-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
}
.cs-card__desc {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    margin-bottom: 14px;
}
.cs-card__link {
    font-size: 13px;
    font-weight: 600;
    color: #ea541a;
    text-decoration: none;
    transition: opacity 0.15s;
}
.cs-card__link:hover {
    opacity: 0.7;
}

/* ══ 5. 하단 CTA ══ */
.cs-cta {
    padding: 80px 32px;
    text-align: center;
    background: linear-gradient(135deg, #7a2e0e 0%, #ea541a 50%, #d44817 100%);
}
.cs-cta__title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
}
.cs-cta__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}
.cs-cta__actions {
    display: flex;
    justify-content: center;
}
.cs-cta .cs-btn--primary {
    background: #fff;
    color: #ea541a;
}
.cs-cta .cs-btn--primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ══ 반응형 ══ */
@media (max-width: 768px) {
    .cs-hero__title {
        font-size: 26px;
    }
    .cs-featured {
        grid-template-columns: 1fr;
    }
    .cs-grid {
        grid-template-columns: 1fr;
    }
    .cs-cta__title {
        font-size: 24px;
    }
    .cs-container {
        padding: 0 16px;
    }
    .cs-filter__tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .cs-filter__tab {
        flex-shrink: 0;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .cs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
