In my world, there is a confederacy of citystates, ruled by witches and Pagans. They left to escape persecution from Christians (of my world) in the 13th-14th centuries, though they do not know that Pagans did not completely die out or convert. While magic is used around the kingdoms, the confederacy has a full emphasis on magic, having it be in almost everyone's daily life. This could be whether in infrastructure, technology, career, and at home.
As a result of the magic and technology combined, the confederacy has resulted into being way hyper-advance than other kingdoms and nations. However, the other kingdoms have advances that the confederacy does not, due to not as much magic use. Other than that, could a single, advanced civilization exist and develop among kingdoms that are way behind technologically?
The magic system mainly energy-based, and is uses for healing, surgeries, powering machinery, transferring energy and power, and making objects float/levitate
This does not count other advanced nations, this is just 1
The population is in the hundreds of thousands
The society in the confederacy has higher gender equality and lgbtq rights than the other kingdoms
While isolated for a while, trade is opened up, mainly for just importing and exporting goods
The confederacy is semi-industrialized; While they are technically not fully industrialized, they have mass-production of steel and textiles, and are closest to the real Song Dynasty in this particular category, and there is only one other semi-industrialized nation, but they are not allies
While the society and culture of the confederacy is very different to ours, they have clothes that are a mix of Renaissance-style and modern clothes, with similar fashion
The main story this all takes place in is during the 16-17th centuries