

/* 전체 컨테이너 설정 */
.platform-section {
    max-width: 1200px; /* 시안 비율에 맞춘 최대 너비 */
    margin: 0px auto;
    padding: 0 20px;
    text-align: center;
}

/* 상단 타이틀 영역 */
.platform-header {
    margin-bottom: 40px;
}

.platform-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.platform-header p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* 카드 리스트 컨테이너 */
.platform-list {
    display: flex;
    flex-direction: column;
    gap: 16px; /* 카드 사이의 간격 */
}

/* 개별 카드 스타일 */
.platform-card {
    position: relative;
    display: flex;
    align-items: center;
    height: 140px;
    background-color: #FAFAFA;
    border: 1px solid #DADADA;
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden; /* 이미지가 둥근 테두리를 벗어나지 않게 함 */
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* 마우스 호버 시 살짝 떠오르는 액션 (선택사항) */
.platform-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* 텍스트 정보 영역 */
.card-info {
    position: relative;
    z-index: 2; /* 이미지나 그라데이션보다 위로 올라오도록 설정 */
    padding-left: 40px;
    text-align: left;
    flex: 1; /* 남은 공간 모두 차지 */
}

.card-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.card-info p {
    font-size: 15px;
    color: #777;
    margin: 0;
    letter-spacing: -0.3px;
}

/* 우측 배경 이미지 영역 */
.card-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%; /* 이미지가 차지할 영역 (조절 가능) */
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* ★ 핵심: 이미지 왼쪽을 하얗게 그라데이션으로 가려주는 효과 */
.card-bg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 150px; /* 페이드 아웃 되는 폭 */
    /* 왼쪽은 완전한 흰색(#fff), 오른쪽은 투명으로 변하는 그라데이션 */
    background: linear-gradient(to right, #FAFAFA 0%, rgba(255,255,255,0) 100%);
}