At base, ‘complex’ refers to an abnormal mental state made up of a complicated group of emotions and ideas, and has nothing to do with the feeling of inferiority. For instance, there’s Freud’s Oedipus complex, which is used in the context of discussing the abnormal attraction of the child to the opposite-sex parent.