:root {
  --bg: #04060d;
  --panel: #0b1020;
  --card: #101728;
  --accent: #f59f0b;
  --accent-2: #49e1d8;
  --text: #e9eef8;
  --muted: #9aa6c1;
  --border: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at 18% 22%, rgba(73, 225, 216, 0.14), transparent 26%), radial-gradient(circle at 80% 10%, rgba(245, 159, 11, 0.16), transparent 30%), radial-gradient(circle at 50% 80%, rgba(73, 225, 216, 0.1), transparent 30%), linear-gradient(140deg, #050712 0%, #05070d 45%, #04060d 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Sora", "Inter", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.01em;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1180px;
}

.navbar {
  background: linear-gradient(120deg, rgba(73, 225, 216, 0.1), rgba(15, 19, 32, 0.92));
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 16px;
  padding: 10px 18px;
  backdrop-filter: blur(12px);
}

.navbar-brand {
  letter-spacing: 0.04em;
}

.nav-link {
  color: var(--muted) !important;
  padding: 8px 14px !important;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.nav-link:hover {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.hero {
  background: linear-gradient(145deg, rgba(16, 23, 40, 0.96), rgba(8, 12, 22, 0.94));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 42px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  margin-top: 24px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(245, 159, 11, 0.12), transparent 30%);
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-subtitle {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
  max-width: 720px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
}

.btn-contrast {
  background: linear-gradient(135deg, var(--accent), #ffb84d);
  border: none;
  color: #0b0b0b;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(245, 159, 11, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contrast:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(245, 159, 11, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hero-stats .stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.stat-label {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.profile-card {
  background: linear-gradient(140deg, rgba(73, 225, 216, 0.16), rgba(16, 23, 40, 0.95));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.profile-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.4);
}

.profile-frame img {
  width: 100%;
  display: block;
}

.glow-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-2);
  top: 14px;
  right: 14px;
  box-shadow: 0 0 18px rgba(73, 225, 216, 0.8), 0 0 38px rgba(73, 225, 216, 0.45);
}

.profile-notes {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-top: 16px;
}

.note-title {
  margin: 0 0 6px;
  font-weight: 700;
}

.note-body {
  color: var(--muted);
  margin-bottom: 12px;
}

.note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.projects-section {
  margin-top: 48px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-title {
  font-weight: 700;
}

.section-lead {
  color: var(--muted);
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16, 23, 40, 0.96), rgba(8, 12, 22, 0.92));
}

.project-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 225, 216, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.project-media {
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  background: #0a0f1c;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-title {
  margin: 0;
  font-size: 1.1rem;
}

.project-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 78px;
}

.badge-soft {
  background: rgba(73, 225, 216, 0.15);
  color: var(--accent-2);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(73, 225, 216, 0.25);
}

.bg-black {
  background: #000;
}

@media (max-width: 991px) {
  .hero {
    padding: 28px;
  }
}

@media (max-width: 767px) {
  .navbar {
    margin-top: 10px;
  }

  .hero {
    padding: 22px;
  }

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