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

:root{
  --bg:#050816;
  --card:#0f172a;
  --primary:#00e5ff;
  --secondary:#38bdf8;
  --text:#f8fafc;
  --muted:#94a3b8;
  --border:rgba(255,255,255,0.08);
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

body::before{
  content:'';
  position:fixed;
  width:100%;
  height:100%;
  background:
  radial-gradient(circle at top left,
  rgba(0,229,255,0.12),
  transparent 30%),

  radial-gradient(circle at bottom right,
  rgba(56,189,248,0.12),
  transparent 30%);
  z-index:-1;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* NAVBAR */

nav{
  position:fixed;
  width:100%;
  top:0;
  left:0;
  z-index:1000;
  background:rgba(5,8,22,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.nav-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
}

.logo{
  font-family:'Orbitron',sans-serif;
  font-size:28px;
  color:var(--primary);
  font-weight:700;
  letter-spacing:2px;
}

.nav-links{
  display:flex;
  gap:30px;
}

.nav-links a{
  color:var(--muted);
  transition:0.3s;
}

.nav-links a:hover{
  color:var(--primary);
}


/* HERO */

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding-top:120px;
}

.hero-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.hero-text h3{
  color:var(--secondary);
  margin-bottom:10px;
}

.hero-text h1{
  font-size:70px;
  line-height:1.1;
  margin-bottom:20px;
  font-family:'Orbitron',sans-serif;
}

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

.hero-text p{
  color:var(--muted);
  margin-bottom:35px;
  max-width:600px;
}

.hero-buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.btn{
  padding:14px 28px;
  border-radius:12px;
  font-weight:600;
  transition:0.3s;
}

.btn-primary{
  background:var(--primary);
  color:#000;
}

.btn-outline{
  border:2px solid var(--primary);
  color:var(--primary);
}

.btn:hover{
  transform:translateY(-5px);
}

.hero-image{
  display:flex;
  justify-content:center;
}

.profile-box{
  width:360px;
  height:420px;
  border-radius:30px;
  overflow:hidden;
  background:radial-gradient(circle at center,#0b1220,#0a0f1a 70%,#050814);
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  border:1px solid rgba(0,229,255,0.25);
  box-shadow:0 0 40px rgba(0,229,255,0.25);
}

/* radar grid (circles + lines) */
.profile-box::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-radial-gradient(circle,
      rgba(0,229,255,0.08) 0px,
      rgba(0,229,255,0.08) 1px,
      transparent 2px,
      transparent 40px),
    linear-gradient(rgba(0,229,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.08) 1px, transparent 1px);
  background-size:100% 100%;
  z-index:0;
}

/* radar sweep */
.profile-box::after{
  content:"";
  position:absolute;
  inset:-50%;
  background:conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0,229,255,0.0) 40deg,
    rgba(0,229,255,0.25) 60deg,
    transparent 100deg
  );
  animation: radarSpin 2.8s linear infinite;
  filter: blur(2px);
  z-index:0;
}

/* image */
.profile-box img{
  width:280px;
  border-radius:20px;
  position:relative;
  z-index:2;
  box-shadow:0 0 25px rgba(0,229,255,0.2);
}

/* center glow */
.center-dot{
  position:absolute;
  width:10px;
  height:10px;
  background:#00e5ff;
  border-radius:50%;
  box-shadow:0 0 20px #00e5ff;
  z-index:2;
}

@keyframes radarSpin{
  from { transform:rotate(0deg); }
  to { transform:rotate(360deg); }
}

/* SECTION */

section{
  padding:110px 0;
}

.section-title{
  text-align:center;
  margin-bottom:70px;
}

.section-title h2{
  font-size:42px;
  font-family:'Orbitron',sans-serif;
  color:var(--primary);
}

.section-title p{
  color:var(--muted);
  margin-top:10px;
}

/* ABOUT */

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px;
}

.about-card{
  background:var(--card);
  padding:35px;
  border-radius:24px;
  border:1px solid var(--border);
}

.about-card h3{
  margin-bottom:15px;
  color:var(--primary);
}

.about-card p{
  color:var(--muted);
}

/* SKILLS */

.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:22px;
}

.skill-card{
  background:var(--card);
  padding:30px;
  border-radius:22px;
  border:1px solid var(--border);
  text-align:center;
  transition:0.3s;
}

.skill-card:hover{
  transform:translateY(-8px);
}

.skill-card i{
  font-size:40px;
  color:var(--primary);
  margin-bottom:20px;
}

.skill-card p{
  color:var(--muted);
  margin-top:10px;
}

/* PROJECTS */

.projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:25px;
}

.project-card{
  background:var(--card);
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--border);
  transition:0.3s;
}

.project-card:hover{
  transform:translateY(-8px);
}

.project-image{
  height:220px;
  background:linear-gradient(135deg,#00e5ff,#2563eb);
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:60px;
  font-family:'Orbitron',sans-serif;
}

.project-content{
  padding:28px;
}

.project-content h3{
  color:var(--primary);
  margin-bottom:12px;
}

.project-content p{
  color:var(--muted);
}

/* CONTACT */

.contact-box{
  background:var(--card);
  padding:50px;
  border-radius:28px;
  border:1px solid var(--border);
  text-align:center;
}

.contact-box p{
  color:var(--muted);
  margin-bottom:35px;
}

.social-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:20px;
}

.social-links a{
  padding:14px 24px;
  border-radius:14px;
  background:#111827;
  border:1px solid var(--border);
  transition:0.3s;
  display:flex;
  align-items:center;
  gap:10px;
}

.social-links a:hover{
  background:var(--primary);
  color:#000;
  transform:translateY(-5px);
}

/* FOOTER */

footer{
  padding:30px;
  text-align:center;
  border-top:1px solid var(--border);
  color:var(--muted);
}

/* RESPONSIVE */

@media(max-width:950px){

  .hero-content,
  .about-grid{
    grid-template-columns:1fr;
  }

  .hero-text{
    text-align:center;
  }

  .hero-text p{
    margin:auto auto 35px;
  }

  .hero-buttons{
    justify-content:center;
  }

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

@media(max-width:700px){

  .nav-content{
    flex-direction:column;
    gap:15px;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
  }

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

  .section-title h2{
    font-size:32px;
  }

  .profile-box{
    width:300px;
    height:300px;
  }

  .profile-box img{
    width:220px;
  }
}