/* Floating Elements for Hero Section */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 20;
  animation: float 3s ease-in-out infinite;
}

.hero-notification {
  position: absolute;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 20;
  animation: float 3s ease-in-out infinite;
}

/* Position utilities for floating elements */
.top-right {
  right: 5%;
}

.bottom-left {
  left: 5%; 
}

.top-left {
  left: 5%;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Stat items styling */
.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 0 1rem;
  margin: 0.5rem;
}

.stat-count {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.feature-badge {
  background: linear-gradient(135deg, rgba(88, 80, 236, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
}

.text-gradient {
  color: #0ea5e9;
}

@supports (-webkit-background-clip: text) and (-webkit-text-fill-color: transparent) {
  .text-gradient {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* Responsive positioning for mobile */
@media (max-width: 768px) {
  .floating-badge, .hero-notification {
    position: static;
    margin: 1rem auto;
    width: fit-content;
    animation: none;
  }
  
  .floating-badge.top-right,
  .floating-badge.bottom-left,
  .hero-notification.top-left {
    display: none; /* Hide on small screens to avoid clutter */
  }
  
  .stats-container {
    flex-direction: column;
  }
  
  .stat-item {
    margin-bottom: 1.5rem;
  }
}

/* For medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
  .floating-badge.top-right {
    top: 120px;
    right: 3%; 
  }
  
  .floating-badge.bottom-left {
    bottom: 40px;
    left: 3%;
  }
  
  .hero-notification.top-left {
    top: 80px;
    left: 3%;
  }
}

/* For larger screens */
@media (min-width: 1025px) {
  .floating-badge.top-right {
    top: 120px;
    right: 8%;
  }
  
  .floating-badge.bottom-left {
    bottom: 60px;
    left: 8%;
  }
  
  .hero-notification.top-left {
    top: 80px;
    left: 8%;
  }
}

/* Dashboard preview styling */
.dashboard-preview {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.dashboard-preview:hover {
  transform: translateY(-5px);
}
