/*-----------------------------------*\
  # HERO
\*-----------------------------------*/

.hero {
  padding-top: 150px;
  padding-bottom: var(--spacing-16);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(1, 211, 210, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(157, 107, 238, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(1, 164, 247, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(220, 40, 111, 0.05) 0%, transparent 30%);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-12);
  align-items: center;
  position: relative;
}

.hero-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--spacing-6);
  line-height: 1.1;
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-cyan-600), var(--color-purple-500));
  border-radius: var(--rounded-full);
}

.hero-subtitle {
  font-size: var(--text-2xl);
  font-weight: var(--font-normal);
  background: linear-gradient(to right, var(--color-teal-600), var(--color-purple-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--spacing-4);
  position: relative;
  display: inline-block;
}

.hero-subtitle::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--color-teal-600), var(--color-purple-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: blur(8px);
  opacity: 0.3;
  z-index: -1;
}

.hero-description {
  color: var(--color-text-tertiary);
  margin-bottom: var(--spacing-8);
  max-width: 600px;
  position: relative;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-8);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-8);
}

.stat-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.stat-item::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan-600), transparent);
  border-radius: var(--rounded-full);
}

.stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  background: linear-gradient(to right, var(--color-cyan-500), var(--color-teal-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

.hero-image {
  position: relative;
}

.image-container {
  position: relative;
  z-index: 1;
  border-radius: var(--rounded-3xl);
  transition: all 0.5s ease;
}

.image-container:hover {
  transform: perspective(1000px) rotateY(0);
}

.hero-img {
  max-width: 100%;
  border-radius: var(--rounded-3xl);
  transition: transform 0.5s ease;
}

.image-container:hover .hero-img {
  transform: scale(1.05);
}

.tech-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  background-color: rgba(0, 19, 51, 0.9);
  backdrop-filter: blur(5px);
  border-radius: var(--rounded-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.tech-badge i {
  font-size: 1.2em;
  animation: pulse 2s infinite;
}

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

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

.tech-badge-1 {
  top: 10%;
  left: -5%;
  color: #e44d26;
  box-shadow: 0 6px 12px rgba(228, 77, 38, 0.2);
  animation-delay: 0s;
}

.tech-badge-2 {
  top: 24%;
  right: -5%;
  color: #1572b6;
  box-shadow: 0 6px 12px rgba(21, 114, 182, 0.2);
  animation-delay: 0.5s;
}

.tech-badge-3 {
  bottom: 30%;
  left: -5%;
  color: #f7df1e;
  box-shadow: 0 6px 12px rgba(247, 223, 30, 0.2);
  animation-delay: 1s;
}

.tech-badge-4 {
  bottom: 10%;
  right: -3%;
  color: #777bb3;
  box-shadow: 0 6px 12px rgba(119, 123, 179, 0.2);
  animation-delay: 1.5s;
}

.hero-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(1, 164, 247, 0.15) 0%, rgba(157, 107, 238, 0.1) 50%, rgba(1, 211, 210, 0.05) 70%, transparent 100%);
  border-radius: 60% 40% 70% 30% / 60% 30% 70% 40%;
  animation: blob-animation 10s ease-in-out infinite alternate;
  z-index: 0;
  filter: blur(20px);
}

@keyframes blob-animation {
  0% {
    border-radius: 60% 40% 70% 30% / 60% 30% 70% 40%;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    border-radius: 30% 60% 40% 70% / 50% 60% 30% 60%;
    transform: translate(-50%, -50%) rotate(180deg);
  }
  100% {
    border-radius: 40% 60% 30% 70% / 70% 40% 60% 30%;
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.social-links-floating {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
  z-index: var(--z-20);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--rounded-full);
  color: var(--color-text-primary);
  font-size: var(--text-xl);
  transition: all var(--transition-normal) var(--transition-ease);
  background-color: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.social-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--color-cyan-600), var(--color-purple-500));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-link:hover {
  color: white;
  transform: translateY(-3px) scale(1.2);
  box-shadow: 0 5px 15px rgba(1, 164, 247, 0.3);
}

.social-link:hover::after {
  opacity: 1;
}

.social-links-line {
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, var(--color-cyan-600), transparent);
  position: relative;
}

.social-links-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: white;
  animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(500%); opacity: 0; }
}