/* 즉시 인사이트 UI 컴포넌트 (항목 32-37) */

/* 항목 32: 즉시 인사이트 섹션 HTML 구조 */
.instant-insights-section {
    margin-bottom: 32px;
    animation: slideInDown 0.6s ease-out;
}

/* 항목 33: 성공 사례 미리보기 카드 */
.success-cases-preview {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.success-cases-preview h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.success-case-card {
    background: #f7fafc;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* 항목 35: 성공 사례 카드 호버 효과 */
.success-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: #fbbf24;
}

.success-case-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.4;
}

.success-case-stats {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: #718096;
}

.success-case-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 항목 34: 예상 수익 계산기 UI */
.revenue-calculator {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 2px solid #fbbf24;
}

.revenue-calculator h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.revenue-breakdown {
    display: grid;
    gap: 12px;
}

.revenue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.revenue-item:hover {
    transform: translateX(5px);
}

.revenue-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 1rem;
}

.revenue-value {
    font-weight: 700;
    color: #2d3748;
    font-size: 1.1rem;
}

.revenue-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    margin-top: 8px;
}

.revenue-range {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 4px;
}

/* 항목 36: 수익 계산기 그라데이션 디자인 */
.revenue-calculator::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.revenue-calculator {
    position: relative;
}

.revenue-calculator:hover::before {
    opacity: 0.3;
}

/* 항목 37: 인사이트 카드 스타일 (애니메이션) */
.insight-card {
    animation: slideInRight 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 인사이트 카드 타입별 스타일 */
.insight-card[data-type="hot"] {
    border-left-color: #ef4444;
}

.insight-card[data-type="success"] {
    border-left-color: #10b981;
}

.insight-card[data-type="money"] {
    border-left-color: #f59e0b;
}

.insight-card[data-type="difficulty"] {
    border-left-color: #3b82f6;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .revenue-calculator {
        padding: 16px;
    }
    
    .revenue-calculator h4 {
        font-size: 1.25rem;
    }
    
    .revenue-total {
        font-size: 1.1rem;
        padding: 14px 16px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .success-case-stats {
        flex-direction: column;
        gap: 8px;
    }
}

/* 펄스 애니메이션 (주목 효과) */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

