/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
  /* Colors - Deep Dark Blue Theme */
  --color-bg-primary: #000000;
  --color-bg-secondary: #000000;
  --color-bg-tertiary: #0a1628;
  --color-surface: #000000;
  --color-surface-elevated: #000000;
  
  /* Text Colors */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-tertiary: #64748b;
  
  /* Blue Accent Colors */
  --color-accent-primary: #3b82f6;
  --color-accent-secondary: #0ea5e9;
  --color-accent-tertiary: #06b6d4;
  --color-accent-glow: #60a5fa;
  
  /* Gradient */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 50%, #06b6d4 100%);
  --gradient-accent: linear-gradient(90deg, #3b82f6, #8b5cf6);
  --gradient-glow: radial-gradient(circle at center, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  --gradient-mesh: 
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.5);
  --shadow-glow-lg: 0 0 100px rgba(59, 130, 246, 0.6);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' 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)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* Animated gradient mesh background */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

::selection {
  background-color: var(--color-accent-primary);
  color: white;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-md) 0;
  background: rgba(2, 8, 23, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  transition: var(--transition-base);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.5) 20%, 
    rgba(59, 130, 246, 0.8) 50%, 
    rgba(59, 130, 246, 0.5) 80%, 
    transparent 100%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.header.scrolled::before {
  opacity: 1;
}

.header.scrolled {
  padding: var(--spacing-sm) 0;
  background: rgba(2, 8, 23, 0.85);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text-primary);
  z-index: 1001;
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6)); }
  50% { filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.9)); }
}

.logo-dot {
  color: var(--color-accent-primary);
  font-size: 2rem;
  line-height: 1;
  margin-left: -2px;
  filter: drop-shadow(0 0 10px var(--color-accent-primary));
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition-fast);
  padding: var(--spacing-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--color-text-primary);
  transition: var(--transition-base);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl) var(--spacing-lg);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: -300px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  animation-delay: 7s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(50px, -50px) scale(1.1) rotate(90deg); }
  50% { transform: translate(-30px, 30px) scale(0.9) rotate(180deg); }
  75% { transform: translate(40px, -20px) scale(1.05) rotate(270deg); }
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent-glow);
  width: fit-content;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2), inset 0 0 20px rgba(59, 130, 246, 0.05);
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.3) 50%, transparent 70%);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--color-accent-primary), 0 0 20px rgba(59, 130, 246, 0.5);
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
    box-shadow: 0 0 10px var(--color-accent-primary), 0 0 20px rgba(59, 130, 246, 0.5);
  }
  50% { 
    opacity: 0.6; 
    box-shadow: 0 0 20px var(--color-accent-primary), 0 0 40px rgba(59, 130, 246, 0.8);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
  animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% { 
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
  }
  50% { 
    filter: drop-shadow(0 0 50px rgba(59, 130, 246, 0.8));
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: rgb(0, 0, 0);
  font-size: 25px;
  box-shadow: 
    0 4px 20px rgba(59, 130, 246, 0.2),
    0 0 40px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #05d12a 0%, #5305e3 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(59, 130, 246, 0.6),
    0 0 60px rgba(59, 130, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
}

/* Hero Image */
.hero-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 500px;
  margin-left: auto;
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(59, 130, 246, 0.4),
    inset 0 0 80px rgba(59, 130, 246, 0.1);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
}

.image-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    #3b82f6, 
    #0ea5e9, 
    #06b6d4, 
    #3b82f6
  );
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.5;
  filter: blur(10px);
  animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  position: relative;
  z-index: 1;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.3) 0%, 
    rgba(14, 165, 233, 0.2) 50%, 
    rgba(6, 182, 212, 0.3) 100%
  );
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-text-tertiary);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 1;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent-primary), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.5; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--spacing-3xl) var(--spacing-lg);
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-3xl);
}

.section-label {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-glow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
  box-shadow: 
    0 0 20px rgba(59, 130, 246, 0.2),
    inset 0 0 20px rgba(59, 130, 246, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.section-label::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.2) 50%, transparent 70%);
  animation: shimmer 3s linear infinite;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: 
    linear-gradient(180deg, 
      var(--color-bg-primary) 0%, 
      rgba(15, 29, 53, 0.5) 50%,
      var(--color-bg-secondary) 100%
    );
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.5) 50%, 
    transparent 100%
  );
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-top: var(--spacing-3xl);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.about-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-item:hover::before {
  opacity: 1;
  animation: rotate 3s linear infinite;
}

.stat-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-8px);
  box-shadow: 
    0 10px 40px rgba(59, 130, 246, 0.3),
    0 0 60px rgba(59, 130, 246, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--spacing-xs);
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-tertiary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.skill-card {
  padding: var(--spacing-xl);
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #3b82f6, #0ea5e9, #06b6d4);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0;
  filter: blur(20px);
  transition: opacity var(--transition-base);
}

.skill-card:hover::after {
  opacity: 0.5;
}

.skill-card:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(59, 130, 246, 0.3),
    0 0 80px rgba(59, 130, 246, 0.2);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  display: block;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
  transition: transform var(--transition-base);
  position: relative;
  z-index: 1;
}

.skill-card:hover .skill-icon {
  transform: scale(1.1) rotateY(10deg);
}

.skill-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.skill-card p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section {
  background: 
    linear-gradient(180deg, 
      var(--color-bg-secondary) 0%, 
      rgba(10, 22, 40, 0.8) 50%,
      var(--color-bg-primary) 100%
    );
  position: relative;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.5) 50%, 
    transparent 100%
  );
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
}

.project-card {
  position: relative;
  background: rgba(15, 29, 53, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}

.project-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.3), 
    rgba(14, 165, 233, 0.3), 
    rgba(6, 182, 212, 0.3)
  );
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0;
  filter: blur(20px);
  transition: opacity var(--transition-base);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4), 
    0 0 100px rgba(59, 130, 246, 0.4),
    0 0 0 1px rgba(59, 130, 246, 0.2);
}

.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.2) 0%, 
    rgba(14, 165, 233, 0.15) 50%,
    rgba(6, 182, 212, 0.2) 100%
  );
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(59, 130, 246, 0.03) 10px,
      rgba(59, 130, 246, 0.03) 20px
    );
  animation: scanlines 20s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(20px); }
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, 
      rgba(59, 130, 246, 0.9) 0%, 
      rgba(14, 165, 233, 0.9) 100%
    );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(10px);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-view {
  color: rgb(0, 0, 0);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.project-number {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.3));
  transition: var(--transition-base);
}

.project-card:hover .project-number {
  opacity: 0.3;
  transform: scale(1.1);
}

.project-info {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  flex: 1;
}

.project-tags {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.project-tag {
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-glow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  transition: var(--transition-fast);
}

.project-card:hover .project-tag {
  background: rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.project-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: 
    linear-gradient(180deg, 
      rgba(10, 22, 40, 0.8) 0%, 
      var(--color-bg-primary) 100%
    );
  padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-3xl);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.5) 50%, 
    transparent 100%
  );
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.contact-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.contact-item:hover::before {
  opacity: 1;
}

.contact-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateX(8px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-md);
  color: var(--color-accent-primary);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  transition: var(--transition-base);
}

.contact-item:hover .contact-icon {
  background: rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  transform: scale(1.1) rotate(5deg);
}

.contact-label {
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
  margin-bottom: 4px;
}

.contact-value {
  color: var(--color-text-primary);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-value:hover {
  color: var(--color-accent-primary);
}

.contact-visual {
  position: relative;
}

.contact-card {
  position: relative;
  padding: var(--spacing-xl);
  background: rgba(15, 29, 53, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(59, 130, 246, 0.2);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.4), 
    rgba(14, 165, 233, 0.4), 
    rgba(6, 182, 212, 0.4)
  );
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
  animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.5);
  border-radius: var(--radius-full);
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
  color: #22d3ee;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  position: relative;
  z-index: 1;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22d3ee;
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
  box-shadow: 
    0 0 10px #22d3ee, 
    0 0 20px rgba(6, 182, 212, 0.5);
}

@keyframes statusPulse {
  0%, 100% { 
    opacity: 1; 
    box-shadow: 0 0 10px #22d3ee, 0 0 20px rgba(6, 182, 212, 0.5);
    transform: scale(1);
  }
  50% { 
    opacity: 0.7; 
    box-shadow: 0 0 20px #22d3ee, 0 0 40px rgba(6, 182, 212, 0.8);
    transform: scale(1.2);
  }
}

.card-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.card-content p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(2, 8, 23, 0.8);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-xl);
  position: relative;
  backdrop-filter: blur(20px);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.6) 50%, 
    transparent 100%
  );
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-tagline {
  color: var(--color-text-secondary);
  max-width: 300px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-column a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--color-accent-primary);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.footer-bottom {
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-tertiary);
  font-size: 0.9rem;
}

.heart {
  color: var(--color-accent-tertiary);
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.2); }
  20%, 40% { transform: scale(1.1); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .hero-image {
    order: -1;
  }

  .image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: var(--color-bg-primary);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: var(--spacing-3xl) var(--spacing-xl);
    gap: var(--spacing-lg);
    transition: right var(--transition-base);
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  .hero {
    padding: var(--spacing-3xl) var(--spacing-md);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar {
    padding: 0 var(--spacing-md);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
