@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg-primary: #0a1322;
  --bg-secondary: #0f1e32;
  --card: rgba(255, 255, 255, 0.045);
  --card-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #e8f0ff;
  --muted: #9cb3d9;
  --accent: #7be0b0;
  --accent-2: #4ea8ff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-lg: 26px;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, #15345c 0, transparent 28%),
    radial-gradient(circle at 80% 10%, #1f436b 0, transparent 24%),
    radial-gradient(circle at 50% 80%, #0d243f 0, transparent 30%),
    linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  background-attachment: fixed;
}

a {
  color: inherit;
}

.page-container {
  min-height: 100vh;
}

.nav-shell {
  backdrop-filter: blur(16px);
  background: rgba(10, 19, 34, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding-inline: 18px;
}

.nav-link {
  color: var(--muted);
}

.nav-link.active,
.nav-link:hover {
  color: var(--text) !important;
  background: var(--card-strong);
}

.brand-mark {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.glass-card:hover,
.glass-card:focus-within {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(123, 224, 176, 0.4);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.section-gap {
  margin-top: 28px;
  margin-bottom: 28px;
}

.hero {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(123, 224, 176, 0.12), transparent 45%),
    radial-gradient(circle at 20% 60%, rgba(78, 168, 255, 0.16), transparent 45%);
  pointer-events: none;
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid var(--card-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.btn-glow {
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, var(--accent), #5ad4ff);
  color: #041022;
  font-weight: 700;
  padding: 12px 16px;
  box-shadow: 0 10px 40px rgba(90, 212, 255, 0.35);
}

.btn-ghost {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 12px 16px;
}

.subtle-text {
  color: var(--muted);
}

.stat-tile {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.stat-tile:hover,
.stat-tile:focus-within {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(123, 224, 176, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 224, 176, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.project-thumb {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

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

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.45));
}

.card-content {
  flex: 1;
}

.card-actions {
  padding: 0 12px 14px 12px;
}

.status-chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.status-active {
  background: rgba(123, 224, 176, 0.14);
  border: 1px solid rgba(123, 224, 176, 0.8);
  color: #bff4dc;
}

.status-progress {
  background: rgba(78, 168, 255, 0.12);
  border: 1px solid rgba(78, 168, 255, 0.8);
  color: #c8e5ff;
}

.status-inactive {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.status-completed {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.8);
  color: #fff3b0;
}

.footer-shell {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  transition: transform 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.resume-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: var(--shadow);
}

.muted-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-heading span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--border), transparent);
}

@media (max-width: 768px) {
  .hero {
    padding: 24px;
  }

  .avatar {
    width: 140px;
    height: 140px;
  }

  .nav-shell {
    border-radius: var(--radius);
  }
}
