* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* BACKGROUND */
.bg-gradient {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg,#0b0d10,#0f2027,#203a43,#2c5364);
  background-size: 400% 400%;
  animation: bgMove 16s ease infinite;
  z-index: -3;
}
@keyframes bgMove {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

body {
  color: #fff;
  scroll-behavior: smooth;
}

/* FIX HEADER OVERLAP */
body {
  padding-top: 80px;
}

/* PARTICLES */
#particles {
  position: fixed;
  inset: 0;
  z-index: -2;
}

/* PROGRESS BAR */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg,#00e5ff,#7c7cff);
  z-index: 9999;
}

/* CURSOR */
.cursor {
  width: 18px;
  height: 18px;
  border: 2px solid #00e5ff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}
header a {
  margin-left: 18px;
  color: #fff;
  text-decoration: none;
}
.logo { color:#00e5ff }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
}
.hero span { color:#00e5ff }
.hero p { margin: 20px 0; max-width: 520px }

.btns a {
  padding: 12px 25px;
  margin-right: 10px;
  background: #00e5ff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
}
.btns .outline {
  background: transparent;
  border: 2px solid #00e5ff;
  color: #00e5ff;
}

/* SECTIONS */
section { padding: 100px 40px }
h2 { color:#00e5ff; margin-bottom:30px }

/* LANGUAGES */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 20px;
}
.lang-card {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 12px;
}
.bar {
  height: 8px;
  background: #111;
  border-radius: 10px;
  margin-top: 10px;
}
.bar div {
  height: 100%;
  background: linear-gradient(90deg,#00e5ff,#7c7cff);
}

/* PROJECTS */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}
.project-card {
  background: rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 15px;
  transition: .3s;
}
.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #00e5ff;
}

/* CONTACT */
form { max-width: 500px }
input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: #0b0d10;
  border: 1px solid #00e5ff;
  color: #fff;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.5);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: .8s;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width:768px) {
  header { flex-direction: column }
  .hero { padding-top: 40px }
  .lang-grid, .project-grid { grid-template-columns:1fr }
}
@media (pointer: coarse) {
  .cursor { display:none }
}
