Find all pairs $(k,n)$ of positive integers for which $7^k-3^n$ divides $k^4+n^2$. Please provide the sum of all values of $k$ and $n$ in the pairs.

Let's think step by step and output the final answer within \boxed{}.
user