*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --bg:#070b14;
  --card:#111827;
  --text:#fff;
  --blue:#00c2ff;
  --purple:#7c3aed;
  --cyan:#00ffe0;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
}

nav{
  position:fixed;
  width:100%;
  padding:20px 8%;
  display:flex;
  justify-content:space-between;
  backdrop-filter:blur(10px);
  background:rgba(0,0,0,.4);
}

nav ul{
  display:flex;
  gap:25px;
  list-style:none;
}

nav a{
  color:#fff;
  text-decoration:none;
}

.logo{
  font-size:24px;
  font-family:'Space Grotesk';
  font-weight:700;
}

section{
  padding:100px 8%;
}

.hero{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
}

.hero-text h1{
  font-size:72px;
  font-family:'Space Grotesk';
}

.hero-text h1 span{
  color:var(--blue);
}

.typing{
  color:var(--cyan);
  margin:15px 0;
  font-size:26px;
}

.btns{
  display:flex;
  gap:15px;
  margin-top:25px;
}

.btn{
  padding:14px 24px;
  border-radius:14px;
  text-decoration:none;
}

.primary{
  background:linear-gradient(135deg,var(--blue),var(--purple));
  color:#fff;
}

.secondary{
  border:1px solid rgba(255,255,255,.1);
  color:#fff;
}

.glass{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}

.profile-card{
  width:400px;
  height:500px;
  overflow:hidden;
  border-radius:30px;
}

.profile-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.section-title{
  font-size:42px;
  margin-bottom:30px;
}

.about-box,
.contact-box{
  padding:30px;
  border-radius:24px;
}

.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.portfolio-card{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  height:320px;
}

.portfolio-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.overlay{
  position:absolute;
  bottom:0;
  width:100%;
  padding:20px;
  background:linear-gradient(to top,rgba(0,0,0,.9),transparent);
}

.socials{
  display:flex;
  gap:15px;
  margin-top:25px;
}

.socials a{
  width:45px;
  height:45px;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  color:#fff;
}

footer{
  text-align:center;
  padding:30px;
  color:#aaa;
}

@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
    gap:40px;
  }

  .hero-text h1{
    font-size:48px;
  }

  .profile-card{
    width:100%;
  }

  nav ul{
    display:none;
  }
}
