/* ============================================================
   SMART21BRAIN LIBRARY — animated Three.js planets background
   ============================================================ */

.section-planets {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1100px 620px at 15% -10%, rgba(123, 97, 255, .16), transparent 60%),
    radial-gradient(900px 560px at 100% 10%, rgba(11, 110, 79, .22), transparent 55%),
    radial-gradient(1000px 700px at 50% 115%, rgba(239, 71, 111, .14), transparent 55%),
    linear-gradient(180deg, #05060a 0%, #0A0D14 45%, #05060a 100%);
}

.planets-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.planets-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Soft vignette for depth, sits above the WebGL canvas */
.section-planets::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 160px rgba(0, 0, 0, .65);
}

.section-planets > .container {
  position: relative;
  z-index: 2;
}

/* Light-on-black text treatment, scoped to this section only */
.section-planets .eyebrow {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(4px);
}
.section-planets h2 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
}

.section-planets .btn-s21-outline {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .3);
}
.section-planets .btn-s21-outline:hover {
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .planets-canvas { opacity: .65; }
}
