Interesting, so you say you like gritty and violent stuff, but outside of anime and you want deep, emotional and scifi anime, not just violent. Ok…
Emotional:
A Place Further Than The Universe - covers the full range for joy to excitement to tragedy, etc.
Gundam: Iron Blooded Orphans - Every Gundam show has the same themes - war is hell, people suffer, etc. and they all feature mecha against a backdrop of political intrigue and exploitation of working class folks by ruthless corporate types. Each Gundam show executes the same themes differently is all. IBO is one of the best Gundam shows imo.
Violet Evergarden - Former child (super) soldier/war veteran (alternate Earth WWI) becomes a professional letter writer. Some pretty hard hitting emotional episodes. There’s a YT video from a real life war veteran going into detail how he related to this show.
Liz and the Blue Bird - Was on tubi.tv for a while and now its on Pluto TV or something. I loved it. But I can understand why others might not.
Deep:
Great Passage - A drama about people who work on a dictionary can’t be shallow, right? Well, I enjoyed it.
Shōwa Genroku Rakugo Shinjū - I admit it took me a while to get into this. The topic of rakugo (a uniquely Japanese storytelling art form, performed by one person taking on all the characters’ parts) isn’t exactly the most exciting. It’s deep though. Really good characters and story, although the ending is controversial.
Remake Our Life - At first I thought it was just about some dude getting his fantasy wish fulfilled - to go back 10 years because he got admitted to an arts college but chose a conventional one instead and life turned out shitty for him. He gets his wish, gets to experience an awesome alternate college life, but the things he ends up doing while reliving his past ends up with unintended consequences.
Run With The Wind - deeper than most other sports anime. It’s the characters and the conversations they have about life and stuff.
Kyoussougiga - so deep I had trouble understanding what was going on.
SciFi:
Appare Ranman - More alternative history than pure sci-fi but pretty good imo. Eccentric young man and his samurai buddy decide to enter a cross country automobile race… in the 19th century. Conflict/interest is provided in the form of Gil The Butcher and his gang who repeatedly try to sabotage the race.
Deca Dence - I’d say this qualifies as both scifi and deep. Starts off looking Attack on Titan-ish as you see humans in a post apocalyptic looking setting taking on giant monsters who seem hell bent on killing them, but by Episode 3 you’re hit with a twist that shows that what you thought the show was about was kinda wrong.
Star Blazers/Space Battleship Yamato - the remake of the 70s scifi classic with updated visual effects, designs, etc.
Galaxy Express 999 - another classic. not a remake. Was on Crunchyroll, got kicked off and now it’s back. And it’s deep as the ocean.
Aria - SciFi but it’s anti-gritty/violence. It depicts a future world that features high tech stuff in the background yet looks comforting in an old-world way at the same time. Not a whole lot of drama either except the 3rd season which gets very emotional. Hard to explain in words why i love it - you’re either hooked in episode 1 or you’re not.
Gritty/Violent (since you sometimes still like it in anime?):
Akiba Maid War - Like The Godfather except instead of regular yakuza gangs it’s gangs of gun-toting/knife-wielding maid cafe maids.
Akudama Drive - Hard boiled/crime/noir but set in the future instead of 1940s.
This thread might be useful as well: