/* ==========================================================================
   components.css — bespoke components: hero radar, spacing overrides, toast,
   and other pieces added for the plain-HTML version.
   ========================================================================== */
/* ── Hero animated radar visual ──────────────────────────── */
.hero-radar-wrap {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) scale(0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
@media (min-width: 1440px) {
  .hero-radar-wrap {
    right: 24px;
    transform: translateY(-50%) scale(1);
  }
}
@media (max-width: 1279px) {
  .hero-radar-wrap {
    display: none;
  }
}
.hero-radar {
  position: relative;
  width: 420px;
  height: 420px;
}
.hero-radar__ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 1px solid var(--ci-border-subtle);
}
.hero-radar__ring--2 {
  inset: 15%;
}
.hero-radar__ring--3 {
  inset: 30%;
}
.hero-radar__ring--4 {
  inset: 45%;
  border-color: rgba(32, 214, 209, 0.25);
}
.hero-radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: conic-gradient(
    from 0deg,
    rgba(32, 214, 209, 0.3) 0deg,
    rgba(32, 214, 209, 0) 65deg,
    rgba(32, 214, 209, 0) 360deg
  );
  animation: hero-radar-spin 6s linear infinite;
}
.hero-radar__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: rgba(32, 214, 209, 0.1);
  border: 1px solid var(--ci-border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: glow-pulse 4s ease-in-out infinite;
}
.hero-radar__orbit {
  position: absolute;
  inset: 0;
}
.hero-radar__orbit--a {
  animation: hero-orbit-spin 14s linear infinite;
}
.hero-radar__orbit--b {
  animation: hero-orbit-spin-reverse 20s linear infinite;
}
.hero-radar__node {
  position: absolute;
  border-radius: 9999px;
}
.hero-radar__blip {
  position: absolute;
}
.hero-radar__blip-dot {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #f87171;
}
.hero-radar__blip-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #f87171;
  animation: hero-ripple 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hero-radar__particle {
  position: absolute;
  border-radius: 9999px;
  background: #4d8dff;
  animation: hero-float 5s ease-in-out infinite;
}
@keyframes hero-radar-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes hero-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes hero-orbit-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes hero-ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* Custom spacing overrides (added manually — not generated by a Tailwind build) */
.courses-section-spacing {
  padding-top: 5rem;
  padding-bottom: 6rem;
}
@media (min-width: 1024px) {
  .courses-section-spacing {
    padding-top: 7rem;
    padding-bottom: 8rem;
  }
}
.course-card-price-row {
  padding-top: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;

/* ── Toast (article "Copy Link" feedback) ────────────────── */
.ci-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translate(-50%, 12px);
  opacity: 0;
  padding: 0.65rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--ci-border-active);
  background: #0f1e32;
  color: #f5f8fc;
  font-size: 0.875rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.ci-toast--show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ── Demo-mode note (forgot-password page) ───────────────── */
.ci-demo-note {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(255, 184, 77, 0.45);
  background: rgba(255, 184, 77, 0.06);
  color: #a9b8cc;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: left;
}
.ci-demo-note strong {
  color: #ffb84d;
}
