:root {
  --primary: #8B5CF6;
  --primary-hover: #7C3AED;
  --secondary: #1E293B;
  --background: #F8FAFC;
  --foreground: #0F172A;
  --muted: #64748B;
  --accent: #E2E8F0;
  --border: #E2E8F0;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --header-height: 100px;
}


/* Header */
.main-header {
  height: var(--header-height);
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-container {
  max-width: 80rem;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5em 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
}
.logo-text { color: var(--primary); }
.logo-divider { color: var(--accent); }
.logo-sub { font-size: 0.875rem; color: var(--muted); font-weight: 500; }
.search-wrapper {
  flex: 1;
  max-width: 450px;
  position: relative;
  margin: 0 2rem;
  left: 25px;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  color: var(--muted);
}
.search-input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.search-input:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 2px var(--primary);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-btn {
  background: rgb(15 23 42 / var(--tw-bg-opacity, 1));
  border: none;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-btn.active { color: var(--primary); background: rgba(139, 92, 246, 0.05); }
.nav-btn:hover { color: var(--primary); }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}



.bg-grid-pattern {
  background-image: 
    linear-gradient(to right, #2dd4bf 1px, transparent 1px),
    linear-gradient(to bottom, #2dd4bf 1px, transparent 1px);
  background-size: 40px 40px;
}
.filter-btn {
  background: white;
  border: 1px solid #e2e8f0;
  color: #64748b;
}
.filter-btn:hover {
  border-color: #9333ea;
  color: #9333ea;
}
.filter-btn.active {
  background: #9333ea;
  border-color: #9333ea;
  color: white;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
}
.project-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-card:hover .card-overlay {
  opacity: 1;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}