* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-purple));
  --gradient-rainbow: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #a8e6cf);
  --gradient-polish: linear-gradient(135deg, #dc2626, #ffffff);
}

/* Dark mode variables */
[data-theme="dark"] {
  --white: #0f1419;
  --gray-50: #1a1f2e;
  --gray-100: #252a39;
  --gray-200: #2d3748;
  --gray-600: #cbd5e0;
  --gray-800: #e2e8f0;
  --gray-900: #f7fafc;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
  cursor: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Cursor Trail */
.cursor-trail {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--gray-900) 0%, transparent 90%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

/* Enhanced Particle System */
.particle-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: particleFloat 20s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2.5s; }
.particle:nth-child(3) { left: 30%; animation-delay: 5s; }
.particle:nth-child(4) { left: 40%; animation-delay: 7.5s; }
.particle:nth-child(5) { left: 60%; animation-delay: 10s; }
.particle:nth-child(6) { left: 70%; animation-delay: 12.5s; }
.particle:nth-child(7) { left: 80%; animation-delay: 15s; }
.particle:nth-child(8) { left: 90%; animation-delay: 17.5s; }

@keyframes particleFloat {
  0% {
    top: 100vh;
    opacity: 0;
    transform: scale(0);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  90% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    top: -10vh;
    opacity: 0;
    transform: scale(0);
  }
}

/* Tech Objects Background */
.tech-objects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.tech-object {
  position: absolute;
  width: 3rem;
  height: 3rem;
  opacity: 0.1;
  animation: techObjectFloat 25s infinite ease-in-out;
  filter: blur(0.5px);
  color: var(--primary-color);
}

.tech-object svg {
  width: 100%;
  height: 100%;
}

.tech-object.cpu {
  top: 15%;
  left: 85%;
  animation-delay: 0s;
}

.tech-object.gpu {
  top: 25%;
  left: 5%;
  animation-delay: 3s;
}

.tech-object.code {
  top: 45%;
  left: 90%;
  animation-delay: 6s;
}

.tech-object.chip {
  top: 65%;
  left: 10%;
  animation-delay: 9s;
}

.tech-object.server {
  top: 75%;
  left: 80%;
  animation-delay: 12s;
}

.tech-object.mobile {
  top: 35%;
  left: 15%;
  animation-delay: 15s;
}

.tech-object.laptop {
  top: 55%;
  left: 75%;
  animation-delay: 18s;
}

.tech-object.gaming {
  top: 85%;
  left: 40%;
  animation-delay: 21s;
}

@keyframes techObjectFloat {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translateY(-50px) translateX(-10px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translateY(-20px) translateX(-30px) rotate(270deg) scale(1.05);
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
  background: rgba(15, 20, 25, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
  position: relative;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  filter: blur(10px);
  opacity: 0.3;
  animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from { opacity: 0.3; transform: scale(1); }
  to { opacity: 0.6; transform: scale(1.05); }
}

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

.nav-link {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  transform: scale(1.1);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--gray-600);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  overflow: hidden;
}

.hero-3d-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.geometric-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
  animation: shapeFloat 20s infinite ease-in-out;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 20%;
  animation-delay: 7s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 80%;
  left: 70%;
  animation-delay: 14s;
}

@keyframes shapeFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    border-radius: 50%;
  }
  25% { 
    transform: translateY(-20px) rotate(90deg); 
    border-radius: 20%;
  }
  50% { 
    transform: translateY(-40px) rotate(180deg); 
    border-radius: 50%;
  }
  75% { 
    transform: translateY(-20px) rotate(270deg); 
    border-radius: 20%;
  }
}

.floating-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-accent);
  filter: blur(1px);
  opacity: 0.3;
  animation: orbFloat 15s infinite ease-in-out;
}

.orb-1 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 80%;
  animation-delay: 0s;
}

.orb-2 {
  width: 40px;
  height: 40px;
  top: 70%;
  left: 15%;
  animation-delay: 5s;
}

.orb-3 {
  width: 80px;
  height: 80px;
  top: 40%;
  left: 60%;
  animation-delay: 10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  33% { transform: translateY(-30px) translateX(20px) scale(1.1); }
  66% { transform: translateY(20px) translateX(-15px) scale(0.9); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 2rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.badge-icon {
  width: 16px;
  height: 16px;
}

.badge-icon svg {
  width: 100%;
  height: 100%;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.gradient-text-3d {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  animation: textGlow 3s ease-in-out infinite alternate;
}

.gradient-text-3d::before {
  content: 'Tworzenie przyszłości';
  position: absolute;
  top: 2px;
  left: 2px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  z-index: -1;
}

.tech-text {
  position: relative;
  display: inline-block;
  animation: techGlitch 4s infinite;
  font-family: 'JetBrains Mono', monospace;
}

@keyframes textGlow {
  from { filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5)); }
  to { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8)); }
}

@keyframes techGlitch {
  0%, 90%, 100% { transform: translateX(0); }
  91% { transform: translateX(-2px); }
  92% { transform: translateX(2px); }
  93% { transform: translateX(-1px); }
  94% { transform: translateX(1px); }
  95% { transform: translateX(0); }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeInUp 1s ease-out 0.5s backwards;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease-out 0.7s backwards;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-3d {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  transform: perspective(1000px) rotateX(0deg);
}

.btn-3d:hover {
  transform: perspective(1000px) rotateX(-10deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-3d:hover .btn-glow {
  opacity: 0.7;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gray-700);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.btn-glass svg {
  width: 16px;
  height: 16px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
}

.code-editor {
  background: var(--gray-900);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

[data-theme="dark"] .code-editor {
  background: var(--gray-100);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotateY(0deg); }
  50% { transform: translateY(-20px) rotateY(5deg); }
}

.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--gray-800);
  border-bottom: 1px solid var(--gray-600);
}

[data-theme="dark"] .editor-header {
  background: var(--gray-200);
}

.editor-controls {
  display: flex;
  gap: 0.5rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.editor-title {
  color: var(--gray-300);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}

[data-theme="dark"] .editor-title {
  color: var(--gray-700);
}

.editor-content {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.8;
}

.code-line {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  animation: typeWriter 2s ease-in-out infinite;
}

.code-line:nth-child(odd) {
  animation-delay: 0.5s;
}

.line-number {
  color: var(--gray-500);
  min-width: 20px;
  text-align: right;
}

.code-text {
  color: var(--gray-300);
}

[data-theme="dark"] .code-text {
  color: var(--gray-700);
}

.keyword { color: #ff79c6; }
.string { color: #50fa7b; }
.function { color: #8be9fd; }

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

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tech-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  animation: iconFloat 8s ease-in-out infinite;
}

.tech-icon svg {
  width: 30px;
  height: 30px;
}

.tech-icon.react {
  top: 20%;
  right: 20%;
  animation-delay: 0s;
}

.tech-icon.nodejs {
  bottom: 30%;
  right: 10%;
  animation-delay: 2.5s;
}

.tech-icon.python {
  top: 60%;
  left: -20%;
  animation-delay: 5s;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
  25% { transform: translateY(-15px) rotate(5deg) scale(1.1); }
  50% { transform: translateY(-30px) rotate(0deg) scale(1); }
  75% { transform: translateY(-15px) rotate(-5deg) scale(1.1); }
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 2px;
}

.title-decoration {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: decorationSpin 10s linear infinite;
}

@keyframes decorationSpin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.section-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Enhanced Services Section */
.services {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%236366f1" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.service-card-enhanced {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

[data-theme="dark"] .service-card-enhanced {
  background: rgba(15, 20, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.service-card-enhanced:hover .service-bg-effect {
  opacity: 0.05;
}

.service-card-enhanced:hover {
  transform: translateY(-20px) rotateX(10deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.service-icon {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.icon-3d {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 1.5rem;
  color: white;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.icon-3d svg {
  width: 40px;
  height: 40px;
}

.service-card-enhanced:hover .icon-3d {
  transform: scale(1.2) rotateY(20deg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.icon-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
}

.orbit-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: orbitRotate 10s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: orbitRotate 10s linear infinite;
}

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

.service-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -2;
}

.service-card-enhanced:hover .service-glow {
  opacity: 0.1;
}

.service-card-enhanced h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.service-card-enhanced p {
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1rem;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray-600);
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
  animation: checkBounce 2s infinite;
}

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

.service-features li:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Programming Languages Section */
.languages-section {
  margin-top: 6rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.languages-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3rem;
  position: relative;
}

.languages-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 3px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
  border-radius: 2px;
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.language-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .language-item {
  background: rgba(15, 20, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.language-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 0.5rem;
  color: white;
  transition: all 0.3s ease;
}

.language-icon svg {
  width: 24px;
  height: 24px;
}

.language-item:hover .language-icon {
  transform: scale(1.2) rotateY(180deg);
}

.language-item span {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.875rem;
}

/* Portfolio Section */
.portfolio {
  padding: 8rem 0;
  background: var(--white);
  position: relative;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}

[data-theme="dark"] .portfolio-item {
  background: rgba(15, 20, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
  height: 200px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.project-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: 0.5rem;
  padding: 1rem;
  width: 80%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.browser-header {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27ca3f; }

.project-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.project-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.project-preview.ai {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.ai-interface {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 1rem;
}

.ai-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.project-preview.security {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.security-dashboard {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 1rem;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.security-item.safe {
  color: var(--accent-green);
}

.security-item.warning {
  color: var(--accent-orange);
}

.portfolio-info {
  padding: 2rem;
}

.portfolio-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.portfolio-info p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Team Section */
.team {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .team-member {
  background: rgba(15, 20, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.avatar-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

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

.avatar-placeholder svg {
  width: 50px;
  height: 50px;
}

.member-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.member-info p {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-skills {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.member-skills span {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
  padding: 8rem 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .testimonial-card {
  background: rgba(15, 20, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 2rem;
}

.quote-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.quote-icon svg {
  width: 100%;
  height: 100%;
}

.testimonial-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.author-avatar svg {
  width: 25px;
  height: 25px;
}

.author-info h4 {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Enhanced Contact Section */
.contact {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  transition: all 0.3s ease;
}

.contact-icon svg {
  width: 30px;
  height: 30px;
}

.contact-icon:hover {
  transform: scale(1.1) rotateY(180deg);
}

.icon-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0;
  transform: scale(1);
  animation: rippleEffect 2s infinite;
}

@keyframes rippleEffect {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

.contact-item h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--gray-600);
  font-size: 1rem;
}

.contact-form-3d {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateX(5deg);
  transition: all 0.3s ease;
}

[data-theme="dark"] .contact-form-3d {
  background: rgba(15, 20, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-3d:hover {
  transform: perspective(1000px) rotateX(0deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.form-group {
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  flex: 1;
  padding: 1.25rem;
  border: 2px solid rgba(99, 102, 241, 0.1);
  border-radius: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--gray-800);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  background: rgba(15, 20, 25, 0.8);
  color: var(--gray-200);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

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

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .footer {
  background: var(--gray-100);
  color: var(--gray-800);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.05;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.footer-brand p {
  color: var(--gray-300);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

[data-theme="dark"] .footer-brand p {
  color: var(--gray-600);
}

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

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

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

.footer-column h4 {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

[data-theme="dark"] .footer-column h4 {
  color: var(--gray-800);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

[data-theme="dark"] .footer-column a {
  color: var(--gray-600);
}

.footer-column a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-300);
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid var(--gray-300);
  color: var(--gray-600);
}

/* Responsive Design */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-trail { display: none; }
  
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
  }

  [data-theme="dark"] .nav-menu {
    background: rgba(15, 20, 25, 0.95);
  }

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

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

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

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

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

  .form-group {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .languages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .tech-object {
    width: 2rem;
    height: 2rem;
  }

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

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

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

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

  .language-item {
    padding: 1rem;
  }

  .tech-object {
    width: 1.5rem;
    height: 1.5rem;
  }

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

  .stat-item {
    justify-content: center;
  }
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Selection styles */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: var(--gray-900);
}

/* Focus styles */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .cursor-trail,
  .particle-system,
  .tech-objects,
  .navbar {
    display: none;
  }
  
  body {
    cursor: default;
  }
}
