@charset "utf-8";

/* ============================== 섹션 레이아웃 */
.wf-section {
    padding: 80px 0;
}
.wf-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ============================== 카드 */
.wf-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px 36px;
    border: 1px solid #eef1f5;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1);
}
.wf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #278bda, #5ab4f5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.wf-card:hover::before {
    transform: scaleX(1);
}
.wf-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(39,139,218,.15);
}

/* ============================== 뱃지 */
.wf-card__badge {
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: #f0f2f5;
    position: absolute;
    top: 16px;
    right: 24px;
    transition: color .4s ease, transform .4s ease;
}
.wf-card:hover .wf-card__badge {
    color: #e4e9ef;
    transform: scale(1.1);
}

/* ============================== 카드 헤더 */
.wf-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.wf-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

/* ============================== 아이콘 */
.wf-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(39,139,218,.1);
    color: #278bda;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.wf-card:hover .wf-card__icon {
    transform: scale(1.15) rotate(-3deg);
    box-shadow: 0 6px 20px rgba(39,139,218,.2);
}

/* ============================== 리스트 */
.wf-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wf-card__list li {
    padding: 16px 20px;
    background: #f7f8fa;
    border-radius: 12px;
    border-left: 3px solid transparent;
    transition: all .3s ease;
}
.wf-card__list li:hover {
    background: #eef4fb;
    border-left-color: var(--primary, #278bda);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(39,139,218,.08);
}
.wf-card__list li strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    transition: color .3s ease;
}
.wf-card__list li:hover strong {
    color: var(--primary, #278bda);
}
.wf-card__list li p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ============================== 반응형 */
@media (max-width: 768px) {
    .wf-section { padding: 52px 0; }
    .wf-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }
    .wf-card { padding: 28px 24px 24px; }
    .wf-card__title { font-size: 20px; }
    .wf-card__badge { font-size: 42px; }
    .wf-card__icon { width: 46px; height: 46px; }
    .wf-card__list li { padding: 14px 16px; }
    .wf-card__list li strong { font-size: 14px; }
    .wf-card__list li p { font-size: 13px; }
}

@media (max-width: 480px) {
    .wf-section { padding: 40px 0; }
    .wf-grid { padding: 0 16px; }
    .wf-card { padding: 24px 20px 20px; }
    .wf-card__head { gap: 10px; }
    .wf-card__title { font-size: 18px; }
    .wf-card__badge { font-size: 36px; }
    .wf-card__icon { width: 40px; height: 40px; }
    .wf-card__icon svg { width: 24px; height: 24px; }
    .wf-card__list { gap: 10px; }
    .wf-card__list li { padding: 12px 14px; }
    .wf-card__list li strong { font-size: 13px; }
    .wf-card__list li p { font-size: 12px; }
}
