/* ============================================================
   Sekcja PRO (spotlight) — jasny neomorfizm, spójny z landingiem.
   Tokeny: --bg, --neo-*, --accent*, --grad-brand, --ink*, --r-*, --s-*.
   ============================================================ */

.pro-soon {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  vertical-align: middle;
}

.pro-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* reveal */
[data-pro-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-power-out),
    transform 0.7s var(--ease-power-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
[data-pro-reveal].in { opacity: 1; transform: none; }

/* ── układ ── */
.pro-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: var(--s-6);
  align-items: stretch;
  max-width: 1080px;
  margin: var(--s-7) auto 0;
}
@media (max-width: 920px) {
  .pro-grid { grid-template-columns: 1fr; max-width: 520px; }
}

/* ── mini-dashboard (neomorficzna karta) ── */
.pro-board {
  background: var(--bg);
  border-radius: var(--r-card);
  box-shadow: var(--neo-raised);
  padding: clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.pro-board__bar { display: flex; gap: 7px; }
.pro-board__bar i {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg-elev); box-shadow: var(--neo-pressed);
}
.pro-board__bar i:nth-child(1) { background: #fca5a5; }
.pro-board__bar i:nth-child(2) { background: #fcd34d; }
.pro-board__bar i:nth-child(3) { background: #6ee7b7; }

.pro-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.pro-kpi {
  background: var(--bg);
  border-radius: var(--r-3);
  box-shadow: var(--neo-soft);
  padding: 16px 14px;
}
.pro-kpi__val {
  display: block;
  font-family: var(--font-display, inherit);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.pro-kpi__val--good { background: linear-gradient(135deg, #10b981, #5eead4); -webkit-background-clip: text; background-clip: text; }
.pro-kpi__val--sky { background: linear-gradient(135deg, #0ea5e9, #818cf8); -webkit-background-clip: text; background-clip: text; }
.pro-kpi__lbl {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* ── słupki ── */
.pro-bars__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.pro-bar { margin-bottom: 13px; }
.pro-bar:last-child { margin-bottom: 0; }
.pro-bar__top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.pro-bar__top b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pro-bar__track {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-elev);
  box-shadow: var(--neo-pressed);
  overflow: hidden;
}
.pro-bar__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad-brand);
  transition: width 1.3s var(--ease-expo-out);
}

/* ── radial spłaty palety ── */
.pro-board__foot {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.pro-radial { position: relative; width: 92px; height: 92px; flex-shrink: 0; }
.pro-radial svg { transform: rotate(-90deg); }
.pro-radial__arc { transition: stroke-dashoffset 1.5s var(--ease-expo-out); }
.pro-radial__val {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.pro-radial__cap { font-size: 14px; font-weight: 600; color: var(--ink); }
.pro-radial__cap small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

/* ── telefon / Telegram ── */
.pro-phone {
  position: relative;
  align-self: stretch;
  background: var(--bg);
  border-radius: 30px;
  box-shadow: var(--neo-raised);
  padding: 26px 14px 18px;
  display: flex;
  flex-direction: column;
}
.pro-phone__notch {
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 6px; border-radius: 999px;
  background: var(--bg-elev); box-shadow: var(--neo-pressed);
}
.pro-phone__head {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 6px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.pro-phone__av {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--neo-indigo);
}
.pro-phone__name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.pro-phone__name small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-mute2); }
.pro-phone__feed { display: flex; flex-direction: column; gap: 10px; padding: 6px 4px; }

.pro-bubble {
  align-self: flex-start;
  max-width: 92%;
  background: var(--bg);
  border-radius: 14px 14px 14px 5px;
  box-shadow: var(--neo-soft);
  padding: 11px 13px;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}
.pro-bubble.show {
  animation: proPop 0.5s var(--ease-overshoot) forwards;
}
@keyframes proPop { to { opacity: 1; transform: none; } }
.pro-bubble strong { display: block; color: var(--ink); font-size: 13.5px; margin-bottom: 3px; }
.pro-bubble__line { display: block; }
.pro-bubble__meta { display: block; margin-top: 4px; font-weight: 700; color: var(--accent-deep); }
.pro-bubble--summary { border-radius: 14px; box-shadow: var(--neo-soft), 0 0 0 1.5px var(--accent-soft); }
.pro-bubble--summary .pro-bubble__line { color: var(--ink-soft); margin-top: 2px; }
.pro-bubble__time { display: block; margin-top: 6px; font-size: 10px; color: var(--ink-mute2); text-align: right; }

/* ── punkty wartości ── */
.pro-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  max-width: 1080px;
  margin: var(--s-6) auto 0;
  padding: 0;
}
@media (max-width: 920px) { .pro-points { grid-template-columns: 1fr; max-width: 520px; } }
.pro-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border-radius: var(--r-3);
  box-shadow: var(--neo-soft);
  padding: 18px;
}
.pro-point__ic {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
}
.pro-point__ic svg { width: 22px; height: 22px; }
.pro-point__body b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.pro-point__body span { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; }

/* ── CTA wygaszone ── */
.pro-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: var(--s-6);
}
.pro-cta-note { font-size: 13px; color: var(--ink-muted); }

/* disabled CTA (plan PRO + spotlight) — czysty, celowy styl „wkrótce", nieklikalny */
.plan__cta-soon,
.plan__cta-soon[disabled] {
  cursor: not-allowed !important;
  pointer-events: none;
  opacity: 1;
  color: var(--accent-deep) !important;
  background: var(--accent-soft) !important;
  border: 1px dashed rgba(99, 102, 241, 0.4) !important;
  box-shadow: none !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
/* kropka „w drodze" zamiast obcinanego badge */
.plan__cta-soon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.45);
  animation: soonPulse 2s ease-in-out infinite;
}
@keyframes soonPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(99, 102, 241, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .plan__cta-soon::before { animation: none; }
}

.compare__note {
  margin-top: var(--s-4);
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  background: var(--accent-soft);
  border-radius: var(--r-2);
  border-left: 3px solid var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  [data-pro-reveal], .pro-bar__fill, .pro-radial__arc, .pro-bubble { transition: none !important; animation: none !important; }
}
