@charset "UTF-8";

/* Locked sidebar item — slightly dimmed, badge appended */
.nova-sb-item.plan-locked {
  position: relative;
}
.nova-sb-item.plan-locked .nova-sb-label {
  opacity: 0.75;
}
.nova-sb-item.plan-locked .nova-sb-icon {
  opacity: 0.6;
}
.nova-sb-item.plan-locked .plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-family: var(--font-main, system-ui);
  flex-shrink: 0;
}
.plan-badge.tier-starter  { background: rgba(79,142,247,0.15); color: #4f8ef7; border: 1px solid rgba(79,142,247,0.25); }
.plan-badge.tier-creator  { background: rgba(62,232,165,0.12); color: #3EE8A5; border: 1px solid rgba(62,232,165,0.22); }
.plan-badge.tier-pro      { background: linear-gradient(135deg, rgba(255,190,46,0.18), rgba(245,166,35,0.10)); color: #FFBE2E; border: 1px solid rgba(255,190,46,0.3); }
.plan-badge.tier-studio   { background: rgba(183,148,255,0.12); color: #B794FF; border: 1px solid rgba(183,148,255,0.25); }
.plan-badge.tier-enterprise { background: linear-gradient(135deg, rgba(248,113,113,0.15), rgba(183,148,255,0.10)); color: #F87171; border: 1px solid rgba(248,113,113,0.25); }

/* Collapsed sidebar — hide badges */
.nova-sidebar.collapsed .plan-badge { display: none !important; }

/* Feature lock modal — full screen */
#featureLockOverlay {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(5,6,8,0.96);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  animation: flmFadeIn 0.25s ease;
}
#featureLockOverlay.open { display: flex; }
@keyframes flmFadeIn { from { opacity: 0; } to { opacity: 1; } }

#featureLockOverlay .flm-card {
  max-width: 560px; width: 100%; max-height: 92vh; overflow-y: auto;
  background: linear-gradient(165deg, rgba(16,19,26,0.98), rgba(6,8,14,0.99));
  border: 1px solid rgba(255,190,46,0.15);
  border-radius: 24px;
  padding: 36px 32px 28px;
  position: relative;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 80px rgba(255,190,46,0.06);
  animation: flmSlideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes flmSlideIn { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

#featureLockOverlay .flm-close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255,255,255,0.1);
  transition: background 0.15s;
  padding: 0; line-height: 1;
}
#featureLockOverlay .flm-close:hover { background: rgba(255,255,255,0.12); }

#featureLockOverlay .flm-lock-row {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(255,190,46,0.08); border: 1px solid rgba(255,190,46,0.2);
  font-size: 11px; font-weight: 800; color: #FFBE2E;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}

#featureLockOverlay .flm-icon {
  font-size: 48px; margin-bottom: 8px; line-height: 1;
}
#featureLockOverlay .flm-title {
  font-size: 26px; font-weight: 900; color: #fff;
  margin: 4px 0 6px 0; letter-spacing: -0.4px;
  font-family: var(--font-main, system-ui);
}
#featureLockOverlay .flm-subtitle {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.5; margin-bottom: 22px;
}
#featureLockOverlay .flm-benefits {
  list-style: none; padding: 0; margin: 0 0 24px 0;
}
#featureLockOverlay .flm-benefits li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px; color: rgba(255,255,255,0.85);
}
#featureLockOverlay .flm-benefits li:last-child { border-bottom: none; }
#featureLockOverlay .flm-benefits .flm-check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(62,232,165,0.15); color: #3EE8A5;
  font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

#featureLockOverlay .flm-pricing {
  padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,190,46,0.08), rgba(245,166,35,0.04));
  border: 1px solid rgba(255,190,46,0.2);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
#featureLockOverlay .flm-price-tier {
  font-size: 11px; font-weight: 800; color: #FFBE2E;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px;
}
#featureLockOverlay .flm-price-val {
  font-size: 22px; font-weight: 900; color: #fff; line-height: 1;
}
#featureLockOverlay .flm-price-sub {
  font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 4px;
}
#featureLockOverlay .flm-most-popular {
  font-size: 9px; font-weight: 900; color: #FFBE2E;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(255,190,46,0.12); border: 1px solid rgba(255,190,46,0.3);
  text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0;
}

#featureLockOverlay .flm-cta {
  width: 100%; padding: 16px 24px;
  background: linear-gradient(135deg, #FFBE2E, #F5A623);
  color: #000; border: none; border-radius: 14px;
  font-size: 15px; font-weight: 900;
  cursor: pointer; font-family: var(--font-main, system-ui);
  letter-spacing: 0.3px;
  box-shadow: 0 8px 32px rgba(255,190,46,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255,190,46,0.3);
}
#featureLockOverlay .flm-cta:hover, #featureLockOverlay .flm-cta:active {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,190,46,0.4);
}
#featureLockOverlay .flm-see-all {
  display: block; text-align: center; margin-top: 14px;
  color: rgba(255,255,255,0.4); font-size: 12px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-main, system-ui);
  text-decoration: underline; width: 100%;
}
#featureLockOverlay .flm-see-all:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 600px) {
  #featureLockOverlay { padding: 0; align-items: flex-start; }
  #featureLockOverlay .flm-card {
    max-width: 100%; height: 100vh; max-height: 100vh;
    border-radius: 0; padding: 56px 20px 24px;
  }
  #featureLockOverlay .flm-title { font-size: 22px; }
}
