/* --- AI-Native Badge Unique Styles --- */
.ai-native-badge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  animation: aiBadgeFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  /* Add backdrop-filter here to fix corner clipping issues */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px; /* Match child's border-radius */
}

.ai-native-badge-text {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(90deg, #007AFF 0%, #30D158 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 122, 255, 0.10), 0 1.5px 8px rgba(48, 209, 88, 0.10);
  letter-spacing: 1.2px;
  border: 2.5px solid rgba(0, 122, 255, 0.18);
  position: relative;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
  cursor: pointer;
  overflow: hidden;
}
.ai-native-badge-text::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.18);
  transition: box-shadow 0.3s;
}
.ai-native-badge-text:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.18), 0 3px 16px rgba(48, 209, 88, 0.18);
}
.ai-native-badge-text:active {
  transform: scale(0.98);
}
@keyframes aiBadgeFadeIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* Modern Apple-style Portfolio for Khadaffi.com */
/* Inspired by macOS design with animated terminal background */

/* Import enhanced hero styles */
@import url('./hero-styles.css');

:root {
  /* Apple-inspired Colors */
  --primary: #007AFF;
  --primary-dark: #0051D5;
  --secondary: #5856D6;
  --success: #30D158;
  --warning: #FF9F0A;
  --danger: #FF453A;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  --gradient-hero: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
  --gradient-terminal: linear-gradient(45deg, #1e1e1e 0%, #2d2d2d 50%, #1e1e1e 100%);
  
  /* Dark theme - Apple style */
  --bg-primary: #000000;
  --bg-secondary: #1c1c1e;
  --bg-tertiary: #2c2c2e;
  --bg-card: rgba(28, 28, 30, 0.95);
    /* Text */
  --text-primary: #ffffff;
  --text-secondary: #a1a1a6;
  --text-tertiary: #636366;
  --text-accent: #00d4ff;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Consolas', monospace;
  --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  
  /* Glass morphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Monaco, monospace;
  
  /* Layout */
  --container-max: 1200px;
  --nav-height: 64px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  
  /* Animations */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Styles */
section {
  padding: 60px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section - Complete Redesign */
.about {
  background: var(--bg-secondary);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.about-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.about-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 122, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(88, 86, 214, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(255, 68, 68, 0.04) 0%, transparent 30%);
  animation: particleFloat 25s ease-in-out infinite alternate;
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  50% { 
    transform: translateY(-30px) rotate(2deg);
    opacity: 0.8;
  }
}

.about-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 122, 255, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
  animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0%, 100% { 
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  50% { 
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

/* Enhanced About Header */
.about-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.header-badge {
  display: inline-block;
  margin-bottom: 24px;
  animation: badgeGlow 3s ease-in-out infinite alternate;
}

.badge-text {
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.1));
  border: 2px solid rgba(0, 122, 255, 0.6);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 
    0 0 20px rgba(0, 122, 255, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes badgeGlow {
  0%, 100% { 
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    transform: translateY(0px);
  }
  50% { 
    box-shadow: 0 12px 48px rgba(0, 122, 255, 0.6);
    transform: translateY(-2px);
  }
}

/* New About Content Layout */
.about-content-new {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Profile Hero Card */
.profile-hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 32px;
}

.profile-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 24px 24px 0 0;
}

.profile-hero-content {
  display: block;
  align-items: center;
}

@media (min-width: 1024px) {
  .profile-hero-content {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }
}

/* Enhanced Profile Avatar */
.profile-avatar-enhanced {
  text-align: center;
  position: relative;
  max-width: 200px;
  margin: 0 auto;
}

.avatar-container {
  position: relative;
  display: inline-block;
  width: 140px;
  height: 140px;
}

.avatar-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(25px);
  animation: avatarGlow 4s ease-in-out infinite alternate;
}

@keyframes avatarGlow {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}

.avatar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border: 1px solid rgba(0, 122, 255, 0.4);
  border-radius: 50%;
  animation: ringRotate 20s linear infinite;
}

.avatar-ring-inner {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(88, 86, 214, 0.3);
  border-radius: 50%;
  animation: ringRotate 15s linear infinite reverse;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-image-enhanced {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-pic-enhanced {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1) saturate(1.1);
  transition: all 0.4s ease;
}

.avatar-image-enhanced:hover .profile-pic-enhanced {
  transform: scale(1.15);
  filter: brightness(1.2) contrast(1.2) saturate(1.2);
}

/* Remove tech orbits overlay completely */
.avatar-overlay {
  display: none;
}

/* Enhanced Status Indicator */
.status-indicator-enhanced {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: column;
}

.status-pulse {
  width: 10px;
  height: 10px;
  background: #30d158;
  border-radius: 50%;
  position: relative;
  animation: statusPulse 2s ease-in-out infinite;
}

.status-pulse::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid #30d158;
  border-radius: 50%;
  animation: statusRing 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes statusRing {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.status-text-enhanced {
  font-size: 11px;
  color: #30d158;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
  margin-top: 6px;
}

/* Enhanced Profile Info */
.profile-info-enhanced {
  text-align: left;
}

@media (max-width: 1023px) {
  .profile-info-enhanced {
    text-align: center;
  }
}

.name-container {
  margin-bottom: 24px;
}

.profile-name {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.name-subtitle {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (max-width: 1023px) {
  .name-subtitle {
    justify-content: center;
  }
}

.role-badge,
.age-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.role-badge {
  background: rgba(0, 122, 255, 0.2);
  color: #00d4ff;
  border: 1px solid rgba(0, 122, 255, 0.3);
}

.age-badge {
  background: rgba(88, 86, 214, 0.2);
  color: #a855f7;
  border: 1px solid rgba(88, 86, 214, 0.3);
}

.profile-description {
  margin-bottom: 32px;
}

.intro-main {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

.intro-secondary {
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 400;
}

.highlight-text {
  background: linear-gradient(135deg, #00d4ff, #4ecdc4, #ff6b6b);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  animation: gradientShift 3s ease-in-out infinite;
  position: relative;
  display: inline-block;
  padding: 2px 4px;
}

.highlight-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(78, 205, 196, 0.1), rgba(255, 107, 107, 0.1));
  border-radius: 4px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.highlight-text:hover::before {
  opacity: 1;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.metric-highlight {
  color: #00d4ff;
  font-weight: 700;
}

/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .quick-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-metric {
  text-align: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-metric:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.2);
}

.stat-value {
  display: block;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Core Principles Section */
.core-principles {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.principles-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.title-icon {
  font-size: 1.2em;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.principle-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
  min-height: 280px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.principle-card:hover::before {
  opacity: 1;
}

.principle-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.15);
}

.principle-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.principle-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  position: relative;
  transition: all 0.3s ease;
}

.principle-icon.ai-brain {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.principle-icon.lightning {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.principle-icon.partnership {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.principle-icon.evolution {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.icon-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: inherit;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.principle-card:hover .icon-glow {
  opacity: 0.6;
}

.principle-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}

.principle-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.principle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 122, 255, 0.15);
  color: #00d4ff;
  border: 1px solid rgba(0, 122, 255, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* AI Arsenal Section */
.ai-arsenal {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  margin-bottom: 32px;
}

.arsenal-header {
  text-align: center;
  margin-bottom: 36px;
}

.arsenal-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.arsenal-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.arsenal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .arsenal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.arsenal-category {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
  min-height: 280px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.arsenal-category:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.category-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
}

.category-icon.architecture {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.category-icon.coding {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.category-icon.testing {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.category-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.ai-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ai-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.ai-tool.primary {
  border-color: rgba(0, 122, 255, 0.3);
  background: rgba(0, 122, 255, 0.08);
}

.ai-tool:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.ai-tool.primary {
  border-color: rgba(0, 122, 255, 0.4);
  background: rgba(0, 122, 255, 0.12);
}

.tool-logo {
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.tool-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.tool-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.tool-role {
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Achievement Highlights */
.achievement-highlights {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  margin-bottom: 32px;
}

.achievements-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.achievement-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
  min-height: 280px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.achievement-card.featured {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.04);
  min-height: 320px;
}

.achievement-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.15);
}

.achievement-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.achievement-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: inherit;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.achievement-card:hover .achievement-glow {
  opacity: 0.6;
}

.achievement-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.achievement-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.achievement-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.highlight-metric {
  color: #00d4ff;
  font-weight: 700;
}

.achievement-example {
  padding: 8px 10px;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 6px;
  margin-top: 8px;
}

.example-text {
  font-size: 11px;
  color: #00d4ff;
  font-weight: 500;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
  .about {
    padding: 80px 0 60px;
  }
  
  .about-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .about-content-new {
    gap: 28px;
  }
  
  .profile-hero-card {
    padding: 32px 24px;
    margin-bottom: 28px;
  }
  
  .core-principles,
  .ai-arsenal,
  .achievement-highlights {
    padding: 32px 24px;
    margin-bottom: 28px;
  }
  
  .principles-grid,
  .arsenal-grid,
  .achievements-grid {
    gap: 20px;
  }
  
  .principle-card,
  .arsenal-category,
  .achievement-card {
    min-height: auto;
    padding: 24px 20px;
  }
  
  .achievement-card.featured {
    min-height: auto;
  }
  
  .profile-hero-content {
    text-align: center;
    gap: 24px;
    grid-template-columns: 1fr;
  }
  
  .avatar-container {
    width: 120px;
    height: 120px;
  }
  
  .avatar-glow {
    width: 140px;
    height: 140px;
  }
  
  .avatar-ring {
    width: 110px;
    height: 110px;
  }
  
  .avatar-image-enhanced {
    width: 90px;
    height: 90px;
  }
  
  .principles-title,
  .arsenal-title,
  .achievements-title {
    font-size: 22px;
    margin-bottom: 24px;
  }
  
  .principle-header h4,
  .category-header h4,
  .achievement-content h4 {
    font-size: 16px;
  }
  
  .principle-card p,
  .achievement-content p {
    font-size: 14px;
  }
  
  .ai-tool {
    padding: 12px 14px;
  }
  
  .arsenal-subtitle {
    font-size: 14px;
  }
  
  .principle-card,
  .achievement-card {
    padding: 16px 12px;
  }
  
  .arsenal-category {
    padding: 16px 12px;
  }
  
  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .stat-metric {
    padding: 16px 12px;
  }
  
  .profile-name {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  
  .name-subtitle {
    justify-content: center;
    gap: 8px;
  }
  
  .role-badge,
  .age-badge {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .badge-text {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .about-header {
    margin-bottom: 40px;
  }
  
  .about-content-new {
    gap: 32px;
  }
  
  .profile-hero-card {
    padding: 20px 12px;
  }
  
  .core-principles,
  .ai-arsenal,
  .achievement-highlights {
    padding: 20px 12px;
  }
  
  .avatar-container {
    width: 100px;
    height: 100px;
  }
  
  .avatar-glow {
    width: 120px;
    height: 120px;
  }
  
  .avatar-ring {
    width: 90px;
    height: 90px;
  }
  
  .avatar-image-enhanced {
    width: 70px;
    height: 70px;
  }
  
  .principles-title,
  .arsenal-title,
  .achievements-title {
    font-size: clamp(18px, 5vw, 22px);
    margin-bottom: 16px;
  }
  
  .principle-card,
  .achievement-card,
  .arsenal-category {
    padding: 14px 10px;
  }
  
  .principle-header h4,
  .achievement-content h4 {
    font-size: 14px;
  }
  
  .principle-card p,
  .achievement-content p {
    font-size: 12px;
  }
  
  .tag {
    padding: 3px 6px;
    font-size: 9px;
  }
  
  .quick-stats {
    gap: 8px;
  }
  
  .stat-metric {
    padding: 12px 8px;
  }
  
  .stat-value {
    font-size: clamp(14px, 4vw, 18px);
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .badge-text {
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: 1px;
  }
}

/* Fun Facts Section */
.fun-facts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fun-fact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.fun-fact:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.fun-fact i {
  font-size: 18px;
  color: var(--primary);
  width: 24px;
  text-align: center;
}

.fun-fact span {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Work Section */
.work {
  background: var(--bg-primary);
  padding: 120px 0 80px;
  position: relative;
}

.work .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}

/* Project Filter Tabs */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 24px;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: white;
}

.filter-count {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}

/* Projects Showcase */
.projects-showcase {
  display: grid;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.project-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.project-status {
  display: flex;
  gap: 12px;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.live {
  background: rgba(48, 209, 88, 0.2);
  color: #30d158;
  border: 1px solid rgba(48, 209, 88, 0.3);
}

.status-badge.featured {
  background: rgba(255, 159, 10, 0.2);
  color: #ff9f0a;
  border: 1px solid rgba(255, 159, 10, 0.3);
}

.project-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.action-btn.primary {
  background: var(--gradient-primary);
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.project-preview {
  padding: 24px;
}

.project-slideshow {
  position: relative;
  margin-bottom: 24px;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
}

.slide-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 10;
}

.slide-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
  left: 20px;
}

.slide-nav.next {
  right: 20px;
}

.slide-indicators {
  text-align: center;
  margin-top: 16px;
}

.indicator {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background-color: var(--primary);
}

.project-info {
  padding: 0 24px 24px;
}

.project-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.project-title h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.project-type {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

.metric-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Contact Section */
.contact {
  background: var(--bg-secondary);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
}

.contact-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 122, 255, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(88, 86, 214, 0.3) 0%, transparent 50%);
}

.contact-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 122, 255, 0.05) 50%, transparent 100%);
}

.contact-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.contact-header .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  height: fit-content;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.contact-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
}

.contact-item-content {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: var(--primary);
}

.contact-social h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
}

.form-header {
  margin-bottom: 32px;
}

.form-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.form-group:focus-within label {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 48px 16px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
  opacity: 0.7;
}

.form-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: 16px;
  pointer-events: none;
  z-index: 10;
}

/* Fix for select dropdowns */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23a1a1a6' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 40px center;
  background-size: 12px;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 8px 16px;
  border: none;
}

.form-group select::-ms-expand {
  display: none;
}

.form-group:has(textarea) .form-icon {
  top: 48px;
  transform: none;
}

.form-group:has(select) .form-icon {
  top: 50%;
  transform: translateY(-50%);
  margin-top: 14px;
}

.submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.btn-loading {
  display: none;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-status.success {
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.3);
  color: #30d158;
}

.form-status.error {
  background: rgba(255, 69, 58, 0.1);  border: 1px solid rgba(255, 69, 58, 0.3);
  color: #ff453a;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .nav-jokes {
    left: 50%;
    max-width: 250px;
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr !important;
    gap: 48px;
  }
  
  .about {
    padding: 80px 0 60px;
  }
  
  .about-header {
    margin-bottom: 60px;
  }
    
  .superpowers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .profile-card {
    padding: 40px 32px;
    max-width: 500px;
  }
  
  .about-superpowers {
    padding: 40px 32px;
    margin: 0 auto;
    max-width: 600px;
  }
  
  .about-profile {
    position: relative !important;
    top: auto !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
    .nav-jokes {
    left: 55%;
    max-width: 200px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    padding: 16px 24px;
    justify-content: center;
  }
    .nav-jokes {
    display: none;
  }
    .logo {
    font-size: 24px;
  }
    .about {
    padding: 60px 0 40px;
  }
  
  .about-header {
    margin-bottom: 40px;
  }
  
  .about-header .section-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 16px;
  }
  
  .about-header .section-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    padding: 0 16px;
  }
  
  .profile-card {
    padding: 32px 24px;
    border-radius: 24px;
    margin: 0 16px;
  }
  
  .avatar-placeholder {
    width: 100px;
    height: 100px;
    font-size: 40px;
  }
  
  .profile-intro h3 {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 16px;
  }
  
  .intro-text {
    font-size: clamp(15px, 3vw, 17px);
    padding: 0 8px;
  }
  
  .profile-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 280px;
  }
  
  .profile-stats .stat-item {
    padding: 20px 16px;
    min-height: 90px;
  }
  
  .about-superpowers {
    padding: 24px 20px;
    border-radius: 20px;
    margin: 0 16px;
  }
  
  .about-superpowers h4 {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 20px;
  }
  
  .superpowers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .superpower-item {
    padding: 16px 14px;
    border-radius: 14px;
  }
  
  .superpower-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .superpower-content h5 {
    font-size: clamp(15px, 3vw, 17px);
  }
  
  .superpower-content p {
    font-size: clamp(13px, 2.5vw, 15px);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .project-metrics {
    grid-template-columns: 1fr;
  }
  
  .showcase-image.main,
  .showcase-image.secondary {
    max-width: 100%;
    flex: 1;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 16px;
  }
}

/* Slideshow responsive styles */
@media (max-width: 768px) {
  .slide-image {
    height: 250px;
  }
  
  .slide-nav {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .slide-nav.prev {
    left: 10px;
  }
  
  .slide-nav.next {
    right: 10px;
  }
  
  .slide-caption {
    padding: 15px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 40px 0 30px;
  }
  
  .about-header {
    margin-bottom: 32px;
    padding: 0 20px;
  }
  
  .about-header .section-title {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }
  
  .about-header .section-subtitle {
    font-size: clamp(14px, 4vw, 18px);
  }
  
  .profile-card {
    padding: 24px 20px;
    margin: 0 20px;
    border-radius: 20px;
  }
  
  .avatar-placeholder {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }
  
  .profile-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
    .profile-stats .stat-item {
    padding: 16px 12px;
  }
  
  .about-superpowers {
    padding: 24px 20px;
    margin: 0 20px;
    border-radius: 20px;
  }
  
  .about-superpowers h4 {
    margin-bottom: 24px;
  }
  
  .superpower-item {
    padding: 16px 12px;
    gap: 16px;
  }
  
  .superpower-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Extra small devices */
@media (max-width: 320px) {
  .about {
    padding: 32px 0 24px;  }
  
  .profile-card,
  .about-superpowers {
    margin: 0 16px;
    padding: 20px 16px;
  }
  
  .superpower-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .superpower-icon {
    align-self: center;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  max-width: 800px;
  max-height: 85vh;
  width: 90%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--glass-shadow);
  transform: translateY(-50px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 32px 16px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
}

.modal-close {
  font-size: 32px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.modal-body {
  padding: 32px;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-y: auto;
  max-height: calc(85vh - 120px);
}

.modal-body h3 {
  color: var(--text-accent);
  margin: 24px 0 12px 0;
  font-size: 18px;
  font-weight: 600;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin: 12px 0;
  color: var(--text-secondary);
}

.modal-body ul {
  margin: 12px 0;
  padding-left: 24px;
}

.modal-body li {
  margin: 8px 0;
  color: var(--text-secondary);
}

.modal-body a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.modal-body a:hover {
  color: var(--text-accent);
  text-decoration: underline;
}

/* Sitemap specific styles */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.sitemap-section h3 {
  color: var(--text-accent);
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sitemap-section ul {
  list-style: none;
  padding-left: 0;
}

.sitemap-section li {
  margin: 8px 0;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sitemap-section li:last-child {
  border-bottom: none;
}

.sitemap-footer {
  padding: 20px;
  background: var(--glass-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.sitemap-footer p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--text-tertiary);
}

/* Modal responsive styles */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .modal-header {
    padding: 20px 24px 12px;
  }
  
  .modal-header h2 {
    font-size: 20px;
  }
  
  .modal-body {
    padding: 24px 20px;
    max-height: calc(90vh - 100px);
  }
  
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 16px 20px 8px;
  }
  
  .modal-header h2 {
    font-size: 18px;
  }
  
  .modal-body {
    padding: 20px 16px;
    max-height: calc(95vh - 80px);
  }
}

/* Add mobile responsive styles for project actions */
@media (max-width: 768px) {
  .project-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .project-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .action-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .project-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .status-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .project-header {
    padding: 16px;
  }
  
  .action-btn {
    padding: 10px 14px;
    font-size: 12px;
  }
  
  .action-btn i {
    font-size: 12px;
  }
}

/* Inline Profile Avatar Styles */
.name-with-avatar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.inline-avatar {
  position: relative;
  flex-shrink: 0;
  /* Ensure smooth rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Remove any potential border artifacts */
  border: none;
  outline: none;
}

.inline-avatar-container {
  position: relative;
  display: inline-block;
  width: 180px;
  height: 180px;
  /* Reset any inherited border styles */
  border: none;
  outline: none;
  box-sizing: border-box;
}

/* Green Glow Effect */
.avatar-glow-green {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 255, 127, 0.4) 0%, rgba(0, 255, 127, 0.2) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  animation: greenGlow 3s ease-in-out infinite alternate;
  /* Ensure perfect circle */
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  box-sizing: border-box;
}

@keyframes greenGlow {
  0%, 100% { 
    opacity: 0.6; 
    transform: translate(-50%, -50%) scale(1); 
  }
  50% { 
    opacity: 0.9; 
    transform: translate(-50%, -50%) scale(1.1); 
  }
}

/* Green Avatar Rings */
.avatar-ring-green {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border: 2px solid rgba(0, 255, 127, 0.6);
  border-radius: 50%;
  animation: greenRingRotate 15s linear infinite;
  box-shadow: 
    0 0 20px rgba(0, 255, 127, 0.3),
    inset 0 0 20px rgba(0, 255, 127, 0.1);
  /* Ensure perfect circle */
  box-sizing: border-box;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
}

@keyframes greenRingRotate {
  from { 
    transform: translate(-50%, -50%) rotate(0deg); 
  }
  to { 
    transform: translate(-50%, -50%) rotate(360deg); 
  }
}

/* Green Wiring Effects */
.green-wiring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wire {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 127, 0.8), transparent);
  border-radius: 2px;
  animation: wireFlow 4s ease-in-out infinite;
}

.wire-1 {
  top: 20%;
  left: -10px;
  width: 40px;
  height: 2px;
  transform: rotate(-30deg);
  animation-delay: 0s;
}

.wire-2 {
  top: 60%;
  right: -10px;
  width: 35px;
  height: 2px;
  transform: rotate(45deg);
  animation-delay: 1s;
}

.wire-3 {
  bottom: 30%;
  left: -8px;
  width: 30px;
  height: 2px;
  transform: rotate(20deg);
  animation-delay: 2s;
}

.wire-4 {
  top: 40%;
  right: -12px;
  width: 25px;
  height: 2px;
  transform: rotate(-60deg);
  animation-delay: 3s;
}

@keyframes wireFlow {
  0%, 100% { 
    opacity: 0.3;
    box-shadow: 0 0 5px rgba(0, 255, 127, 0.3);
  }
  50% { 
    opacity: 0.9;
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.8);
  }
}

/* Inline Avatar Image */
.avatar-image-inline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 5;
  border: 4px solid rgba(0, 255, 127, 0.8);
  box-shadow: 
    0 0 25px rgba(0, 255, 127, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 0 20px rgba(0, 255, 127, 0.1);
  /* Ensure perfect circle and smooth borders */
  box-sizing: border-box;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
}

.profile-pic-inline {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.1);
  filter: brightness(1.15) contrast(1.15) saturate(1.2);
  transition: all 0.4s ease;
  border-radius: 50%;
  /* Ensure image stays perfectly circular */
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  /* Smooth rendering for crisp edges */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.avatar-image-inline:hover .profile-pic-inline {
  transform: scale(1.2);
  filter: brightness(1.25) contrast(1.25) saturate(1.3);
}

/* Responsive Design for Inline Avatar */
@media (max-width: 768px) {
  .name-with-avatar {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .inline-avatar-container {
    width: 140px;
    height: 140px;
  }
  
  .avatar-glow-green {
    width: 180px;
    height: 180px;
  }
  
  .avatar-ring-green {
    width: 130px;
    height: 130px;
  }
  
  .avatar-image-inline {
    width: 110px;
    height: 110px;
  }
  
  .wire {
    display: none; /* Hide wiring on mobile for cleaner look */
  }
}

@media (max-width: 480px) {
  .inline-avatar-container {
    width: 120px;
    height: 120px;
  }
  
  .avatar-glow-green {
    width: 160px;
    height: 160px;
  }
  
  .avatar-ring-green {
    width: 110px;
    height: 110px;
  }
  
  .avatar-image-inline {
    width: 90px;
    height: 90px;
  }
}

/* Update profile name to work better with inline avatar */
.profile-name {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
