/* Typewriter effect */
.typewriter {
  font-family: 'Fira Code', monospace;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.accent-text {
  color: var(--primary);
}

.string-text {
  color: var(--accent);
}

/* Glitch effect */
.glitch-effect {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0.5rem 0;
  position: relative;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Hero tagline */
.hero-tagline {
  font-size: 1.25rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.divider {
  color: var(--accent);
  font-weight: 300;
}

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

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
}

/* CTA Group */
.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--primary);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108,140,255,0.4);
}

.btn .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

/* Profile section */
.hero-visual {
  position: relative;
}

.profile-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.profile-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.02);
}

/* Tech orbit */
.tech-orbit {
  position: absolute;
  inset: -20px;
  animation: rotate 20s linear infinite;
}

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

.orbit-item {
  position: absolute;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(108,140,255,0.1);
  border: 1px solid var(--primary);
  border-radius: 20px;
  color: var(--text);
  transform-origin: 50% 50%;
  transition: all 0.3s ease;
}

.orbit-item:nth-child(1) { top: 0%; left: 50%; transform: translateX(-50%) rotate(calc(360deg / 5 * 0)); }
.orbit-item:nth-child(2) { top: 25%; right: 0%; transform: rotate(calc(360deg / 5 * 1)); }
.orbit-item:nth-child(3) { bottom: 25%; right: 0%; transform: rotate(calc(360deg / 5 * 2)); }
.orbit-item:nth-child(4) { bottom: 0%; left: 50%; transform: translateX(-50%) rotate(calc(360deg / 5 * 3)); }
.orbit-item:nth-child(5) { bottom: 25%; left: 0%; transform: rotate(calc(360deg / 5 * 4)); }

.orbit-item:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .stats-grid {
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .cta-group {
    justify-content: center;
  }

  .profile-wrapper {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 64px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 2rem auto;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .tech-orbit {
    display: none;
  }
}