:root{
  --primary:#38bdf8;
  --secondary:#22d3ee;
  --dark:#020617;
  --glass:rgba(255,255,255,.06);
  --text:#e5e7eb;
  --muted:#94a3b8;
}
*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif}

body{
  background:linear-gradient(-45deg,#020617,#020617,#0f172a,#020617);
  background-size:400% 400%;
  animation:bg 18s ease infinite;
  color:var(--text);
}
@keyframes bg{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

/* NAV */
nav{
  position:fixed;
  top:0;
  width:100%;
  z-index:100;
  backdrop-filter:blur(18px);
  background:rgba(2,6,23,.7);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 80px;
}
nav img{width:120px}
nav a{
  color:var(--text);
  text-decoration:none;
  margin-left:30px;
  font-weight:500;
}
nav a:hover{color:var(--primary)}

/* HERO */
.hero{
  min-height:100vh;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  align-items:center;
  /* padding:140px 90px; */
  padding:150px 90px;
  gap:40px;
}
.badge{
  padding:8px 18px;
  border-radius:30px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#020617;
  font-weight:600;
  display:inline-block;
}
.hero h1{
  font-size:80px;
  font-weight:800;
  margin:18px 0;
}
.hero h1 span{
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  -webkit-background-clip:text;
  color:transparent;
}
.hero p{
  font-size:19px;
  line-height:1.9;
  color:var(--muted);
  max-width:520px;
}
.hero button{
  margin-top:40px;
  padding:16px 50px;
  border:none;
  border-radius:40px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  font-weight:700;
  cursor:pointer;
  box-shadow:0 20px 40px rgba(56,189,248,.4);
}
.profile-wrapper{
  display:flex;
  justify-content:center;
}
.profile{
  width:340px;
  height:340px;
  border-radius:50%;
  object-fit:cover;
  border:6px solid rgba(56,189,248,.6);
  box-shadow:0 30px 80px rgba(56,189,248,.45);
  animation:float 6s ease-in-out infinite;
}

@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-25px)}
}

/* SECTION */
section{padding:130px 90px}
section h2{
  font-size:48px;
  text-align:center;
  margin-bottom:90px;
  font-weight:800;
}
section h2 span{
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  -webkit-background-clip:text;
  color:transparent;
}

/* PROJECTS */
.projects{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:45px;
}
.project{
  padding:40px;
  border-radius:28px;
  background:var(--glass);
  backdrop-filter:blur(18px);
  transition:.4s;
}
.project:hover{
  transform:translateY(-14px);
  box-shadow:0 30px 60px rgba(56,189,248,.3);
}
.project h3{color:var(--primary);margin-bottom:12px}
.project p{color:#cbd5f5;font-size:15px;line-height:1.7}
.project a{
  display:inline-block;
  margin-top:18px;
  color:var(--secondary);
  text-decoration:none;
  font-weight:600;
}

/* SKILLS */
.skills{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:40px;
  max-width:1100px;
  margin:auto;
}
.skill{
  background:var(--glass);
  border-radius:26px;
  padding:35px;
  text-align:center;
  transition:.4s;
}
.skill:hover{
  transform:translateY(-12px);
  box-shadow:0 30px 60px rgba(56,189,248,.35);
}
.skill img{width:70px;margin-bottom:18px}
.skill h4{font-weight:600}

/* CONTACT */
.contact{
  max-width:900px;
  margin:auto;
  background:var(--glass);
  border-radius:30px;
  padding:60px;
  text-align:center;
}
.contact p{font-size:18px;color:#cbd5f5;margin:12px 0}
.contact a{
  color:var(--primary);
  text-decoration:none;
  font-weight:600;
}
.social{
  margin-top:25px;
}
.social a{
  margin:0 15px;
  font-size:18px;
}
.social a:hover{color:var(--secondary)}

/* RESPONSIVE */
@media(max-width:900px){
  nav{padding:18px 30px}
  .hero{grid-template-columns:1fr;text-align:center;padding:120px 30px}
  section{padding:100px 30px}
  .hero h1{font-size:56px}
}
