.notification-popup {
  position: fixed;
  top: 0;
  left: 50%;
  right: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(90,63,160,0.13), 0 2px 24px rgba(90,63,160,0.13);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  max-width: 340px;
  z-index: 1000;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.notification-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 20px);
}

.notif-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c5fd6, #ff5a5f);
  margin-right: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124,95,214,0.10);
}

.notif-text {
  color: #2d225a;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.notif-text strong {
  font-weight: 700;
  color: #7c5fd6;
}

/* Position styling for the floating notifications in mockup */
.floating-element {
  position: absolute;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}

#notificationEl {
  right: -60px;
  top: 40px;
  max-width: 200px;
}

#statsEl {
  left: -60px;
  bottom: 40px;
  max-width: 200px;
}

/* Enhanced link styling */
.feature-step-content a {
  color: #7c5fd6;
  text-decoration: none;
  position: relative;
  font-weight: 600;
  transition: color 0.3s;
}

.feature-step-content a:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, #ff5a5f 0%, #7c5fd6 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.feature-step-content a:hover {
  color: #ff5a5f;
}

.feature-step-content a:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 768px) {
  .notification-popup {
    max-width: 280px;
    right: 20px;
    bottom: 20px;
  }
  
  #notificationEl,
  #statsEl {
    max-width: 180px;
  }
}
