/* Frosted glass card */
.nb-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nb-glass {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.nb-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 197, 94, 0.05);
}

/* Gradient mesh canvas */
.nb-hero-gradient {
  position: relative;
  overflow: hidden;
}

.nb-gradient-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  z-index: 0;
  pointer-events: none;
}

.nb-hero-gradient > *:not(.nb-gradient-canvas) {
  position: relative;
  z-index: 2;
}

/* Card particle canvas */
.nb-card-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 12px;
}

.nb-glass > *:not(.nb-card-particles):not(.nb-card-link) {
  position: relative;
  z-index: 1;
}

/* Dot grid texture */
.nb-dot-grid {
  position: relative;
}

.nb-dot-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(74, 222, 128, 0.04) 1px,
    transparent 0
  );
  background-size: 32px 32px;
  pointer-events: none;
}

/* Gradient backgrounds */
.nb-gradient-primary {
  background: linear-gradient(160deg, #0f1117 0%, #111827 50%, #0f2218 100%);
}

.nb-gradient-section {
  background: linear-gradient(180deg, #111827 0%, #0f1a15 100%);
}

/* Green label (uppercase small text) */
.nb-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--wp--preset--color--accent-light);
}

/* Primary CTA button */
.nb-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nb-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #ffffff;
}

/* Secondary (ghost) CTA button */
.nb-btn-secondary {
  display: inline-block;
  border: 1.5px solid #334155;
  color: #cbd5e1;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nb-btn-secondary:hover {
  border-color: #4ade80;
  color: #ffffff;
}

/* Section divider — gradient transition handles the visual break now */
.nb-divider-top {
  border-top: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nb-glass,
  .nb-btn-primary,
  .nb-btn-secondary {
    transition: none;
  }

  .nb-glass:hover {
    transform: none;
  }
}
