/* ========================================
   MODERN DARK MODE PORTFOLIO 2026
   ======================================== */

/* === CSS VARIABLES === */
:root {
  /* Colors - Cyberpunk inspired */
  --primary: #00f5ff;
  --primary-dark: #00b8c4;
  --secondary: #ff006e;
  --accent: #8b5cf6;
  --success: #10b981;
  
  /* Backgrounds */
  --bg-dark: #0a0e27;
  --bg-darker: #050816;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-glass: rgba(30, 41, 59, 0.4);
  
  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Effects */
  --glow-primary: 0 0 20px rgba(0, 245, 255, 0.5);
  --glow-secondary: 0 0 20px rgba(255, 0, 110, 0.5);
  --glow-accent: 0 0 20px rgba(139, 92, 246, 0.5);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* === ANIMATED BACKGROUND === */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -10%;
  left: -10%;
  animation-delay: 5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, -100px) scale(1.1);
  }
  66% {
    transform: translate(-100px, 100px) scale(0.9);
  }
}

/* === FLOATING SHAPES === */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.1;
  transition: transform 0.3s ease-out;
}

.shape-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  top: 20%;
  right: 10%;
}

.shape-square {
  width: 120px;
  height: 120px;
  border: 3px solid var(--secondary);
  transform: rotate(45deg);
  bottom: 25%;
  left: 15%;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
  border-bottom: 130px solid var(--accent);
  top: 60%;
  right: 20%;
}

.shape-hexagon {
  width: 100px;
  height: 57.74px;
  background: var(--primary);
  position: relative;
  bottom: 10%;
  right: 5%;
}

.shape-hexagon:before,
.shape-hexagon:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
}

.shape-hexagon:before {
  bottom: 100%;
  border-bottom: 28.87px solid var(--primary);
}

.shape-hexagon:after {
  top: 100%;
  width: 0;
  border-top: 28.87px solid var(--primary);
}

@media (max-width: 768px) {
  .floating-shapes {
    display: none;
  }
}

/* === PARTICLE CANVAS === */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* === GRID LINES OVERLAY === */
.grid-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.03;
}

.grid-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.grid-line-v {
  width: 1px;
  height: 100%;
  animation: gridPulse 3s ease-in-out infinite;
}

.grid-line-h {
  width: 100%;
  height: 1px;
  animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.03;
  }
  50% {
    opacity: 0.08;
  }
}

/* === LIQUID BACKGROUND === */
.liquid-bg {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(45deg, 
    var(--primary) 0%, 
    var(--secondary) 50%, 
    var(--accent) 100%);
  opacity: 0.05;
  filter: blur(50px);
  animation: liquidMove 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes liquidMove {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 40% 60% / 30% 50% 60% 50%;
  }
  75% {
    border-radius: 60% 30% 60% 40% / 60% 40% 50% 30%;
  }
}

/* === MAGNETIC BUTTONS === */
.btn-magnetic {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* === TEXT SHIMMER EFFECT === */
.section-title {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary), var(--primary));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s ease infinite;
}

@keyframes shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* === NEON GLOW TEXT === */
.hero-title .title-line {
  text-shadow: 
    0 0 10px rgba(0, 245, 255, 0.5),
    0 0 20px rgba(0, 245, 255, 0.3),
    0 0 30px rgba(0, 245, 255, 0.2);
  animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% {
    text-shadow: 
      0 0 10px rgba(0, 245, 255, 0.5),
      0 0 20px rgba(0, 245, 255, 0.3),
      0 0 30px rgba(0, 245, 255, 0.2);
  }
  50% {
    text-shadow: 
      0 0 20px rgba(0, 245, 255, 0.8),
      0 0 30px rgba(0, 245, 255, 0.5),
      0 0 40px rgba(0, 245, 255, 0.3),
      0 0 50px rgba(0, 245, 255, 0.2);
  }
}

/* === MORPHING BORDERS === */
.skill-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.5s ease;
  animation: rotateBorder 3s linear infinite;
}

.skill-card:hover::after {
  opacity: 0.5;
}

@keyframes rotateBorder {
  0% {
    filter: blur(10px) hue-rotate(0deg);
  }
  100% {
    filter: blur(10px) hue-rotate(360deg);
  }
}

/* === HOLOGRAPHIC EFFECT === */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(0, 245, 255, 0.1) 25%,
    transparent 50%,
    rgba(255, 0, 110, 0.1) 75%,
    transparent 100%
  );
  background-size: 200% 200%;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: holographic 3s ease infinite;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

@keyframes holographic {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}


/* === WAVE BACKGROUND === */
.about::before,
.projects::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,0 C300,80 600,80 900,0 C1050,40 1150,40 1200,0 L1200,120 L0,120 Z' fill='rgba(0,245,255,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
  animation: waveMove 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes waveMove {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50px);
  }
}

/* === PIXEL RAIN === */
@keyframes pixelRain {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-bracket {
  color: var(--secondary);
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-fast);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

.hero-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--primary);
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  animation: slideDown 0.8s ease;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.title-line {
  display: block;
  animation: slideRight 1s ease;
}

.glitch {
  position: relative;
  color: var(--primary);
  text-shadow: var(--glow-primary);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  color: var(--secondary);
  animation: glitch-1 2s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
  color: var(--accent);
  animation: glitch-2 2s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

@keyframes glitch-2 {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(2px, -2px);
  }
  40% {
    transform: translate(2px, 2px);
  }
  60% {
    transform: translate(-2px, -2px);
  }
  80% {
    transform: translate(-2px, 2px);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideRight 1.2s ease;
}

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--primary);
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 2rem;
  animation: slideRight 1.4s ease;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
  animation: slideUp 1.6s ease;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  animation: slideUp 1.8s ease;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg-darker);
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 245, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-ghost:hover {
  background: rgba(0, 245, 255, 0.1);
  transform: translateY(-2px);
}

/* === HERO VISUAL === */
.hero-visual {
  position: relative;
  animation: fadeIn 2s ease;
}

.visual-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
  border-radius: 20px;
  opacity: 0;
  filter: blur(20px);
  transition: opacity var(--transition-slow);
  z-index: -1;
}

.visual-card:hover .card-glow {
  opacity: 0.6;
}

.code-window {
  background: var(--bg-darker);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
  display: flex;
  gap: 0.5rem;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) {
  background: #ff5f56;
}

.window-dots span:nth-child(2) {
  background: #ffbd2e;
}

.window-dots span:nth-child(3) {
  background: #27c93f;
}

.window-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.code-content {
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.code-content code {
  display: block;
}

.code-keyword {
  color: var(--secondary);
}

.code-variable {
  color: var(--primary);
}

.code-property {
  color: #94a3b8;
}

.code-string {
  color: var(--success);
}

.code-function {
  color: var(--accent);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: bounce 2s ease infinite;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s ease infinite;
}

@keyframes scroll {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--primary);
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* === SECTION STYLING === */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-tag {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

/* === ABOUT SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.image-frame {
  position: relative;
  padding: 2rem;
}

.frame-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid var(--primary);
}

.frame-corner.tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.frame-corner.tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.frame-corner.bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.frame-corner.br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.profile-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-glass));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12rem;
  color: var(--primary);
  opacity: 0.5;
  position: relative;
  overflow: hidden;
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, var(--primary));
  opacity: 0.1;
  mix-blend-mode: overlay;
}

.about-text {
  margin-bottom: 2rem;
}

.lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.quote {
  padding: 1.5rem;
  margin: 2rem 0;
  background: var(--bg-glass);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  font-style: italic;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

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

.detail-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.detail-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.detail-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  font-size: 1.5rem;
  color: var(--bg-darker);
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* === SKILLS SECTION === */
.skills {
  background: linear-gradient(180deg, transparent, rgba(0, 245, 255, 0.05), transparent);
}

.skills-showcase {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.skill-category {
  animation: fadeInUp 0.8s ease;
}

.category-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
}

.skill-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.skill-card:hover .skill-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(var(--glow-primary));
}

.skill-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.skill-level {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.level-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 10px;
  width: var(--level);
  transition: width 1s ease;
  box-shadow: var(--glow-primary);
}

.skill-percentage {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: right;
}

/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 0.1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 245, 255, 0.3);
}

.service-number {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  font-size: 2rem;
  color: var(--bg-darker);
  margin-bottom: 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.icon-glow {
  position: absolute;
  inset: -10px;
  background: inherit;
  border-radius: inherit;
  filter: blur(20px);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.service-card:hover .icon-glow {
  opacity: 0.6;
}

.service-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-features i {
  color: var(--success);
  font-size: 0.8rem;
}

/* === PROJECTS SECTION === */
.projects {
  background: linear-gradient(180deg, rgba(255, 0, 110, 0.05), transparent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.project-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  position: relative;
  overflow: hidden;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.2;
  transition: opacity var(--transition-normal);
}

.project-card:hover .image-overlay {
  opacity: 0.4;
}

.project-preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
}

.project-content {
  padding: 2rem;
}

.project-tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tag {
  padding: 0.4rem 1rem;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-badge {
  padding: 0.4rem 0.8rem;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--accent);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.project-link:hover {
  gap: 1rem;
  text-shadow: var(--glow-primary);
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-lead {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-glass);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  background: var(--bg-card);
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  font-size: 1.2rem;
  color: var(--bg-darker);
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-text a,
.contact-text span {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg-darker);
  transform: translateY(-5px);
  box-shadow: var(--glow-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

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

/* === FOOTER === */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-darker);
}

.footer-content {
  text-align: center;
}

.footer-logo {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-text {
  color: var(--text-muted);
}

.footer-text i {
  color: var(--secondary);
  animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* === SCROLL REVEAL CLASSES === */
.reveal {
  opacity: 0;
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
}

.reveal-left {
  transform: translateX(-100px);
}

.reveal-left.active {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(100px);
}

.reveal-right.active {
  transform: translateX(0);
}

.reveal-up {
  transform: translateY(100px);
}

.reveal-up.active {
  transform: translateY(0);
}

.reveal-down {
  transform: translateY(-100px);
}

.reveal-down.active {
  transform: translateY(0);
}

.reveal-scale {
  transform: scale(0.8);
}

.reveal-scale.active {
  transform: scale(1);
}

.reveal-rotate {
  transform: rotate(-10deg) scale(0.9);
}

.reveal-rotate.active {
  transform: rotate(0) scale(1);
}

/* === PARALLAX ELEMENTS === */
.parallax-slow {
  transition: transform 0.1s ease-out;
}

.parallax-medium {
  transition: transform 0.15s ease-out;
}

.parallax-fast {
  transition: transform 0.2s ease-out;
}

/* === BACKGROUND ANIMATIONS ON SCROLL === */
.section-bg-reveal {
  position: relative;
  overflow: hidden;
}

.section-bg-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
  transition: left 1s ease;
}

.section-bg-reveal.active::before {
  left: 100%;
}

/* === STAGGER ANIMATIONS === */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* === ANIMATIONS === */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

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

  .hero-visual {
    order: -1;
  }

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

  .skill-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: left var(--transition-normal);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 6rem 1rem 3rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

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

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

  section {
    padding: var(--spacing-md) 0;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .code-content {
    font-size: 0.8rem;
    padding: 1rem;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }
}
