/* Professional Portfolio - Enhanced Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Space+Grotesk:wght@300..700&display=swap');



/* CSS Custom Properties */

:root {

  /* Color Palette */

  --primary-bg: #0c0c10;

  --secondary-bg: #111118;

  --surface: #18181f;

  --surface-light: #22222c;

  --text-primary: #ffffff;

  --text-secondary: #a8a8b3;

  --text-muted: #64646f;

  

  /* Accent Colors */

  --accent-primary: #7c6af7;

  --accent-secondary: #e07b54;

  --accent-tertiary: #9f7aea;

  --accent-success: #10b981;

  --accent-warning: #f59e0b;

  

  /* Gradients */

  --gradient-primary: linear-gradient(135deg, #e2e8f0 0%, #ffffff 40%, #c4b5fd 100%);

  --gradient-secondary: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e40af 100%);

  --gradient-mesh: radial-gradient(ellipse 800px 600px at 50% 0%, rgba(99, 102, 241, 0.1), transparent);

  

  /* Spacing */

  --container-max-width: 1200px;

  --section-padding: 120px;

  --grid-gap: 2rem;

  

  /* Typography */

  --font-primary: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  --font-secondary: 'Inter', system-ui, -apple-system, sans-serif;

  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  

  /* Animation */

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);

  

  /* Glass Effects */

  --glass-bg: rgba(255, 255, 255, 0.05);

  --glass-border: rgba(255, 255, 255, 0.1);

  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  

  /* Shadows */

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);

  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);

  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.3);

}



/* Reset and Base Styles */

*,

*::before,

*::after {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



html {

  scroll-behavior: smooth;

  font-size: 16px;

  line-height: 1.5;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

}



body {

  font-family: var(--font-secondary);

  background: var(--primary-bg);

  color: var(--text-primary);

  overflow-x: hidden;

  cursor: auto;

}

/* Custom Cursor */

#cursor-dot { display: none !important;

  position: fixed;

  top: 50%;

  left: 50%;

  width: 6px;

  height: 6px;

  background: var(--accent-primary);

  border-radius: 50%;

  transform: translate(-50%, -50%);

  pointer-events: none;

  z-index: 9999;

  transition: transform 0.1s ease;

  mix-blend-mode: difference;

}



#cursor-outline { display: none !important;

  position: fixed;

  top: 50%;

  left: 50%;

  width: 32px;

  height: 32px;

  border: 2px solid rgba(99, 102, 241, 0.3);

  border-radius: 50%;

  transform: translate(-50%, -50%);

  pointer-events: none;

  z-index: 9998;

  transition: all 0.3s var(--ease-out-expo);

}



/* Preloader */

#preloader {

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100vh;

  background: var(--primary-bg);

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 10000;

  transition: opacity 0.5s ease, visibility 0.5s ease;

}



#preloader.hidden {

  opacity: 0;

  visibility: hidden;

}



.loader {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 2rem;

}



.loader-circle {

  width: 60px;

  height: 60px;

  border: 3px solid rgba(99, 102, 241, 0.2);

  border-top: 3px solid var(--accent-primary);

  border-radius: 50%;

  animation: spin 1s linear infinite;

}



.loader-text {

  display: flex;

  gap: 0.1rem;

}



.loader-text span {

  font-family: var(--font-mono);

  font-size: 0.875rem;

  color: var(--text-secondary);

  animation: fade 1.5s ease-in-out infinite;

  animation-delay: calc(var(--i, 0) * 0.1s);

}



@keyframes spin {

  to {

    transform: rotate(360deg);

  }

}



@keyframes fade {

  0%, 100% {

    opacity: 0.3;

  }

  50% {

    opacity: 1;

  }

}



/* Noise Overlay */

.noise-overlay {

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100vh;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.4'/%3E%3C/svg%3E");

  opacity: 0.03;

  pointer-events: none;

  z-index: 1;

}

/* Animated Background */

.aurora {

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100vh;

  overflow: hidden;

  z-index: -2;

}



.gradient-sphere {

  position: absolute;

  border-radius: 50%;

  filter: blur(100px);

  opacity: 0.7;

  animation: float 20s ease-in-out infinite;

}



.sphere-1 {

  width: 400px;

  height: 400px;

  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);

  top: -200px;

  left: -200px;

  animation-delay: 0s;

}



.sphere-2 {

  width: 300px;

  height: 300px;

  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);

  top: 50%;

  right: -150px;

  animation-delay: -10s;

}



.sphere-3 {

  width: 350px;

  height: 350px;

  background: radial-gradient(circle, var(--accent-tertiary) 0%, transparent 70%);

  bottom: -175px;

  left: 30%;

  animation-delay: -5s;

}



.sphere-4 {

  width: 250px;

  height: 250px;

  background: radial-gradient(circle, var(--accent-success) 0%, transparent 70%);

  top: 20%;

  left: 70%;

  animation-delay: -15s;

}



@keyframes float {

  0%, 100% {

    transform: translate(0, 0) scale(1);

  }

  25% {

    transform: translate(30px, -30px) scale(1.1);

  }

  50% {

    transform: translate(-20px, 20px) scale(0.9);

  }

  75% {

    transform: translate(20px, 10px) scale(1.05);

  }

}



/* Mesh Grid */

.mesh-grid {

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100vh;

  z-index: -1;

  opacity: 0.4;

}



.grid-lines {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background-image: 

    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

  background-size: 50px 50px;

  animation: grid-move 20s linear infinite;

}



.grid-dots {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.3) 1px, transparent 1px);

  background-size: 50px 50px;

  animation: grid-move-reverse 25s linear infinite;

}



@keyframes grid-move {

  0% {

    transform: translate(0, 0);

  }

  100% {

    transform: translate(50px, 50px);

  }

}



@keyframes grid-move-reverse {

  0% {

    transform: translate(0, 0);

  }

  100% {

    transform: translate(-50px, -50px);

  }

}

/* Progress Bar */

#bar {

  position: fixed;

  top: 0;

  left: 0;

  height: 3px;

  width: 100%;

  background: var(--gradient-primary);

  transform: scaleX(0);

  transform-origin: left;

  z-index: 9999;

  transition: transform 0.3s ease;

}



/* Navigation */

.nav {

  position: fixed;

  top: 0;

  left: 0;

  right: 0;

  z-index: 1000;

  padding: 1.5rem 0;

  background: rgba(10, 10, 15, 0.8);

  backdrop-filter: blur(20px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  transition: all 0.3s var(--ease-out-expo);

}



.nav.scrolled {

  padding: 1rem 0;

  background: rgba(10, 10, 15, 0.95);

}



.nav-container {

  max-width: var(--container-max-width);

  margin: 0 auto;

  padding: 0 2rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

}



.brand {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  text-decoration: none;

  transition: transform 0.3s var(--ease-out-expo);

}



.brand:hover {

  transform: scale(1.05);

}



.brand-icon {

  position: relative;

  width: 40px;

  height: 40px;

  border-radius: 50%;

  overflow: hidden;

  border: 2px solid var(--accent-primary);

  background: var(--gradient-primary);

  display: flex;

  align-items: center;

  justify-content: center;

}



.brand-icon img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



.brand-text {

  font-family: var(--font-primary);

  font-size: 1.25rem;

  font-weight: 600;

  color: var(--text-primary);

}



#menu {

  display: flex;

  align-items: center;

  gap: 2rem;

  list-style: none;

}



.nav-link {

  position: relative;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 0.25rem;

  text-decoration: none;

  color: var(--text-secondary);

  font-size: 0.875rem;

  font-weight: 500;

  transition: all 0.3s var(--ease-out-expo);

  padding: 0.5rem 0;

}



.nav-index {

  font-family: var(--font-mono);

  font-size: 0.75rem;

  color: var(--accent-primary);

  opacity: 0.7;

}



.nav-link::after {

  content: '';

  position: absolute;

  bottom: -2px;

  left: 50%;

  width: 0;

  height: 2px;

  background: var(--gradient-primary);

  transition: all 0.3s var(--ease-out-expo);

  transform: translateX(-50%);

}



.nav-link:hover,

.nav-link.active {

  color: var(--text-primary);

}



.nav-link:hover::after,

.nav-link.active::after {

  width: 100%;

}



.nav-cta {

  display: flex;

  align-items: center;

}



.btn-resume {

  display: flex;

  align-items: center;

  gap: 0.5rem;

  padding: 0.75rem 1.5rem;

  background: transparent;

  border: 1px solid var(--accent-primary);

  border-radius: 50px;

  color: var(--accent-primary);

  text-decoration: none;

  font-size: 0.875rem;

  font-weight: 500;

  transition: all 0.3s var(--ease-out-expo);

  position: relative;

  overflow: hidden;

}



.btn-resume::before {

  content: '';

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: var(--accent-primary);

  transition: left 0.3s var(--ease-out-expo);

  z-index: -1;

}



.btn-resume:hover::before {

  left: 0;

}



.btn-resume:hover {

  color: var(--primary-bg);

  transform: translateY(-2px);

}

/* Mobile Menu */

.mobile-menu-btn {

  display: none;

  flex-direction: column;

  justify-content: space-between;

  width: 24px;

  height: 18px;

  background: transparent;

  border: none;

  cursor: pointer;

  z-index: 1001;

}



.mobile-menu-btn span {

  display: block;

  height: 2px;

  width: 100%;

  background: var(--text-primary);

  border-radius: 1px;

  transition: all 0.3s var(--ease-out-expo);

}



.mobile-menu-btn.active span:nth-child(1) {

  transform: rotate(45deg) translate(6px, 6px);

}



.mobile-menu-btn.active span:nth-child(2) {

  opacity: 0;

}



.mobile-menu-btn.active span:nth-child(3) {

  transform: rotate(-45deg) translate(6px, -6px);

}



/* Hero Section */

.hero {

  min-height: 100vh;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 4rem;

  align-items: center;

  padding: 8rem 2rem 4rem;

  max-width: var(--container-max-width);

  margin: 0 auto;

  position: relative;

}



.hero-content {

  display: flex;

  flex-direction: column;

  gap: 1.5rem;

  z-index: 2;

}



.hero-badge {

  display: inline-flex;

  align-items: center;

  gap: 0.75rem;

  padding: 0.5rem 1rem;

  background: rgba(16, 185, 129, 0.1);

  border: 1px solid rgba(16, 185, 129, 0.2);

  border-radius: 50px;

  color: var(--accent-success);

  font-size: 0.875rem;

  font-weight: 500;

  width: fit-content;

  animation: pulse-badge 2s ease-in-out infinite;

}



.status-dot {

  width: 8px;

  height: 8px;

  background: var(--accent-success);

  border-radius: 50%;

  animation: pulse-dot 2s ease-in-out infinite;

}



@keyframes pulse-badge {

  0%, 100% {

    transform: scale(1);

  }

  50% {

    transform: scale(1.02);

  }

}



@keyframes pulse-dot {

  0%, 100% {

    opacity: 1;

    transform: scale(1);

  }

  50% {

    opacity: 0.7;

    transform: scale(1.2);

  }

}



.hero-greeting {

  font-family: var(--font-mono);

  font-size: 1rem;

  color: var(--accent-secondary);

  margin: 0;

}



.hero-title {

  font-family: var(--font-primary);

  font-size: clamp(3rem, 8vw, 5rem);

  font-weight: 700;

  line-height: 1.1;

  margin: 0;

  background: var(--gradient-primary);

  -webkit-background-clip: text;

  background-clip: text;

  -webkit-text-fill-color: transparent;

  position: relative;

}



.title-line {

  display: block;

  overflow: hidden;

}



.char {

  display: inline-block;

  transform: translateY(100%);

  animation: slideUp 0.8s var(--ease-out-expo) forwards;

  animation-delay: calc(var(--i, 0) * 0.05s);

}



@keyframes slideUp {

  to {

    transform: translateY(0);

  }

}



.hero-subtitle {

  display: flex;

  align-items: center;

  gap: 0.5rem;

  font-size: 1.5rem;

  font-weight: 500;

  color: var(--text-secondary);

}



.typing-text {

  position: relative;

}



.cursor-blink {

  animation: blink 1s infinite;

  color: var(--accent-primary);

}



@keyframes blink {

  0%, 50% {

    opacity: 1;

  }

  51%, 100% {

    opacity: 0;

  }

}

.hero-description {

  font-size: 1.125rem;

  line-height: 1.7;

  color: var(--text-secondary);

  max-width: 500px;

}



.hero-actions {

  display: flex;

  gap: 1rem;

  margin-top: 1rem;

}



.btn-primary,

.btn-secondary {

  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 0.75rem;

  padding: 0.875rem 2rem;

  border-radius: 50px;

  font-size: 0.875rem;

  font-weight: 600;

  text-decoration: none;

  cursor: pointer;

  transition: all 0.3s var(--ease-out-expo);

  overflow: hidden;

}



.btn-primary {

  background: var(--gradient-primary);

  color: white;

  border: none;

}



.btn-primary .btn-bg {

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #06b6d4 100%);

  transition: left 0.3s var(--ease-out-expo);

  z-index: -1;

}



.btn-primary:hover .btn-bg {

  left: 0;

}



.btn-secondary {

  background: transparent;

  color: var(--text-primary);

  border: 1px solid rgba(255, 255, 255, 0.2);

}



.btn-secondary::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: rgba(255, 255, 255, 0.05);

  opacity: 0;

  transition: opacity 0.3s var(--ease-out-expo);

  z-index: -1;

}



.btn-secondary:hover::before {

  opacity: 1;

}



.btn-arrow {

  width: 16px;

  height: 16px;

  stroke: currentColor;

  stroke-width: 2;

  fill: none;

  transition: transform 0.3s var(--ease-out-expo);

}



.btn-primary:hover .btn-arrow {

  transform: translateX(4px);

}



.magnetic {

  transition: transform 0.3s var(--ease-out-expo);

}



.hero-socials {

  display: flex;

  flex-direction: column;

  gap: 1rem;

  margin-top: 2rem;

}



.social-label {

  font-size: 0.875rem;

  color: var(--text-muted);

  font-weight: 500;

}



.social-links {

  display: flex;

  gap: 1rem;

}



.social-link {

  display: flex;

  align-items: center;

  gap: 0.5rem;

  padding: 0.5rem 1rem;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 50px;

  color: var(--text-secondary);

  text-decoration: none;

  font-size: 0.875rem;

  transition: all 0.3s var(--ease-out-expo);

}



.social-link svg {

  width: 16px;

  height: 16px;

  fill: currentColor;

}



.social-link:hover {

  color: var(--text-primary);

  border-color: var(--accent-primary);

  transform: translateY(-2px);

  background: rgba(99, 102, 241, 0.1);

}



/* Hero Visual */

.hero-visual {

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 2;

}



.profile-container {

  position: relative;

  width: 400px;

  height: 400px;

}



.profile-frame {

  position: relative;

  width: 100%;

  height: 100%;

  border-radius: 50%;

  overflow: hidden;

}



.profile-glow {

  position: absolute;

  top: -50%;

  left: -50%;

  width: 200%;

  height: 200%;

  background: conic-gradient(from 0deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary), var(--accent-primary));

  animation: rotate 10s linear infinite;

  z-index: -1;

}



.profile-img {

  position: absolute;

  top: 4px;

  left: 4px;

  width: calc(100% - 8px);

  height: calc(100% - 8px);

  border-radius: 50%;

  object-fit: cover;

  z-index: 1;

}



.profile-border {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  border-radius: 50%;

  border: 2px solid rgba(255, 255, 255, 0.1);

  z-index: 2;

}



@keyframes rotate {

  to {

    transform: rotate(360deg);

  }

}

/* Floating Tech Badges */

.floating-elements {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

}



.tech-badge {

  position: absolute;

  display: flex;

  align-items: center;

  gap: 0.5rem;

  padding: 0.5rem 1rem;

  background: rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 50px;

  color: var(--text-primary);

  font-size: 0.875rem;

  font-weight: 500;

  animation: float-badge 6s ease-in-out infinite;

  cursor: pointer;

  transition: all 0.3s var(--ease-out-expo);

}



.tech-badge:hover {

  transform: scale(1.1) translateY(-5px);

  background: rgba(255, 255, 255, 0.15);

}



.tech-badge.flutter {

  top: 10%;

  left: -20%;

  animation-delay: 0s;

}



.tech-badge.nextjs {

  top: 60%;

  right: -15%;

  animation-delay: -2s;

}



.tech-badge.supabase {

  bottom: 15%;

  left: -10%;

  animation-delay: -4s;

}



.tech-badge svg,

.tech-badge i {

  width: 20px;

  height: 20px;

  color: var(--accent-primary);

}



@keyframes float-badge {

  0%, 100% {

    transform: translateY(0) rotate(0deg);

  }

  25% {

    transform: translateY(-10px) rotate(1deg);

  }

  50% {

    transform: translateY(-5px) rotate(-1deg);

  }

  75% {

    transform: translateY(-15px) rotate(0.5deg);

  }

}



/* Code Snippet */

.code-snippet {

  position: absolute;

  top: -50px;

  right: -100px;

  width: 280px;

  background: rgba(15, 15, 26, 0.9);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 12px;

  overflow: hidden;

  animation: float-code 8s ease-in-out infinite;

}



.code-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0.75rem 1rem;

  background: rgba(255, 255, 255, 0.05);

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

}



.code-dots {

  display: flex;

  gap: 0.5rem;

}



.code-dots span {

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: var(--text-muted);

}



.code-dots span:nth-child(1) {

  background: #ff5f56;

}



.code-dots span:nth-child(2) {

  background: #ffbd2e;

}



.code-dots span:nth-child(3) {

  background: #27ca3f;

}



.code-title {

  font-family: var(--font-mono);

  font-size: 0.75rem;

  color: var(--text-secondary);

}



.code-content {

  padding: 1rem;

  font-family: var(--font-mono);

  font-size: 0.75rem;

  line-height: 1.6;

}



.code-line {

  margin-bottom: 0.25rem;

}



.keyword {

  color: #c792ea;

}



.class {

  color: #ffcb6b;

}



.property {

  color: #82aaff;

}



.string {

  color: #c3e88d;

}



.punctuation {

  color: var(--text-secondary);

}



@keyframes float-code {

  0%, 100% {

    transform: translateY(0) rotateX(0deg);

  }

  50% {

    transform: translateY(-20px) rotateX(5deg);

  }

}



/* Scroll Indicator */

.scroll-indicator {

  position: absolute;

  bottom: 2rem;

  left: 50%;

  transform: translateX(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 1rem;

  color: var(--text-muted);

  animation: bounce-slow 2s ease-in-out infinite;

}



.scroll-text {

  font-size: 0.875rem;

  font-weight: 500;

}



.scroll-arrow {

  width: 24px;

  height: 24px;

}



.scroll-arrow svg {

  width: 100%;

  height: 100%;

  stroke: currentColor;

  stroke-width: 2;

  fill: none;

}



@keyframes bounce-slow {

  0%, 100% {

    transform: translateX(-50%) translateY(0);

  }

  50% {

    transform: translateX(-50%) translateY(-10px);

  }

}

/* Responsive Design */

@media (max-width: 1024px) {

  .hero {

    grid-template-columns: 1fr;

    gap: 3rem;

    text-align: center;

  }

  

  .hero-visual {

    order: -1;

  }

  

  .profile-container {

    width: 300px;

    height: 300px;

  }

  

  .code-snippet {

    display: none;

  }

  

  .tech-badge.flutter {

    top: 5%;

    left: 10%;

  }

  

  .tech-badge.nextjs {

    top: 60%;

    right: 10%;

  }

  

  .tech-badge.supabase {

    bottom: 5%;

    left: 30%;

  }

}



@media (max-width: 768px) {

  .nav-container {

    padding: 0 1rem;

  }

  

  #menu {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100vh;

    background: rgba(10, 10, 15, 0.95);

    backdrop-filter: blur(20px);

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 3rem;

    z-index: 1000;

  }

  

  #menu.open {

    display: flex;

  }

  

  .nav-link {

    font-size: 1.5rem;

  }

  

  .nav-cta {

    display: none;

  }

  

  .mobile-menu-btn {

    display: flex;

  }

  

  .hero {

    padding: 6rem 1rem 4rem;

    gap: 2rem;

  }

  

  .hero-title {

    font-size: clamp(2rem, 8vw, 3rem);

  }

  

  .hero-actions {

    flex-direction: column;

    align-items: center;

  }

  

  .btn-primary,

  .btn-secondary {

    width: 100%;

    max-width: 280px;

    justify-content: center;

  }

  

  .profile-container {

    width: 250px;

    height: 250px;

  }

  

  .floating-elements {

    display: none;

  }

}



@media (max-width: 480px) {

  .hero-badge {

    font-size: 0.75rem;

    padding: 0.375rem 0.75rem;

  }

  

  .hero-greeting {

    font-size: 0.875rem;

  }

  

  .hero-subtitle {

    font-size: 1.25rem;

  }

  

  .hero-description {

    font-size: 1rem;

  }

  

  .social-links {

    justify-content: center;

    flex-wrap: wrap;

  }

  

  .profile-container {

    width: 200px;

    height: 200px;

  }

}



/* Accessibility */

@media (prefers-reduced-motion: reduce) {

  *,

  *::before,

  *::after {

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

  }

  

  .scroll-indicator {

    animation: none;

  }

  

  .floating-elements .tech-badge {

    animation: none;

  }

  

  .profile-glow {

    animation: none;

  }

}



@media (prefers-color-scheme: light) {

  /* Light mode adjustments would go here if needed */

}



/* Focus styles for accessibility */

a:focus-visible,

button:focus-visible {

  outline: 2px solid var(--accent-primary);

  outline-offset: 2px;

  border-radius: 4px;

}



/* High contrast mode support */

@media (prefers-contrast: high) {

  :root {

    --text-secondary: #ffffff;

    --text-muted: #cccccc;

    --accent-primary: #00bfff;

  }

}



/* Print styles */

@media print {

  .aurora,

  .mesh-grid,

  .noise-overlay,

  #cursor-dot,

  #cursor-outline,

  .floating-elements,

  .code-snippet {

    display: none;

  }

  

  body {

    background: white;

    color: black;

  }

}



/* Utility classes for animations */

.fade-in {

  animation: fadeIn 0.6s var(--ease-out-expo) forwards;

}



.slide-up {

  animation: slideUp 0.6s var(--ease-out-expo) forwards;

}



.scale-in {

  animation: scaleIn 0.4s var(--ease-out-expo) forwards;

}



@keyframes fadeIn {

  from {

    opacity: 0;

  }

  to {

    opacity: 1;

  }

}



@keyframes scaleIn {

  from {

    opacity: 0;

    transform: scale(0.9);

  }

  to {

    opacity: 1;

    transform: scale(1);

  }

}

/* Bento Grid and Cards */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 1025px) {
  .s2 { grid-column: span 2; }
  .s3 { grid-column: span 3; }
  .s4 { grid-column: span 4; }
  .s6 { grid-column: span 6; }
}

@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .s6, .s4, .s3, .s2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .s6, .s4, .s3, .s2 {
    grid-column: span 1;
  }
}

.card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sp {
  padding: 2rem;
}

/* Footer */
.foot {
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.875rem;
  background: rgba(10, 10, 15, 0.8);
}

.foot a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.foot a:hover {
  color: var(--accent-primary);
}

/* Layout Utilities */
.wrap {
  max-width: var(--container-max-width, 1200px);
  margin: 0 auto;
  padding: 0 2rem;
}

.sec {
  
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.head {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.head h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

.g {
  color: #ffffff;
}

/* Marquee */
.tech-marquee {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  background: rgba(10, 10, 15, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
  gap: 4rem;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.marquee-item i, .marquee-item svg {
  color: var(--accent-primary);
  width: 24px;
  height: 24px;
}

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

/* Card Additions */
.card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.card .cap {
  margin-top: 1.5rem;
  text-align: center;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tags span {
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

/* Timeline */
.tl {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(99, 102, 241, 0.3);
  margin-left: 1rem;
}

.tl .dot {
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.job {
  margin-bottom: 2rem;
}

.when {
  font-size: 0.875rem;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.org {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Projects Grid */
.pg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.proj {
  padding: 0;
  overflow: hidden;
}

.proj .im {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.proj .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s;
}

.proj:hover .im img {
  transform: scale(1.05);
}

.proj .bd {
  padding: 1.5rem;
}

.links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.links a:hover {
  color: var(--accent-primary);
}

/* Skills */
.sk ul {
  list-style: none;
  margin-top: 1.5rem;
}

.sk li {
  margin-bottom: 1rem;
}

.sk .t {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.sk .b {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.sk .b i {
  display: block;
  height: 100%;
  background: var(--gradient-primary);
  width: var(--v, 0%);
}

/* Additional UI Fixes */
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.facts dt {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.facts dd {
  font-weight: 500;
  font-size: 0.95rem;
}

.hi3 {
  color: var(--accent-primary);
  margin-right: 0.5rem;
}

/* Contact Section Form */
form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

form input,
form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-secondary);
}

.btn.solid {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn.solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Contact Info & Socials */
.cl {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.cl > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  font-size: 1.25rem;
}

.cl span {
  display: flex;
  flex-direction: column;
  color: var(--text-primary);
}

.cl small {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.soc {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.soc a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.soc a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.soc a:hover {
  background: var(--accent-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== HUMANIZE OVERRIDES ===== */
/* Name should NOT be a rainbow - just clean white with a slight warm tint */
.hero-title {
  color: #f1f0ef !important;
  background: none !important;
  -webkit-text-fill-color: #f1f0ef !important;
  background-clip: unset !important;
  letter-spacing: -0.03em;
}

/* Replace robotic "01. About" nav with cleaner single-line style */
.nav-link {
  flex-direction: row !important;
  gap: 0.4em !important;
}

:root:not([data-theme="light"]) .nav-index {
  font-size: 0.65rem !important;
  opacity: 0.5 !important;
  letter-spacing: 0;
}

/* Greeting should feel warmer, not cyan-code-colored */
.hero-greeting .greeting-text {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: #b0a8c8;
  letter-spacing: 0.01em;
}

/* Hero subtitle � role text should feel casual */
.hero-subtitle {
  font-family: var(--font-secondary) !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: #9390a8 !important;
  letter-spacing: 0 !important;
}

/* Description � more readable leading */
.hero-description {
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  color: #8e8ba0 !important;
  max-width: 440px !important;
  font-weight: 400;
}

/* Buttons � primary should not be rainbow gradient */
.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35) !important;
  color: #ffffff !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45) !important;
  transform: translateY(-2px) !important;
}

:root:not([data-theme="light"]) .btn-secondary {
  border-radius: 8px !important;
  border-color: rgba(255,255,255,0.12) !important;
}

/* Resume button � pill shape is too templated, use square-ish */
.btn-resume {
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.02em;
}

/* Brand text � should feel handcrafted, not perfect */
:root:not([data-theme="light"]) .brand-text {
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  color: #e8e5f0 !important;
}

/* Section eyebrow labels - less caps-lock AI label look */
.eyebrow {
  text-transform: none !important;
  letter-spacing: 0.05em !important;
  font-size: 0.75rem !important;
  color: #7c6af7 !important;
  font-style: italic;
}

/* Headings - personal typography, not perfectly uniform */
h2 {
  letter-spacing: -0.025em;
  line-height: 1.15;
}

/* Card background - warmer than cold blue surface */
:root:not([data-theme="light"]) .card {
  background: rgba(255,255,255,0.035) !important;
  border-color: rgba(255,255,255,0.07) !important;
}

/* Keep sphere animation but much more subtle */
.sphere-3 {
  display: none;
}

.sphere-4 {
  display: none;
}

/* ===== FONT PERSONALITY OVERRIDES ===== */
/* Import a more distinctive, human-feeling display font */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* The name should use a serif for character - feels human-crafted, not AI-templated */
.hero-title {
  font-family: 'Instrument Serif', Georgia, serif !important;
  font-weight: 400 !important;
  font-size: clamp(3.5rem, 9vw, 6rem) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.05 !important;
}

/* Body should use DM Sans for a friendlier feel vs the cold Space Grotesk */
.hero-description,
.hero-subtitle,
p {
  font-family: 'DM Sans', system-ui, sans-serif;
}

/* Section h2s - subtle serif italic on the accent word looks human and editorial */
h2 .g,
h2 em {
  font-family: 'Instrument Serif', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
  background: none !important;
}
/* ============================================
   ABOUT SECTION — PREMIUM REDESIGN
   ============================================ */

/* ---- Section header ---- */
#about .head {
  text-align: left;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#about .head .eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #a78bfa;
  text-transform: none;
  margin-bottom: 0.75rem;
}

#about .head h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #f4f2ef;
  line-height: 1.05;
}

#about .head h2 .g {
  font-style: italic;
  color: #a78bfa !important;
  -webkit-text-fill-color: #a78bfa !important;
  background: none !important;
}

/* ---- Bento grid ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

/* Span helpers */
.s2 { grid-column: span 2; }
.s3 { grid-column: span 3; }
.s4 { grid-column: span 4; }
.s6 { grid-column: span 6; }
.wid { grid-column: span 6; }

/* ---- Base card redesign ---- */
.card.sp {
  background: #111117;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.card.sp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(167,139,250,0.05), transparent);
  pointer-events: none;
}

.card.sp:hover {
  border-color: rgba(167,139,250,0.2);
  transform: translateY(-3px);
}

/* ---- Professional Summary card ---- */
.card.sp.s4 h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: #e8e4f0;
  margin-bottom: 1.25rem;
}

.card.sp.s4 p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #7a7890;
  margin-bottom: 1rem;
}

.card.sp.s4 p:last-child { margin-bottom: 0; }

/* ---- Photo card ---- */
.card.sp.ph {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #0d0d12;
}

.card.sp.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  display: block;
  transition: transform 0.6s ease;
  min-height: 260px;
}

.card.sp.ph:hover img {
  transform: scale(1.03);
}

.card.sp.ph .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10,10,16,0.95) 0%, transparent 100%);
  margin-top: 0;
  text-align: left;
}

.card.sp.ph .cap h3.g {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: #e8e4f0 !important;
  -webkit-text-fill-color: #e8e4f0 !important;
  background: none !important;
  margin-bottom: 0.25rem;
}

.card.sp.ph .cap p.mono {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: #7a7890;
  letter-spacing: 0.06em;
}

.card.sp.ph .cap .tags {
  margin-top: 0.75rem;
}

.card.sp.ph .cap .tags span {
  background: rgba(167,139,250,0.12);
  color: #a78bfa;
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 6px;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ---- Resume card ---- */
.card.sp.cv {
  background: linear-gradient(135deg, #14121e 0%, #1a1626 100%);
  border-color: rgba(167,139,250,0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.card.sp.cv h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #e8e4f0;
  margin-bottom: 0.5rem;
}

.card.sp.cv > div p {
  font-size: 0.85rem;
  color: #5e5b72;
  line-height: 1.6;
}

.card.sp.cv .btn.solid.mag,
.card.sp.cv a.btn.solid {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #a78bfa;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, transform 0.3s ease;
  width: fit-content;
}

.card.sp.cv .btn.solid.mag:hover,
.card.sp.cv a.btn.solid:hover {
  background: #7c5ce8;
  transform: translateY(-2px);
}

/* ---- Personal info card ---- */
.card.sp.s6 {
  background: #0f0f15;
}

.card.sp.s6 > h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4860;
  margin-bottom: 1.75rem;
}

.card.sp.s6 > h3 .hi3 {
  display: none; /* icon clutters it */
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.facts > div {
  border-left: 2px solid rgba(167,139,250,0.2);
  padding-left: 0.875rem;
}

.facts dt {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: #4a4860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.facts dt i { display: none; } /* hide icon — using border instead */

.facts dd {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #c8c4dc;
}

.facts dd a {
  color: #a78bfa;
  text-decoration: none;
}

.facts dd a:hover { text-decoration: underline; }

/* ---- "What I do" heading ---- */
h3.wid {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4860;
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding: 0;
  background: none !important;
  border: none !important;
}

h3.wid .hi3 { display: none; }

/* ---- "What I do" service cards ---- */
.card.sp.s3 {
  background: #111117;
  border-color: rgba(255,255,255,0.06);
  padding: 1.75rem;
}

.card.sp.s3:nth-child(1) { border-top: 2px solid #a78bfa; }
.card.sp.s3:nth-child(2) { border-top: 2px solid #e07b54; }
.card.sp.s3:nth-child(3) { border-top: 2px solid #4ade80; }
.card.sp.s3:nth-child(4) { border-top: 2px solid #38bdf8; }

.card.sp.s3 .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #a78bfa;
  margin-bottom: 1.25rem;
}

.card.sp.s3:nth-child(2) .ico { color: #e07b54; }
.card.sp.s3:nth-child(3) .ico { color: #4ade80; }
.card.sp.s3:nth-child(4) .ico { color: #38bdf8; }

.card.sp.s3 h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ddd9ec;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.card.sp.s3 p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #5e5b72;
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .s4 { grid-column: span 2; }
  .s2 { grid-column: span 2; }
  .s6 { grid-column: span 2; }
  .wid { grid-column: span 2; }
  .s3 { grid-column: span 2; }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .s4, .s2, .s6, .s3, .wid { grid-column: span 1; }
  .facts { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT SECTION — PROFESSIONAL EDITORIAL REDESIGN
   Two-column split: photo left, content right
   ============================================================ */

/* Section wrapper */
.about-section {
  padding: 7rem 0 6rem;
  position: relative;
}

/* Section label row */
.about-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.about-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: #a78bfa;
  opacity: 0.6;
}

.about-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a78bfa;
}

/* Main two-column grid */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 5rem;
}

/* ---- LEFT: Photo column ---- */
.about-photo-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0e0e14;
}

/* Subtle frame border */
.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  pointer-events: none;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  filter: grayscale(15%) contrast(1.05);
}

.about-photo-wrap:hover .about-photo {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(1.0);
}

/* Gradient overlay at bottom for status badge */
.about-photo-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(10,10,14,0.85) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Status badge floating on photo */
.about-status-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10,10,14,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74,222,128,0.25);
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #86efac;
  letter-spacing: 0.03em;
}

.about-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: status-pulse 2.5s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50%       { opacity: 0.85; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

/* Stats row below photo */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  background: #111117;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0.5rem;
  gap: 0.3rem;
  position: relative;
}

.about-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}

.about-stat strong {
  font-family: 'Instrument Serif', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #f0eeff;
  line-height: 1;
}

.about-stat span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: #4f4d60;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

/* ---- RIGHT: Content column ---- */
.about-content-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 0.5rem;
}

/* Heading block */
.about-heading {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.about-eyebrow-right {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #4f4d60;
  text-transform: uppercase;
}

.about-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #f0eeff;
}

.about-title em {
  font-style: italic;
  color: #a78bfa;
}

/* Bio text */
.about-bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-bio p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: #6b687e;
  font-weight: 300;
}

/* Info grid — 2 cols of key-value pairs */
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.about-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-info-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3e3c4c;
}

.about-info-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: #c8c5dc;
}

.about-info-value a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.2s;
}

.about-info-value a:hover { color: #c4b5fd; }

/* CV download button */
.about-cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.8rem 1.75rem;
  background: transparent;
  border: 1px solid rgba(167,139,250,0.35);
  border-radius: 10px;
  color: #a78bfa;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-cv-btn:hover {
  background: rgba(167,139,250,0.08);
  border-color: rgba(167,139,250,0.65);
  color: #c4b5fd;
  transform: translateY(-2px);
}

.about-cv-btn i {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ---- SERVICES STRIP (below the grid) ---- */
.about-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
}

.about-service-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
  background: #0e0e14;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
  position: relative;
}

.about-service-item:last-child {
  border-right: none;
}

.about-service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 2px;
  border-radius: 0 0 4px 4px;
  transition: opacity 0.3s;
  opacity: 0;
}

.about-service-item:nth-child(1)::before { background: #a78bfa; }
.about-service-item:nth-child(2)::before { background: #e07b54; }
.about-service-item:nth-child(3)::before { background: #4ade80; }
.about-service-item:nth-child(4)::before { background: #38bdf8; }

.about-service-item:hover::before { opacity: 1; }

.about-service-item:hover {
  background: #12121a;
}

.about-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(255,255,255,0.03);
  color: #4f4d60;
  transition: color 0.3s;
}

.about-service-item:nth-child(1):hover .about-service-icon { color: #a78bfa; }
.about-service-item:nth-child(2):hover .about-service-icon { color: #e07b54; }
.about-service-item:nth-child(3):hover .about-service-icon { color: #4ade80; }
.about-service-item:nth-child(4):hover .about-service-icon { color: #38bdf8; }

.about-service-item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-service-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c8c5dc;
  letter-spacing: -0.01em;
}

.about-service-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #3e3c4c;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
  }

  .about-services {
    grid-template-columns: 1fr 1fr;
  }

  .about-service-item {
    border-right: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .about-service-item:nth-child(2),
  .about-service-item:nth-child(4) {
    border-right: none;
  }

  .about-service-item:nth-child(3),
  .about-service-item:nth-child(4) {
    border-bottom: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .about-section {
    padding: 5rem 0 4rem;
  }

  .about-label {
    margin-bottom: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo-wrap {
    aspect-ratio: 3 / 4;
    max-width: 320px;
    margin: 0 auto;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .about-stats {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-services {
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
  }

  .about-service-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-info-grid {
    grid-template-columns: 1fr;
  }

  .about-services {
    grid-template-columns: 1fr;
  }

  .about-service-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }

  .about-service-item:last-child {
    border-bottom: none !important;
  }
}

