/* ============================================================
   War Room Pro — overlay styles on top of educators.css
   Reuses .edu-* utilities; adds Pro-specific accents.
   ============================================================ */

.pro-body {
  background:
    radial-gradient(circle at 18% 0%, rgba(78, 160, 255, 0.18), transparent 50%),
    radial-gradient(circle at 82% 90%, rgba(43, 92, 170, 0.18), transparent 55%),
    #050912;
}

/* Hero gets a slightly bigger glow */
.pro-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(78, 160, 255, 0.16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(245, 198, 105, 0.07), transparent 50%);
  z-index: -1;
}

.pro-hero {
  position: relative;
  overflow: hidden;
}

.pro-hero > :not(.pro-war-room-orbit) {
  position: relative;
  z-index: 1;
}

@keyframes pro-radar-spin {
  to { transform: rotate(360deg); }
}

@keyframes pro-radar-pulse {
  0%, 100% {
    opacity: 0.22;
    transform: translate(-50%, -50%) scale(0.78);
  }
  50% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes pro-node-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}

@keyframes pro-ticker-scan {
  0% { transform: translateX(-16%); }
  100% { transform: translateX(16%); }
}

@keyframes pro-card-sheen {
  0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  18% { opacity: 0.5; }
  42%, 100% { transform: translateX(135%) skewX(-18deg); opacity: 0; }
}

.pro-war-room-orbit {
  position: absolute;
  top: 4.5rem;
  right: 0;
  z-index: 0;
  width: min(34vw, 390px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.28));
}

.pro-war-room-orbit__radar,
.pro-war-room-orbit__ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
}

.pro-war-room-orbit__radar {
  background:
    conic-gradient(from 0deg, rgba(78, 160, 255, 0), rgba(78, 160, 255, 0.42), rgba(245, 198, 105, 0.08), rgba(78, 160, 255, 0)),
    radial-gradient(circle, rgba(78, 160, 255, 0.22), transparent 62%);
  mask-image: radial-gradient(circle, transparent 0 24%, #000 25% 100%);
  animation: pro-radar-spin 9s linear infinite;
}

.pro-war-room-orbit__ring {
  border: 1px solid rgba(190, 202, 219, 0.18);
  background:
    radial-gradient(circle, rgba(78, 160, 255, 0.08), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
}

.pro-war-room-orbit__ring--one::before,
.pro-war-room-orbit__ring--two::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(78, 160, 255, 0.26);
  transform: translate(-50%, -50%);
  animation: pro-radar-pulse 3.8s ease-in-out infinite;
}

.pro-war-room-orbit__ring--two {
  inset: 26%;
  border-style: dashed;
  border-color: rgba(245, 198, 105, 0.24);
}

.pro-war-room-orbit__ring--two::before {
  width: 145%;
  border-color: rgba(245, 198, 105, 0.18);
  animation-delay: -1.9s;
}

.pro-war-room-orbit__node {
  position: absolute;
  display: grid;
  gap: 0.1rem;
  min-width: 78px;
  padding: 0.62rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(190, 202, 219, 0.18);
  background: rgba(7, 13, 27, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: pro-node-float 4.5s ease-in-out infinite;
}

.pro-war-room-orbit__node span,
.pro-war-room-orbit__ticker span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: #99abc1;
}

.pro-war-room-orbit__node b {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  line-height: 1;
  color: #f4f7fb;
}

.pro-war-room-orbit__node--one {
  top: 12%;
  right: 8%;
}

.pro-war-room-orbit__node--two {
  left: 0;
  top: 45%;
  animation-delay: -1.4s;
}

.pro-war-room-orbit__node--three {
  right: 12%;
  bottom: 10%;
  animation-delay: -2.7s;
}

.pro-war-room-orbit__ticker {
  position: absolute;
  left: 12%;
  right: 2%;
  bottom: 30%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(78, 160, 255, 0.22);
  background: rgba(10, 20, 42, 0.74);
  overflow: hidden;
}

.pro-war-room-orbit__ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(78, 160, 255, 0.22), transparent);
  animation: pro-ticker-scan 2.7s ease-in-out infinite alternate;
}

.pro-war-room-orbit__ticker strong {
  position: relative;
  z-index: 1;
  color: #f5c669;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
}

.pro-war-room-orbit__ticker span {
  position: relative;
  z-index: 1;
}

/* ---------- Pricing comparison grid ---------- */

.pro-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  max-width: 980px;
  margin: 0 auto;
}

.pro-pricing-card {
  position: relative;
  padding: 2.2rem 1.8rem 2rem;
  border-radius: 22px;
  border: 1px solid rgba(190, 202, 219, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 240ms ease;
}

.pro-pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(190, 202, 219, 0.28);
}

.pro-pricing-card--current {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.pro-pricing-card--featured {
  background:
    linear-gradient(160deg, rgba(31, 71, 142, 0.55), rgba(13, 32, 70, 0.85));
  border-color: rgba(78, 160, 255, 0.45);
  box-shadow: 0 30px 70px -30px rgba(78, 160, 255, 0.45);
  overflow: hidden;
  isolation: isolate;
}

.pro-pricing-card--featured::before {
  content: "";
  position: absolute;
  inset: -20% auto -20% 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: pro-card-sheen 5.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.pro-pricing-card--featured::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  border: 1px solid rgba(245, 198, 105, 0.16);
  pointer-events: none;
}

.pro-pricing-card--featured:hover {
  border-color: rgba(78, 160, 255, 0.7);
  box-shadow: 0 40px 90px -30px rgba(78, 160, 255, 0.6);
}

.pro-pricing-card__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5c669, #e8a93b);
  color: #2a1b00;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px -10px rgba(245, 198, 105, 0.55);
}

.pro-pricing-card__tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #99abc1;
}

.pro-pricing-card--featured .pro-pricing-card__tag {
  color: #cfe1ff;
}

.pro-pricing-card h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 0;
  color: #f4f7fb;
}

.pro-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: "Fraunces", serif;
}

.pro-pricing-card__price strong {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f4f7fb;
}

.pro-pricing-card__price span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: #99abc1;
  letter-spacing: 0.04em;
}

.pro-pricing-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.pro-pricing-card__list li {
  position: relative;
  padding-left: 1.4rem;
  color: #d9e1ec;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pro-pricing-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4ea0ff;
  font-weight: 700;
}

.pro-pricing-card--featured .pro-pricing-card__list li::before {
  color: #f5c669;
}

.pro-pricing-card__cta {
  margin-top: auto;
  width: 100%;
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  .pro-war-room-orbit {
    position: relative;
    inset: auto;
    width: min(100%, 340px);
    margin: -1.25rem auto 2rem;
  }
  .pro-pricing-card {
    padding: 1.8rem 1.4rem;
  }
  .pro-pricing-card__price strong {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pro-war-room-orbit *,
  .pro-pricing-card--featured::before {
    animation: none !important;
  }
}
