.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); }
}

.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;
}

.image-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin-top: var(--space-lg);
}

.image-bg {
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.12) 0%, 
    rgba(118, 75, 162, 0.1) 50%, 
    rgba(240, 147, 251, 0.06) 100%);
  border-radius: 2rem;
  z-index: 0;
  animation: float 8s ease-in-out infinite, pulse 4s ease-in-out infinite;
  filter: blur(1.5px);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 3px solid var(--white);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(102, 126, 234, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  filter: contrast(1.01) brightness(1.005);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-container:hover img {
  transform: translateY(-6px) scale(1.02);
  border-radius: 1.8rem;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.12),
    0 12px 30px rgba(102, 126, 234, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  filter: contrast(1.03) brightness(1.02);
}

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

.floating-icons {
  position: absolute;
  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: float 4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transition: var(--transition);
  z-index: 10;
  pointer-events: none;
}

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

.floating-icon:nth-child(1) {
  top: -280px;
  right: 20px;
  --delay: 0s;
  color: #61dafb;
}

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

.floating-icon:nth-child(3) {
  bottom: 320px;
  right: -25px;
  --delay: 2s;
  color: #3776ab;
}

.floating-icon:nth-child(4) {
  bottom: 350px;
  left: 30px;
  --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;
}