*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #0d0f14;
  --bg2: #13161d;
  --bg3: #1a1e27;
  --accent: #3b82f6;
  --accent2: #60a5fa;
  --text: #e8eaf0;
  --muted: #8b90a0;
  --border: #232733;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6%;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo span {
  color: var(--accent);
}
nav ul {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}
nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--text);
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 6% 5rem;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.12) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.hero-role {
  font-size: 1.15rem;
  color: var(--accent2);
  font-weight: 500;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}
.hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2.4rem;
}
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--muted);
  background: var(--bg3);
}
section {
  padding: 5rem 6%;
}
.section-label {
  font-family: "Syne", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.about-bio h3 {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}
.about-bio p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.skills-title {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.tag {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg3);
  transition: all 0.2s;
}
.tag:hover {
  border-color: var(--accent);
  color: var(--accent2);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.project-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
}
.project-img {
  width: 100%;
  height: 170px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1e27 0%, #232733 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 2rem;
}
.project-info {
  padding: 1.2rem;
}
.project-info h3 {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.project-info p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.project-links {
  display: flex;
  gap: 0.6rem;
}
#contact {
  text-align: center;
}
.contact-email {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  text-decoration: none;
  transition: all 0.2s;
}
.contact-email:hover {
  border-color: var(--accent);
  color: var(--accent2);
}
.socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 1rem;
  transition: all 0.2s;
}
.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent2);
  transform: translateY(-2px);
}
footer {
  text-align: center;
  padding: 2rem 6%;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content > * {
  animation: fadeUp 0.6s ease both;
}
.hero-content > *:nth-child(1) {
  animation-delay: 0.1s;
}
.hero-content > *:nth-child(2) {
  animation-delay: 0.2s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 0.3s;
}
.hero-content > *:nth-child(4) {
  animation-delay: 0.4s;
}
@media (max-width: 768px) {
  nav ul {
    gap: 1.4rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .logo {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    display: none;
  }
}
