/* Utilities & Helper Styles */

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-smooth);
}

.glass-card-light:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 93, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 93, 255, 0.05);
}

/* Background Gradients */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-purple-magenta {
  background: var(--gradient-purple-magenta);
}

.bg-gradient-orange-magenta {
  background: var(--gradient-orange-magenta);
}

.bg-gradient-dark {
  background: var(--gradient-dark);
}

.bg-gradient-overlay {
  position: relative;
}

.bg-gradient-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.05) 0%, rgba(123, 46, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Card Hover Lift & Glow */
.hover-lift {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 93, 255, 0.1);
}

.hover-lift-dark:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glow-hover {
  position: relative;
  transition: var(--transition-smooth);
}

.glow-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 25px rgba(0, 93, 255, 0);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.glow-hover:hover::after {
  box-shadow: 0 0 25px rgba(0, 93, 255, 0.4);
  opacity: 1;
}

/* Feature Icons styling */
.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
}

.icon-box-primary {
  background: rgba(0, 93, 255, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(0, 93, 255, 0.2);
}

.icon-box-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.hover-lift:hover .icon-box-primary {
  color: var(--white);
  border-color: transparent;
}

.hover-lift:hover .icon-box-primary::after {
  opacity: 1;
}

.icon-box-accent {
  background: rgba(255, 138, 0, 0.1);
  color: var(--orange);
  border: 1px solid rgba(255, 138, 0, 0.2);
}

.icon-box-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-orange-magenta);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.hover-lift:hover .icon-box-accent {
  color: var(--white);
  border-color: transparent;
}

.hover-lift:hover .icon-box-accent::after {
  opacity: 1;
}

/* Custom Dividers */
.divider-gradient {
  height: 4px;
  width: 80px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin-bottom: 30px;
}

.divider-gradient-center {
  height: 4px;
  width: 80px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 0 auto 30px;
}

/* Extra animations */
.float-animation {
  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

.pulse-animation {
  animation: pulsing 2s ease-in-out infinite;
}

@keyframes pulsing {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 93, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 93, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 93, 255, 0);
  }
}

/* Text & Alignment Utilities */
.letter-spacing-wide {
  letter-spacing: 1.5px;
}

.letter-spacing-widest {
  letter-spacing: 3px;
}

.z-index-2 {
  z-index: 2;
  position: relative;
}

/* Custom Grid layout helpers */
.grid-gap-30 {
  gap: 30px;
}
