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

body {
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(135deg, #07111f, #111827, #1e1b4b);
  color: #f8fafc;
  line-height: 1.7;
}

/* HERO */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 45px 20px 18px;
  background: radial-gradient(circle at top, #2563eb55, transparent 45%);
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  background: linear-gradient(90deg, #38bdf8, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  color: transparent;
  animation: fadeDown 1s ease;
}

.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin: 12px 0 22px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.contact-links a,
.btn {
  color: white;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  transition: 0.3s ease;
}

.contact-links a:hover,
.btn:hover {
  transform: translateY(-4px);
  background: #2563eb;
  box-shadow: 0 12px 35px #2563eb55;
}

/* MAIN */
main {
  width: min(1100px, 92%);
  margin: 0 auto;
}

section {
  margin: 38px 0;
}

section:first-child {
  margin-top: 18px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #93c5fd;
}

.card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  padding: 26px;
  margin-bottom: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transition: 0.35s ease;
  animation: fadeUp 0.8s ease both;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: #38bdf8;
  box-shadow: 0 25px 60px rgba(56,189,248,0.2);
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.card-header span {
  color: #a5b4fc;
}

ul {
  padding-left: 20px;
}

li {
  margin: 8px 0;
  color: #e2e8f0;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.skills-grid div {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 20px;
  border-radius: 18px;
  transition: 0.3s ease;
}

.skills-grid div:hover {
  transform: translateY(-6px);
  background: rgba(37,99,235,0.25);
}

/* PUBLICATIONS */
.publication-card .btn {
  display: inline-block;
  margin-top: 16px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: #94a3b8;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media(max-width: 700px) {
  .hero {
    padding: 38px 20px 14px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.05rem;
    margin: 10px 0 20px;
  }

  section {
    margin: 34px 0;
  }

  section:first-child {
    margin-top: 14px;
  }
}

