/* ==========================================================
   EspiCore 2.0 - Zaawansowana Roadmapa Rozwoju Produktu
   Styling: Dark Glassmorphism, Neon Accents, Smooth Animations
   Kompatybilność: Dark Mode & Light Mode, Pełny RWD
   ========================================================== */

/* Kontener główny widoku */
.roadmap-view {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px 60px 20px;
}

/* ----------------------------------------------------------
   1. HERO HEADER & BADGE
   ---------------------------------------------------------- */
.roadmap-header {
  margin-bottom: 35px;
  text-align: left;
}

.roadmap-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--neon-cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.roadmap-header__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: roadmapPulseRing 2s infinite ease-in-out;
}

@keyframes roadmapPulseRing {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
}

.roadmap-header__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.roadmap-header__subtitle {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 820px;
  margin: 0;
}

/* ----------------------------------------------------------
   2. STATYSTYKI & METRYKI (KPI BAR)
   ---------------------------------------------------------- */
.roadmap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 25px;
}

.roadmap-stat-card {
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.roadmap-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.roadmap-stat-card:hover {
  transform: translateY(-3px);
  background: rgba(23, 32, 54, 0.75);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.roadmap-stat-card[data-filter="completed"]:hover::before {
  background: linear-gradient(90deg, #10B981, #059669);
}

.roadmap-stat-card[data-filter="in-progress"]:hover::before {
  background: linear-gradient(90deg, var(--neon-cyan), #3B82F6);
}

.roadmap-stat-card[data-filter="planned"]:hover::before {
  background: linear-gradient(90deg, #A855F7, #EC4899);
}

.roadmap-stat-card--community:hover::before {
  background: linear-gradient(90deg, #F59E0B, #EF4444);
}

.roadmap-stat-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-stat-card__icon--completed {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.roadmap-stat-card__icon--progress {
  background: rgba(0, 212, 255, 0.15);
  color: var(--neon-cyan);
}

.roadmap-stat-card__icon--planned {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
}

.roadmap-stat-card__icon--community {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

.roadmap-stat-card__content {
  display: flex;
  flex-direction: column;
}

.roadmap-stat-card__number {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.roadmap-stat-card__label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

.roadmap-stat-card__trend {
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.roadmap-stat-card__trend--active {
  color: var(--neon-cyan);
}

.roadmap-stat-card__trend--accent {
  color: #F59E0B;
}

/* ----------------------------------------------------------
   3. PASEK KONTROLNY (TABY, FILTRY & SZUKAJKA)
   ---------------------------------------------------------- */
.roadmap-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 35px 0 30px 0;
  flex-wrap: wrap;
}

.roadmap-tabs {
  display: inline-flex;
  align-items: center;
  background: rgba(17, 24, 39, 0.7);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 4px;
}

.roadmap-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.roadmap-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.roadmap-tab-btn.active {
  background: rgba(0, 212, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.15);
}

.roadmap-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.roadmap-tab-dot--completed {
  background-color: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
}

.roadmap-tab-dot--progress {
  background-color: var(--neon-cyan);
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.7);
}

.roadmap-tab-dot--planned {
  background-color: #A855F7;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.7);
}

.roadmap-tab-btn__count {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-weight: 700;
}

.roadmap-tab-btn.active .roadmap-tab-btn__count {
  background: rgba(0, 212, 255, 0.25);
  color: #FFFFFF;
}

/* Wyszukiwarka funkcji */
.roadmap-search {
  position: relative;
  min-width: 280px;
}

.roadmap-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.roadmap-search__input {
  width: 100%;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 34px 9px 36px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.roadmap-search__input:focus {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
  background: rgba(23, 32, 54, 0.85);
}

.roadmap-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
}

.roadmap-search__clear:hover {
  color: var(--text-main);
}

/* ----------------------------------------------------------
   4. OŚ CZASU (TIMELINE CONTAINER & ITEMS)
   ---------------------------------------------------------- */
.roadmap-timeline {
  position: relative;
  padding-left: 36px;
  margin-bottom: 50px;
}

/* Główna pionowa linia prowadząca z subtelnym gradientem */
.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 25px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, 
    #10B981 0%, 
    #10B981 25%, 
    var(--neon-cyan) 50%, 
    #A855F7 80%, 
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 2px;
}

.roadmap-item {
  position: relative;
  margin-bottom: 26px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.roadmap-item.is-hidden {
  display: none !important;
}

/* Węzeł na osi czasu */
.roadmap-node {
  position: absolute;
  left: -36px;
  top: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Status węzła: Completed */
.roadmap-item--completed .roadmap-node {
  background: #0B101E;
  border: 2px solid #10B981;
  color: #10B981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.roadmap-item--completed.roadmap-item--spotlight .roadmap-node {
  border-color: #F59E0B;
  color: #F59E0B;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.6);
}

/* Status węzła: In Progress */
.roadmap-item--in-progress .roadmap-node {
  background: #0B101E;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
  animation: roadmapNodePulse 2s infinite ease-in-out;
}

@keyframes roadmapNodePulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

/* Status węzła: Planned */
.roadmap-item--planned .roadmap-node {
  background: #0B101E;
  border: 2px solid rgba(168, 85, 247, 0.5);
  color: #C084FC;
}

.roadmap-item:hover .roadmap-node {
  transform: scale(1.15);
}

/* ----------------------------------------------------------
   5. KARTA FUNKCJI (ROADMAP CARD)
   ---------------------------------------------------------- */
.roadmap-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.roadmap-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.12;
  transition: opacity 0.3s ease;
}

.roadmap-item--completed .roadmap-card::after {
  background: #10B981;
}

.roadmap-item--completed.roadmap-item--spotlight .roadmap-card::after {
  background: #F59E0B;
  opacity: 0.2;
}

.roadmap-item--in-progress .roadmap-card::after {
  background: var(--neon-cyan);
  opacity: 0.22;
}

.roadmap-item--planned .roadmap-card::after {
  background: #A855F7;
}

.roadmap-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(0, 212, 255, 0.12);
}

.roadmap-item--spotlight .roadmap-card {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(35, 26, 15, 0.6) 100%);
}

.roadmap-item--in-progress .roadmap-card {
  border-color: rgba(0, 212, 255, 0.3);
}

/* Nagłówek karty (Tagi, statusy, wersje) */
.roadmap-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.roadmap-card__meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.roadmap-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.roadmap-badge__icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: currentColor;
}

.roadmap-badge--category {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-badge--status-completed {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.roadmap-badge--status-spotlight {
  background: rgba(245, 158, 11, 0.18);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.roadmap-badge--status-progress {
  background: rgba(0, 212, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 212, 255, 0.35);
}

.roadmap-badge--status-planned {
  background: rgba(168, 85, 247, 0.12);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.roadmap-card__version {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Tytuł i opis karty */
.roadmap-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 10px 0;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 12px;
}

.roadmap-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--neon-cyan);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.roadmap-card__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.roadmap-item--completed .roadmap-card__icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.25);
}

.roadmap-item--completed.roadmap-item--spotlight .roadmap-card__icon {
  background: rgba(245, 158, 11, 0.14);
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.3);
}

.roadmap-item--in-progress .roadmap-card__icon {
  background: rgba(0, 212, 255, 0.12);
  color: var(--neon-cyan);
  border-color: rgba(0, 212, 255, 0.25);
}

.roadmap-item--planned .roadmap-card__icon {
  background: rgba(168, 85, 247, 0.12);
  color: #C084FC;
  border-color: rgba(168, 85, 247, 0.25);
}

.roadmap-card:hover .roadmap-card__icon {
  transform: scale(1.08);
}

.roadmap-card__desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* Pasek postępu dla zadań w toku */
.roadmap-progress {
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.roadmap-progress__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 6px;
}

.roadmap-progress__label {
  color: var(--text-muted);
  font-weight: 500;
}

.roadmap-progress__val {
  color: var(--neon-cyan);
  font-weight: 700;
}

.roadmap-progress__track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.roadmap-progress__fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #00D4FF, #3B82F6);
  position: relative;
  transition: width 1s ease-in-out;
}

.roadmap-progress__fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: progressShimmer 2s infinite linear;
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Box Kluczowej Korzyści dla Inwestora */
.roadmap-card__benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 212, 255, 0.04);
  border-left: 3px solid var(--neon-cyan);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 18px;
}

.roadmap-item--completed .roadmap-card__benefit {
  background: rgba(16, 185, 129, 0.04);
  border-left-color: #10B981;
}

.roadmap-item--spotlight .roadmap-card__benefit {
  background: rgba(245, 158, 11, 0.04);
  border-left-color: #F59E0B;
}

.roadmap-item--planned .roadmap-card__benefit {
  background: rgba(168, 85, 247, 0.04);
  border-left-color: #A855F7;
}

.roadmap-card__benefit-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--neon-cyan);
  margin-top: 1px;
}

.roadmap-card__benefit-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.roadmap-item--completed .roadmap-card__benefit-icon {
  color: #10B981;
}

.roadmap-item--spotlight .roadmap-card__benefit-icon {
  color: #F59E0B;
}

.roadmap-item--planned .roadmap-card__benefit-icon {
  color: #A855F7;
}

.roadmap-card__benefit-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

.roadmap-card__benefit-text strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Dolna stopka karty (Głosowanie & Interakcja) */
.roadmap-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 10px;
}

.roadmap-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.roadmap-card__mini-tag {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 6px;
}

/* Przycisk głosowania na funkcję */
.roadmap-vote-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-vote-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-main);
  transform: scale(1.04);
}

.roadmap-vote-btn--voted {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
  color: #F59E0B;
}

.roadmap-vote-btn:disabled,
.roadmap-vote-btn--loading {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.roadmap-vote-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.roadmap-vote-btn__icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.roadmap-vote-btn--voted .roadmap-vote-btn__icon {
  animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.roadmap-vote-btn__count {
  font-weight: 700;
}

/* Pusty stan wyszukiwarki */
.roadmap-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: rgba(17, 24, 39, 0.5);
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.roadmap-empty-state__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.roadmap-empty-state__icon svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
}

.roadmap-empty-state__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.roadmap-empty-state__text {
  font-size: 14px;
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   6. SEKCJA SPOŁECZNOŚCIOWA & CTA (CALL TO ACTION)
   ---------------------------------------------------------- */
.roadmap-cta {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 20px;
  padding: 35px 40px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 30px -10px rgba(0, 212, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.roadmap-cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.roadmap-cta__content {
  max-width: 620px;
}

.roadmap-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.roadmap-cta__icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}

.roadmap-cta__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.roadmap-cta__text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.roadmap-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.roadmap-cta__btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #0284C7 100%);
  color: #0B101E;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.roadmap-cta__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
  filter: brightness(1.1);
}

.roadmap-cta__btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.roadmap-cta__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ----------------------------------------------------------
   7. RWD & LIGHT MODE SUPPORT
   ---------------------------------------------------------- */
@media (max-width: 992px) {
  .roadmap-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .roadmap-cta__actions {
    width: 100%;
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .roadmap-view {
    padding: 10px 12px 40px 12px;
  }
  .roadmap-timeline {
    padding-left: 28px;
  }
  .roadmap-timeline::before {
    left: 8px;
  }
  .roadmap-node {
    left: -28px;
    width: 20px;
    height: 20px;
  }
  .roadmap-node svg {
    width: 12px;
    height: 12px;
  }
  .roadmap-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .roadmap-tabs {
    overflow-x: auto;
    padding: 4px;
    white-space: nowrap;
  }
  .roadmap-search {
    min-width: 100%;
  }
  .roadmap-card {
    padding: 18px;
  }
  .roadmap-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .roadmap-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .roadmap-vote-btn {
    width: 100%;
    justify-content: center;
  }
  .roadmap-cta__actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .roadmap-stats {
    grid-template-columns: 1fr;
  }
  .roadmap-header__title {
    font-size: 24px;
  }
}

/* Jasny motyw (Light Mode) */
body.light-mode .roadmap-stat-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .roadmap-stat-card:hover {
  background: #FFFFFF;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

body.light-mode .roadmap-tabs {
  background: #E5E7EB;
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .roadmap-search__input {
  background: #FFFFFF;
  border-color: #D1D5DB;
  color: #111827;
}

body.light-mode .roadmap-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: #E5E7EB;
}

body.light-mode .roadmap-node {
  background: #FFFFFF;
}

body.light-mode .roadmap-cta {
  background: linear-gradient(135deg, #FFFFFF 0%, #F3F4F6 100%);
  border-color: #0284C7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .roadmap-cta__btn-primary {
  color: #FFFFFF;
}

body.light-mode .roadmap-card__mini-tag {
  background: #F3F4F6;
  color: #4B5563;
}
