.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.3;
  animation: drift 20s linear infinite;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23764ba2' fill-opacity='0.05'%3E%3Cpath d='M20 20.5V18H8v-2h12v-2.5L28 20l-8 6.5V24H8v-2h12v-1.5z'/%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.2;
  animation: drift 30s linear infinite reverse;
  z-index: 1;
}

@keyframes drift {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-60px) translateY(-60px); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  padding: var(--space-2xl) var(--space-md);
}

.hero-text {
  max-width: 600px;
}

.hero-greeting {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.hero-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  min-height: 2.5rem;
  color: var(--primary);
  font-family: var(--font-mono);
}

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

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-social {
  display: flex;
  gap: var(--space-md);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-desktop {
  display: flex;
}

.hero-image-mobile {
  display: none;
  justify-content: center;
  align-items: center;
  margin: var(--space-2xl) 0;
}

.image-container {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.15) 0%, 
    rgba(118, 75, 162, 0.12) 50%, 
    rgba(240, 147, 251, 0.08) 100%);
  border-radius: 50%;
  z-index: 0;
  animation: float 8s ease-in-out infinite, pulse 4s ease-in-out infinite;
  filter: blur(30px);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 40px rgba(102, 126, 234, 0.5));
  animation: rotate 20s linear infinite;
  transform-origin: center center;
}

.image-container:hover img {
  filter: drop-shadow(0 0 60px rgba(102, 126, 234, 0.8)) drop-shadow(0 0 100px rgba(118, 75, 162, 0.5));
}

[data-theme="dark"] .image-container img {
  border-color: var(--gray-800);
}

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

.floating-icon {
  position: absolute;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-modern);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  animation: floatGentle 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 10;
  pointer-events: none;
  will-change: transform;
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-10px) translateX(0) scale(1.05);
  }
}

.floating-icon:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.floating-icon:nth-child(1) {
  top: 60px;
  left: 50%;
  margin-left: -25px;
  --delay: 0s;
  color: #61dafb;
}

.floating-icon:nth-child(2) {
  top: 50%;
  right: 60px;
  margin-top: -25px;
  --delay: 1s;
  color: #f89820;
}

.floating-icon:nth-child(3) {
  bottom: 60px;
  left: 50%;
  margin-left: -25px;
  --delay: 2s;
  color: #3776ab;
}

.floating-icon:nth-child(4) {
  top: 50%;
  left: 60px;
  margin-top: -25px;
  --delay: 3s;
  color: #f7df1e;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-badge .status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}