Consider digits $A, B, C, D$, with $A \neq 0$, such that $ABCD = (CD)^2 - (AB)^2$. Compute the sum of all distinct possible values of $A + B + C + D$.

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