/* Hero Section Enhancements */
/* Modern hero with advanced stats and improved visual hierarchy */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 70%),
    radial-gradient(circle at 80% 70%, rgba(55, 125, 255, 0.1) 0%, transparent 70%),
    linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 100px,
      rgba(255, 255, 255, 0.02) 100px,
      rgba(255, 255, 255, 0.02) 101px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 100px,
      rgba(255, 255, 255, 0.02) 100px,
      rgba(255, 255, 255, 0.02) 101px
    );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

/* Enhanced Hero Text */
.hero-text {
  animation: heroTextSlideIn 1s ease-out;
}

@keyframes heroTextSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(55, 125, 255, 0.15));
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 50px;
  color: #00ff88;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
  animation: eyebrowGlow 3s ease-in-out infinite;
}

@keyframes eyebrowGlow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
  }
  50% {
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.4);
  }
}

.gradient-text {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #00ff88 30%,
    #377dff 60%,
    #ffffff 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 0%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 90%;
  font-weight: 400;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(22, 27, 34, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(48, 54, 61, 0.5);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(48, 54, 61, 0.5),
    transparent
  );
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00ff88, #377dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Hero Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #00ff88, #00d4aa);
  color: #000;
  border: none;
  box-shadow: 
    0 8px 24px rgba(0, 255, 136, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 32px rgba(0, 255, 136, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: rgba(22, 27, 34, 0.8);
  color: #ffffff;
  border: 1px solid rgba(48, 54, 61, 0.5);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(55, 125, 255, 0.1);
  border-color: #377dff;
  color: #377dff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(55, 125, 255, 0.2);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

.btn-ghost:hover .btn-icon {
  transform: translateY(3px);
}

/* Enhanced Hero Badges */
.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(22, 27, 34, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.4);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.badge-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.badge-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.1);
}

.badge-item:hover::before {
  opacity: 1;
}

.badge-icon {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Hero Visual Enhancements */
.hero-visual {
  position: relative;
  min-height: 600px;
  animation: heroVisualSlideIn 1.2s ease-out 0.3s both;
}

@keyframes heroVisualSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px) rotateY(10deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

/* Floating Background Elements */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(-10px) rotate(240deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-stats {
    max-width: 500px;
    margin: 2.5rem auto;
  }
  
  .gradient-text {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
}

@media (max-width: 900px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-content {
    gap: 2rem;
    min-height: auto;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .stat-item:nth-child(2)::after {
    display: none;
  }
  
  .stat-item:nth-child(3) {
    grid-column: 1 / -1;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
    gap: 1rem;
  }
  
  .badge-item {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .hero-badges {
    flex-direction: column;
  }
  
  .badge-item {
    width: 100%;
  }
  
  .gradient-text {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
}