‘Having a cake after that big meal was superfluous’ means that it is more then you need.
‘I thought he was nice, but his kindness was superficial’ means that it only seems that way on the surface, when you find out more about it, you realise the truth is different.