/* ==========================================================================
   직거래 유의사항 페이지 스타일
   ========================================================================== */

.caution-wrapper {
    max-width: 900px;
    margin: 40px auto 80px;
    padding: 0 20px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #334155;
}

/* 헤더 섹션 */
.caution-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}
.caution-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ef4444;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.badge {
    background: #ef4444;
    color: #fff;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 6px;
    vertical-align: middle;
}
.caution-header p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

/* 섹션 타이틀 */
.caution-section {
    margin-bottom: 50px;
}
.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: #1e3a8a;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.1rem;
}

/* 카드 UI */
.caution-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 24px 30px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.caution-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}
.caution-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}
.caution-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

/* 하이라이트(매우 중요한 항목) 카드 */
.caution-card.highlight {
    border-color: #ef4444;
    background: #fff5f5;
    border-left-width: 6px;
}
.caution-card.highlight h3 {
    color: #b91c1c;
}
.caution-card .star {
    color: #ef4444;
    font-size: 0.95rem;
    margin-left: 8px;
}
.alert-text {
    color: #991b1b !important;
}

/* 하단 액션 버튼 */
.caution-action {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}
.caution-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    height: 52px;
    border-radius: 26px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-main {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.btn-main:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}
.btn-guide {
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #cbd5e1;
}
.btn-guide:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* 반응형 모바일 */
@media screen and (max-width: 768px) {
    .caution-header h1 { font-size: 1.6rem; flex-wrap: wrap; }
    .caution-header p { font-size: 0.95rem; }
    
    .section-title { font-size: 1.3rem; }
    .caution-card { padding: 20px; }
    .caution-card h3 { font-size: 1.1rem; }
    .caution-card p { font-size: 0.95rem; }
    
    .caution-action { flex-direction: column; }
    .caution-action a { width: 100%; }
}
