/* Variables and Design System */
:root {
  --bg-color: #030712;
  --bg-grid-color: rgba(255, 255, 255, 0.025);
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #4b5563;
  --accent-color: #f43f5e; /* Red-Orange accent */
  --accent-glow: rgba(244, 63, 94, 0.3);
  --brand-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #d946ef 100%);
  --blob-gradient: radial-gradient(circle at 30% 30%, #d8b4fe 0%, #8b5cf6 30%, #4c1d95 70%, #0f0728 100%);
  
  --card-bg: rgba(17, 24, 39, 0.4);
  --card-border: rgba(255, 255, 255, 0.05);
  --card-border-hover: rgba(255, 255, 255, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
body.light-theme {
  --bg-color: #f9fafb;
  --bg-grid-color: rgba(0, 0, 0, 0.03);
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(0, 0, 0, 0.06);
  --card-border-hover: rgba(0, 0, 0, 0.15);
  --blob-gradient: radial-gradient(circle at 30% 30%, #f472b6 0%, #ec4899 40%, #be185d 80%);
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Background Grid Pattern */
.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--bg-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  pointer-events: none;
}

/* Glowing Radial Lights */
.radial-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  bottom: 20%;
  left: -200px;
}

.glow-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #d946ef 0%, transparent 70%);
  bottom: -200px;
  right: 10%;
}

/* Layout container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glass Navigation Bar */
.glass-nav {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 15, 30, 0.4);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.light-theme .nav-container {
  background: rgba(255, 255, 255, 0.45);
}

.nav-logo a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo a span {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 50px;
  gap: 4px;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  gap: 8px;
}

.nav-action-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.nav-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--card-border-hover);
}

#search-trigger-btn {
  width: auto;
  padding: 0 16px;
  border-radius: 50px;
}

.theme-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
  background: transparent;
}

body:not(.light-theme) .theme-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--text-primary);
  border-radius: 50%;
  top: -2px;
  right: -2px;
}

/* Hero Section */
.hero-section {
  padding-top: 170px;
  padding-bottom: 60px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.availability-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981; /* green */
  box-shadow: 0 0 10px #10b981;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-tagline .arrow {
  color: var(--accent-color);
  font-size: 1.5rem;
  font-weight: bold;
}

.hero-tagline h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 18px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-filled {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(244, 63, 94, 0.5);
}

.btn-outlined {
  border: 1px solid var(--card-border-hover);
  color: var(--text-primary);
  background: transparent;
}

.btn-outlined:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Social icons column */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  background: rgba(255, 255, 255, 0.01);
}

.social-links a:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  transform: scale(1.05);
}

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

/* Glossy 3D Purple Blob Rendering */
.hero-image-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
}

.glossy-blob {
  width: 100%;
  height: 100%;
  background-image: url('profile_photo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 64% 36% 40% 60% / 55% 42% 58% 45%;
  box-shadow: 
    inset -15px -15px 40px rgba(0, 0, 0, 0.8),
    inset 20px 20px 40px rgba(255, 255, 255, 0.4),
    0 25px 50px rgba(139, 92, 246, 0.3);
  animation: morph 9s ease-in-out infinite alternate;
  position: relative;
}

.glossy-blob::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  top: 25%;
  left: 25%;
  transform: rotate(-30deg);
  filter: blur(1px);
}

@keyframes morph {
  0% {
    border-radius: 64% 36% 40% 60% / 55% 42% 58% 45%;
  }
  50% {
    border-radius: 40% 60% 60% 40% / 45% 55% 45% 55%;
  }
  100% {
    border-radius: 55% 45% 35% 65% / 60% 35% 65% 40%;
  }
}

/* Scroll Down */
.scroll-indicator {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.scroll-indicator a:hover {
  color: var(--text-primary);
}

/* Generic Section settings */
section {
  padding: 100px 0;
  border-top: 1px solid var(--card-border);
}

.section-tag {
  font-family: 'Outfit', sans-serif;
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text-primary);
  max-width: 720px;
  margin-bottom: 40px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-top: -24px;
  margin-bottom: 44px;
}

/* About Section Grid */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.about-illustration-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.dev-ill-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-md) - 8px);
  display: block;
}

.illustration-tag {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.about-details h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-details p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 36px;
}

/* Mini Stats Grid */
.mini-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-stat-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-fast);
}

.mini-stat-card:hover {
  border-color: var(--card-border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.stat-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Sliding Tech Marquee */
.marquee-wrapper {
  margin-top: 80px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 24px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.marquee-content span {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.marquee-content span:nth-child(4n+1) {
  color: var(--text-secondary);
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Bento Filters Selector */
.bento-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.bento-filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.bento-filter-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.bento-filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-color);
  border-color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

/* Bento card sizing classes */
.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
}

.bento-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(255, 255, 255, 0.02);
}

/* Mouse Spotlight Radial Gradient Glow */
.bento-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    var(--spotlight-color, rgba(168, 85, 247, 0.15)),
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card-top,
.bento-card-bottom {
  position: relative;
  z-index: 2;
}

/* Specific item layout spans */
.bento-size-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-size-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-size-medium {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-size-small {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-card-top h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.bento-size-small .bento-card-top h3 {
  font-size: 1.4rem;
}

.bento-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 480px;
}

.bento-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.bento-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bento-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 4px;
}

.bento-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.bento-link:hover {
  color: var(--accent-color);
}

/* Bento card decorative dot indicator */
.bento-card::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.bento-card:hover::before {
  background: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
}

/* Bento Color variants */
.border-glow-purple {
  box-shadow: inset 0 0 15px rgba(168, 85, 247, 0.03);
  --spotlight-color: rgba(168, 85, 247, 0.15);
}
.border-glow-purple:hover {
  border-color: rgba(168, 85, 247, 0.4) !important;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(168, 85, 247, 0.15),
    inset 0 0 15px rgba(168, 85, 247, 0.05);
}

.border-glow-blue {
  box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.03);
  --spotlight-color: rgba(59, 130, 246, 0.15);
}
.border-glow-blue:hover {
  border-color: rgba(59, 130, 246, 0.4) !important;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(59, 130, 246, 0.15),
    inset 0 0 15px rgba(59, 130, 246, 0.05);
}

.border-glow-pink {
  box-shadow: inset 0 0 15px rgba(236, 72, 153, 0.03);
  --spotlight-color: rgba(236, 72, 153, 0.15);
}
.border-glow-pink:hover {
  border-color: rgba(236, 72, 153, 0.4) !important;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(236, 72, 153, 0.15),
    inset 0 0 15px rgba(236, 72, 153, 0.05);
}

/* Light Theme overrides for Bento Glow */
body.light-theme .border-glow-purple {
  --spotlight-color: rgba(168, 85, 247, 0.08);
}
body.light-theme .border-glow-purple:hover {
  border-color: rgba(168, 85, 247, 0.3) !important;
  box-shadow: 
    0 12px 25px rgba(168, 85, 247, 0.12),
    inset 0 0 10px rgba(168, 85, 247, 0.02);
}

body.light-theme .border-glow-blue {
  --spotlight-color: rgba(59, 130, 246, 0.08);
}
body.light-theme .border-glow-blue:hover {
  border-color: rgba(59, 130, 246, 0.3) !important;
  box-shadow: 
    0 12px 25px rgba(59, 130, 246, 0.12),
    inset 0 0 10px rgba(59, 130, 246, 0.02);
}

body.light-theme .border-glow-pink {
  --spotlight-color: rgba(236, 72, 153, 0.08);
}
body.light-theme .border-glow-pink:hover {
  border-color: rgba(236, 72, 153, 0.3) !important;
  box-shadow: 
    0 12px 25px rgba(236, 72, 153, 0.12),
    inset 0 0 10px rgba(236, 72, 153, 0.02);
}

/* Section divider */
.section-divider {
  width: 100%;
  height: 1px;
  background-color: var(--card-border);
  margin: 80px 0;
}

/* Directory Header */
.directory-header {
  margin-bottom: 40px;
}

.directory-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.directory-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 4px;
}

/* Directory Controls Grid */
.directory-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  margin-bottom: 32px;
}

.search-box-wrapper {
  position: relative;
  width: 100%;
}

.search-box-wrapper input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.search-box-wrapper input:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.03);
}

.search-input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.btn-pill {
  padding: 0 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-filled-glow {
  background: var(--text-primary);
  color: var(--bg-color);
  box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

.btn-filled-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

/* Alphabet selectors */
.alphabet-pagination {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 20px;
}

.alpha-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.alpha-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.alpha-btn.active {
  color: var(--accent-color);
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

/* Role Filter Group */
.filter-group-wrapper {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-label-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.filter-tags-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.filter-btn.active {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Portfolios grid list in directory */
.portfolios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.dir-portfolio-card {
  background: rgba(17, 24, 39, 0.2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.dir-portfolio-card:hover {
  border-color: var(--card-border-hover);
  background: rgba(17, 24, 39, 0.4);
}

.dir-card-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dir-card-url {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
  word-break: break-all;
}

.dir-card-url:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

.dir-card-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

.dir-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 12px;
}

.dir-card-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  padding: 2px 6px;
  border-radius: 4px;
}

.dir-card-link {
  font-size: 0.78rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dir-card-link:hover {
  color: var(--accent-color);
}

.directory-footer-stats {
  margin-top: 30px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Toolkit Grid & Orbit Animation */
.toolkit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.orbit-visual-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.orbit-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center core logo badge */
.orbit-core {
  width: 50px;
  height: 50px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 20px var(--accent-glow);
}

.core-logo {
  font-family: 'Outfit', sans-serif;
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
}

/* Ring circles overlay */
.orbit-ring {
  position: absolute;
  border: 1px dashed var(--card-border);
  border-radius: 50%;
}

.ring-1 {
  width: 160px;
  height: 160px;
}

.ring-2 {
  width: 260px;
  height: 260px;
}

.ring-3 {
  width: 360px;
  height: 360px;
}

/* Orbiting node details */
.orbit-node {
  position: absolute;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: orbitRotate 15s linear infinite;
  animation-delay: var(--d, 0s);
  transform-origin: center;
  white-space: nowrap;
}

.orbit-node:hover {
  color: var(--text-primary);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg) translateX(var(--r)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(var(--r)) rotate(-360deg);
  }
}

/* Toolkit stack columns */
.toolkit-categories {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stack-category-group h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.stack-category-group h4 .badge {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

.tag-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-badges-row span {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 50px;
}

/* Path Timeline styling */
.path-section {
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding-left: 36px;
  border-left: 2px solid var(--card-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot-wrapper {
  position: absolute;
  left: -48px;
  top: 24px;
  width: 24px;
  height: 24px;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-border-hover);
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

.timeline-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.timeline-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(255, 255, 255, 0.02);
}

/* Mouse Spotlight Glow on Timeline Cards */
.timeline-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(244, 63, 94, 0.12),
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.timeline-card:hover::after {
  opacity: 1;
}

body.light-theme .timeline-card::after {
  background: radial-gradient(
    300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(244, 63, 94, 0.06),
    transparent 70%
  );
}

.timeline-card-header,
.timeline-card h3,
.timeline-school,
.timeline-card p {
  position: relative;
  z-index: 2;
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.date-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.category-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.03);
  padding: 4px 10px;
  border-radius: 4px;
}

.category-badge.type-work {
  color: #10b981; /* Green */
}

.category-badge.type-edu {
  color: #3b82f6; /* Blue */
}

.timeline-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Submit Section Grid */
.submit-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.submit-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.green-glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.email-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 8px;
}

.card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.social-circles-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-circle:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  color: var(--text-primary);
  border-color: var(--card-border-hover);
}

/* Submission Form styling */
.submit-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit-btn {
  margin-top: 10px;
}

/* Generated Markdown Copy-box */
.pr-generator-box {
  margin-top: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  animation: fadeIn 0.4s ease;
}

.pr-generator-box.hidden {
  display: none;
}

.pr-generator-box h4 {
  color: #10b981;
  font-size: 1rem;
  margin-bottom: 8px;
}

.pr-generator-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pr-generator-box code {
  display: block;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 18px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 14px;
  word-break: break-all;
}

.btn-copy {
  background: #10b981;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-copy:hover {
  background: #059669;
}

/* Glass footer */
.glass-footer {
  margin-top: 100px;
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-footer {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-footer span {
  color: var(--accent-color);
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-right {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Media responsiveness */
@media (max-width: 968px) {
  .hero-container,
  .about-grid,
  .toolkit-grid,
  .submit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 3.4rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-size-large,
  .bento-size-tall,
  .bento-size-medium,
  .bento-size-small {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .nav-menu {
    display: none; /* Hide nav links on mobile for simplicity */
  }
}


.bento-card-meta {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  margin-bottom: 8px;
  opacity: 0.8;
}

.timeline-school {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  display: block;
  margin-top: -8px;
  margin-bottom: 12px;
}

