Website Design – Segmented Commands and Buttons on the Same Page

Our big Web project has caused us some design problems. I decided to start my adventure on Stack Exchange. I want your help now, but I also want to help someone else! 🙂

We have a user interface kit (which we want to turn into a functional design system). There we have buttons and segmented controls. They look the same and there is a problem. If we have commands and segmented buttons on the same page, it's a little confusing.

Example

I therefore have a question. Is it a good use of segmented controls or can you suggest a better solution?