.ngwp-intro-overlay,
.ngwp-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.ngwp-intro-overlay.is-open,
.ngwp-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.ngwp-intro-card,
.ngwp-popup-card {
  width: min(520px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s ease;
}
.ngwp-intro-overlay.is-open .ngwp-intro-card,
.ngwp-popup-overlay.is-open .ngwp-popup-card {
  transform: translateY(0) scale(1);
}
.ngwp-intro-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--primary-glow);
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
}
.ngwp-intro-card h2,
.ngwp-popup-card h2 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-2xl);
  color: var(--text-1);
  line-height: 1.25;
}
.ngwp-intro-card .sub,
.ngwp-popup-card .sub {
  color: var(--text-3);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.ngwp-intro-body {
  color: var(--text-2);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}
.ngwp-intro-body ul {
  margin: var(--space-2) 0 0;
  padding-left: var(--space-5);
}
.ngwp-intro-progress {
  height: 4px;
  background: var(--bg-3);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-4);
}
.ngwp-intro-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform linear;
}
.ngwp-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
}
.ngwp-intro-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--bg-3);
  color: var(--text-2);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.ngwp-intro-close:hover {
  background: var(--bg-hover);
  color: var(--text-1);
}
@media (max-width: 480px) {
  .ngwp-intro-card,
  .ngwp-popup-card {
    padding: var(--space-5);
    border-radius: var(--radius-lg);
  }
  .ngwp-intro-card h2,
  .ngwp-popup-card h2 {
    font-size: var(--text-xl);
    padding-right: var(--space-8);
  }
}
