.comparison-section {
    background-color: #0d1629;
    padding: 90px 5%;
    color: #ffffff;
    border-bottom: 1px solid rgba(54, 123, 245, 0.2);
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-header { text-align: center; margin-bottom: 50px; }

.comparison-header .badge {
    display: inline-block;
    background-color: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.comparison-header h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.comparison-header h2 .highlight { color: #f59e0b; }
.comparison-header p { font-size: 16px; color: #8da2be; max-width: 650px; margin: 0 auto; line-height: 1.5; }

.comparison-top-cards { display: flex; gap: 20px; margin-bottom: 40px; }
.top-card { flex: 1; background-color: #121d36; border: 1px solid #1c2a4d; border-radius: 14px; padding: 25px 20px; text-align: center; }
.top-card-icon { font-size: 26px; margin-bottom: 12px; }
.top-card-title { font-size: 16px; font-weight: 700; color: #ffffff; margin-bottom: 8px; }
.top-card-desc { font-size: 13px; color: #8da2be; line-height: 1.4; }

.comparison-table-wrapper {
    background-color: #121d36;
    border: 1px solid #1c2a4d;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.col-product { flex: 2.2; }
.col-yield { flex: 1.2; text-align: right; }
.col-daily { flex: 1.2; text-align: right; }
.col-profit { flex: 1.5; text-align: right; }
.col-custody { flex: 1.2; text-align: right; }

.table-header-row {
    display: flex;
    padding: 16px 24px;
    background-color: #0b1324;
    border-bottom: 1px solid #1c2a4d;
    font-size: 13px;
    font-weight: 600;
    color: #8da2be;
}

.table-row {
    display: flex;
    padding: 20px 24px;
    align-items: center;
    border-bottom: 1px solid #1c2a4d;
    transition: background-color 0.2s;
}

.table-row:hover { background-color: rgba(28, 42, 77, 0.4); }
.table-row:last-child { border-bottom: none; }

.td-item { font-size: 14px; color: #c0cce6; }
.td-item strong { display: block; color: #ffffff; font-weight: 700; margin-bottom: 3px; }
.td-item span { display: block; font-size: 12px; color: #8da2be; }

.table-row.highlight-row {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(18, 29, 54, 1) 100%);
    border-top: 2px solid #f59e0b;
    border-bottom: 2px solid #f59e0b;
}

.highlight-row:hover { background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, rgba(28, 42, 77, 0.8) 100%); }
.highlight-text { font-size: 18px !important; font-weight: 800 !important; color: #f59e0b !important; }
.highlight-text .small-sub { font-size: 11px; color: #8da2be; font-weight: normal; display: inline; }
.highlight-custody { font-weight: 700; color: #02b128 !important; }

.table-notice { font-size: 12px; color: #8da2be; text-align: center; margin-top: 15px; }

/* 모바일 반응형 최적화 */
@media (max-width: 968px) {
    .comparison-top-cards { flex-direction: column; }
    
    /* 1. 상단 테이블 헤더줄은 모바일에서 숨김 처리 */
    .table-header-row { display: none; }

    /* 2. 각 행을 카드 형태로 깔끔하게 분리 */
    .table-row {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 12px;
        border-bottom: 1px solid #1c2a4d;
    }

    /* 3. 모바일에서 각 데이터 항목 앞에 가상의 라벨(제목)을 붙여줌 */
    .table-row .td-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        font-size: 14px;
        padding: 4px 0;
        border-bottom: 1px dashed rgba(28, 42, 77, 0.6);
    }
    
    .table-row .td-item:last-child {
        border-bottom: none;
    }

    /* 각 항목별 모바일 라벨 부여 */
    .table-row .col-product {
        justify-content: space-between;
        text-align: left;
        border-bottom: 1px solid #1c2a4d !important;
        padding-bottom: 12px;
        margin-bottom: 4px;
    }
    
    .col-yield::before { content: "연 배당·수익률"; color: #8da2be; font-size: 13px; }
    .col-daily::before { content: "일 환산"; color: #8da2be; font-size: 13px; }
    .col-profit::before { content: "$10K 연 수익"; color: #8da2be; font-size: 13px; }
    .col-custody::before { content: "원금 보관"; color: #8da2be; font-size: 13px; }

    .highlight-text { font-size: 16px !important; }
}