:root {
  --bg: #0b0f14;
  --bg-soft: #121824;
  --card: #161e2b;
  --text: #e7edf3;
  --muted: #a9b6c6;
  --accent: #f59e0b;
  --accent-2: #14b8a6;
  --accent-3: #f97316;
  --border: rgba(231, 237, 243, 0.12);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #0e151f 0%, #0b0f14 60%);
  min-height: 100vh;
  line-height: 1.6;
}

.bg-shape {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
}

.bg-shape--one {
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.bg-shape--two {
  bottom: -160px;
  left: -140px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
}

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

.site-header {
  padding: 40px 8vw 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}

.logo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px;
  letter-spacing: 4px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: var(--muted);
}

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

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 10px;
}

.role {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 16px;
}

.summary {
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-3) 100%);
  color: #0b0f14;
  box-shadow: var(--shadow);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

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

.hero-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: floatIn 1s ease forwards;
}

.hero-card__title {
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 14px;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.hero-card strong {
  color: var(--text);
}

.section {
  padding: 70px 8vw;
}

.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted);
  max-width: 560px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 0.9s ease both;
}

.card h3 {
  font-size: 20px;
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--accent-2);
  font-family: "IBM Plex Mono", monospace;
}

.card-actions {
  display: flex;
  gap: 16px;
  font-weight: 600;
}

.card-actions a {
  color: var(--accent);
}

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

.skill-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.skill-card h4 {
  margin-bottom: 6px;
}

.skill-card p {
  color: var(--muted);
  font-size: 14px;
}

.metrics {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(245, 158, 11, 0.06));
}

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

.metric {
  padding: 20px;
  background: rgba(11, 15, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.metric-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.metric p {
  color: var(--muted);
  font-size: 14px;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.contact-sub {
  color: var(--muted);
}

.contact-actions {
  display: flex;
  gap: 12px;
}

.site-footer {
  padding: 30px 8vw 50px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-meta {
    flex-direction: column;
    gap: 6px;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }
}
